Post

Operation Blackout 2025: Phantom Check

Operation Blackout 2025: Phantom Check

CHALLENGE DESCRIPTION

Talion suspects that the threat actor carried out anti-virtualization checks to avoid detection in sandboxed environments. Your task is to analyze the event logs and identify the specific techniques used for virtualization detection. Byte Doctor requires evidence of the registry checks or processes the attacker executed to perform these checks.

SET UP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 1. Create a Python virtual environment
python3 -m venv myenv

# 2. Activate the virtual environment
source myenv/bin/activate   # For Linux/macOS

# 3. Install the python-evtx library
pip install python-evtx

# 4. Download the evtx_dump.py script 
wget https://raw.githubusercontent.com/williballenthin/python-evtx/master/scripts/evtx_dump.py

# 5. Run the script on your .evtx file
python3 evtx_dump.py some.evtx > log.xml

SOLUTION

After unzipping the file, we see lots of evtx files.

Which WMI class did the attacker use to retrieve model and manufacturer information for virtualization detection?

Search WMI class use to retrieve model and manufacturer information for virtualization detection on Google

Answer Win32_ComputerSystem

Which WMI query did the attacker execute to retrieve the current temperature value of the machine?

Search WMI query to retrieve the current temperature value of the machine on Google

We got MSAcpi_ThermalZoneTemperature

1
grep -a3 -i 'MSAcpi_ThermalZoneTemperature' *
Answer SELECT * FROM MSAcpi_ThermalZoneTemperature

The attacker loaded a PowerShell script to detect virtualization. What is the function name of the script?

Answer Check-VM

Which registry key did the above script query to retrieve service details for virtualization detection?

1
grep -a50 -i 'Check-VM' *
Answer HKLM:\SYSTEM\ControlSet001\Services

The VM detection script can also identify VirtualBox. Which processes is it comparing to determine if the system is running VirtualBox?

Search Processes Checked for VirtualBox Detection on Google

1
grep -i 'VBox' *
Answer vboxservice.exe, vboxtray.exe

The VM detection script prints any detection with the prefix ‘This is a’. Which two virtualization platforms did the script detect?

1
grep 'This is a' *
Answer Hyper-V, Vmware