Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2004, 05:19
Crassy
 
Posts: n/a
Armadillo 3.76 - tips needed

Hello!

Got some problems with an Armadillo 3.76 target.

I successfully detach the child process, attach a new OllyDbg to it and patch the EP bytes from JMP EIP to the original ones. But then I really don't know what to do. Breakpoint on CreateThread gets me nowhere.

If I try the old method (setting a mem breakpoint on the code section and running) it breaks somewhere that is NOT OEP.

When I don't do anything (just patch in the original bytes and run passing exceptions back to program) the program terminates! I guess it somehow detects it's not attached to the parent process anymore... (?)

Can someone please give me some tips?

PS Of course I've read the tuts (by ricardo and mephisto), but those are for older versions and doesn't seem to work anymore?
Reply With Quote
  #2  
Old 09-23-2004, 14:42
zaratustra
 
Posts: n/a
is your application coded in vb or delphi?
Reply With Quote
  #3  
Old 09-23-2004, 18:34
usr_1
 
Posts: n/a
does it make a difference ?
Reply With Quote
  #4  
Old 09-23-2004, 20:17
Crassy
 
Posts: n/a
Humm, I think its vc with mfc

Last edited by Crassy; 09-23-2004 at 20:24.
Reply With Quote
  #5  
Old 09-23-2004, 20:58
xzz
 
Posts: n/a
GetProcAddress

use Bp GetProcAddress on midle (after happen some exceptions), it will take a bit delay but you can place your self to oep, count how much api after your soft working, e.g after 50 break your soft running, restart and do same step until 49 ctrl-f9 and follow code ....
Reply With Quote
  #6  
Old 09-24-2004, 00:20
bEaST
 
Posts: n/a
here, maybe this can help you:

http://66.98.132.48/fravia/Armadillo_3.xx_tutorial-MEPHiST0.rar
Reply With Quote
  #7  
Old 09-24-2004, 07:52
Crassy
 
Posts: n/a
xzz: thats actually the issue at question - when the child process is disconnected from the parent (DebugActiveProcessStop) the child process just terminates - it doesnt run as usual.

bEaST: thanks, but the techniques described there dont apply to dildo 3.76. =)
Reply With Quote
  #8  
Old 09-24-2004, 08:29
xzz
 
Posts: n/a
Quote:
Originally Posted by Crassy
xzz: thats actually the issue at question - when the child process is disconnected from the parent (DebugActiveProcessStop) the child process just terminates - it doesnt run as usual.

bEaST: thanks, but the techniques described there dont apply to dildo 3.76. =)
Posibility is used Advanced Softice Detect i thing terminate caused by bp or debuggerpresents, can you look there eax 0 ?
Reply With Quote
  #9  
Old 09-24-2004, 21:40
lordnasty lordnasty is offline
Friend
 
Join Date: Sep 2004
Posts: 31
Rept. Given: 5
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 18
Thanks Rcvd at 1 Time in 1 Post
lordnasty Reputation: 0
Crassy,
have you resolved the problem?
why i have the same problem!
I follow the good Mephisto tutorial at:

http://www.absolutelock.de/construction/files/infobase/New/arma_debugblocker/tutorial.html

But on CreateThread i have the same problem ..
i also tried with break SetProcessWorkingSetSize .. but nope!
Write if you have news.
Bye
Reply With Quote
  #10  
Old 09-25-2004, 01:06
Belisarious
 
Posts: n/a
Quote:
If I try the old method (setting a mem breakpoint on the code section and running) it breaks somewhere that is NOT OEP.
Hi,
On a similar target I landed on OEP by setting a memory access breakpoint on text section! Maybe it's the same?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IDA SDK C++ tricks and tips chants Developer Section 4 08-16-2019 13:16
Need some tips on in memory patching of a .Net dll Sailor_EDA General Discussion 4 05-30-2011 22:27
tips? NE1 General Discussion 3 08-27-2002 03:45


All times are GMT +8. The time now is 22:22.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )