Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2005, 20:46
wildmans
 
Posts: n/a
How to find YP's OEP

Hey Guys

Been working on unpacking a YP 1.03 .DLL lately..I've been following a tutorial as I did not want te reinvent the wheel for that packer

Can somebody explain to me how to find the OEP for a YP 1.03 packed .dll ? The unpacking process went quite fine, but I dumped it while the thread was stopped after BP'ing on the .code section.. Now I have the dumped file but no OEP...
I tried comparing it with other dll's to see if i could match the entrycode but no luck

Furthermore: YP has an anti-dump trick.. I wondered how this 'trick' works ? I mean when you dump normally you get a packed dump.. Does this mean that the dll repacks itself after every method in the dll has been called or something ?? Im really confused here

Any info on these 2 subject would be great
Reply With Quote
  #2  
Old 09-13-2005, 22:08
suddenLy suddenLy is offline
Friend
 
Join Date: Jan 2005
Posts: 60
Rept. Given: 2
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 7 Times in 7 Posts
suddenLy Reputation: 3
To find OEP u'd better check the value of stack at BP on gettickcount, when debugger stop second time (with gettickcount BP).
Reply With Quote
  #3  
Old 09-15-2005, 17:33
wildmans
 
Posts: n/a
Suddenly, thanks for your answer.... I tried your solution but I cannot find the OEP using it.. Maybe you could describe your method in more detail ? You're sure it works for the latest yoda's protector ?
Reply With Quote
  #4  
Old 09-30-2005, 10:46
suddenLy suddenLy is offline
Friend
 
Join Date: Jan 2005
Posts: 60
Rept. Given: 2
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 7 Times in 7 Posts
suddenLy Reputation: 3
OEP is stored to [esp+10] after return of second time of gettickcount.

The OEP is usually stored with "ror oep, 7"

so u can get real oep with "rol [esp+10], 7"

of course the value, 7 is dependent on u.

when u try some other number, u maybe find oep easily.

if u have a problem, feel free to know me that.

regards
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
Find out Encryption aldente General Discussion 9 01-07-2005 05:10


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


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