ICMP C2
COVERT CHANNEL
PAYLOAD ENTROPY
PROTOCOL
DetectionBlue TeamSOCOctober 12, 2026•9 min read

Detecting ICMP and Non-HTTP Protocol C2

Ping is supposed to carry a throwaway payload. When those echo packets are full of high-entropy data, someone is tunnelling C2 through them.

Scroll

When HTTP and DNS are watched, attackers reach for ICMP and raw protocols. ICMP tunnels (e.g. icmpsh, Metasploit) stuff command and control into echo request/reply payloads; other channels ride raw TCP/UDP on odd ports. These are low-volume but noisy if you know the shape: payload size, entropy and request/reply ratios that normal utilities never produce.

Signals at a Glance

SignalWhereATT&CK
Oversized ICMP echo payloads (far above OS default)Network, Zeek icmpT1095
High-entropy data in echo request/replyIDS payload inspectionT1095
Abnormal echo request:reply ratio / timingFlowT1095
Sustained raw TCP/UDP to one host on an odd portFlow/Zeek connT1095
Protocol does not match port (e.g. non-HTTP on 80)Zeek, DPIT1571

Hunting ICMP Tunnels

Normal pings use small, fixed OS-default payloads. Tunnels inflate them and fill them with ciphertext. Alert on large or high-entropy ICMP payloads and on hosts generating sustained echo traffic:

# Suricata-style idea for oversized ICMP payload (tune threshold/baseline)
alert icmp any any -> any any ( \
  msg:"HUNT Large ICMP echo payload (possible tunnel)"; \
  itype:8; dsize:>256; \
  threshold:type both, track by_src, count 10, seconds 60; \
  classtype:policy-violation; sid:9000010; rev:1; )
# Pair with entropy scoring on payloads in Zeek/NSM and baseline your
# monitoring tools (some generate larger pings).

In NSM data, score ICMP payload entropy and volume per source; a workstation emitting many large, high-entropy echoes to one external host is a strong lead.

Other Protocol Channels

Vetted sources

Use Zeek protocol analysers and ICMP logs, Suricata/ET rules for tunneling, and payload-entropy scoring in your NSM. Baseline legitimate large pings from monitoring tools, and combine payload signals with beacon-timing analysis for raw TCP/UDP channels.

Build Detections That Fire

Mjolnir Security helps blue teams turn threat intelligence into high-fidelity detections across endpoint, network, identity and cloud telemetry.

Detection EngineeringManaged Detection & ResponseThreat HuntingIncident ResponsePurple Teaming
  • Detection Engineering We build and tune detections mapped to ATT&CK from your own telemetry.
  • Threat Hunting as a Service Hypothesis-driven hunts for the behaviours on this page.
  • 24/7 Incident Response Containment when a detection fires. Call +1 833 403 5875.
Written by: Mjolnir Threat Research (MTAC)  |  Published: October 12, 2026  |  Last reviewed: October 12, 2026