Skip to main content
Challenges Hidden persistence in the Registry
Digital forensics Hard Autorun locations (Run, Winlogon, IFEO, Task) and a hidden loader in REG_BINARY Solves: 5

Hidden persistence in the Registry

Author: CyberSamSU
Points
80

A dismissed administrator's server was taken for inspection. Without taking a disk image, the forensics team exported the registry with reg export and copied scheduled tasks from the C:\Windows\System32\Tasks folder into registry_export.zip: HKLM_SOFTWARE.reg, HKLM_SYSTEM_Services.reg, HKCU_NTUSER.reg (regedit export, UTF-16LE) and task XMLs inside Tasks/.

The server was not compromised due to a deleted script — the attacker established persistence: exactly one of the autorun mechanisms launches a loader. The loader itself is not a file on disk: it reads a REG_BINARY value in the registry, decodes it with XOR, and executes it. Meanwhile, the registry contains many other binary values: random cache, service settings, and 'orphan' blobs that nothing uses.

Find the valid mechanism (there are also suspicious loaders with broken pointers!), and decode the value it points to with the right key. Inside the decoded text is the attacker's control 'id' value — that is the flag. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).

Attached files
registry_export.zip Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −8 pts Log in
Hint 2 −16 pts Log in
Hint 3 −24 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. AGENT X 26.11.2026
4. NFS 27.11.2026
5. Doston Allayarov 28.11.2026