forked from SigmaHQ/sigma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add VMwareToolBoxCmd persistence
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
title: Potential Persistence Via VMwareToolBoxCmd.EXE VM State Change Script | ||
id: 7aa4e81a-a65c-4e10-9f81-b200eb229d7d | ||
related: | ||
- id: 236d8e89-ed95-4789-a982-36f4643738ba | ||
type: derived | ||
status: experimental | ||
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 | ||
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/ | ||
author: Nasreddine Bencherchali (Nextron Systems) | ||
date: 2023/06/14 | ||
tags: | ||
- attack.execution | ||
- attack.persistence | ||
- attack.t1059 | ||
logsource: | ||
category: process_creation | ||
product: windows | ||
detection: | ||
selection_img: | ||
- Image|endswith: '\VMwareToolBoxCmd.exe' | ||
- OriginalFileName: 'toolbox-cmd.exe' | ||
selection_cli: | ||
CommandLine|contains|all: | ||
- ' script ' | ||
- ' set ' | ||
condition: all of selection_* | ||
falsepositives: | ||
- Unknown | ||
level: medium |
38 changes: 38 additions & 0 deletions
38
rules/windows/process_creation/proc_creation_win_vmware_toolbox_cmd_persistence_susp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
title: Suspicious Persistence Via VMwareToolBoxCmd.EXE VM State Change Script | ||
id: 236d8e89-ed95-4789-a982-36f4643738ba | ||
related: | ||
- id: 7aa4e81a-a65c-4e10-9f81-b200eb229d7d | ||
type: derived | ||
status: experimental | ||
description: Detects execution of the "VMwareToolBoxCmd.exe" with the "script" and "set" flag to setup a specific script that's located in a potential suspicious location to run for a specific VM state | ||
references: | ||
- https://bohops.com/2021/10/08/analyzing-and-detecting-a-vmtools-persistence-technique/ | ||
author: Nasreddine Bencherchali (Nextron Systems) | ||
date: 2023/06/14 | ||
tags: | ||
- attack.execution | ||
- attack.persistence | ||
- attack.t1059 | ||
logsource: | ||
category: process_creation | ||
product: windows | ||
detection: | ||
selection_bin_img: | ||
- Image|endswith: '\VMwareToolBoxCmd.exe' | ||
- OriginalFileName: 'toolbox-cmd.exe' | ||
selection_bin_cli: | ||
CommandLine|contains|all: | ||
- ' script ' | ||
- ' set ' | ||
selection_susp_paths: | ||
CommandLine|contains: | ||
- ':\PerfLogs\' | ||
- ':\Temp\' | ||
- ':\Windows\System32\Tasks\' | ||
- ':\Windows\Tasks\' | ||
- ':\Windows\Temp\' | ||
- '\AppData\Local\Temp' | ||
condition: all of selection_* | ||
falsepositives: | ||
- Unknown | ||
level: high |