Detectionmediumtest

Suspicious Start-Process PassThru

Powershell use PassThru option to start in background

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2022-01-15Updated 2026-05-180718cd72-f316-4aa2-988f-838ea8533277windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic2 selectors
detection:
    selection_cmdlet:
        ScriptBlockText|contains:
            - 'Start-Process '
            - 'saps '
    selection_param:
        ScriptBlockText|contains|all:
            - '-PassThru '
            - '-FilePath '
    condition: all of selection_*
False Positives

Legitimate PowerShell scripts

Testing & Validation

Regression Tests

by frack113
Positive Detection Test1 matchevtx

Microsoft-Windows-PowerShell

Rule Metadata
Rule ID
0718cd72-f316-4aa2-988f-838ea8533277
Status
test
Level
medium
Type
Detection
Created
2022-01-15
Modified
2026-05-18
Path
rules/windows/powershell/powershell_script/posh_ps_susp_start_process.yml
Raw Tags
attack.stealthattack.t1036.003
View on GitHub