mirror of
https://github.com/mandiant/capa.git
synced 2026-01-11 04:33:54 -08:00
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Usage
|
|
## Command line
|
|
After you have downloaded the standalone version of capa or installed it via `pip` (see the [installation](installation.md) documentation) you can run capa directly from your terminal shell.
|
|
|
|
- `$ capa -h`
|
|
- `$ capa malware.exe`
|
|
|
|
In this mode capa relies on vivisect which only runs under Python 2.
|
|
|
|
## IDA Pro
|
|
capa runs from within IDA Pro. Run `capa/main.py` via File - Script file... (ALT + F7).
|
|
|
|
When running in IDA, capa uses IDA's disassembly and file analysis as its backend. These results may vary from the standalone version that uses vivisect.
|
|
|
|
In IDA, capa supports Python 2 and Python 3. If you encounter issues with your specific setup please open a new [Issue](https://github.com/fireeye/capa/issues).
|
|
|
|
## IDA plugins
|
|
capa comes with two IDA Pro plugins located in the `capa/ida` directory.
|
|
|
|
### capa explorer
|
|
The capa explorer allows you to interactively display and browse capabilities capa identified in a binary.
|
|
|
|

|
|
|
|
### Rule generator
|
|
The rule generator helps you to easily write new rules based on the function you are currently analyzing in your IDA disassembly view.
|