Flag: Tornado! Hurricane!

Error: Authentication required to access requested resource.

 Forums >>    >> 

Topic created on: by .


  Nadya   September 30, 2009 15:13.48 CDT
I have similar problem on AMD64, seems your only hope is to use good old SoftIce (alternatively Syser)

  jumpzero     September 30, 2009 19:52.12 CDT
well you have two choices.

1. debug your first process's debug loop, and if you wanna see second process's memory, you can write a memory viewer or use tools like cheatengine. it has fine memory viewer.

2. don't let the first one create the second one, but instead, run another olly to create/debug the second process. and see what the first process does in the debug loop, and do the same thing in the second olly.

  ronnie291983     October 1, 2009 01:43.32 CDT
@jumpzero: the second process has int 3 in a routine, that generates exception the first process catches these exception and performs some action, actually the total task to be performed when a user clicks a button is shared by the two processes using the method above, so as you mentioned i wud have implement that debug loop in the olly, so i guess at the event of an exception like int 3, i shd tell olly to perform the same task as in debug loop,i was thinking on the lines on patching in code for SEH by finding a free unused memory area, but that seems a little crude, i was wondering whether any easier way to do this exists?

  jumpzero     October 1, 2009 02:33.18 CDT
@ronnie291983
well, both way would work, i think.
if you take method 2, olly would catch the int3 exception and will ask you what to do. then you can do what the first process does, whatever it may be. it would be tricky if both processes use time difference between events. but other than that, i think it would work fine.

  DelightedZuk     October 1, 2009 03:57.02 CDT
just attach to the second process yourself so olly would be using the CreateProcessA with debug privileges (and then OpenProcess,DebugActiveProcess,...).
beware if there are any checks for the debugee.
After that, you're the debugger of both processes using 2 instances of olly.
In the first process though, fill the opcodes with nops without (make sure you don't ruin the stack) near the createfile [specific] call.

p.s, does that process does anything else with the handle? if so you'll have to implement more stuff yourself.


I hope I could help, post more info if you need any more help.

Sincerely,
Itzhak [for Citadel Technologies (www.citadel.co.il)]

  zeph97     October 2, 2009 12:57.06 CDT
http://www.woodmann.com/forum/showthread.php?t=11437 EBFE, CREATE_SUSPENDED, olly advance plugin

  ronnie291983     October 5, 2009 01:41.43 CDT
@zeph97: Thanks for pointing me to the thread, this was exactly what i was looking for :)

Note: Registration is required to post to the forums.

There are 28,224 total registered users.


Recently Created Topics
Reverse Engineering ...
Jan/23
Career: DoD Agency I...
Jan/22
"Disappearing&q...
Jan/17
Career: Software Sec...
Jan/11
Where is the call st...
Jan/07
IDA Pro 6.1 Breakpoi...
Jan/01
How to create data s...
Dec/30
can i search all mod...
Dec/23
IDA symbol table exp...
Dec/20
An anti-attach trick
Dec/17


Recent Forum Posts
Reverse Engineering ...
NirIzr
"Disappearing&q...
NirIzr
Reverse Engineering ...
charlie
"Disappearing&q...
charlie
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
Looking for value in...
NirIzr


Recent Blog Entries
cmathieu
Feb/07
Hacker Carnival

waleedassar
Feb/06
OllyDbg v1.10 And Hardware ...

waleedassar
Jan/31
Yet Another Anti-Debug Trick

RolfRolles
Jan/22
Finding Bugs in VMs with a ...

waleedassar
Jan/13
An OllyDbg Bug Disables Sof...

More ...


Recent Blog Comments
waleedassar on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/05
Yet Another Anti-Debug Trick

trolotou on:
Feb/05
Doudoune Moncler -Pennies F...

waleedassar on:
Feb/01
Yet Another Anti-Debug Trick

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit