![]() |
private exe protector unpacking?
hello everyone,
i was looking at a binary protected with private exe protector, cant find any tutorials, can anyone push me in right direction? if not resources than any hints? thank you |
literally if you enter "private exe protector manual unpacking tutorial" into google, this is the first hit:
http://185.62.190.110/accessroot/arteam/site/download.php?view.330 For v3 though. Much of it applies also to v4. Dont know about v5. |
i tried got some references on tuts4you but no accessroot site!
sorry i didn't mention version i was looking for v4, thank you for the reference though. the pdf is about unpacking the protector not a target packed through it? |
Quote:
you will have to see how much applies to your specific target. |
also i reached till import resolver on my own though!!
after that i get access violation!! |
the target i have has no trial just the nag, i don't think i will be able to reach oep as you have mentioned in the text, what should be the approach now?
|
Quote:
Quote:
PM me the target, but I am on the road right now, so dont idle and count on me... |
thanks for the gesture man, its ok i will try it for my self for now..
so i think there is a confusion, do pep provide a registration scheme dialog box or something like that? cause i have a window where it says unregistered, and enter user and key, and gives a reference to a hwid, i think its coded in delphi but i am not sure its part of the protection or the real program, does pep provides a licensing mechanism? p.s. have a safe journey man! |
Yes, pep provides something like that, but of course the program might be providing its own form. Good luck!
|
tracing backwards from NtTerminateProcess Call, i figured out ntcontinue api calls are being used to make following the code difficult, if u came across in pep ntcontinue as any standard trick like running vm wrapping arround ntcontinue, please enlighten!
thank you! |
Hi
You can use this patterns : Quote:
BR, h4sh3m |
ok i will try, target is 4 i dont know exactly which version! will report
|
pattern search for 4.2.5 gave me this
Code:
push ebp |
and setting eax to zero does.. ?
|
nop zero makes it directly exit!, no form nothing appears. i also tried to nop all opcodes which are in pattern, but no luck!
|
and whats the value of the byte @ ebp-1.. that seems somewhat critical
|
can you share your target (max 50 mb)?
|
|
Quote:
also that value is written by the above function as edx is treated as a pointer to that location, a value is being copied from another location |
Quote:
|
Quote:
|
did you tried to run your debugger as admin?
|
nop i dont have a reason to do so, do i?
|
Quote:
you just need debug file carefully to find out solution, you need look after decryption function for next step ;) (you have all needed info to reach oep). |
i am not running inside a vm and i dont know the key if it has already created, this api is not being called(can you tell me the key path so i can delete it?)..also i have to return 0 in eax and ebp-1?
also i am getting access violation if i return all 0 from the pattern function...strange! |
so i think this is doing something like xoring the first byte at that address where the exception is occuring, and as because registration is bypassed by xoring but our licence is still invalid so i get exception?
also this is wrapped by a loop and later one more loop to decrypt another function!! dont know how i can validate the licence keys! here: Code:
push ebx |
is 0x4c00000 is the oep?
|
my progress till now in python x64dbg:
Code:
from x64dbgpy import pluginsdk |
Quote:
|
previous oep is wrong, i am very sure it is 0x004BF9C0 but still contains all 0s. its hard!
|
little more debugging and i get to know that the pattern function in some way compares some bytes with another bytes generated from the same function, so right now i am patching the function to contain [ebp-1] = 0, what if i make [ebp-1]=0 with valid data not patching then i think i would not get the exception as the same data is later getting xored with the real oep section? is this correct?
|
ok i give up, can anyone hand me the solution? so that i can actually see whats happening?
|
Quote:
Can you give little more information about it? maybe some older notes you've wrote while analysis or anything |
i didnt create any notes! although yea it crashes because of wrong decryption, you have to get the key!
|
| All times are GMT +8. The time now is 15:53. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX