Chapter 9 Ollydbg
Chapter 9 Ollydbg
Chapter 9 OllyDBG
Loading Program in OllyDbg
Open executable from within OllyDbg
In class exercise:
Opening executable notepad.exe (malware used in book)
4 main windows of OllyDbg
Disassembler, Registers, Stack, Memory dump
Attach to a running process
File->Attach
DisassemblerWindow
Register Window
Network Byte
Order
127.0.0.1
Exceptions
• Exception handling with OllyDbg
User options
Step into exception
Step over exception
Run debugger exception handler
Can also set in Debugging Options to ignore all exceptions
(immediately transfer control back to program)
Patching
Modifying live data (registers and flags), assemble and patch
code directly into a program
Example from the book