DebateFort - Where Warriors Come To Debate
RAGECRY - Funny, Amusing, Interesting, Trending & Viral Videos and Images
GameOrc - Free Flash Games Online
Results 1 to 8 of 8
  1. #1
    What is Watson?
    MPGH Member
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,306
    Reputation
    170
    Thanks
    2,079
    My Mood
    Flirty

    Lena's Tuts: 04. Basic + aesthetic patching

    Lena's Tuts Summaries
    04. Basic + aesthetic patching

    "Welcome to Lena's Tut's Summaries numero quatro! Be excited because I believe that tutorial #4 is the first introduction to a real program. So prepare to be astonished by the amount of data to sort through. Luckily a Lena did a fine job selecting a target. If you made it through the first three you should breeze through this and learn some interesting techniques along the way."- why06

    << Previous: #3 Nag Removal

    Introduction:
    The target will be PixtopianBook.exe, an address book application for managing contact information. The objective is to get rid of all the limitations in this application so that it will act like the registered version.This tutorial starts off with encountering an exception. Personally I did not encounter this so I won't give any explanation further then this. Next we examine the application. Then upon finding the restrictions we locate and patch them to open up the full functionality of the program.

    What is Covered:
    • Alt+F9 (new)
    • Binary Search (new)
    • Basic ASM
    • Basic Debugger Usage



    Alt-F9: Or "Execute till User Code" is a Olly global shorcut introduced in this tutorial.

    Quote Originally Posted by Olly Debug Help File
    Alt+F9 - execute till user code, traces program without entering function calls or updating CPU and stops when next encountered command belongs to module that doesn't reside in system directory. As program is executed step-by-step, this may take some time. Press Esc to stop tracing.

    For non-programmers this may be difficult. I recommend reading a little about Windows Architecture. After all we are reversers. It's crucial you know at least the basics about the Operating System since it controls the execution of all code. I also recommend at least the introduction from Windows Internals Fifth Ed.

    Basically when Pixtopian displays the message boxes an API is being called. This API is called MessageBox. If you have yet to encounter this API refer to the previous tutorials.

    Now when MessageBox is called, it in turn will call a kernel function to display the message.
    This is because only the kernel has access to the hardware components of the computer such as the display screen. Therefore when you pause Olly and Hit Alt-F9 your telling Olly to break after you hit Ok on the Message Box. Because you paused Olly once you hit Ok the kernel returns to Pixtopian and breaks just after the call to MessageBox.
    For more Shortcuts always refer to the Olly Helpfile.


    Conclusion:
    Okay. I admit it, this summary was rather on the short side, but that's because most of this tutorial is pretty self explanatory, and very little else was covered that was not covered in previous tutorials. The only other things covered in this tutorial were binary searching (already covered) and the Find References command, but since Lena wanted to save that one for later I don't think I should address it either. I think #4 was just to expose reversers to real applications. Don't worry if #4 was to get your feet wet, #5 is to get you knee deep in it, so enjoy this one while you can. and bring your game face for #5. Oh and congratulation on cracking your first real application!


    And as always I include a copy of the files to decrease the load on Tuts4you and provide a backup.
    <b>Downloadable Files</b> Downloadable Files
    Last edited by why06; 11-28-2010 at 08:33 PM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  2. The Following 6 Users Say Thank You to why06 For This Useful Post:

    andrewxxx00 (07-13-2012), [MPGH]Hassan (11-29-2010), jkcnair (12-20-2012), Kuro Tenshi (11-29-2010), [MPGH]NextGen1 (11-28-2010), Void (11-28-2010)

  3. #2
    Wheres my GM? DAMN IT!
    Super User
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,324
    Reputation
    382
    Thanks
    2,916
    My Mood
    Aggressive
    Nice and Thanks

  4. #3
    MPGH Expert
    MPGH Member
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,210
    Reputation
    18
    Thanks
    293
    My Mood
    Relaxed
    i am always getting an access violation even though i put the correct settings in the exceptions window. I have win 7 x64. What's the problem.

  5. #4
    MPGH Expert
    MPGH Member
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,210
    Reputation
    18
    Thanks
    293
    My Mood
    Relaxed
    Nm it works now and btw this one was really easy the only thing is that alt f9 doesnt work for me I have the newest version

  6. #5
    Some l33t h4x0r.
    Donator
    Global Moderator
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    7,783
    Reputation
    1327
    Thanks
    24,735
    My Mood
    Breezy
    Nice bump and double post?
    Handy Tools/Hacks:
    Extreme Injector v2.1
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #6
    MPGH Expert
    MPGH Member
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,210
    Reputation
    18
    Thanks
    293
    My Mood
    Relaxed
    lol, this section is dead, you should thank me.

  8. #7
    Threadstarter
    What is Watson?
    MPGH Member
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,306
    Reputation
    170
    Thanks
    2,079
    My Mood
    Flirty
    Yeh there's no such thing as a bump in this section. In anycase I heard Olly2 was still in beta so I haven't tried it yet. How is it?

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  9. #8
    MPGH Expert
    MPGH Member
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,210
    Reputation
    18
    Thanks
    293
    My Mood
    Relaxed
    idk, i have the newest version and i can't seem to add plugins, but a few minutes of googling should do it, lol. btw, loving these tuts. And also btw, how do you "Back to User" in the new version of olly 2.01?