Suspicious Start-Process PassThru
Powershell use PassThru option to start in background
Sigma rule (View on GitHub)
1title: Suspicious Start-Process PassThru
2id: 0718cd72-f316-4aa2-988f-838ea8533277
3status: test
4description: Powershell use PassThru option to start in background
5references:
6 - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1036.003/T1036.003.md
7 - https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/Start-Process?view=powershell-5.1&viewFallbackFrom=powershell-7
8author: frack113
9date: 2022/01/15
10tags:
11 - attack.defense_evasion
12 - attack.t1036.003
13logsource:
14 product: windows
15 category: ps_script
16 definition: 'Requirements: Script Block Logging must be enabled'
17detection:
18 selection:
19 ScriptBlockText|contains|all:
20 - Start-Process
21 - '-PassThru '
22 - '-FilePath '
23 condition: selection
24falsepositives:
25 - Legitimate PowerShell scripts
26level: medium
References
Related rules
- Suspicious Use of Rcedit Utility to Alter Executable Metadata
- Command or Scripting Interpreter Creating EXE File
- File Creation of Executables in Temp Folders (Event 4663)
- Process Creation without .exe File Extension
- Process Executing with Unusual Command Lines