_InSaNe_
July 27th, 2007, 19:56
Targt info: Peid says armadillo 1.xx - 2.xx
My approach :
i found out that it was also using outputdebugstringa to crash olly so,
bp OutputDebugStringA
patched push 234 to ret 4
removed BP
than bp GetModuleHandleA
to find the good jump for API redirection
found after registration nag.
patched je to jmp always
Remove the breakpoint and new BP CreateThread to check for the call edi ( signature jump to OEP for arma).
then shift + f9 twice and, comes up the warning privileged instruction.
when shift + f9 agn, comes the error,Debugged program unable to process exception.
And then process terminates.
I know i am so close to OEP and yet ......
Sorry cant upload the code much since its real application.(This code is all in red )
If removed breakpoint on Getmodulehandlea and wont patch the jump to api redirection, then i get the bp to createthread to work however, i cant find call edi.
Also when tried to shift + f9 agn breaks at createthred and i see gettickcount api, more protection ?
I must admit i cant find out whats causing this, after pressing shift + f9 once ( thats after i patched the old jump) i stepped in the code but no good, there is definitely something i am not aware of, some trick armadillo playing that i dont know off.
Any help appreciated.
Regards,
_InSaNe_
P.S.: Sure if its not clear, i will upload much code by making necessary changes.
My approach :
i found out that it was also using outputdebugstringa to crash olly so,
bp OutputDebugStringA
patched push 234 to ret 4
removed BP
than bp GetModuleHandleA
to find the good jump for API redirection
found after registration nag.
patched je to jmp always
Remove the breakpoint and new BP CreateThread to check for the call edi ( signature jump to OEP for arma).
then shift + f9 twice and, comes up the warning privileged instruction.
when shift + f9 agn, comes the error,Debugged program unable to process exception.
And then process terminates.
I know i am so close to OEP and yet ......
Sorry cant upload the code much since its real application.(This code is all in red )
Code:
018C1D30 90 NOP
018C1D31 F7D3 NOT EBX
018C1D33 EF OUT DX,EAX ; I/O command this one here is the culprit.
018C1D34 4A DEC EDX
018C1D35 DA29 FISUBR DWORD PTR DS:[ECX]
018C1D37 1C 74 SBB AL,74
018C1D39 A7 CMPS DWORD PTR DS:[ESI],DWORD PTR ES:[ED>
018C1D3A 9D POPFD
018C1D3B 53 PUSH EBX
018C1D3C 83FA 21 CMP EDX,21
018C1D3F 8BB6 92122531 MOV ESI,DWORD PTR DS:[ESI+31251292]
018C1D45 1C 5E SBB AL,5E
018C1D47 DB79 37 FSTP TBYTE PTR DS:[ECX+37]
018C1D4A A8 93 TEST AL,93
018C1D4C 15 957F4FD9 ADC EAX,D94F7F95
018C1D51 20CA AND DL,CL
018C1D53 3D 4E9F258E CMP EAX,8E259F4E
018C1D58 34 1D XOR AL,1D
If removed breakpoint on Getmodulehandlea and wont patch the jump to api redirection, then i get the bp to createthread to work however, i cant find call edi.
Also when tried to shift + f9 agn breaks at createthred and i see gettickcount api, more protection ?
I must admit i cant find out whats causing this, after pressing shift + f9 once ( thats after i patched the old jump) i stepped in the code but no good, there is definitely something i am not aware of, some trick armadillo playing that i dont know off.
Any help appreciated.
Regards,
_InSaNe_
P.S.: Sure if its not clear, i will upload much code by making necessary changes.