Sigma rule: Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-dd9cff7b484a, updated 2023-06-14T00:00:00.000Z.
Rule
- Title
- Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-06-14
- File
- rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of the "VMwareToolBoxCmd.exe" with the "script" and "set" flag to setup a specific script to run for a specific VM state
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\VMwareToolBoxCmd.exe'
- OriginalFileName: 'toolbox-cmd.exe'
selection_cli:
CommandLine|contains|all:
- ' script '
- ' set '
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.persistence
- attack.t1059
MITRE ATT&CK ids this rule names
Related rules
References
- https://bohops.com/2021/10/08/analyzing-and-detecting-a-vmtools-persistence-technique/
- https://www.hexacorn.com/blog/2017/01/14/beyond-good-ol-run-key-part-53/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml
Sources and licences
SigmaHQ
"Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script",
entity page, dataset version ref-dd9cff7b484a, updated 2023-06-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7aa4e81a-a65c-4e10-9f81-b200eb229d7d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7aa4e81a-a65c-4e10-9f81-b200eb229d7d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.