安装前必须关闭 Windows Defender 等杀软与篡改防护并暂停 Windows 更新,否则工具会被拦截或删除;用户名不能含空格或特殊字符;通过 idapro.vm 安装 IDA Pro 需先把安装包放到桌面;安装失败多因包下载超时或哈希变更,建议先看 log.txt 与 chocolatey.log。

flare-vm
mandiantApache-2.0活跃维护一套 PowerShell 安装脚本,能在 Windows 虚拟机上快速搭好并维护逆向工程环境,省去逐个手动装工具的麻烦。
A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
(New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")
Unblock-File .\install.ps1
Set-ExecutionPolicy Unrestricted -Force
.\install.ps1需在虚拟机中安装,Windows ≥ 10、PowerShell ≥ 5,磁盘至少 60 GB、内存至少 2 GB,需联网;README 未提及 GPU 或显存要求。
用 Chocolatey 和 Boxstarter 脚本在 Windows 虚拟机上批量安装并维护逆向工程工具集
一套 PowerShell 安装脚本,能在 Windows 虚拟机上快速搭好并维护逆向工程环境,省去逐个手动装工具的麻烦。
核心能力
- 基于 Chocolatey 包管理批量下载安装逆向工具
- 用 Boxstarter 实现可重复的脚本化环境搭建
- 提供安装器 GUI 自定义包选择与环境变量路径
- 支持 -customConfig 传入自定义 XML 配置
- 安装后按配置写入注册表、服务与路径项
容易踩的坑
- vbox-1.0.0最新正式版2025-08-13 · 2025-08-13 16:58 UTC
FLARE-VM does not have releases, as the project relies on external URLs outside of our control, making it impossible to install an older version. This release only includes standalone Linux executables for some of the scripts in the
virtualboxfolder (related to use FLARE-VM in VirtualBox) and a bash script to make it easier to use them. To install FLARE-VM check the instructions in the FLARE-VM README.- vbox-adapter-check: Print the status of all internet adapters of all VMs in VirtualBox. Useful to detect internet access, which is undesirable for dynamic malware analysis. Compatibility is limited to Linux systems using the GTK graphical toolkit, which includes desktops like GNOME.
- vbox-clean-snapshots: Delete a snapshot and its children recursively skipping snapshots with a substring in the name. Useful to delete several snapshots, which is not possible via the VirtualBox UI.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
FLARE-VM
Welcome to FLARE-VM - a collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a virtual machine (VM). FLARE-VM was designed to solve the problem of reverse engineering tool curation and relies on two main technologies: Chocolatey and Boxstarter. Chocolatey is a Windows-based Nuget package management system, where a "package" is essentially a ZIP file containing PowerShell installation scripts that download and configure a specific tool. Boxstarter leverages Chocolatey packages to automate the installation of software and create repeatable, scripted Windows environments.
Requirements
FLARE-VM should ONLY be installed on a virtual machine. The VM should satisfy the following requirements:
- Windows ≥ 10
- PowerShell ≥ 5
- Disk capacity of at least 60 GB and memory of at least 2GB
- Usernames without spaces or other special characters
- Internet connection
- Tamper Protection and any Anti-Malware solution (e.g., Windows Defender) disabled, preferably via Group Policy
- Windows Updates Disabled
Installation instruction
This section documents the steps to install FLARE-VM. You may also find useful the Building a VM for Reverse Engineering and Malware Analysis! Installing the FLARE-VM video.
Pre-installation
- Prepare a Windows 10+ virtual machine
- Install Windows in the virtual machine, for example using the raw Windows 10 ISO from https://www.microsoft.com/en-us/software-download/windows10ISO
- Ensure the requirements above are satisfied, including:
- Disable Windows Updates (at least until installation is finished)
- Disable Tamper Protection and any Anti-Malware solution (e.g., Windows Defender), preferably via Group Policy.
- GPO: https://stackoverflow.com/questions/62174426/how-to-permanently-disable-windows-defender-real-time-protection-with-gpo
- Non-GPO - Manual: https://www.maketecheasier.com/permanently-disable-windows-defender-windows-10/
- Non-GPO - Automated: https://github.com/ionuttbara/windows-defender-remover
- Non-GPO - Semi-Automated (User needs to toggle off Tamper Protection): https://github.com/AveYo/LeanAndMean/blob/main/ToggleDefender.ps1
- Take a VM snapshot so you can always revert to a state before the FLARE-VM installation
- NOTE for IDA Pro: If you are installing IDA Pro via
idapro.vm, you must place your IDA Pro installer (and optionally, your license file) on the Desktop before running the FLARE-VM installer.
FLARE-VM installation
- Open a
PowerShellprompt as administrator - Download the installation script
installer.ps1to your Desktop:(New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")
- Unblock the installation script:
Unblock-File .\install.ps1
- Enable script execution:
Set-ExecutionPolicy Unrestricted -Force- If you receive an error saying the execution policy is overridden by a policy defined at a more specific scope, you may need to pass a scope in via
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force. To view execution policies for all scopes, executeGet-ExecutionPolicy -List
- If you receive an error saying the execution policy is overridden by a policy defined at a more specific scope, you may need to pass a scope in via
- Finally, execute the installer script as follow:
.\install.ps1- To pass your password as an argument:
.\install.ps1 -password <password> - To use the CLI-only mode with minimal user interaction:
.\install.ps1 -password <password> -noWait -noGui - To use the CLI-only mode with minimal user interaction and a custom config file:
.\install.ps1 -customConfig <config.xml> -password <password> -noWait -noGui
- To pass your password as an argument:
- After installation it is recommended to switch to
host-onlynetworking mode and take a VM snapshot
Installer Parameters
Below are the CLI parameter descriptions.
PARAMETERS
-password <String>
Current user password to allow reboot resiliency via Boxstarter. The script prompts for the password if not provided.
-noPassword [<SwitchParameter>]
Switch parameter indicating a password is not needed for reboots.
-customConfig <String>
Path to a configuration XML file. May be a file path or URL.
-customLayout <String>
Path to a taskbar layout XML file. May be a file path or URL.
-noWait [<SwitchParameter>]
Switch parameter to skip installation message before installation begins.
-noGui [<SwitchParameter>]
Switch parameter to skip customization GUI.
-noReboots [<SwitchParameter>]
Switch parameter to prevent reboots (not recommended).
-noChecks [<SwitchParameter>]
Switch parameter to skip validation checks (not recommended).
Get full usage information by running Get-Help .\install.ps1 -Detailed.
Installer GUI
The Installer GUI is display after executing the validation checks and installing Boxstarter and Chocolatey (if they are not installed already). Using the installer GUI you may customize:
- Package selection from FLARE-VM and Chocolatey community
- Environment variable paths

Configuration
The installer will download config.xml from the FLARE-VM repository. This file contains the default configuration, including the list of packages to install and the environment variable paths. You may use your own configuration by specifying the CLI-argument -customConfig and providing either a local file path or URL to your config.xml file. For example:
.\install.ps1 -customConfig "https://raw.githubusercontent.com/mandiant/flare-vm/main/config.xml"
Taskbar Layout
The installer will use CustomStartLayout.xml from the FLARE-VM repository. This file contains the default taskbar layout. You may use your own configuration by specifying the CLI-argument -customLayout and providing a local file path or URL to your CustomStartLayout.xml file. For example:
.\install.ps1 -customLayout "https://raw.githubusercontent.com/mandiant/flare-vm/main/CustomStartLayout.xml"
Things to Consider:
- Items in the .xml that are not installed will not display in the taskbar (no broken links will be pinned)
- Only applications (
.exefiles) or shortcuts to applications can be pinned. - If you would like to pin something that isn't an application, consider creating a shortcut that points to
cmd.exeorpowershellwith arguments supplied that will perform that actions you would like. - If you would like to make something run with admin rights, consider making a shortcut using
VM-Install-Shortcutwith the flag-runAsAdminand pinning the shortcut.
Post installation steps
You can include any post installation step you like in the configuration inside the tags apps, services, path-items, registry-items, and custom-items.
For example:
- To show known file extensions:
<registry-items>
<registry-item name="Show known file extensions" path="HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" value="HideFileExt" type="DWord" data="0"/>
</registry-items>
For more examples, check the default configuration file: config.xml.
Contributing
- Check our CONTRIBUTING guide to learn how to contribute to the project.
Troubleshooting
If your installation fails, please attempt to identify the reason for the installation error by reading through the log files listed below on your system:
%VM_COMMON_DIR%\log.txt%PROGRAMDATA%\chocolatey\logs\chocolatey.log%LOCALAPPDATA%\Boxstarter\boxstarter.log
Ensure you are running the latest version of the FLARE-VM installer and that your VM satisfies the requirements.
Installer Error
If the installation failed due to an issue in the installation script (e.g., install.ps1), report the bug in FLARE-VM.
Provide all the information requested to ensure we are able to help you.
Note: Rarely should
install.ps1be the reason for an installation failure. Most likely it is a specific package or set of packages that are failing (see below).
Package Error
Packages fail to install from time to time -- this is normal. The most common reasons are outlined below:
- Failure or timeout from Chocolatey or MyGet to download a
.nupkgfile - Failure or timeout due to remote host when downloading a tool
- Intrusion Detection System (IDS) or AV product (e.g., Windows Defender) prevents a tool download or removes the tool from the system
- Host specific issue, for example when using an untested version
- Tool fails to build due to dependencies
- Old tool URL (e.g.,
HTTP STATUS 404) - Tool's SHA256 hash has changed from what is hardcoded in the package installation script
Reasons 1-4 are difficult for us to fix since we do not control them. If an issue related to reasons 1-4 is filed, it is unlikely we will be able to assist.
We can help with reasons 5-7 and welcome the community to contribute fixes as well! Please report the bug in VM-Packages providing all the information requested.
Updates
Note that package updates are best effort and that updates are not being tested. If you encounter errors, perform a fresh FLARE-VM install.
Mailing List
Subscribe to the FLARE mailing list for community announcements! Email "subscribe" to [email protected].
Legal Notice
This download configuration script is provided to assist cyber security analysts in creating handy and versatile toolboxes for malware analysis environments. It provides a convenient interface for them to obtain a useful set of analysis tools directly from their original sources. Installation and use of this script is subject to the Apache 2.0 License. You as a user of this script must review, accept and comply with the license terms of each downloaded/installed package. By proceeding with the installation, you are accepting the license terms of each package, and acknowledging that your use of each package will be subject to its respective license terms.