cscli scenarios install sigmahq/proc_creation_win_vmware_toolbox_cmd_persistence_susp1type: trigger2name: sigmahq/proc_creation_win_vmware_toolbox_cmd_persistence_susp3description: |4 Detects execution of the "VMwareToolBoxCmd.exe" with the "script" and "set" flag to setup a specific script that's located in a potentially suspicious location to run for a specific VM state5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\VMwareToolBoxCmd.exe' || evt.Parsed.OriginalFileName == 'toolbox-cmd.exe') && evt.Parsed.CommandLine contains ' script ' && evt.Parsed.CommandLine contains ' set ' && (evt.Parsed.CommandLine contains ':\\PerfLogs\\' || evt.Parsed.CommandLine contains ':\\Temp\\' || evt.Parsed.CommandLine contains ':\\Windows\\System32\\Tasks\\' || evt.Parsed.CommandLine contains ':\\Windows\\Tasks\\' || evt.Parsed.CommandLine contains ':\\Windows\\Temp\\' || evt.Parsed.CommandLine contains '\\AppData\\Local\\Temp'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t10591516 label: "Suspicious Persistence Via VMwareToolBoxCmd.EXE VM State Change Script"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324