Skip to content

Commit cc8574d

Browse files
authored
Update proc_creation_win_powershell_non_interactive_execution.yml
1 parent 0cf785d commit cc8574d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

rules/windows/process_creation/proc_creation_win_powershell_non_interactive_execution.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ references:
66
- https://web.archive.org/web/20200925032237/https://threathunterplaybook.com/notebooks/windows/02_execution/WIN-190410151110.html
77
author: Roberto Rodriguez @Cyb3rWard0g (rule), oscd.community (improvements)
88
date: 2019-09-12
9-
modified: 2023-09-07
9+
modified: 2025-02-28
1010
tags:
1111
- attack.execution
1212
- attack.t1059.001
@@ -26,7 +26,6 @@ detection:
2626
- ':\Windows\explorer.exe'
2727
- ':\Windows\System32\CompatTelRunner.exe'
2828
- ':\Windows\SysWOW64\explorer.exe'
29-
- ':\Program Files\Windows Defender Advanced Threat Protection\SenseIR.exe'
3029
filter_main_windows_update:
3130
ParentImage: ':\$WINDOWS.~BT\Sources\SetupHost.exe' # During Windows updates/upgrades
3231
# CommandLine: powershell.exe -ExecutionPolicy Restricted -Command Write-Host 'Final result: 1';
@@ -37,6 +36,8 @@ detection:
3736
filter_optional_terminal:
3837
ParentImage|contains: ':\Program Files\WindowsApps\Microsoft.WindowsTerminal_'
3938
ParentImage|endswith: '\WindowsTerminal.exe'
39+
filter_optional_defender:
40+
ParentImage|endswith: ':\Program Files\Windows Defender Advanced Threat Protection\SenseIR.exe'
4041
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
4142
falsepositives:
4243
- Likely. Many admin scripts and tools leverage PowerShell in their BAT or VB scripts which may trigger this rule often. It is best to add additional filters or use this to hunt for anomalies

0 commit comments

Comments
 (0)