Files
blue-team-tools/rules/windows/powershell/powershell_script/powershell_ntfs_ads_access.yml
T
2021-10-16 08:18:49 +02:00

34 lines
956 B
YAML

title: NTFS Alternate Data Stream
id: 8c521530-5169-495d-a199-0a3a881ad24e
status: experimental
description: Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.
references:
- http://www.powertheshell.com/ntfsstreams/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1564.004/T1564.004.md
tags:
- attack.defense_evasion
- attack.t1564.004
- attack.t1096 # an old one
- attack.execution
- attack.t1059.001
- attack.t1086 # an old one
author: Sami Ruohonen
date: 2018/07/24
modified: 2021/10/16
logsource:
product: windows
category: ps_script
definition: Script block logging must be enabled
detection:
content:
ScriptBlockText|contains:
- "set-content"
- "add-content"
stream:
ScriptBlockText|contains:
- "-stream"
condition: all of them
falsepositives:
- unknown
level: high