Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #16  
Old 09-02-2003, 19:26
Lunar_Dust
 
Posts: n/a
of all protectors out there right now, I think its one of the toughest..very well done anti-debug routines.

-Lunar
Reply With Quote
  #17  
Old 09-03-2003, 23:07
mikelong
 
Posts: n/a
The method of its returning to oep is really astonishing!
At 4d5e78 it wipes some code.
Then through hundreds of ret by a table in stack.
Many tricks are good to learn, including anti-debugging.
Reply With Quote
  #18  
Old 09-04-2003, 01:01
Lunar_Dust
 
Posts: n/a
Well, let me rephrase. It's not one of the toughest, it just has the best anti-debug routines.

TO actually capture and unpack the program is quite easy. Especially finding the OEP is insanely simple.

The only thing that makes it "hard" to debug is it creates a new process. It won't do this, tho, if the temp file it creates contains the correct crypto(GetTickCount() && CheckSumOfFileData). Upon launch, protector attempts to read the temp file, it its nonexistent, it writes it, and calls createprocess to start over. If it finds it, it compares 4 byte DWORD read in from file to calculated DWORD. If they match within certain amount, it runs normal to OEP without calling CreateProcess. We can force it by feeding GetTickCount return with a constant value, and then the output is only constant (since second part is file checksum). Then you fake ReadFile to with this constant value, and bytesread to 4, and you are good. Program will run under debugger then.


-Lunar
Reply With Quote
Reply


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
Best software protector: Themida or Enigma Protector? smartins General Discussion 13 04-27-2010 17:58
New protector lena151 General Discussion 7 09-22-2008 07:25
Has anyone seen this protector used yet? Nalpeiron Protector JCB General Discussion 0 10-02-2005 01:50
SVK Protector Ligend General Discussion 5 11-08-2003 00:02


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


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