diff --git a/rules/windows/process_creation/proc_creation_win_susp_rundll32_spawn_explorer.yml b/rules/windows/process_creation/proc_creation_win_susp_rundll32_spawn_explorer.yml index aabc317a5..e9e1826e1 100644 --- a/rules/windows/process_creation/proc_creation_win_susp_rundll32_spawn_explorer.yml +++ b/rules/windows/process_creation/proc_creation_win_susp_rundll32_spawn_explorer.yml @@ -1,9 +1,10 @@ title: RunDLL32 Spawning Explorer id: caa06de8-fdef-4c91-826a-7f9e163eef4b description: Detects RunDLL32.exe spawning explorer.exe as child, which is very uncommon, often observes Gamarue spawning the explorer.exe process in an unusual way -author: elhoim +author: elhoim, CD_ROM_ status: experimental date: 2022/04/27 +modified: 2022/05/25 references: - https://redcanary.com/blog/intelligence-insights-november-2021/ tags: @@ -16,7 +17,9 @@ detection: selection: ParentImage|endswith: '\rundll32.exe' Image|endswith: '\explorer.exe' - condition: selection + filter: + ParentCommandLine|contains: '\shell32.dll,Control_RunDLL' + condition: selection and not filter falsepositives: - Unknown level: high diff --git a/rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml b/rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml new file mode 100644 index 000000000..c13f6736d --- /dev/null +++ b/rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml @@ -0,0 +1,25 @@ +title: Custom File Open Handler Executes PowerShell +id: 7530b96f-ad8e-431d-a04d-ac85cc461fdc +description: Detects the abuse of custom file open handler, executing powershell +author: CD_R0M_ +date: 2022/06/11 +status: experimental +references: + - https://news.sophos.com/en-us/2022/02/01/solarmarker-campaign-used-novel-registry-changes-to-establish-persistence/?cmp=30728 +logsource: + category: registry_set + product: windows +detection: + selection: + TargetObject|contains: 'shell\open\command\' + Details|contains|all: + - 'powershell' + - '-command' + EventType: SetValue + condition: selection +falsepositives: + - Unknown +level: high +tags: + - attack.defense_evasion + - attack.t1202