CSCTF 2026 · Forensics · 133 pts
The Capability Ghost.
A sealed config's decryption key is built entirely from metadata sitting next to the file — an extended attribute on one binary, and a timestamp in the system journal.
| Event | CSCTF 2026, Operation Dawn (online jeopardy) |
|---|---|
| Category | Forensics |
| Points | 133 |
| Status | Solved during the event |
| Target | tar archive + journal, offline |
TL;DR. A tar archive's PAX extended-attribute headers hold a raw 8-byte tag on one binary (its `user.build_seal` xattr), and the system journal holds a matching epoch timestamp. That binary's own help text documents the seal: an HMAC-SHA256 keystream over the tag and the timestamp, XORed against a sealed configuration file sitting elsewhere in the same archive.
Challenge
Decrypt a sealed signaling configuration file, using only metadata recoverable from a tar archive and a system journal.
Solution
Tar's PAX extended headers preserve POSIX extended attributes across the archive; one of the archived binaries, usr/local/bin/hc-probe, carries a user.build_seal xattr whose value is a raw 8-byte tag (509df6cd8e103fa5). The system journal separately provides a field, X_SEAL_EPOCH, giving a specific Unix timestamp (1793294042).
hc-probe's own help text — read as static strings, never executed — documents exactly how those two values combine: key = HMAC-SHA256(key=raw(tag), msg=decimal(epoch)), used to generate a repeating keystream XORed byte-for-byte against the sealed file, etc/solunet/signaling-cfg.sealed. XOR-decrypting its 27 bytes with that keystream gives a clean ASCII flag.
(Two other archived binaries, usr/bin/ping and backup-sync, also carry Linux capability xattrs — cap_net_raw and cap_net_bind_service respectively — but these were only inspected as metadata; nothing in the archive was executed or had its capabilities restored.)
Flag
CSCTF{fg6_x7i9b6b3nn_bj7sj}What I took from it
- A file's own extended attributes, preserved across an archive format like tar's PAX headers, can carry a cryptographic key component that most tools (and most casual inspection) never surface — checking xattrs explicitly is worth it whenever a sealed payload's source gives no other obvious key.