Detectionmediumtest

Powershell Store File In Alternate Data Stream

Storing files in Alternate Data Stream (ADS) similar to Astaroth malware.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Thu Sep 02Updated Sun Dec 25a699b30e-d010-46c8-bbd1-ee2e26765fe9windows
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_compspec
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
a699b30e-d010-46c8-bbd1-ee2e26765fe9
Status
test
Level
medium
Type
Detection
Created
Thu Sep 02
Modified
Sun Dec 25
Path
rules/windows/powershell/powershell_script/posh_ps_store_file_in_alternate_data_stream.yml
Raw Tags
attack.defense-evasionattack.t1564.004
View on GitHub