Week 25 – Malware Analysis Lab Environment
Build a fully isolated, production‑grade malware analysis environment using Proxmox, REMnux, Windows 11, INetSim, Suricata, Sysmon, and Wazuh. This week establishes the foundation for all malware analysis activities in Weeks 26–28.
Overview What you will accomplish
This week focuses on building a safe, isolated, and fully instrumented malware analysis environment. You will create a dedicated malware VLAN, deploy REMnux and Windows 11 analysis workstations, configure simulated internet services, enable telemetry pipelines, and validate the entire environment before detonating malware in Week 26.
- Create an isolated Proxmox VLAN for malware analysis.
- Deploy REMnux as the Linux analysis workstation.
- Deploy Windows 11 as the primary analysis workstation.
- Configure INetSim for simulated internet services.
- Enable Sysmon, Suricata, and Wazuh telemetry pipelines.
- Validate isolation, logging, and baseline behavior.
1. Create the Malware VLAN (vmbr30)
This activity creates a fully isolated Proxmox VLAN dedicated to malware analysis. All malware traffic remains contained within this network and cannot reach the internet or your home LAN.
-
Create a new Linux bridge
In Proxmox:Datacenter → Node → System → Network → Create → Linux BridgeConfigure:- Name:
vmbr30 - IPv4/CIDR:
10.30.0.1/24 - IPv4 Gateway: leave blank
- Autostart: Yes
- Name:
-
Apply and reboot
Apply Configuration → Reboot Node -
Verify bridge creation
On Proxmox shell:ip a | grep vmbr30Expected:inet 10.30.0.1/24
-
Document VLAN configuration
Add to your homelab documentation:- Bridge name: vmbr30
- Subnet: 10.30.0.0/24
- Gateway: none
- Purpose: malware analysis
2. Deploy REMnux Linux Analysis Workstation
This activity deploys REMnux, a Linux distribution designed for malware analysis. REMnux provides tools for static analysis, dynamic analysis, memory forensics, and network simulation.
-
Download REMnux OVA
https://remnux.org -
Import into Proxmox
qm importovf 9000 remnux.ova local-lvm -
Attach to vmbr30
Hardware → Network → vmbr30 -
Set static IP
10.30.0.10/24 Gateway: none DNS: none -
Verify connectivity
ping 10.30.0.1 -
Document REMnux configuration
Add:- IP: 10.30.0.10
- Hostname: remnux-analysis
- Interface: ens18
3. Deploy Windows 11 Analysis Workstation
This activity deploys a Windows 11 VM configured for malware analysis. This workstation will be used for static and dynamic analysis in Weeks 26–28.
-
Create VM
VM ID: 110 Name: win11-analysis -
Attach to vmbr30
Hardware → Network → vmbr30 -
Set static IP
10.30.0.20/24 Gateway: none DNS: 10.30.0.10 -
Install Sysmon
sysmon64.exe -accepteula -i sysmonconfig.xml -
Install Wazuh agent
Configure:Manager: 10.30.0.5 Agent name: windows11-analysis -
Document Windows configuration
Add:- IP: 10.30.0.20
- Hostname: win11-analysis
- DNS: 10.30.0.10
4. Configure Simulated Internet Services (INetSim + DNS + HTTP/HTTPS/SMTP)
This activity configures INetSim on REMnux to simulate internet services for malware. INetSim provides fake DNS, HTTP, HTTPS, SMTP, and other services so malware behaves as if it is online while remaining fully contained.
-
Install INetSim
On REMnux:sudo apt update sudo apt install -y inetsim -
Configure INetSim to bind to the malware VLAN interface
Edit:sudo nano /etc/inetsim/inetsim.confSet:service_bind_address 10.30.0.10 dns_default_ip 10.30.0.10 -
Enable DNS simulation
Ensure:start_service dns -
Enable HTTP/HTTPS simulation
Ensure:start_service http start_service https -
Enable SMTP simulation
Ensure:start_service smtp -
Start INetSim
sudo systemctl enable inetsim sudo systemctl start inetsim -
Validate DNS simulation
From Windows:nslookup google.comExpected:Address: 10.30.0.10 -
Validate HTTP simulation
From Windows:curl http://example.comExpected:INetSim HTTP service banner -
Validate SMTP simulation
From Windows:telnet 10.30.0.10 25Expected:220 inetsim ESMTP service ready -
Document INetSim configuration
Add:- DNS: 10.30.0.10
- HTTP/HTTPS: 10.30.0.10
- SMTP: 10.30.0.10
- Interface: ens18
5. Enable Telemetry Pipelines (Sysmon + Suricata + Wazuh Integration)
This activity configures full telemetry collection for the malware analysis environment. You will enable Sysmon on Windows 11, Suricata on REMnux, and integrate both with your Wazuh SIEM. This ensures that all process, file, registry, DNS, HTTP, and network events are captured and forwarded for analysis.
-
Verify Sysmon is installed on Windows 11
Get-WinEvent -LogName "Microsoft-Windows-Sysmon/Operational" | head -
Verify Sysmon configuration
sysmon64.exe -c sysmonconfig.xml -
Verify Wazuh agent is installed
Get-Service -Name Wazuh -
Configure Wazuh to collect Sysmon logs
Edit:C:\Program Files (x86)\ossec-agent\ossec.confAdd:Microsoft-Windows-Sysmon/Operational eventchannel -
Validate Sysmon → Wazuh forwarding
Trigger:notepad.exe
-
Verify Suricata installation
suricata --build-info -
Bind Suricata to ens18
Edit:sudo nano /etc/suricata/suricata.yamlSet:af-packet: - interface: ens18 -
Update Suricata rules
sudo suricata-update sudo systemctl restart suricata -
Validate Suricata alerts
From Windows:curl http://example.com nslookup testdomain.local -
Install Filebeat on REMnux
curl -s https://packages.wazuh.com/4.x/filebeat/install.sh | sudo bash -
Configure Filebeat to forward Suricata logs
Edit:sudo nano /etc/filebeat/filebeat.ymlAdd:- type: log paths: - /var/log/suricata/eve.json fields: log_type: suricata fields_under_root: true -
Validate Suricata → Wazuh forwarding
Check Wazuh dashboard for Suricata events. -
Enable packet capture
sudo tcpdump -i ens18 -w ~/pcaps/malware-traffic.pcap -
Document telemetry architecture
Add:- Sysmon → Wazuh
- Suricata → Filebeat → Wazuh
- Log paths
- Agent names
6. Validate Isolation & Baseline Behavior
This activity validates that your malware analysis environment is safe, isolated, and functioning correctly before you begin detonating malware in Week 26.
-
Verify Windows cannot reach the internet
ping 8.8.8.8 ping 1.1.1.1 -
Verify DNS resolution goes to INetSim
nslookup google.com -
Validate HTTP/HTTPS simulation
curl http://example.com curl https://secure.test -k -
Validate Suricata baseline alerts
sudo tail -f /var/log/suricata/eve.json -
Validate Sysmon baseline events
notepad.exe calc.exe -
Capture baseline packet traffic
sudo tcpdump -i ens18 -w ~/pcaps/baseline-week25.pcap -
Create final snapshots
remnux-baseline-week25 windows11-baseline-week25