Run PowerShell Script from ADS

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects PowerShell script execution from Alternate Data Stream (ADS)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PARENTPROCESSNAME endswith "\powershell.exe,\pwsh.exe" AND PROCESSNAME endswith "\powershell.exe,\pwsh.exe" AND (COMMANDLINE contains "Get-Content" AND COMMANDLINE contains "-Stream") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Sergey Soldatov, Kaspersky Lab, oscd.community