home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Reverse Code Engineering RCE CD +sandman 2000
/
ReverseCodeEngineeringRceCdsandman2000.iso
/
RCE
/
LiuTaoTao
/
crchk116.txt
< prev
next >
Wrap
Text File
|
2000-05-25
|
2KB
|
80 lines
╒Γ┤╬╬╥├╟╥¬╞╞╡─╚φ╝■╩╟ú║
The software is
ChkEXE v1.16 FreeWare from Hann0 Boeck <hanno@gmx.de>
╘┌╦ⁿ╡─╦╡├≈╩Θ╓╨ú¼─π┐╔╥╘┐┤╡╜TR┐╔╥╘╞╞CHKEXE V1.14║═V1.15íú╨╗╨╗Hann0╢╘TR
╡─╠ß├√úíTR╥╗╢¿▓╗╗ß╚├Hann0╧╚╔·╩º═√ú¼╝ß╛÷░╤V1.16╥▓╞╞╡⌠úí╚├╬╥├╟┐┤┐┤╦ⁿ╙╨
╩▓├┤╨┬╦╝┬╖íú
In its 'chkexe.doc' you can realize that TR can crack ChkEXE V1.15
and V1.14. Now it is V1.16, whats new ?
--------------------------------------
1. ╩╫╧╚╗╣╩╟╚├╬╥├╟╙├TR v1.92╧╚╩╘╥╗╧┬ú¼
First, Lets try it with TR v1.92,
TR chkexe.exe
g ;just go and see what happen
After a while, TR stops at
cs:03f8 int 20 ;cd 20
TR╘┌INT 20┤ª═ú╫íú¼▒¿╕µí░│╠╨≥╜ß╩°í▒íú┐╔╩╟╬╥╓¬╡└╒µ╒²╡─│╠╨≥╗╣├╗╘╦╨╨─╪ú¼
╩▓├┤╡╪╖╜┤φ┴╦┬≡ú┐╚╦╚τ╞Σ╚φ╝■íúCHKEXE▓╗╓╗║²╫í┴╦TRú¼╥▓║²╫í┴╦╬╥íú╬╥╖╤┴╦
╩«╢α╖╓╓╙╩▒╝Σ▓Θ╒╥TR╘┌┤╦╓«╟░│÷┴╦╩▓├┤▓ε┤φíú╫ε║≤╓╒╙┌├≈░╫TR├╗╙╨┤φú¼╓╗╩╟
╒Γ╗╣├╗╙╨╜ß╩°ú¼┐╔╥╘╩╘╩╘ú║
and message "Program Terminate" appear.
Program terminated, whats wrong ? It took me more than 10 minutes
before I realize that TR made no mistake. ONly that this 'int 20'
will not terminate the program, you can test it:
GG ;even if 'int 20', run anyway
CHKEXE╗╣╩╟╒²│ú╘╦╨╨┴╦úí
you can see chkexe do correctly.
┐┤╞≡└┤TR╨Φ╥¬╫≈╡─╕─╜°╛═╩╟╚τ║╬╓¬╡└╒Γ▓╗╩╟│╠╨≥╜ß╩°íú
What I should do to improve TR is let TR know this is not the end.
╚τ╣√╥╗╕÷│╠╨≥╨▐╕─┴╦INT 20╡─╓╨╢╧╧≥┴┐╚╗║≤INT 20ú¼TR╓¬╡└╒Γ▓╗╩╟│╠╨≥╜ß╩°
▓ó╟╥╗ß╕·╡╜╙├╗º╓╨╢╧┤ª└φ│╠╨≥╓╨╚Ñíú╡½CHKEXE▓╗╩╟╒Γ╤∙╕╔ú¼╦ⁿ▓╗╕─╓╨╢╧╧≥┴┐ú¼
╢°╩╟╓▒╜╙░╤╘¡└┤INT20╡─╓╨╢╧│╠╨≥╡┌╥╗╫╓╜┌╕─╬¬IRETú¿CFú⌐íúTR 1.92▓╗─▄└φ
╜Γ╒Γ╡πíú
If program changed int 20 vector and run 'int 20', TR can understand
this and trace into user's vector routine. But what chkexe do this
time is , do not change vector, only change the first byte of vector
routine to IRET(cf). TR 1.92 do not understand this.
╦∙╥╘ú¼╧╓╘┌╙╨┴╦TR v1.93!
So, This is TR v1.93!
2. Lets unpack Chkexe 1.16 with TR v1.93
TR chkexe.exe
getknl
mkexe
╒Γ╗ß╔·│╔╬─╝■MEM.EXEú¿▓╗╥¬╘╦╨╨╦ⁿú⌐íú╙├╘¡└┤╡─CHKEXE╝∞▓Θ╦ⁿ╥╤╛¡═╤╡⌠┴╦╡┌
╥╗▓π┐╟ú║CrackStop 1.0(b)ú¼╗╣╩ú╧┬╡┌╢■▓πú║XPACK 1.67m. ╝╠╨°ú║
This will make file 'MEM.EXE'(do not run it). You can run origin
chkexe.exe to check it. MEM.exe is out of the first shell: CrackStop
1.0(b). The next shell is: XPACK 1.67m.
TR mem.exe
exe1
reload
goxb b1 cf eb fd ;this is xpack normal end
T
T
wexe1
exe2
reload
goxb b1 cf eb fd
T
T
wexe2
q
mkexe chkexe.exe ;must simulate origin file
You can try new MEM.EXE !