📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  How to Debug debuged process using Windbg

Topic created on: September 29, 2009 13:14 CDT by Nadya .

Hi

I have this problem that I need to analyze piece of AMD64 assembly code. First process lets call it A creates and debugs process B using CreateProcessA (DEBUG_PROCESS+ DEBUG_ONLY_THIS_PROCESS), WaitForDebugEvent, ContinueDebugEvent. Piece of code that I want to analyze is inside B process and I can't analyze it statically it has to be dynamically. I was trying get inside B process using WinDbg(kernel debugging) setting int 3h inside B process but WinDbg refuses to debug debugged process, next I was trying to break on B process API's but no luck here either. Please can someone help me out, how to break inside B proces? I'm new when it comes to windbg.

  cod     September 30, 2009 23:12.37 CDT
try with "Noninvasive debugging mode"

http://msdn.microsoft.com/en-us/library/cc266358.aspx

you can try also with statically analysis of 2nd process using the memory dump, or trying to emulate process A

  Nadya   October 7, 2009 16:09.05 CDT
ok thanks for help seems "Noninvasive debugging mode" is the only way for me

  DelightedZuk     October 8, 2009 13:14.16 CDT
you can also change the flags of create process and nop all the other calls, and attach it to your debugger instead of the callee debugger.

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit