slateforge-buildagent-implant-defense

incident-responseanalysismalware-analysisdetection-engineeringincident-responseforensicslinuxci-cdcampaign-analysisbehavioral-detectionartifact-groundedmulti-phasephase-independent

SLATEFORGE — Build-Agent Implant: Defensive Analysis Task

A CI/CD build fleet was hit by the SLATEFORGE campaign. A long-running implant appeared on one build agent amid noisy secondary activity and several decoy leads. Your job is to determine what actually happened from the evidence: characterize the malware, engineer a generalizing detection, and reconstruct the incident.

You will complete three independent phases. Each phase is graded only on its own inputs and its own output file. There is no dependency or ordering between phases; a mistake in one phase never affects another. The only value shared across phases is the sample_id in /app/manifest.json — copy it verbatim into the Phase 1 and Phase 3 outputs.

Write all three deliverables into /app/output/.


Phase 1 — Malware analysis

Input: /app/phase1/ (detonation artifacts; see phase1/case/README.md). Output: /app/output/phase1_malware_report.json

Characterize the sample from the artifacts alone. Distinguish the loud-but- secondary behavior from the primary objective, and distinguish components that actually executed from components that were merely dropped but never run.

{
  "sample_id": "<from /app/manifest.json>",
  "primary_category": "<one term from the phase1 README vocabulary>",
  "operational_objective": "<one term from the phase1 README vocabulary>",
  "capabilities": ["<behaviors the artifacts show were EXECUTED>"],
  "non_operational_capabilities": ["<components present/dropped but NOT executed>"],
  "primary_destination": "<domain or IP the primary objective targets>",
  "iocs": [
    { "value": "<indicator>", "evidence": ["<EVENT_ID>", "<EVENT_ID>"] }
  ],
  "attack_techniques": [
    { "id": "<ATTACK_ID>", "evidence": ["<EVENT_ID>"] }
  ]
}

Notes:

  • primary_destination is where the primary objective sends data — not necessarily the highest-byte-volume flow.
  • Every iocs[] and attack_techniques[] entry must cite evidence event IDs that exist in the Phase 1 artifacts and actually support the claim.
  • ATT&CK IDs may be parent or sub-technique (e.g. a parent Txxxx or a sub-technique Txxxx.yyy).

Phase 2 — Detection engineering

Input: /app/phase2/ (labeled corpus + rule_schema.md). Output: /app/output/phase2_detection_rule.yaml

Write one Sigma-like rule. The grader executes it against the labeled corpus and hidden held-out bundles. It must fire on every malicious bundle and no benign bundle, and must generalize beyond any single host, port, hash, domain, or process name. See phase2/rule_schema.md for the exact bundle shape, allowed fields, operators, and condition grammar.

Phase 3 — Incident response / forensics

Input: /app/phase3/ (multi-host triage evidence; see phase3/evidence/README.md). Output: /app/output/phase3_incident_report.json

Reconstruct the single incident across hosts and sources. Reconcile host clock drift against the authoritative cloud-audit UTC before ordering events.

{
  "sample_id": "<from /app/manifest.json>",
  "patient_zero_host": "<hostname>",
  "affected_user": "<username>",
  "initial_access": "<one term from the phase3 README vocabulary>",
  "pivot_target": "<the system reached during the incident>",
  "timeline": [
    { "event_id": "<EVENT_ID>", "stage": "<kill-chain stage>" }
  ],
  "iocs": [
    { "value": "<indicator>", "evidence": ["<EVENT_ID>"] }
  ],
  "containment": ["isolate_host:<host>", "..."],
  "eradication": ["<action from phase3/evidence/README.md>", "..."]
}

Notes:

  • Timeline stage values use the canonical kill-chain stages: initial_access, execution, persistence, credential_access, collection, exfiltration, lateral_movement. Order them correctly and cite a supporting event_id for each; do not include benign/noise events.
  • A file staged on disk but never sent off-host is not confirmed exfiltration.
  • Use the exact containment/eradication action strings from phase3/evidence/README.md. Do not apply broad actions to uninvolved hosts or accounts.

Optional — analysis.md

You may also write /app/output/analysis.md explaining your reasoning. It does not affect the deterministic score but is reviewed for process quality.