{"id":"a699b30e-d010-46c8-bbd1-ee2e26765fe9","title":"Powershell Store File In Alternate Data Stream","description":"Storing files in Alternate Data Stream (ADS) similar to Astaroth malware.","author":"frack113","status":"test","level":"medium","date":"2021-09-02","modified":"2022-12-25","tags":["attack.stealth","attack.t1564.004"],"technique_ids":["T1564.004"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.004/T1564.004.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_store_file_in_alternate_data_stream.yml","source_sha256":"a730f3360a91288bf7924a4802117e2c0283c162acda4ef1091031cf6aef4eaa","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_store_file_in_alternate_data_stream.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Powershell Store File In Alternate Data Stream\nid: a699b30e-d010-46c8-bbd1-ee2e26765fe9\nstatus: test\ndescription: Storing files in Alternate Data Stream (ADS) similar to Astaroth malware.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.004/T1564.004.md\nauthor: frack113\ndate: 2021-09-02\nmodified: 2022-12-25\ntags:\n    - attack.stealth\n    - attack.t1564.004\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_compspec:\n        ScriptBlockText|contains|all:\n            - 'Start-Process'\n            - '-FilePath \"$env:comspec\" '\n            - '-ArgumentList '\n            - '>'\n    condition: selection_compspec\nfalsepositives:\n    - Unknown\nlevel: medium\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/a699b30e-d010-46c8-bbd1-ee2e26765fe9.json","kind":"sigma"}
