capa
Identify capabilities in executables & shellcode
Open source. Platform: Cross-platform.
What it is
A tool that identifies capabilities in executables and shellcode by matching against a library of behavioral rules.
Why it matters
It tells you what a sample can do (persist, inject, encrypt) before you spend time reversing it.
In practice
capa reports that a sample can install a service and communicate over HTTP, guiding triage.
Install
Standalone binary from GitHub releases (bundles the default rule set), or pip install flare-capa (requires capa-rules downloaded separately)
Commands
- List the capabilities (behaviors) capa detects in a binary
capa suspicious.exe
- Emit JSON output for scripting/pipeline integration instead of the human-readable report
capa -j suspicious.exe > capa_output.json
- Show verbose match details, including exact addresses for every rule match, for deep manual review
capa -vv suspicious.exe
- Analyze 64-bit shellcode (e.g. extracted from a document or exploit) instead of a full executable
capa -f sc64 shellcode.bin
Similar tools
- Ghidra: Software reverse-engineering suite
- Cutter: Reverse-engineering platform built on rizin
- Detect It Easy: File type, packer & compiler identification
- WinDbg: Kernel & user-mode debugging of dumps
- PEStudio: Static PE triage & malware indicators
- x64dbg: Open-source Windows debugger