Detectionhightest

Run PowerShell Script from ADS

Detects PowerShell script execution from Alternate Data Stream (ADS)

Convert In Phoenix Studio

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

Launch
Sergey Soldatov, Kaspersky Lab, oscd.communityCreated Wed Oct 30Updated Thu Jul 1445a594aa-1fbd-4972-a809-ff5a99dd81b8windows
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:
        ParentImage|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        CommandLine|contains|all:
            - 'Get-Content'
            - '-Stream'
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
45a594aa-1fbd-4972-a809-ff5a99dd81b8
Status
test
Level
high
Type
Detection
Created
Wed Oct 30
Modified
Thu Jul 14
Path
rules/windows/process_creation/proc_creation_win_powershell_run_script_from_ads.yml
Raw Tags
attack.defense-evasionattack.t1564.004
View on GitHub