Skip to content

short crackme for Windows XP SP3 (32 bit version). ring0 stuff. IMO very fun x-)

License

Notifications You must be signed in to change notification settings

therealdreg/cagrackme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cagrackme 1.0

short crackme for Windows XP SP3 (32 bit version)

ring0 stuff. IMO very fun x-)

intructions

install Windows XP SP3 (32 bit version)

Download this repository in C:\

execute cagrackme.bat

challenge

Get a Good Serial! messagebox

goodserial

hint

hint

hint2

https://github.com/therealdreg/ida_bochs_windows

https://www.cse.iitm.ac.in/~chester/courses/16o_os/slides/6_Interrupts.pdf

https://github.com/therealdreg/x86osdev

https://wiki.osdev.org/Getting_to_Ring_3

real challenge

Learn what the hell is happening

why this crackme its "stable"? Is there something new/innovative/imaginative compared to other public resources?

why does not exist a race condition in this POC? (look Indy explanation)

what are the different kind of weird things/crashes while debugging? and why?

if you remove the hook by hand what happen if you debug the program? and why?

if you remove the hook by hand and run the program... what happen? and why?

if you remove the popf (for TF bit) and run the program, why it can crash sometimes?

if you remove the hook, the popf (for TF bit) and after that you do a step in call far why it crash?

then... the popf + hook its for antidebug? ;-)

if you can't answer these questions you don't understand cagrackme

Solution + Source Code

https://github.com/therealdreg/dregate