{"id":"45a594aa-1fbd-4972-a809-ff5a99dd81b8","title":"Run PowerShell Script from ADS","description":"Detects PowerShell script execution from Alternate Data Stream (ADS)","author":"Sergey Soldatov, Kaspersky Lab, oscd.community","status":"test","level":"high","date":"2019-10-30","modified":"2022-07-14","tags":["attack.stealth","attack.t1564.004"],"technique_ids":["T1564.004"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://github.com/p0shkatz/Get-ADS/blob/1c3a3562e713c254edce1995a7d9879c687c7473/Get-ADS.ps1"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_run_script_from_ads.yml","source_sha256":"7bb4c2c47447e357ef4469fb20a629b91422a2cdf817925c8f4dae1fad82f8de","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_run_script_from_ads.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Run PowerShell Script from ADS\nid: 45a594aa-1fbd-4972-a809-ff5a99dd81b8\nstatus: test\ndescription: Detects PowerShell script execution from Alternate Data Stream (ADS)\nreferences:\n    - https://github.com/p0shkatz/Get-ADS/blob/1c3a3562e713c254edce1995a7d9879c687c7473/Get-ADS.ps1\nauthor: Sergey Soldatov, Kaspersky Lab, oscd.community\ndate: 2019-10-30\nmodified: 2022-07-14\ntags:\n    - attack.stealth\n    - attack.t1564.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        ParentImage|endswith:\n            - '\\powershell.exe'\n            - '\\pwsh.exe'\n        Image|endswith:\n            - '\\powershell.exe'\n            - '\\pwsh.exe'\n        CommandLine|contains|all:\n            - 'Get-Content'\n            - '-Stream'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1564.004","id":"T1564.004","name":"NTFS File Attributes","page":"techniques/enterprise/T1564.004/"}],"data_path":"data/detection-rules/45a594aa-1fbd-4972-a809-ff5a99dd81b8.json","kind":"sigma"}
