Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #91  
Old 02-16-2004, 01:21
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
File sent
Reply With Quote
  #92  
Old 02-16-2004, 01:34
Wurstgote
 
Posts: n/a
Thanks, file received.

Started the original app in Olly, got to OEP and tried to fix your dump with JackD's IAT with ImpRec.
Same problem as before: Access violation at 404f5f.
But for a very short time a window pops up... May it be the problem Satyric0n mentioned before?

Regards
Wurstgote
Reply With Quote
  #93  
Old 02-16-2004, 02:01
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
I think you need windows xp to test

Last edited by britedream; 02-16-2004 at 02:21.
Reply With Quote
  #94  
Old 02-16-2004, 02:01
JackD JackD is offline
Friend
 
Join Date: Jan 2002
Posts: 43
Rept. Given: 4
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 3
Thanks Rcvd at 1 Time in 1 Post
JackD Reputation: 1
Wurstgote,

It's a FREE mailbox, can't expect much. File size is the problem. Try zipping dump maybe if you want to retry?

JackD
Reply With Quote
  #95  
Old 02-16-2004, 03:24
Wurstgote
 
Posts: n/a
JackD,

problem is, file is already zipped. Tomorrow I'll put it on a http server. You can download it from there. As soon as it's there, I will send you a PM.

Regards
Wurstgote
Reply With Quote
  #96  
Old 02-16-2004, 03:38
JackD JackD is offline
Friend
 
Join Date: Jan 2002
Posts: 43
Rept. Given: 4
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 3
Thanks Rcvd at 1 Time in 1 Post
JackD Reputation: 1
Wurstgote,

I think I was able to replicate what you're getting. I believe the problem is the dump you are using came after ASPR processed its 'dips'.

ASPR processes 'dips' before reaching the OEP that modify addresses to point to ASPR at 620484, 62048C, 620494, 620498, and 62049C.

data BEFORE ASPR dips
00620480: 00 00 00 00-00 00 00 00-00 00 00 00-00 00 00 00
00620490: 00 8D 40 00-F4 85 57 00-20 86 57 00-20 86 57 00
006204A0: 00 00 00 00-FE FF FF FF-FE FF FF FF-00 00 00 00
006204B0: FE FF FF FF-FE FF FF FF-00 8D 40 00-00 00 8B C0

data AFTER ASPR dips
00620480: 00 00 00 00-61 38 60 01-00 00 00 00-FC 1E 63 01
00620490: 00 8D 40 00-08 1C 61 01-A4 1B 61 01-D8 1B 61 01
006204A0: FE FF FF FF-1E 00 00 00-1E 00 00 00-FE FF FF FF
006204B0: 00 00 00 00-00 00 00 00-00 8D 40 00-00 00 8B C0

data that WORKS
00620480: 00 00 00 00-F0 3F 61 00-00 00 00 00-00 00 00 00
00620490: 00 8D 40 00-F4 85 57 00-20 86 57 00-20 86 57 00
006204A0: FE FF FF FF-1E 00 00 00-1E 00 00 00-FE FF FF FF
006204B0: 00 00 00 00-00 00 00 00-00 8D 40 00-00 00 8B C0

MUST put something here for pointer in data that WORKS
00613FF0: 45 76 65 72-79 6F 6E 65-00 00 00 00-00 00 00 00

You still need to apply C3 at 57890C.

JackD

Last edited by JackD; 02-16-2004 at 03:42.
Reply With Quote
  #97  
Old 02-16-2004, 06:40
Wurstgote
 
Posts: n/a
JackD,

wow, you're right: Your "data AFTER ASPR dips" exactly match those in my dump
Now I wonder, regarding the behaviour of the dumped app, where's the difference between your version and mine? The only one I recognize is that yours show in the "About" dialog that the app is registered to "Everyone" (due to
00620480: 00 00 00 00-F0 3F 61 00-00 00 00 00-00 00 00 00
and
0613FF0: 45 76 65 72-79 6F 6E 65-00 00 00 00-00 00 00 00)
while mine shows some trash.
Despite of that (little) difference, both versions behave the same (as far as I've found out).
I'm sure there must be something else, but I can't figure it out.
Do you mind to explain, please?

Regards
Wurstgote
Reply With Quote
  #98  
Old 02-16-2004, 08:15
JackD JackD is offline
Friend
 
Join Date: Jan 2002
Posts: 43
Rept. Given: 4
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 3
Thanks Rcvd at 1 Time in 1 Post
JackD Reputation: 1
Wurstgote,

I guess I'm not sure just what problem(s) you have at this point. Maybe your resource section, but I just don't know. If you can post your dump for download, I'll check it out.

JackD
Reply With Quote
  #99  
Old 02-16-2004, 16:13
Wurstgote
 
Posts: n/a
JackD,

I would like to put my dump on my homepage for download, but it seems my provider is messing around with his system, so at the moment, I've got no ftp access to transfer the file... Perhaps it will work again later.
But could you please tell me at what point I need to dump the app? I've dumped it at the first time eip<900000 (it's at a jump back to ASPR code) and if I got you right, ASPR has already processed the dips (by the way... what are those dips?).

Regards
Wurstgote
Reply With Quote
  #100  
Old 02-16-2004, 16:15
Satyric0n
 
Posts: n/a
Wurstgote, can you go on IRC to send me the file?

Regards
Reply With Quote
  #101  
Old 02-16-2004, 16:46
Wurstgote
 
Posts: n/a
Satyric0n,

sure. Just a few minutes, I'm now at a different computer so I'll have to install mIRC again...

Regards
Reply With Quote
  #102  
Old 02-16-2004, 19:02
Satyric0n
 
Posts: n/a
britedream:

I have tried your dump (Wurstgote sent it to me), and indeed it does work perfectly on WinXP (though not on Win2k). But, it only works while you keep the ASPR sections after the .rsrc section on the file.

If you read the beginning of this thread, you will see that Wurstgote and I have made an excercise of getting rid of all the sections after the .rsrc section: .data, .adata, and .mackt (removing this by having ImpRec put the imports in the section at 22A000 instead of in a new section).

Once I remove these sections from your dump (the .data section, specifically), your fix at 578911 for Options no longer works, and I must do the same thing as I did in my dump to get it working.

So my question is: does your method of fixing these problems work also if you remove the sections after .rsrc?

Regards,
Satyric0n

Last edited by Satyric0n; 02-16-2004 at 19:05.
Reply With Quote
  #103  
Old 02-16-2004, 19:55
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
Hi,
I didn't follow all the post , it is a long one, but for removing the section I didn't see any need for removing those sections so I did not try your method,I am working on too many things at the same time, once I get a chance I will check it. you know this target is very strange in many ways, I think it uses the protected dlls as loader of some sort. your method would be clearer if you were to use normal target.

Regards.

Last edited by britedream; 02-16-2004 at 20:05.
Reply With Quote
  #104  
Old 02-16-2004, 20:05
Satyric0n
 
Posts: n/a
As a rule, when I manually unpack ASProtected apps, I always remove the ASPR sections (.data and .adata in this case), and put the imports in the original .idata section (22A000 in this case) instead of in a new section (.mackt) as ImpRec does by default. I do this because these sections seem to me to be entirely unnecessary, and only waste space by making the exe bigger.

Having done that, this app's behavior seems (to me) to be consistent with every other ASPR'd app I have ever dealt with. I was able to unpack it without problems, it's just that my methods of doing so seem to be much different than yours.

If you get a chance to try it, I would be interested to see if your method of fixing the dumped file works with these sections removed.

Regards,
Satyric0n
Reply With Quote
  #105  
Old 02-16-2004, 20:11
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
Ok I will try to do that, but to test this today
I copied a dump of an old version of this target which starts normaly at oep , and replace the current version, when I run it , it no longer runs from the oep, but from inside asprotect.

Last edited by britedream; 02-16-2004 at 20:49.
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
one newbie question SubzEro General Discussion 7 03-12-2015 06:05
ASPR, ARMA question sgdt General Discussion 3 04-09-2006 03:38
ASPR 1.2 question gabri3l General Discussion 42 05-01-2004 15:09
a newbie question about CRC32 abccc General Discussion 13 04-23-2004 03:13
"newbie" question for crackers ;) newbie007 General Discussion 4 10-07-2003 04:46


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


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