The Art of Reversing
The Art of Reversing
Platform: HackTheBox | Category: Reversing | Difficulty: N/A | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
This is a program that generates Product Keys for a specific Software Brand.
The input is the client UserName and the Number of Days that the sofware will remain active on the client. The output is the product key that client will use to activate the software package.
We just have the following product key 'cathhtkeepaln-wymddd' Could you find the corresponding Username say A and the number of activation days say B given as input?
The flag you need to enter must follow this format: REDACTED
Solution Approach
Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.
Steps
-
First, unzip the
.zipfile given. -
First, let us strings the file.
-
Based on it, now we know, we need to decompile the file using DNSpy.
Flag
REDACTED
Lessons Learned
- Identify the weakness from source review or fingerprinting first.
- Iterate with incremental payloads instead of guessing.
- Reuse the same pattern in future engagements.