AI malware analysis: defensive research with language models

Updated · 10 projects

By

Yes, for defensive work. Analysts used language models to understand known malware samples faster. The model drafts a report, names functions and pulls out indicators. The analyst checks every claim against the disassembly.

The entries are research, not tools: triage pipelines, lab comparisons of several models on the same samples, and studies of how far a model gets on its own. Most ran inside isolated environments such as FLARE-VM or REMnux. The model called established tools like Ghidra, Binary Ninja, capa and FLOSS through MCP servers or command line skills. Several write-ups describe where models went wrong, for example confident summaries of code they had not read. I list analysis and detection work only. I do not accept projects that write or change malicious code.

Claude did the work in 7 of them and GPT in 3.

Key facts
  • 10 projects are listed here, and their authors report 1 as working.
  • Claude is named in 7 of them and GPT in 3.
  • I list analysis and detection work only, and I do not accept projects that write or change malicious code.
  • Most projects ran in isolated environments such as FLARE-VM or REMnux.
  • Models called Ghidra, Binary Ninja, capa and FLOSS through MCP servers or command line skills, and the analyst checked every claim against the disassembly.

Where should I start?

Start with Where AI goes wrong in reverse engineering, and how projects cope, a 9 minute read. The projects after it show the same steps in practice.

Which malware samples have people analysed with AI?

Obfuscated Rust binaries (malware analysis): Static analysis plus Unicorn emulation to decode strings, configs and indicators in stripped Rust malware.
Works
GitHub · Malware (defensive)

rust-deobf: recovering C2 addresses from obfuscated Rust binaries without running them

Static analysis plus Unicorn emulation to decode strings, configs and indicators in stripped Rust malware.

Platform Linux, Windows and macOS binaries; Python 3.10+Model Claude Opus 5.5
Polymorphic, metamorphic and AI-rewritten malware: Claude-assisted static analysis heuristics for binaries that evade simple signatures.
Partial
GitHub · Malware (defensive)

Agat: Offline Analysis of Polymorphic Malware

Claude-assisted static analysis heuristics for binaries that evade simple signatures.

Platform Rust, offlineModel Claude Opus 4.8
Android projector (HY300 type): A $35 projector that enrols its owner's network in a residential proxy service.
Research
Blog · Malware (defensive)

Analysed the malware pre-installed on a $35 Android projector

A $35 projector that enrols its owner's network in a residential proxy service.

Platform AndroidTime A weekend
Windows loader sample (MalwareBazaar): Static malware analysis with Codex, REA and Ghidra, nothing executed.
Research
Blog / X · Malware (defensive)

Analysed a Windows loader without running it, using Codex, REA and Ghidra

Static malware analysis with Codex, REA and Ghidra, nothing executed.

Platform Windows x64 (static analysis)Model Codex
Malware samples (lab analysis): Six hours of manual work down to 30 minutes, and plenty of wrong IoCs to check.
Research
Blog · Malware (defensive)

Tested GPT and Claude models as malware analysts with Ghidra, x64dbg and REMnux MCP servers

Six hours of manual work down to 30 minutes, and plenty of wrong IoCs to check.

Platform Windows / REMnuxCost Estimated 5-20 euros in tokens per analysis
PAFET: Independent research into the PAFET crackme's four nested virtual machines and cryptographic pipeline.
Research
GitHub · Malware (defensive)

Reconstructed the PAFET Windows x64 crackme virtual machines with Claude

Independent research into the PAFET crackme's four nested virtual machines and cryptographic pipeline.

Platform Windows x64Model Claude
fast16 malware: How far do frontier models get on an eight-stage malware analysis alone?
Research
Blog · Malware (defensive)

Eight-stage malware analysis to test long-horizon agents

How far do frontier models get on an eight-stage malware analysis alone?

Model GPT-5.6 Sol
Video: Live VIBE RE: testing MCP plugins for IDA and Ghidra on real samples
Research
YouTube · Malware (defensive)

Live VIBE RE: testing MCP plugins for IDA and Ghidra on real samples

A live session pitting MCP plugins for IDA and Ghidra against real samples.

Cost $1.38 for the IDA run
Malware samples (Cerber, Hydra, NetWire, PolyRansom): Two Codex skills, iterated until errors dropped from 20 to 4.
Research
Blog / GitHub · Malware (defensive)

Wrote reusable Codex CLI skills for malware unpacking and IOC extraction in FLARE-VM

Two Codex skills, iterated until errors dropped from 20 to 4.

Platform Windows
netcat-openbsd 1.234-1 (Ubuntu binary): Stripped binary in, evidence-backed verdict out.
Research
GitHub · Malware (defensive)

Analysed the Ubuntu netcat-openbsd binary statically with REA and Ghidra, with every claim backed by an artifact

Stripped binary in, evidence-backed verdict out.

Platform x86-64 ELF PIE, static analysis only
Did one of these yourself?

Send me the repo or the write-up, and tell me where the model got it wrong.

Submit a project

Guides to read before analysing a sample

Which tools do malware analysts use with AI?

All tools

What people ask about AI malware analysis

Yes, for triage and first-pass reports. The projects here used models to summarise behaviour, name functions and extract indicators from known samples. Analysts still verified the output, because models sometimes state things the code does not support.

By

I started this site on 13 October 2026 to keep track of reverse engineering projects where an AI model did real work. I work on it alone, with no investors and no ad networks.

About the site · @whyamas on X

More topics beyond malware