Getting Started
This page walks you through the installation of the add-on and your first steps with Malware Analysis in IDA.
Installation
After you add Malware Analysis to your IDA license in the Hex-Rays portal, the install is usually one HCLI command.
Requirements
IDA Pro 9.5 or later, with a license that includes the Malware Analysis add-on. Upgrade your license now in the Hex-Rays portal. IDA Free and IDA Home are not supported.
Python 3.10 to 3.14, in a dedicated virtual environment as described in IDAPython environment
HCLI 0.27.0 or later
Windows x64, Linux x64, Linux arm64, or macOS on Apple silicon. macOS on Intel and Windows on ARM64 are not supported.
Install with HCLI
Most users install with HCLI, the Hex-Rays command-line tool. HCLI downloads the add-on from the Hex-Rays portal, together with everything the add-on needs. For an offline machine or a floating license, see the following sections.
hcli login
hcli extension install hexrays/malware-analysisThen restart IDA if it is open.
If HCLI cannot find hexrays/malware-analysis, run hcli login with the account that holds the license, and update HCLI to 0.27.0 or later. To make sure that the license includes the add-on, run hcli license list and look for MALWARE in the Addons column. If the install stops with a Python error, run hcli ida python doctor to check your IDA Python environment.
Install offline
Use this method on a machine with no internet access, for example in an air-gapped network.
On a machine with internet access, download the offline bundle, for example
malware-analysis-bundle-v1.0.0.zip. The bundle contains all that you need to install the add-on on all supported platforms and Python versions, and it is approximately 900 MB. Download it with HCLI:For a different version, change
1.0.0in the two places. To select the file from a list, runhcli downloadwith no argument, and go torelease/extensions/malware-analysis/<version>/offline.You can also download the bundle from the portal. Go to Download center → Installers → Release → Extensions → Malware Analysis → version → Offline. The bundle has the name "Malware Analysis offline bundle" and the version. Do not use the file in the version folder. HCLI downloads that file for an online install, and it does not contain the Python packages.

The offline bundle in the Offline folder of the Download center in the Hex-Rays portal Copy the bundle and HCLI to the offline machine. This machine needs the same requirements as above.
Install from the bundle:
--offlinetells HCLI to install Python packages only from the bundle, so it does not try to reach the internet.
Install with a floating license
HCLI does not know about your floating license, so install the add-on from the offline bundle, with the steps in Install offline. Then, when you check out a floating license that includes Malware Analysis, the add-on works in IDA.
The portal and HCLI show the bundle only to an account with a license that includes Malware Analysis. You may need extra steps to download the bundle, for example when your portal account cannot see it. In that case, ask your license administrator, or email support@hex-rays.com.
Verify the installation
Restart IDA and open a database. The Extensions → Malware Analysis menu shows:

hcli extension status malware-analysis also shows the installed version.
If the menu items are greyed out, IDA did not find the add-on. Install it if necessary, and then restart IDA. If the menu does not show at all, look in the Output window. When your IDA license does not include Malware Analysis, the add-on is installed but does not load, and the Output window shows:
To see the add-ons in your license, open Help → License manager... and look for MALWARE in the Add-ons column. If it is not there, upgrade your license in the Hex-Rays portal.

A message with "cannot import" and "not loading" means that the install is broken: run hcli ida python doctor, and then uninstall and install the add-on again. If you turned on INFO logging for IDAPython, the Output window also shows the add-on version when the add-on loads.
Update and uninstall
To see the installed version and whether an update is available:
To update, run this command, then restart IDA:
To update from a new offline bundle:
To uninstall:
HCLI then asks if it should also remove the dependencies that came with the add-on. The uninstall keeps your settings and API keys (in ida-config.json in your IDA user directory), the Python packages, and the data that the add-on saved in your databases. If you install the add-on again, it uses the same settings.
First use
The add-on adds the Extensions → Malware Analysis menu to IDA. The menu has one group for each step of an analysis, such as Triage, Unpacking, Data Transformation, Emulation, and Sandbox.

The add-on also adds a toolbar button with a magic-wand icon to the Analysis toolbar. Click it to step through the sample in the isolated system emulator. The button is disabled when the database is not a PE file.
When you open a packed PE file, the add-on asks if it should unpack the sample. It asks one time for each database.

Click Yes to unpack. Before it unpacks, the add-on takes a database snapshot, so you can go back to the packed sample with IDA's database snapshot manager. If you click No, you can unpack later with Malware Analysis → Unpacking → Unpack now... (Shift + P). For a full example, see Unpack a Malware Sample.
To look up the sample on VirusTotal, VMRay, and MalwareBazaar, use Malware Analysis → Triage → Services Checker (Shift + U). Each service needs an API key, which you set in Malware Analysis → Triage → Configure Services Checker.... The checker sends no requests to a service that has no API key.
Default behavior and configuration
To change the settings of all features, use Malware Analysis → Settings.... Most groups also have a Configure item for the settings of their feature, such as Malware Analysis → Unpacking → Configure unpacker.... Each feature uses its own API keys, so you may have to set your VirusTotal key more than one time, in the checker and in the unpacker. The add-on reads the settings when an action starts, so a change applies immediately. You do not have to restart IDA or open the database again.
With no API keys, you can:
unpack with the Bochs or Speakeasy emulators. The unpacker uses Bochs by default, so the sample does not run on your system.
start interactive emulation with Speakeasy.
run the Speakeasy sandbox and show its trace on the code.
decode data with CyberChef.
In idalib, the add-on unpacks a packed PE file automatically when you open it, with no prompt. It never uses a debugger that runs the sample on your system. The unpack runs in open_database, so the call can take up to default_timeout seconds (300 by default), and it changes the database. To turn off this behavior, set the environment variable IDA_MALWARE_DISABLE_UNPACKER=1.
Next steps
The concept pages explain how each feature works and how to configure it:
Multi-service Checker looks up the sample on public and commercial malware services.
Automated Unpacking detects packed samples on load and unpacks them in place.
Isolated System Emulation runs the sample in an emulator, where you step through its code with IDA's debugger controls.
Sandbox Integration shows the results of VMRay and Speakeasy runs in the disassembly, next to the code that caused them.
CyberChef decodes and transforms data with CyberChef recipes in IDA.
To find out which features connect to the network and what they send, see Network and Data Sharing.
If you have a question, an idea, or a problem, email support@hex-rays.com. The Malware Analysis team reads every message and replies quickly.
Last updated
Was this helpful?
