![]() |
Why can't I re Armadillo it?
1 Attachment(s)
I hope this wasn't asked before. If if has, I am sorry and please deleted my thread.
I am newbie at unpacking but maybe found something useful. I dumped few targets protected by Armadillo 3.xx and then I wanted to re-protect it with Armadillo. Well when adding my dumped file in Armadillo, its shows it as already Protected. The reason for that is because of two bytes in PE Header. *Copy/Paste from Olly* 004000DA 53 DB 53 ; MajorLinkerVersion = 53 (83.) 004000DB 52 DB 52 ; MinorLinkerVersion = 52 (82.) I don't really know what role these bytes play in but I usually zero out both and then I can Dillo the file. In the attached pic you see these two bytes in black when looking at them in a hex editor. You basically find "PE" then count 18h bytes from there and you will land on the correct location. They read "SR" in ASCII. Hope this helped someone. Here is a Copy/Paste from Hex editor for those that can't download attachments. Code:
00000000 4D5A 9000 0300 0000 0400 0000 FFFF 0000 B800 0000 0000 0000 MZ...................... |
... something similar I wanted to know Why can't I re-ASPR ;)
Regards, |
Well, let's put on our thinking caps here. Ploop. Hat goes on.
Do you suppose ASPR also adds something to the PE header to check if its "already" protected by ASPR.? Well, how the heck would someone be able to determine that? Ponder, ponder, ponder. Think, think, think. :o I know. Let's look at the PE header for something we already have we know is not packed by ASPR - Notepad (unless, of course, yours already is :eek: ). Yah, Yah, but then what do we do , huh, huh? Well, why don't we just ASPRize the darn thing and then look at the PE header again. Maybe even use a file compare program (insert name of your favorite here) and actually see if that sneaky guy with the long Russian surname puts something in the header. Well gosh. Why didn't I think of that?? I must be too old. :D Regards, |
you most clean up the sections and code armadillo mades into the app. or sure will read it as it was protected
|
Wicked stuff JMI :p
|
JMI I said "I wanted to know" and not "I want to know". That means I already found out using the big lesson in my signature :D
Regards, |
Hi ferrari:
I actually "assumed" YOU already knew, but thought the "lesson" might be useful for those who hadn't "thought" about such things. :D ;) Regards, |
Wow JMI thats the exact method I used to find the "SR" in Armadillo. I guess this should work for any protector.
Crk: The Armadillo's I worked with are 2.xx - 3.75, I don't know if what you say is true for newer Armadillo but the ones I played with all I had to do is change those two bytes. I don't know if cleaning up dillo code is really necessary but its not easy I don't think, same for the sections, you can't just delete them to introduce black holes. If you have any more info, I would appreciate it. |
And just in case the full use of this comparison technique hasn't become clear, you can also "compare" cracked and uncracked versions of almost any software and discover all the changes which were made. This won't tell you "why" the changes were made, but knowing "where" would usually permit you to disassemble the code and try to figure out "why" it was changed at certain locations, such as to pass the "good boy/bad cracker" checks, etc.
For example, if you discover where version x.x.4 was patched, it is at least a good possibility that version x.x.5 might be made to work by patching in the same places. And in this instance, "same places" does NOT necessiarly mean the "same address," although it might be the same. It generally means "in the same routine" found in the previous version. The vendor may have moved that routine somewhere else in the code or an addition to the code might move it slightly forward or backward in the code, so one needs to actually "LOOK," rather than just blindly changing stuff at location 4XXXXXXX. ;) Regards, Regards, |
| All times are GMT +8. The time now is 18:15. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX