IllustratorsLeak
oalabs
oalabs

patreon


Debugging Fundamentals Module 6 - Software Breakpoints

Further Research

Lab 6

When launched the debugger will use the CREATE_PROCESS_DEBUG_EVENT to set a breakpoint on the entry point of the target. The EXCEPTION_BREAKPOINT events will then be captured to display when the breakpoint is hit. 

Note that the EXCEPTION_BREAKPOINT handler also captures the “system breakpoint”.

Lab 6 - Exercise A

Use what you have learned in the previous labs to set a breakpoint on the NTDLL NtWriteFile function instead of the entry point. When the breakpoint is triggered read the arguments from the stack and print the buffer to the console.

Lab 6 - Exercise B 

Try your new debugger with the target_antidebug.exe file. What are the results?




Debugging Fundamentals Module 6 - Software Breakpoints

More Creators