# capa

[BASE product page](<https://base.akulich.dev/en/library/capa/>) · [Resource](<https://github.com/mandiant/capa>)

ID: capa · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A static executable capability analyzer: it matches binary code against rules and helps identify the examined program's functions\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/capa/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/capa/#resource-access>)

Code and local use under Apache\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/capa/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/capa/#resource-access>)

Code and local use under Apache\-2\.0\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/capa/#resource-tasks>)

- Identify an examined executable's capabilities
- Compare matched capability rules with code and expected functions

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- capa
- CLI
- Development

## Also known as

- mandiant/capa
- mandiant\-capa
- capa\-exe\-analysis

## [Selection purpose](<https://base.akulich.dev/en/library/capa/#resource-selection>)

Identify an examined executable's capabilities

## [Choose this when](<https://base.akulich.dev/en/library/capa/#resource-selection>)

- Identify an examined executable's capabilities
- Compare matched capability rules with code and expected functions

## [Requirements](<https://base.akulich.dev/en/library/capa/#resource-selection>)

- An executable in a supported format or a supported sandbox report; the ready\-made CLI runs without installation\.

## [Limitations](<https://base.akulich.dev/en/library/capa/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: Apache\-2\.0 for the code; third\-party components retain their own terms\.
- Packing and obfuscation can make static analysis incomplete or misleading; a detected capability warrants investigation rather than proving maliciousness\.

## [Questions before use](<https://base.akulich.dev/en/library/capa/#resource-faq>)

### What can you use for free in capa?

Code and local use under Apache\-2\.0\.

### What additional costs might arise with capa?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for capa?

Apache\-2\.0 for the code; third\-party components retain their own terms\.

### How do you get started with capa?

Prepare a binary you are authorized to analyze\. Compare matched capability rules with code and expected functions\. Save the working command or script and the result criteria\.

### Does capa work only with files, or also with sandbox reports?

Alongside PE, ELF, \.NET, and shellcode, capa reads CAPE, DRAKVUF, and VMRay reports, enabling analysis of dynamic behavior features\. Detailed output shows where features were found; a web interface and IDA/Ghidra integrations support investigation\.

## Sources for the selection guide

- [https://github\.com/mandiant/capa](<https://github.com/mandiant/capa>)
- [https://raw\.githubusercontent\.com/mandiant/capa/HEAD/README\.md](<https://raw.githubusercontent.com/mandiant/capa/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/mandiant/capa/HEAD/LICENSE\.txt](<https://raw.githubusercontent.com/mandiant/capa/HEAD/LICENSE.txt>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/capa/#resource-scenario>)

Identify an examined executable's capabilities\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Project files or environment\.
- A shell and supported platform\.

## Steps

1. Prepare a binary you are authorized to analyze\.
2. Compare matched capability rules with code and expected functions\.
3. Save the working command or script and the result criteria\.

## Check your result

- The command correctly handles paths, Unicode, and invalid inputs\.
- Repeat runs behave predictably; credentials do not appear in the output\.

## [License](<https://base.akulich.dev/en/library/capa/#resource-license>)

Apache\-2\.0 for the code; third\-party components retain their own terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Usage details](<https://base.akulich.dev/en/library/capa/#resource-notes>)

Alongside static analysis, capa supports dynamic features from CAPE, DRAKVUF, and VMRay reports\. The authors warn that static results may be incomplete for obfuscated files\.

## [Sources](<https://base.akulich.dev/en/library/capa/#resource-sources>)

- [Official source](<https://github.com/mandiant/capa>)
- [Official source](<https://raw.githubusercontent.com/mandiant/capa/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/mandiant/capa/HEAD/LICENSE.txt>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
