The MASM Forum

General => The Campus => Topic started by: Fred Harris on January 16, 2016, 08:04:32 AM

Title: Olly Debug Tutorial?
Post by: Fred Harris on January 16, 2016, 08:04:32 AM
Does anyone know a good recomendation for one.  Only time I ever used a stepping debugger to any extent was years ago with TASM.  I forget a lot of the details.  Understanding what I'm seeing in disassembled code is one of my main goals in learning masm.  I downloaded Olly Debug, but the doc file with it isn't really a tutorial.  That's why I'm asking.  I did a search and found a lot of results, but most seemed geared towards fokks with nefarious ends, which isn't where I'm coming from.
Title: Re: Olly Debug Tutorial?
Post by: fearless on January 16, 2016, 09:00:50 AM
Unfortunately there is probably a lot of tutorials related to doing specific things with olly and not so much as basic how to or overviews.

I did find a few tutorials that appear to be mostly covering the basics of usage, without getting into any specifics like you mentioned. Hopefully they might help:

Tutorial #2 : Intro To Olly Debug - http://octopuslabs.io/legend/blog/archives/31.html
Tutorial #3: Using OllyDBG, Part 1 - http://octopuslabs.io/legend/blog/archives/115.html
Tutorial #4: Using Olly, Part 2 - http://octopuslabs.io/legend/blog/archives/258.html

The rest of the tutorials listed are more specific and dont relate to general usage, but from looking at those three, they appear quite well documented and laid out, hopefully enough to get you started.

Some handy keys to remember:

Program
   
Program reset             Ctrl + F2
Close program             Alt + F2
Open EXE file             F3
Bring Olly to top         Alt + F5
Step into                 F7
Animate into              Ctrl + F7
Step over                 F8
Animate over              Ctrl + F8
Run program               F9
Execute till return       Ctrl + F9
Execute till user code    Alt + F9
Run trace into            Ctrl + F11
Stop execution            F12
Run trace over            Ctrl + F12
Stop anim. or tracing     Esc
   

Windows
Breakpoint window         Alt + B
CPU window                Alt + C
Modules window            Alt + E
Call stack window         Alt + K
Log window                Alt + L
Memory window             Alt + M
Patches window            Alt + P
Run Trace window          Alt + T
Quit Olly                 Alt + X
Maximize window           F5
Title: Re: Olly Debug Tutorial?
Post by: Fred Harris on January 16, 2016, 09:58:18 AM
Thanks fearless.  That'll definitely get me started. 
Title: Re: Olly Debug Tutorial?
Post by: jj2007 on January 16, 2016, 12:28:07 PM
Fred,

Attached is the only manual I ever found. Most of the time I just use F7-F9, though :P
Title: Re: Olly Debug Tutorial?
Post by: Mikl__ on January 16, 2016, 11:17:47 PM
Title: Re: Olly Debug Tutorial?
Post by: greenozon on April 07, 2024, 05:48:45 PM
Could anyone update the full 1-58 articles on Ollydbg from scratch please?
preferably in .chm format
in English
ideally with links to binaries that were used in the materials
Title: Re: Olly Debug Tutorial?
Post by: zedd151 on April 07, 2024, 11:52:56 PM
Quote from: greenozon on April 07, 2024, 05:48:45 PMCould anyone update the full 1-58 articles on Ollydbg from scratch please?
Specifically what 1-58 articles are you referring to?
The links posted by Mikl__ (years ago) all seem to be referencing "cracking" (otherwise known as reverse engineering) at least those in Spanish - Discussion of which is not allowed here.  :eusa_naughty:
Title: Re: Olly Debug Tutorial?
Post by: greenozon on April 08, 2024, 12:21:44 AM
I"m not going to discuss it, dont worry
I'm looking for fresh links that were given here years ago (2016) but for some reasons links are dead
Title: Re: Olly Debug Tutorial?
Post by: jj2007 on April 08, 2024, 12:29:40 AM
Quote from: greenozon on April 07, 2024, 05:48:45 PMCould anyone update the full 1-58 articles on Ollydbg from scratch please?

Excellent idea - go ahead, we always hoped a volunteer would show up one day :thumbsup: