ProtoStackv0.1

Interactive Protocol Visualizer

Back to all protocols
IPv6ARP
Network & CoreCore trackIntermediateOSI: Network LayerDefault Port: N/A (Layer 3)Standard: RFC 792

ICMP

— Internet Control Message Protocol

ICMP 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).

Read first: IPv4Content reviewed 2026-11-18

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

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

ICMP redirect abuse

Spoofing

Forged redirects convince a host to send traffic through an attacker-chosen next hop.

Attackersimulated
ICMPtarget
Attack step 1 of 3
Send a redirect

The attacker pretends to be the current gateway and suggests a better route.

What a defender can see

ICMP redirects arriving from non-gateway addresses.

Impact if unmitigated

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