2018-07-24 17:49:08 +00:00
|
|
|
title: NTFS Alternate Data Stream
|
2019-11-12 22:12:27 +00:00
|
|
|
id: 8c521530-5169-495d-a199-0a3a881ad24e
|
2018-07-24 17:49:08 +00:00
|
|
|
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
|
2020-06-16 20:46:08 +00: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 18:03:07 +00:00
|
|
|
author: Sami Ruohonen
|
2020-01-30 15:07:37 +00:00
|
|
|
date: 2018/07/24
|
2020-08-24 23:31:26 +00:00
|
|
|
modified: 2020/08/24
|
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"
|
2020-05-13 09:57:10 +00:00
|
|
|
- "add-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
|