File tree Expand file tree Collapse file tree
rules/windows/powershell/powershell_script Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ status: test
44description : Powershell use PassThru option to start in background
55references :
66 - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1036.003/T1036.003.md
7- - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/Start-Process ?view=powershell-5.1&viewFallbackFrom=powershell-7
7+ - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process ?view=powershell-7.6
88author : frack113
99date : 2022-01-15
10+ modified : 2026-05-18
1011tags :
1112 - attack.stealth
1213 - attack.t1036.003
@@ -15,12 +16,15 @@ logsource:
1516 category : ps_script
1617 definition : ' Requirements: Script Block Logging must be enabled'
1718detection :
18- selection :
19+ selection_cmdlet :
20+ ScriptBlockText|contains :
21+ - ' Start-Process '
22+ - ' saps '
23+ selection_param :
1924 ScriptBlockText|contains|all :
20- - Start-Process
2125 - ' -PassThru '
2226 - ' -FilePath '
23- condition : selection
27+ condition : all of selection_*
2428falsepositives :
2529 - Legitimate PowerShell scripts
2630level : medium
You can’t perform that action at this time.
0 commit comments