{"id":"7aa4e81a-a65c-4e10-9f81-b200eb229d7d","title":"Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script","description":"Detects execution of the \"VMwareToolBoxCmd.exe\" with the \"script\" and \"set\" flag to setup a specific script to run for a specific VM state","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-06-14","modified":"","tags":["attack.execution","attack.persistence","attack.t1059"],"technique_ids":["T1059"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"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/"],"source_path":"rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml","source_sha256":"16c7d14f19b8ed0e953e3d7fb2042ce8fed6de05c6422c67f67a17b9f74ae625","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script\nid: 7aa4e81a-a65c-4e10-9f81-b200eb229d7d\nrelated:\n    - id: 236d8e89-ed95-4789-a982-36f4643738ba\n      type: derived\nstatus: test\ndescription: Detects execution of the \"VMwareToolBoxCmd.exe\" with the \"script\" and \"set\" flag to setup a specific script to run for a specific VM state\nreferences:\n    - https://bohops.com/2021/10/08/analyzing-and-detecting-a-vmtools-persistence-technique/\n    - https://www.hexacorn.com/blog/2017/01/14/beyond-good-ol-run-key-part-53/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-06-14\ntags:\n    - attack.execution\n    - attack.persistence\n    - attack.t1059\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\VMwareToolBoxCmd.exe'\n        - OriginalFileName: 'toolbox-cmd.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - ' script '\n            - ' set '\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059","id":"T1059","name":"Command and Scripting Interpreter","page":"techniques/enterprise/T1059/"}],"data_path":"data/detection-rules/7aa4e81a-a65c-4e10-9f81-b200eb229d7d.json","kind":"sigma"}
