kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / lab

kosa8 lab

Detonate malware on a simulated internet and produce signed reports

The Forensics and Malware Lab. A sample runs in a sandbox whose only network is fakenet: every DNS name resolves, every connection is answered — HTTP, TLS (from a lab CA), SMTP, anything — by a simulated internet on the host that records what the sample said and forwards nothing. The run is captured to pcapng, the infected machine is snapshotted and sealed, and the result is a signed report package anyone can verify offline.

kosa8 lab detonate SAMPLE --image alpine:3.20   run a sample, write a report
kosa8 lab verify REPORT.tar --pubkey KEY        check a report
kosa8 lab diff A.tar B.tar                      compare two reports
kosa8 lab net SANDBOX                           a fakenet sandbox's record
kosa8 lab ca [--out FILE]                       the lab CA, to install in images

Only Linux samples run: the guest is Linux. See docs/design/malware-lab.md for what is simulated, what a sample can still detect, and why nothing can leave.

Example#

  kosa8 lab detonate sample.exe
  kosa8 lab net lab-1
  kosa8 lab verify report.zip

Subcommands#

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA