VirtualBox or VMware VM started headless from the command line
Matches the Windows leg of AN0909: a Sysmon process creation for `VBoxManage.exe` whose command line names `startvm` together with `headless`, a direct launch of `VBoxHeadless.exe`, or `vmrun.exe` carrying `nogui`. These are the concrete headless-launch mechanisms AN0909 names for VirtualBox and VMware — running a virtual instance with no console window so its contents never reach a screen a user or an EDR's screen-capture telemetry would see, the technique CyberCX documented Akira ransomware using to encrypt files from inside a VirtualBox guest while the host's own AV watched an empty process tree. `vmware-vmx.exe` and `vmwp.exe`, the two other binaries AN0909 names, are deliberately left out: `vmware-vmx.exe` is the VM's own worker process and runs on every VMware-hosted VM whether launched from the GUI or the command line, so nothing on its own process-creation event separates a headless launch from an ordinary one without joining to its parent; `vmwp.exe` is Hyper-V's per-VM worker, spawned by the `vmms.exe` service rather than a command line, and Hyper-V has no GUI-suppression flag to alert on since it is headless by design. MITRE's VirtualizationBinaryWhitelist knob is the intended place to record an estate's own CI runners and lab hosts; no values for it are supplied here. What this rule cannot see is a VM started headless through the VirtualBox or VMware GUI's own "headless mode" menu option rather than the CLI, since that never produces a matching command line. Requires Sysmon with process creation logging enabled; this is not native Windows telemetry and is absent without the Sysmon driver installed and configured to capture EventID 1. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0321, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where ((FolderPath endswith "\\VBoxManage.exe" and (ProcessCommandLine contains "startvm" and ProcessCommandLine contains "headless")) or FolderPath endswith "\\VBoxHeadless.exe" or (FolderPath endswith "\\vmrun.exe" and ProcessCommandLine contains "nogui"))
Splunk · SPL
Run this as a search.
index=* ((Image="*\\VBoxManage.exe" AND (CommandLine="*startvm*" AND CommandLine="*headless*")) OR Image="*\\VBoxHeadless.exe" OR (Image="*\\vmrun.exe" AND CommandLine="*nogui*"))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*\\\\vboxmanage.exe" AND (TO_LOWER(process.command_line) LIKE "*startvm*" AND TO_LOWER(process.command_line) LIKE "*headless*")) OR TO_LOWER(process.executable) LIKE "*\\\\vboxheadless.exe" OR (TO_LOWER(process.executable) LIKE "*\\\\vmrun.exe" AND TO_LOWER(process.command_line) LIKE "*nogui*"))
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <!-- 3 rules: the Sigma condition ORs across different fields, which one rule cannot express. Any one matching is a hit. --> <rule id="100000" level="7"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\VBoxManage\.exe$</field> <field name="CommandLine" type="pcre2">(?i)(?=.*(?:startvm))(?=.*(?:headless)).*</field> <description>VirtualBox or VMware VM started headless from the command line (1/3)</description> <mitre> <id>T1564.006</id> </mitre> </rule> <rule id="100001" level="7"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\VBoxHeadless\.exe$</field> <description>VirtualBox or VMware VM started headless from the command line (2/3)</description> <mitre> <id>T1564.006</id> </mitre> </rule> <rule id="100002" level="7"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\vmrun\.exe$</field> <field name="CommandLine" type="pcre2">(?i)nogui</field> <description>VirtualBox or VMware VM started headless from the command line (3/3)</description> <mitre> <id>T1564.006</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.