Detectionmediumtest

PowerShell ICMP Exfiltration

Detects Exfiltration Over Alternative Protocol - ICMP. Adversaries may steal data by exfiltrating it over an un-encrypted network protocol other than that of the existing command and control channel.

Convert In Phoenix Studio

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

Launch
Bartlomiej Czyz, oscd.communityCreated Sat Oct 10Updated Sun Dec 254c4af3cd-2115-479c-8193-6b8bfce9001cwindows
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:
        ScriptBlockText|contains|all:
            - 'New-Object'
            - 'System.Net.NetworkInformation.Ping'
            - '.Send('
    condition: selection
False Positives

Legitimate usage of System.Net.NetworkInformation.Ping class

Rule Metadata
Rule ID
4c4af3cd-2115-479c-8193-6b8bfce9001c
Status
test
Level
medium
Type
Detection
Created
Sat Oct 10
Modified
Sun Dec 25
Path
rules/windows/powershell/powershell_script/posh_ps_icmp_exfiltration.yml
Raw Tags
attack.exfiltrationattack.t1048.003
View on GitHub