← Back to Writeups
HTBEasyReversing

The Art of Reversing

D3v0o0Nu119/2/20261 min read
#reversing#htb#easy

The Art of Reversing

Platform: HackTheBox | Category: Reversing | Difficulty: Easy | 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

  1. First, unzip the .zip file given.

  2. First, let's strings the file.

  3. Based from it, now we know, we need to decompile the file using DNSpy.

Flag

REDACTED

Lessons Learned

  1. Identify the weakness from source review or fingerprinting first.
  2. Iterate with incremental payloads instead of guessing.
  3. Reuse the same pattern in future engagements.