Tier 4: MalwareBazaar fetcher by sha256 #4

Closed
opened 2026-04-30 00:10:40 -05:00 by max · 0 comments
Owner

The samples/manifest.toml schema already supports sample.sha256 + sample.source (Sample.kind == "real" when sha256 is present). What is missing:

  • tools/fetch_sample.py — pulls a sample by sha256 from MalwareBazaar (https://bazaar.abuse.ch/api/), verifies hash, lands at samples/store/<sha256> (gitignored).
  • Driver dispatch: when sample.kind == "real", upload the binary into the session and execute it instead of the exploits.workloads mimic. The mimic remains the fallback when the binary is absent.
  • Sample manifest: add real entries with sha256 once known-good binaries are picked.

Note: MalwareBazaar requires an API key (free, registration). The fetcher should read from samples/.bazaar.token (gitignored) or env.

The samples/manifest.toml schema already supports `sample.sha256` + `sample.source` (Sample.kind == "real" when sha256 is present). What is missing: - `tools/fetch_sample.py` — pulls a sample by sha256 from MalwareBazaar (https://bazaar.abuse.ch/api/), verifies hash, lands at `samples/store/<sha256>` (gitignored). - Driver dispatch: when `sample.kind == "real"`, upload the binary into the session and execute it instead of the `exploits.workloads` mimic. The mimic remains the fallback when the binary is absent. - Sample manifest: add real entries with sha256 once known-good binaries are picked. Note: MalwareBazaar requires an API key (free, registration). The fetcher should read from `samples/.bazaar.token` (gitignored) or env.
max closed this issue 2026-04-30 00:17:51 -05:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bolyai/CIS490#4
No description provided.