Challenges › Reverse Engineering

Follow The Configuration

hard · 150 XP · flag · free · solves: 1

cfgsim is a harmless training sample that imitates how real programs keep their settings hidden. It carries a built-in configuration, decodes it at start-up, parses it and prints how many settings it found. It opens no files and makes no network connections, so you can also run it safely in your own lab.

Your job is to follow the code path from main to the routine that decodes the configuration and the routine that parses it, then recover the settings it holds. Document the path as you go: it is the same habit that real analysis needs.

One setting is called campaign. Submit the flag as CSEMA{ followed by its value and }.

Tags: learn

Try next