cscli scenarios install sigmahq/proc_creation_win_powershell_run_script_from_ads1type: trigger2name: sigmahq/proc_creation_win_powershell_run_script_from_ads3description: |4 Detects PowerShell script execution from Alternate Data Stream (ADS)5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.ParentImage endsWith '\\powershell.exe' || evt.Parsed.ParentImage endsWith '\\pwsh.exe') && (evt.Parsed.Image endsWith '\\powershell.exe' || evt.Parsed.Image endsWith '\\pwsh.exe') && evt.Parsed.CommandLine contains 'Get-Content' && evt.Parsed.CommandLine contains '-Stream')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1564.0041516 label: "Run PowerShell Script from ADS"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324