capa
capa is a Mandiant FLARE project that inspects PE, ELF, .NET, and shellcode samples and reports capabilities such as installing services or communicating over HTTP. It is open source under the Apache-2.0 license. It runs on Linux, macOS, and Windows.
Updated
- Pricing
- Open Source
- License
- Apache-2.0
- Platforms
- Linux, macOS, Windows
- Category
- Malware Analysis Tools
What Is capa?
capa is a Mandiant FLARE project that inspects PE, ELF, .NET, and shellcode samples and reports capabilities such as installing services or communicating over HTTP. It matches behavior rules against disassembly and maps results to MITRE ATT&CK techniques. Rule sets live in a separate capa-rules repository that is updated by Mandiant and the community. Recent versions can also process dynamic analysis results from sandboxes such as CAPE and DRAKVUF.
Use Cases
First-pass triage of an unknown binary to list its capabilities before committing to manual reverse engineering.
Strengths and Limitations
Strengths
- +A rule library written by reverse engineers describes common malware behaviors.
- +ATT&CK and MBC mapping makes reports useful for detection teams.
- +Integrates with Ghidra, IDA, and sandbox pipelines.
Limitations
- -Detection depends on rule coverage, so novel behavior goes unreported.
- -Obfuscated or packed samples need unpacking before static analysis works.
Defensive Use
Capability assessment of suspected malware to produce ATT&CK mappings for detection engineering.
capa Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| CAPE Sandbox Open-source malware analysis sandbox derived from Cuckoo that adds automated unpacking, debugger integration, and C2 configuration extraction. | GPL-3.0-only | Linux | Open Source |
| Detect It Easy Cross-platform file type and packer identifier for PE, ELF, Mach-O, and APK samples. | MIT | Linux, macOS, Windows | Open Source |
| oletools Python toolkit for analyzing Microsoft Office documents, VBA macros, and OOXML attachments. | BSD-2-Clause | Linux, macOS, Windows | Open Source |
Frequently Asked Questions
What is capa?→
capa is a Mandiant FLARE project that inspects PE, ELF, .NET, and shellcode samples and reports capabilities such as installing services or communicating over HTTP. It matches behavior rules against disassembly and maps results to MITRE ATT&CK techniques. Rule sets live in a separate capa-rules repository that is updated by Mandiant and the community. Recent versions can also process dynamic analysis results from sandboxes such as CAPE and DRAKVUF.
What is capa used for?→
First-pass triage of an unknown binary to list its capabilities before committing to manual reverse engineering.
What are the strengths of capa?→
- +A rule library written by reverse engineers describes common malware behaviors.
- +ATT&CK and MBC mapping makes reports useful for detection teams.
- +Integrates with Ghidra, IDA, and sandbox pipelines.
What are the limitations of capa?→
- +Detection depends on rule coverage, so novel behavior goes unreported.
- +Obfuscated or packed samples need unpacking before static analysis works.
How is capa used defensively?→
Capability assessment of suspected malware to produce ATT&CK mappings for detection engineering.