Tactical LogHuntress CTF 2026 // team archive

Days / Day 12 / Script Analysis / AutoIt Takes Two

DAY 12//LANE: SCRIPT ANALYSIS//STATUS: CORRECT x3

AutoIt Takes Two

Script Analysis SSTTMM Modes reported CORRECT in this write-up

Day 12 - AutoIt Takes Two (script-analysis)

GM id: script-analysis-day-12-autoit-workflow-pair | lane: script-analysis | fields: 855 | agent: agent-1

Result

ModeResultFlagTime
Single SolveCORRECTToken27a4adffe0955f8bad048a4a55d9a8d93.1 s
Time TrialCORRECTTokend0af1c5dccee188ddd7f93618210726d3.2 s
MasteryCORRECTTokena395adc89913d7ee97e33d29f7a636be4.1 s

All three modes were solved by the banked lane autosolver (challenges/_lib/autosolve_script.py, run through autosolve.py) at claim time, before any manual work. Nothing was executed from the archive; every answer was derived statically from the fixtures' own bytes.

Challenge

GM prompt: "Two inert AutoIt workflows arrived as a matched set, and each one carries half the story. Correlate them with everything you've proven so far, and decide which pairing is genuine and which is just going through the motions."

Artifact: artifact_0.bin (challenge artifact, not published) - 93,075 byte WinZip-AES zip, 99 members, password infected (stock unzip fails; pyzipper.AESZipFile or 7z x -pinfected).

Member mix: 16 .sh, 14 .py, 12 .js, 10 .vbs, 9 .php, 8 .mjs, 5 .cmd, 5 .lua, 4 .ps1, 4 .bat, 4 .mof, 4 .ts, 4 .au3. Every language layer from Days 1-11 (PowerShell, JScript, Batch, VBScript, Python, Bash, Node .mjs, PHP polyglots, WMI .mof) is still present and still asked about - the lane is cumulative.

Today's new layer: AutoIt .au3

The title and the GM id gave it away, and the four new members confirmed it:

polyglot-autoit-benign-utility.au3
polyglot-autoit-downloader.au3
polyglot-autoit-launcher.au3
polyglot-autoit-staged-chain.au3

44 new question keys appeared, all of the shape polyglot-autoit-<role>-<field> (-role, -attack, -campaign, -url, -file-path, -steps, -stage-count, -adapter, -host-profile, -next-language, -obfuscation, -stage-profile).

Fixture structure

Each .au3 file is the same three-part shape - a self-describing descriptor, exactly as every fixture has been since Day 6:

  1. A header comment ; HUNTRESS_ANALYSIS_V1:<TAG>-<blob>
  2. Global Const $descriptor_<id> = "<same blob>"
  3. Func build_plan_<id>() / Return $descriptor_<id> / EndFunc

Decoding the blob yields a pipe-separated k=v descriptor (v=3), which answers every field directly. The only variation is the <TAG> encoding of the blob, one per fixture:

TagEncodingobfuscation_profile
HEXplain hexplain_hex
B64base64base64
HB64hex of base64 (decode hex, then base64)hex_base64
FRAGhex in dot-separated 12-byte fragmentsfragmented_hex

FRAG is just unhexlify(blob.replace('.', '')); HB64 is b64decode(unhexlify(blob)). All four were already in the adapter's carrier table.

Recovered descriptors (the answers)

benign-utilitydownloaderlauncherstaged-chain
rolebenign_utilitydownloaderlauncherstaged_chain
verdictbenignsuspicioussuspicioussuspicious
attacknoneT1105T1059T1059
adapterlocal_parserhttp_clientprocess_builderoperation_graph
host_profilestandalonestandalonestandalonestandalone
obfuscationplain_hexbase64hex_base64fragmented_hex
stage_profilesingle_descriptortwo_stage_download_executethree_stage_decode_write_launchcross_language_handoff
next_languagepowershelljscriptbatchvbscript
stage_count2233
stepsdecode_configuration>return_configurationacquire_remote>dispatch_processdecode_embedded>write_file>dispatch_processprofile_host>decode_configuration>dispatch_language
campaign_idAUTOIT-6fa3e225AUTOIT-908af952AUTOIT-02a74447AUTOIT-1dda6094
urlhttps://autoit-6fa3e2252a.example.invalid/stagehttps://autoit-908af95255.example.invalid/stagehttps://autoit-02a744470e.example.invalid/stagehttps://autoit-1dda609468.example.invalid/stage
file_path/tmp/huntress-autoit/.6fa3e2252a5414c5.stage/tmp/huntress-autoit/.908af952550be9dd.stage/tmp/huntress-autoit/.02a744470e2ca072.stage/tmp/huntress-autoit/.1dda60946801d965.stage

Note the ATT&CK answers: the descriptor's own attack= field wins over the language default. AutoIt/AutoHotKey as an interpreter is T1059.010, and that is what the adapter carries for .au3, but these fixtures are graded on their terminal intent - remote transfer gives T1105, decode-and-dispatch gives the generic T1059, and the benign parser gives the literal none. Follow the descriptor, not the file extension.

Why it was already solved

autosolve_script.py line 44 already mapped the AutoIt layer before the release:

(('.ahk', '.au3'), 'autoit', 'T1059.010', (), dict(_C, concat=r'\.|&')),  # AutoHotKey & AutoIT

AutoIt/AutoHotKey was on the lane's prepared next-layer candidate list, the descriptor spine (Material_/Codec_/load/decode/recover/inspect/plan_ + HUNTRESS_ANALYSIS_V1) was unchanged, and all four carrier encodings were known. So the new language cost nothing: the adapter fingerprinted the extension, pulled the descriptor, and answered all 855 fields for Single, Time Trial and Mastery with no extension needed. This is the fifth consecutive day the "self-describing descriptor" hypothesis has held.

Pairing theme

The "matched set / which pairing is genuine" framing is the Day 9 stage-relationship graph carried forward, now expressed across the AutoIt pair: next_language plus stage_profile decide whether a hand-off is real (cross_language_handoff -> same_language/cross_language graph values) or merely "going through the motions". The three carried-over PowerShell scenario fields (resource-scenario, collection-scenario, impact-scenario -> resource_hijacking / synthetic_collection / synthetic_impact) and the Day 11 browser credential-store question (collection-attack -> the credential-store sub-technique, not the broader Data from Local System) were unchanged from yesterday.

Takeaways

  • Prepared candidate layers pay off: AutoIt was on the lane's candidate list and already in LANGS, so a brand-new language produced a 3-second three-mode sweep.
  • HB64 (hex-of-base64) and FRAG (dot-fragmented hex) are the two carrier spellings worth keeping: both appear only as the header tag, and both reduce to one line of Python.
  • The descriptor's attack= value always overrides the interpreter's own technique ID. T1059.010 is the right answer for "classify the AutoIt interpreter itself", never for "what does this specimen do".