2018-07-24 19:49:08 +02:00
|
|
|
title: NTFS Alternate Data Stream
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 8c521530-5169-495d-a199-0a3a881ad24e
|
2018-07-24 19:49:08 +02:00
|
|
|
status: experimental
|
2018-07-26 08:54:08 -07:00
|
|
|
description: Detects writing data into NTFS alternate data streams from powershell. Needs Script Block Logging.
|
2018-07-24 19:49:08 +02:00
|
|
|
references:
|
|
|
|
|
- http://www.powertheshell.com/ntfsstreams/
|
2021-09-02 09:51:44 +02:00
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1564.004/T1564.004.md
|
2018-07-24 19:49:08 +02:00
|
|
|
tags:
|
2018-09-20 12:44:44 +02:00
|
|
|
- attack.defense_evasion
|
2020-06-16 14:46:08 -06:00
|
|
|
- attack.t1564.004
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.t1096 # an old one
|
|
|
|
|
- attack.execution
|
|
|
|
|
- attack.t1059.001
|
2020-08-25 23:51:22 +00:00
|
|
|
- attack.t1086 # an old one
|
2018-07-24 20:03:07 +02:00
|
|
|
author: Sami Ruohonen
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2018/07/24
|
2021-10-16 08:18:49 +02:00
|
|
|
modified: 2021/10/16
|
2018-07-24 19:49:08 +02:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
2021-10-16 08:18:49 +02:00
|
|
|
category: ps_script
|
2021-08-21 09:33:52 +02:00
|
|
|
definition: Script block logging must be enabled
|
2018-07-24 19:49:08 +02:00
|
|
|
detection:
|
2021-08-21 09:33:52 +02:00
|
|
|
content:
|
|
|
|
|
ScriptBlockText|contains:
|
|
|
|
|
- "set-content"
|
|
|
|
|
- "add-content"
|
|
|
|
|
stream:
|
|
|
|
|
ScriptBlockText|contains:
|
|
|
|
|
- "-stream"
|
|
|
|
|
condition: all of them
|
2018-07-24 19:49:08 +02:00
|
|
|
falsepositives:
|
|
|
|
|
- unknown
|
|
|
|
|
level: high
|