2026-10-15

Day 15: Stripped

Lane: Binary reverse engineering. Modes: Single Solve, Time Trial, Mastery. Result: all CORRECT.

The challenge

What we were given

What was asked

How it was solved, start to finish

  1. Ran the driver run_tm.py: start the attempt, download the zip, run solve_tm.py, submit.
  2. d01–d14 were answered as on Day 14.
  3. Pick the right file (new): solve_tm.py now looks for a selector in the field ID, such as d15_analysis_stripped_machine. It then uses the member whose file name contains stripped (or symbolized).
  4. Decimal machine (new): if the machine question says "base-10" or "numeric value", the solver answers the raw e_machine number instead of a name. For x86-64 that is 62.
  5. d15 config: both builds carry the same record in a .hcfg section. Stripping removed the symbols, not the config. Re-checked on the saved samples:
d15--variant-000-stripped.elf    HCFG offset=8461 version=1 xor_key=0xb1 len=367 crc32=0xc348914e  section .hcfg
d15--variant-000-symbolized.elf  HCFG offset=8461 version=1 xor_key=0xb1 len=367 crc32=0xc348914e  section .hcfg
JSON: {"campaign":"BR15-000","domain":"node-000.day15.example.invalid", ...}
  1. Answers for d15: stripped_machine = 62, symbolized_machine = 62, both formats elf, both architectures x86-64, stripped_config_campaign = BR15-000.
  2. Submitted all 150 answers (answers.json). Result: CORRECT.
  3. Time Trial: a fresh variant, same steps. Result: CORRECT.
  4. Mastery: five deliveries (750 answers), same steps. Result: CORRECT.

Results

ModeResultFlag
Single SolveCORRECTa8f0f0ad9c77b5dba753f36032edb60b
Time TrialCORRECTe5b0dcd21f232e2eaeea11810a347ec2
MasteryCORRECTf4123c3f4752c7ab839bc02f522cbf84

Each mode folder has the raw start-response.json, answers.json, submit-response.json and final-status-response.json. The downloaded zips are under deliveries/.

Reproduce

Offline, from this folder (no Game Master needed):

mkdir -p /tmp/d15/deliveries && cp single-solve/evidence.zip /tmp/d15/deliveries/delivery-1.zip
python3 -I ~/.config/huntress/solvers/solve_tm.py single-solve/start-response.json /tmp/d15/deliveries /tmp/d15/answers.json

Checked on 2026-11-01: this gives the same 150 answers as answers.json. It only parses the samples and never runs them.

Live driver:

python3 -I ~/.config/huntress/solvers/run_tm.py binary-reverse-engineering-day-15-assembly-and-symbol-loss single_solve /tmp/d15

This needs a Game Master token in ~/.config/huntress/gm-token.

Day 15: A Word to the Wise

Lane: Metadata forensics. Modes: Single Solve, Time Trial, Mastery. Result: all CORRECT.

The challenge

What we were given

What was asked

How it was solved, start to finish

The method: a .docx is a zip. Links to other places are stored in .rels XML parts as <Relationship> tags. External ones carry TargetMode="External".

  1. Added a handler to run_meta.py:
  2. Open the .docx as a zip.
  3. For every part whose name ends in .rels, find each <Relationship ...> tag.
  4. Keep tags that contain TargetMode="External" and take their Target value.
  5. Drop duplicates, sort, and return a compact JSON array.
for n in z.namelist():
    if n.endswith('.rels'):
        for mm in re.finditer(rb'<Relationship\b[^>]*?/?>', z.read(n)):
            tag = mm.group()
            if b'TargetMode="External"' in tag:
                t = re.search(rb'Target="([^"]*)"', tag)
                if t and t.group(1).decode() not in tgts: tgts.append(t.group(1).decode())
return json.dumps(sorted(tgts), separators=(',', ':'))
  1. Single Solve. document-15-001.docx →
["https://example.test/control","https://example.test/evidence/d87ca62c5bb7"]

CORRECT.

  1. Time Trial and Mastery. run_meta.py answered all 20 and all 100. The external targets were the same two URLs in every set. Example synthesis answer (Time Trial): ["camera-001.jpg","telemetry-agent-001.exe","evidence-note.txt","document-15-001.docx"]. Both CORRECT.

Later note: on Day 23 a Time Trial format search confirmed the grader wants this list sorted, which is what the handler already did.

Results

ModeResultFlag
Single SolveCORRECT24f95797eb0eac4d7892a87a22b76a07
Time TrialCORRECT7acd6fa959440c455de52406f46cf963
MasteryCORRECTe71b59f61c5b20ee22462aa8b658a12e

Each mode folder has answers.json, start-response.json, submit-response.json and final-status-response.json. The Single Solve folder also has the zip. No screenshots were captured.

Reproduce

python3 -I ~/.config/huntress/solvers/run_meta.py metadata-forensics-day-15-word-to-the-wise single_solve /tmp/d15

This needs a Game Master token in ~/.config/huntress/gm-token. For time_trial and mastery it calls op=retry first, which spends one of the unique attempts. It only reads the XML inside the .docx. It never opens the document or the URLs.

Day 15: Native Library Secrets

Lane: Mobile (Android). Modes: Single Solve, Time Trial, Mastery. Result: all CORRECT.

The challenge

What we were given

What was asked

How it was solved, start to finish

The app was never installed or run.

  1. Started the Single Solve and downloaded the APK.
  2. Looked at the layout. The config is split between the DEX and the native .so.
  3. Read the puzzle asset. New codec today: native. Despite the name, the answer is inline in data:
{"schema":"huntress.mobile.puzzle.v1","day":15,"codec":"native","data":"ANS-E28C9614AEF73B8F"}

So the solve never had to read the .so.

  1. Taught the driver. native joined the codecs whose data is returned as is:
if codec in ('native','plain','identity','reflection'): return pj['data']
  1. Ran the lane driver for all three modes:
python3 -I ~/.config/huntress/solvers/run_mode.py mobile-android-day-15-native-library-secrets <mode> mobile_puzzle <workdir>
  1. Results: Single Solve (ANS-E28C9614AEF73B8F), Time Trial (ANS-EFA9E4972AAA0283) and all five Mastery answers came back CORRECT.

Results

ModeResultFlag
Single SolveCORRECT0c09bf2654743daabecdaaa9d2bb3bbd
Time TrialCORRECT8df0f1be3882c6c1e845a2e7de782d5e
MasteryCORRECT48a63fe81e2bc87c3b75ec9be0cb8922

Each mode folder has answers.json, start-response.json, submit-response.json and final-status-response.json. The Single Solve submit-response.json says already_solved because it is a resubmit. Its final-status-response.json holds the CORRECT result and flag. No screenshots were taken.

Reproduce

Offline:

unzip -p single-solve/native_library_secrets.apk assets/huntress_puzzle.json

A fresh run with the driver:

python3 -I ~/.config/huntress/solvers/run_mode.py mobile-android-day-15-native-library-secrets single_solve mobile_puzzle /tmp/d15

This needs a Game Master token in ~/.config/huntress/gm-token. It only unzips the APK and reads the asset. It never installs or runs the app.

Day 15: Crumb Trail

Lane: Script analysis. Modes: Single Solve, Time Trial, Mastery. Result: all CORRECT.

The challenge

What we were given

What was asked

How it was solved, start to finish

  1. Started the untimed Single Solve and downloaded evidence.zip. Extracted it with 7z x -pinfected.
  2. Ran the existing solver (solve_expansion.py, driven by run_expansion.py). Each family has its own decoder:
FamilyFilesHow the config is recoveredFirst seen
PowerShell*-sample.ps1Base64 JSON inside FromBase64String('...')Day 1
JScript*.jsjsdec.js loads the fixture in a Node vm sandbox (pure-computation globals only) and calls its decode functionsDay 3
Batch*.bat, *.cmdjoins the :HUNTRESS_INSPECT fragments and drops ^ caretsDay 3
VBScript*.vbsMaterial_ + Codec_, transform search until the text starts `v=1\steps=`Day 4
Python*.pyMATERIAL_ read with ast.literal_eval, same transform searchDay 5
Bash*.shquoted Material_ + Codec_; "advanced" files start `v=1\feature=`Day 6, Day 7
Node.jsnode-*.mjsMaterial_ + Codec_ with \x, \u and hex-array formatsDay 7
host, polyglothost-*, polyglot-*HUNTRESS_ANALYSIS_V1:<ENC>-<data> marker (B64, HEX, HB64, FRAG)Day 8

Role comes from the ordered steps, and ATT&CK from the role and the language (rules in Day 3). Host and polyglot configs already contain their role and ATT&CK ID.

  1. No new code was needed. The Perl host and polyglots carry the usual marker.
  1. Ran run_expansion.py for all three modes. All three came back CORRECT.
  1. Real answers from single-solve/answers.json:
{
 "host-perl-cgi-perl-role": "staged_chain",
 "host-perl-cgi-perl-attack": "T1059",
 "host-perl-cgi-perl-adapter": "operation_graph",
 "host-perl-cgi-perl-campaign": "PERL-1ac5bee5",
 "host-perl-cgi-perl-url": "https://perl-1ac5bee52d.example.invalid/stage",
 "host-perl-cgi-perl-stage-count": "2",
 "host-perl-cgi-perl-steps": "decode_configuration>return_configuration",
 "host-perl-cgi-perl-host-profile": "perl_cgi"
}
  1. Time Trial and Mastery used the same solver on fresh variants.

Results

ModeResultFlag
Single SolveCORRECT51f1d80d8a4ad8883bf89d4236b87851
Time TrialCORRECTe604ef289edc1f0a317de1191b2f1cc5
MasteryCORRECT5ed40a764e7730ee979d5ec4b89a75c2

Each mode folder has answers.json and the Game Master JSON (start-, submit-, final-status-response.json). The evidence archives were not kept. No screenshots were taken.

Reproduce

The evidence archive was not kept, so the saved answers cannot be rebuilt offline. For a fresh attempt of this format:

mkdir -p /tmp/d15/ex
7z x -pinfected -o/tmp/d15/ex evidence.zip
python3 -I tools/solve_expansion.py /tmp/d15/ex start-response.json /tmp/d15/answers.json

Then submit answers.json to the Game Master (needs a token in ~/.config/huntress/gm-token). The tools/ copy decodes JScript with the pure-Python jsdec_py_emu.py, not the Node sandbox.

On the day, run_expansion.py drove the live modes. Since Day 23 that driver sends any question set with polyglot- IDs to solve_day23.py, which does not handle this format's host- and resource- IDs. So use solve_expansion.py directly, as above.

Day 15: Room Forty-Seven

Lane: Warmups. Modes: Single Solve, Time Trial, Mastery. Result: all CORRECT.

The challenge

What we were given

How it was solved

  1. Decode the blob. Rotate each printable ASCII character (codes 33-126) by 47 positions.
  2. Mastery blobs use multiple encodings from Days 1-15. The solver (warmup_decode.py) tries every known decoder on each line and picks the one producing printable text.
  3. Concatenate all decoded lines. The text contains a message ending in the answer slug.
  4. Submit the slug to the Game Master.

Results