ICMP
— Internet Control Message ProtocolICMP is part of the Internet protocol suite used by network devices, like routers, to communicate network issues (e.g. Destination Host Unreachable, Time Exceeded) and diagnostic data (Echo Request/Reply for ping).
Interactive Session: How ICMP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of ICMP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
ICMP redirect abuse
SpoofingForged redirects convince a host to send traffic through an attacker-chosen next hop.
Send a redirect
The attacker pretends to be the current gateway and suggests a better route.
ICMP redirects arriving from non-gateway addresses.
Traffic interception or selective outage.
Defences that matter
- Disable ICMP redirects on hosts and routers
- Filter ICMP redirects at the edge
- Segment routing domains
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Error reporting for undeliverable IP datagrams
- Diagnostic Echo Request (Type 8) and Echo Reply (Type 0)
- Time Exceeded (Type 11) for TTL expiration analysis in traceroute
- Redirect messages for routing path optimization
Real-World Use Cases
- Network latency testing (Ping)
- Path discovery & hop analysis (Traceroute)
- MTU path discovery
Advantages & Strengths
- Essential for diagnosing network outages and measuring round-trip latency
Limitations & Vulnerabilities
- Can be weaponized for Ping of Death and ICMP flood denial-of-service attacks