Privilege Escalation via Named Pipe Impersonation

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\cmd.exe,\powershell.exe" OR ORIGINALFILENAME = "Cmd.Exe,PowerShell.EXE") AND (COMMANDLINE contains "echo" AND COMMANDLINE contains ">" AND COMMANDLINE contains "\\.\pipe") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Tim Rauch, Elastic (idea)