More Open Source Security episodes

Atomdrift malware scanner with Thomas Stromberg thumbnail

Atomdrift malware scanner with Thomas Stromberg

Published 30 Nov 2026

Duration: 53:39

Adam Drift uses behavioral analysis, machine learning ensembles, and Bloom filters to detect supply chain attacks across diverse software formats like Go, Rust, and C.

Episode Description

Josh chats with Thomas Stromberg about an open source malware scanner he's building called Atomdrift. This is a scanner that is open source, and can f...

Overview

Thomas Stromberg, creator of the Adam drift project, discussed his supply chain security toolset during a conversation about malware detection and open source security. Adam drift is an umbrella project containing small, composable tools inspired by the UNIX philosophy, designed to detect supply chain attacks through differential analysis of software behaviors. The project was inspired by the 2021 3CX attack, where North Korean actors compromised VoIP software distributed to Windows and Mac desktops, and by the XZ Utils attack, which initially defeated his earlier detection approaches.

The architecture follows a layered approach: STNG extracts symbols and strings from binaries (handling Go and Rust packing quirks and XOR-encoded malware), Cleave processes a rules database of approximately one hundred seventy five thousand heuristic rules alongside about fifteen thousand public ER rules to identify behavioral atoms and compounds, and Scan applies ensemble machine learning models to classify behaviors. Stromberg moved from neural networks to LightGBM gradient boosting models after hitting a forty percent detection wall, eventually achieving ninety five to ninety seven percent detection rates for ELF binaries.

Stromberg also discussed his supply chain compendium tracking attacks since 1974, his prior work at ChainGuard and Google, and a self-learning loop that uses LLMs to automatically improve detection rules. The tool is local-first, runs on CPU including Raspberry Pi, and distributes bloom filters rather than full hash databases to minimize resource consumption.

What If

  • What if you built your security tooling as small composable utilities rather than a monolith?

    • Move: Decompose your detection pipeline into independent stages (extraction, rule matching, classification) that each do one thing, following the UNIX philosophy Stromberg describes for Adam drift's STNG, Cleave, and Scan layers.
    • Why Now?: A single-model approach hit a forty percent detection wall; splitting into per-file-type and per-category models plus a general model unlocked ninety five to ninety seven percent rates for ELF. A solo developer can iterate on each layer independently without redeploying the whole system.
    • Expected Upside: (Proposed) Faster iteration cycles, easier debugging of false positives at a specific layer, and the ability to swap one component (e.g., replace LightGBM with another classifier) without rewriting the pipeline.
  • What if you shipped bloom filters instead of full hash databases to your users?

    • Move: Generate a compact bloom filter from your known-good and known-bad artifact corpus and distribute it as a lightweight data structure your scanner checks before running expensive analysis, mirroring the Chrome/Firefox safe-browsing technique Stromberg adapted.
    • Why Now?: Stromberg's project holds two hundred seventy five terabytes of data that cannot be shipped to every user. Bloom filters let a Raspberry Pi user skip duplicate work on common binaries without phoning home, preserving the local-first guarantee.
    • Expected Upside: (Proposed) Dramatically reduced bandwidth and CPU cost for end users, enabling adoption on constrained hardware while keeping the tool offline-capable.
  • What if you delayed your open-source detection rules by a few days and monetized immediate access?

    • Move: Publish your rule set under an open-source license but gate the latest signatures behind a short delay (a couple of days), offering real-time feeds as a paid tier, as Stromberg does with Adam drift's rules feed.
    • Why Now?: Malware authors who check VirusTotal before distributing payloads will also check public signature updates. A delay window means a new attack cannot be immediately evaded by reading your open-source repo, while paying customers get the protection they need.
    • Expected Upside: (Proposed) A revenue stream that funds ongoing rule maintenance without locking the core engine, and a practical deterrent against attackers who rely on reading public detection logic.

Takeaway

  • Adopt differential analysis: run a strings-like extraction on both the known-good and suspected-compromised versions of a dependency and diff the output. Stromberg found that a simple diff of libc calls between clean and compromised ffmpeg made the 3CX implant "plain as fucking day."
  • Build your detection pipeline as independent composable stages (extraction, rule matching, ML classification) so you can iterate on one layer without redeploying the whole system, following the UNIX philosophy Adam drift uses.
  • Ship bloom filters rather than full hash databases to end users. This keeps the tool local-first and runnable on a Raspberry Pi while still letting users skip redundant analysis on common binaries.
  • Expose a configurable false-positive-rate knob (default twenty-five per hundred million samples) so users can tune sensitivity for their context, and so attackers cannot predict the scanner's threshold.
  • Maintain a historical compendium of supply chain attacks with artifacts. Stromberg tracks incidents since 1974; early open-source attacks on sendmail and tcpdump in 1997 - 2001 remain "spitting images" for today's threats and inform model training.

Recent Episodes of Open Source Security

5 Oct 2026 Dependency attacks in 2026 with James Matchett

"Software supply chain security faces evolving risks like install-time attacks, transitive dependencies, and AI-generated threats, requiring proactive monitoring, dependency firewalls, and regulatory compliance to balance security with developer flexibility."

21 Sept 2026 The curl summer of Bliss with Daniel and Stefan

"Explored open-source security challenges, highlighting curl's 'Summer of Bliss' initiative to reduce maintainer burnout, the impact of AI-generated vulnerability reports, and the need for human expertise in security management, while advocating for sustainable practices in open-source development."

More Open Source Security episodes

Atomdrift malware scanner with Thomas Stromberg | Podcast Summarizer