PowerShell ICMP Exfiltration

 Original Source: [Sigma source]
Title: PowerShell ICMP Exfiltration
Status: test
Description: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.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1048.003/T1048.003.md#atomic-test-2---exfiltration-over-alternative-protocol---icmp
Author: Bartlomiej Czyz @bczyz1, oscd.community
Date: 2020-10-10
modified:2022-12-25
Tags:
  • -'attack.exfiltration'
  • -'attack.t1048.003'
Logsource:
  • product: windows
  • category: ps_script
  • definition: Requirements: Script Block Logging must be enabled
Detection:
  selection:
    ScriptBlockText|contains|all:
      -'New-Object'
      -'System.Net.NetworkInformation.Ping'
      -'.Send('

  condition:selection
Falsepositives:
  -Legitimate usage of System.Net.NetworkInformation.Ping class
Level: medium