{"id":"8c521530-5169-495d-a199-0a3a881ad24e","title":"NTFS Alternate Data Stream","description":"Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.","author":"Sami Ruohonen","status":"test","level":"high","date":"2018-07-24","modified":"2022-12-25","tags":["attack.stealth","attack.t1564.004","attack.execution","attack.t1059.001"],"technique_ids":["T1059.001","T1564.004"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://web.archive.org/web/20220614030603/http://www.powertheshell.com/ntfsstreams/","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.004/T1564.004.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_ntfs_ads_access.yml","source_sha256":"71f64c0962ea5487d8c521aa8c79001ed137f7b6843c3a0541aca58220604ff2","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_ntfs_ads_access.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: NTFS Alternate Data Stream\nid: 8c521530-5169-495d-a199-0a3a881ad24e\nstatus: test\ndescription: Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.\nreferences:\n    - https://web.archive.org/web/20220614030603/http://www.powertheshell.com/ntfsstreams/\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.004/T1564.004.md\nauthor: Sami Ruohonen\ndate: 2018-07-24\nmodified: 2022-12-25\ntags:\n    - attack.stealth\n    - attack.t1564.004\n    - attack.execution\n    - attack.t1059.001\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_content:\n        ScriptBlockText|contains:\n            - set-content\n            - add-content\n    selection_stream:\n        ScriptBlockText|contains: '-stream'\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"},{"key":"enterprise/T1564.004","id":"T1564.004","name":"NTFS File Attributes","page":"techniques/enterprise/T1564.004/"}],"data_path":"data/detection-rules/8c521530-5169-495d-a199-0a3a881ad24e.json","kind":"sigma"}
