Detectionmediumtest
Powershell Store File In Alternate Data Stream
Storing files in Alternate Data Stream (ADS) similar to Astaroth malware.
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection_compspec:
ScriptBlockText|contains|all:
- 'Start-Process'
- '-FilePath "$env:comspec" '
- '-ArgumentList '
- '>'
condition: selection_compspecFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
a699b30e-d010-46c8-bbd1-ee2e26765fe9
Status
test
Level
medium
Type
Detection
Created
2021-09-02
Modified
2022-12-25
Author
Path
rules/windows/powershell/powershell_script/posh_ps_store_file_in_alternate_data_stream.yml
Raw Tags
attack.stealthattack.t1564.004