Windows Analysis VM with VirtualBox
Prerequisites
- Host machine with at least 16GB RAM and 100GB free disk space
- VirtualBox 7.x installed from virtualbox.org
- Windows 10/11 ISO (evaluation version from Microsoft)
Step 1: Create the VM
- Open VirtualBox → New
- Name:
MalwareAnalysis-Win10 - Type: Microsoft Windows, Version: Windows 10 (64-bit)
- Memory: 4096 MB minimum (8192 MB recommended)
- Hard disk: Create a virtual hard disk (VDI, dynamically allocated, 60GB)
Step 2: VM Settings
- System → Processor: 2+ CPUs
- Network → Adapter 1: Host-only Adapter
- Shared Folders: DISABLED (critical for safety)
- General → Advanced: Disable clipboard sharing
Step 3: Install Windows
- Mount Windows ISO to optical drive
- Boot and install Windows
- Skip product key activation
- Disable Windows Update (for analysis stability)
- Disable Windows Defender protections (see below)
Step 4: Pre-Install Safety Settings (FLARE-VM Requirements)
FLARE-VM recommends disabling the following Windows Defender features:
- Real-time protection
- Cloud-delivered protection
- Automatic sample submission
- Add
C:to the exclusion list
Take a clean snapshot after these changes.
Step 5: Install FLARE-VM
# Open PowerShell as Administrator
Set-ExecutionPolicy Unrestricted -Force
# Download installer to Desktop
(New-Object net.webclient).DownloadFile(
'https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',
"$([Environment]::GetFolderPath("Desktop"))\install.ps1"
)
cd $([Environment]::GetFolderPath("Desktop"))
Unblock-File .\install.ps1
.install.ps1
# Optional: pass password and run in CLI-only mode
# .install.ps1 -password <password> -noWait -noGui
Step 6: Install Additional Tools
- Procmon & Process Explorer: Included in FLARE-VM
- FakeNet-NG: Included in FLARE-VM
- Wireshark: Included in FLARE-VM
- PEStudio: Download from winitor.com
- CAPA: Included in FLARE-VM
Step 7: Take Clean Snapshot
- Shut down the VM cleanly
- VirtualBox → Snapshots → Take Snapshot
- Name:
Analysis-Ready-Clean - Always revert to this snapshot before analyzing a new sample
Network Verification
ipconfig
# Should show Host-only adapter with 192.168.56.x address
ping 8.8.8.8
# Should FAIL (no internet access)
Safety Checklist
- Host-only networking configured
- Shared folders disabled
- Clipboard sharing disabled
- Windows Defender disabled
- Clean snapshot taken
- FakeNet-NG tested and working
