Powershell Store File In Alternate Data Stream

 Original Source: [Sigma source]
Title: Powershell Store File In Alternate Data Stream
Status: test
Description:Storing files in Alternate Data Stream (ADS) similar to Astaroth malware.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.004/T1564.004.md
Author: frack113
Date: 2021-09-02
modified:2022-12-25
Tags:
  • -'attack.stealth'
  • -'attack.t1564.004'
Logsource:
  • product: windows
  • category: ps_script
  • definition: Requirements: Script Block Logging must be enabled
Detection:
  selection_compspec:
    ScriptBlockText|contains|all:
      -'Start-Process'
      -'-FilePath "$env:comspec" '
      -'-ArgumentList '
      -'>'

  condition:selection_compspec
Falsepositives:
  -Unknown
Level: medium