Detectionhightest

Run PowerShell Script from Redirected Input Stream

Detects PowerShell script execution via input stream redirect

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Moriarty Meng, Anton Kutepov, oscd.communityCreated Sat Oct 17Updated Sat Nov 27c83bf4b5-cdf0-437c-90fa-43d734f7c476windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        CommandLine|re: '\s-\s*<'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
c83bf4b5-cdf0-437c-90fa-43d734f7c476
Status
test
Level
high
Type
Detection
Created
Sat Oct 17
Modified
Sat Nov 27
Path
rules/windows/process_creation/proc_creation_win_powershell_run_script_from_input_stream.yml
Raw Tags
attack.defense-evasionattack.executionattack.t1059
View on GitHub