016b15a2a9
I've added quotation marks to make it clearer (leading dash looks weird)
23 lines
644 B
Plaintext
23 lines
644 B
Plaintext
title: NTFS Alternate Data Stream
|
|
status: experimental
|
|
description: Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.
|
|
references:
|
|
- http://www.powertheshell.com/ntfsstreams/
|
|
tags:
|
|
- attack.defense_Evasion
|
|
- attack.t1096
|
|
author: Sami Ruohonen
|
|
logsource:
|
|
product: windows
|
|
service: powershell
|
|
description: 'It is recommanded to use the new "Script Block Logging" of PowerShell v5 https://adsecurity.org/?p=2277'
|
|
detection:
|
|
keyword1:
|
|
- "set-content"
|
|
keyword2:
|
|
- "-stream"
|
|
condition: keyword1 and keyword2
|
|
falsepositives:
|
|
- unknown
|
|
level: high
|