Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Difficulty : 2 (I guess)
Language : C++ 
Platform : Windows
OS Version : All
Packer / Protector : None

Description :

It is a simple keygenme challenge. Coded in C++, solution is only a working keygen.

Screenshot :

 

ss.PNG

KeygenMe #2.rar

Solved by Washi

Go to solution
  • 7 months later...
  • Solution
Spoiler

User: washi
Serial:  TI38H-ECLPK-WNBLX-KRPS5-IBNF7

User: tuts4you
Serial: CMNLF-MFIB3-1QFMQ-WNJGK-XCGVI

Approach:

Spoiler

Tools used: Started with Ghidra, filled some gaps with IDA as Ghidra sometimes gave me incorrect or incomplete pseudo code.

1. Figure out the serial verification algorithm:

  • Entrypoint looks a lot like a standard entrypoint that calls WinMain. Navigate to the WinMain (FUN_00401690), and notice the call to DialogBoxParamA with the associated DialogFunc (FUN_00401510) referenced.
  • Go to the DialogFunc procedure, and notice the if statements that decide on the messagebox to be shown. From this we find our checkSerial function (FUN_004013b0).
  • Notice that checkSerial repeats the username (including the trailing zero byte) until it is exactly 16 characters long, concatenates this with a hash computed by FUN_00401280, and then finally computes a checksum of the end result. A license is valid if the lower two bytes of this checksum are equal to the last two bytes of the serial hash.

2. Create keygen

  • Recreate the keygenme using C#.
  • Generate a random serial, test for validity and repeat the process if it is not.

I understand that this might be considered cheating, as it's more of a bruteforce method rather than actually reversing the algorithms. I ran out of time, and might do a proper keygen later. Nevertheless, bruteforcing a key is very fast on my machine, usually takes less than a second.

 

Keygen+Solution.7z

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.