Jump to content
Tuts 4 You

small, simple crackme


Recommended Posts

Posted

People who patch this instead of trying to find the key are boring :^)

 

Language : C++
Platform : Windows x64
OS Version : Windows 10
Packer / Protector : None

Description :

This is a simple crackme i made over the course of the last 30 minutes. Hopefully you get a little fun out of it.
 

Screenshot :

crackme_img_1.png.0a119e8c916d5408d0277d9e893ff243.png

crackme_img_2.png.805136964bff3a43a177ec98e382b264.png
 

crackme.exeFetching info...

VirtualPuppet
Posted (edited)

There are many working keys. One of them is "$^CQE!#(Mrfe%&&$":

image.png.8cae15324ba0e75c7d3d3b06f87f878e.png

 

The key was brute forced using a quickly written C++ executable:

image.png.1b2c158f408f5826ad121cdd59a52805.png

 

The code for the C++ executable is as follows:

  Reveal hidden contents

 

Edited by VirtualPuppet
  • Like 1
Posted
  On 8/16/2019 at 4:25 PM, VirtualPuppet said:

There are many working keys. One of them is "$^CQE!#(Mrfe%&&$":

image.png.8cae15324ba0e75c7d3d3b06f87f878e.png


 

The key was brute forced using a quickly written C++ executable:

image.png.1b2c158f408f5826ad121cdd59a52805.png


 

The code for the C++ executable is as follows:

  Reveal hidden contents
Expand  

can't complain about a bruteforce, though i could probably have made it impractical with a longer key length
 

VirtualPuppet
Posted
  On 8/16/2019 at 8:55 PM, DefCon42 said:

can't complain about a bruteforce, though i could probably have made it impractical with a longer key length
 

Expand  

Well, mathematically, it’s just a question of finding 4 variables that, when multiplied with their factor and summed together yields a value within the allowed limit.

one could either brute force it or calculate it by hand. Even if you increase keylength, the key will be easy to recover as long as you calculate the key parts separately.

Posted
  On 8/17/2019 at 6:50 AM, VirtualPuppet said:

Well, mathematically, it’s just a question of finding 4 variables that, when multiplied with their factor and summed together yields a value within the allowed limit.

one could either brute force it or calculate it by hand. Even if you increase keylength, the key will be easy to recover as long as you calculate the key parts separately.

Expand  

that's true if you only have 4 variables to work with, but that might not always be the case (even four wasn't instant on my machine); it's relatively easy to make it large enough that a bruteforce becomes ineffective

  • 2 weeks later...
Posted

DefCon42, can you remake the Crackme with more than 4 variables so we can put it to the test?

Thanks,
-HooK

Posted (edited)
  On 8/28/2019 at 10:39 PM, Hookahice said:

DefCon42, can you remake the Crackme with more than 4 variables so we can put it to the test?

Thanks,
-HooK

Expand  

Sure! See attached.

crackme2.exeFetching info...

Edited by DefCon42
clarification
  • Like 1
  • 1 year later...
Posted

Hi i just look to it and than decompile it so it give me all the source code so i could recompile it myself and decrypt the control flow :D. Great share m8!

Info: I use IDA Pro last version to get the Pseudo code that i retranslated in Windows c++

main.cppFetching info...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...