2018-07-24 17:49:08 +00:00
|
|
|
title: NTFS Alternate Data Stream
|
|
|
|
status: experimental
|
2018-07-26 15:54:08 +00:00
|
|
|
description: Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.
|
2018-07-24 17:49:08 +00:00
|
|
|
references:
|
|
|
|
- http://www.powertheshell.com/ntfsstreams/
|
|
|
|
tags:
|
2018-09-20 10:44:44 +00:00
|
|
|
- attack.defense_evasion
|
2018-07-24 17:49:08 +00:00
|
|
|
- attack.t1096
|
2018-07-24 18:03:07 +00:00
|
|
|
author: Sami Ruohonen
|
2018-07-24 17:49:08 +00:00
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: powershell
|
2018-11-15 06:00:06 +00:00
|
|
|
definition: 'It is recommended to use the new "Script Block Logging" of PowerShell v5 https://adsecurity.org/?p=2277'
|
2018-07-24 17:49:08 +00:00
|
|
|
detection:
|
2018-07-25 05:35:59 +00:00
|
|
|
keyword1:
|
2018-07-26 16:10:21 +00:00
|
|
|
- "set-content"
|
2018-07-25 05:35:59 +00:00
|
|
|
keyword2:
|
2018-07-26 16:10:21 +00:00
|
|
|
- "-stream"
|
2018-07-25 05:35:59 +00:00
|
|
|
condition: keyword1 and keyword2
|
2018-07-24 17:49:08 +00:00
|
|
|
falsepositives:
|
|
|
|
- unknown
|
|
|
|
level: high
|