ProtoStackv0.1

Interactive Protocol Visualizer

80 simulated attack scenarios

Attack library

Every protocol in the catalog has a threat model: how it is attacked in practice, what the defender can observe, and which control removes the precondition. Scenarios are conceptual and run entirely in the browser.

Scenarios80
Protocols80
Categories8

Defensive education only. These are conceptual models for defenders: no exploit code, payloads or tooling. Never test attacks against systems you do not own or have explicit written permission to assess.

Showing 80 of 80 attack scenarios

IMSI catcher and downgrade

5G NR
Interception

A rogue base station or a forced downgrade to 2G exposes subscriber identity and traffic metadata.

Domain validation hijack

ACME
Spoofing

Control of the HTTP-01 path or DNS zone lets an attacker obtain a certificate for a domain they do not own.

AMQP permission bypass

AMQP
Injection

Broad vhost permissions or the default guest account let a client publish to or consume from queues it should not touch.

ARP cache poisoning

ARP
Interception

Gratuitous ARP replies bind the gateway IP to the attacker MAC, placing the attacker on-path.

Unauthenticated BACnet write

BACnet
Injection

BACnet has no native authentication, so anyone who reaches UDP 47808 can write setpoints and schedules.

BFD session forgery

BFD
Spoofing

Forged BFD control packets can keep a dead path looking alive or flap a healthy one.

BGP route hijack

BGP
Spoofing

A network announces a prefix it does not own, and neighbours prefer the more specific or shorter path.

BLE pairing downgrade (Just Works)

BLE
Interception

If pairing falls back to Just Works, an on-path attacker can pair with both sides without a shared secret.

CAN frame injection

CAN Bus
Injection

Any node on a CAN bus can transmit frames, so a compromised ECU can spoof safety-critical messages.

CoAP amplification

CoAP
Denial of service

Spoofed CoAP requests to discovery or large-resource endpoints generate responses aimed at a victim.

Rogue DHCP server

DHCP
Spoofing

An unauthorised DHCP server answers first and hands out a malicious gateway or DNS server.

Weak DKIM key and signed-message replay

DKIM
Spoofing

Short DKIM keys can be factored, and a captured signed message can be replayed if the body is unchanged.

Subdomain policy gap

DMARC
Spoofing

A p=none policy or a missing sp= record leaves subdomains available for spoofing.

DNS cache poisoning

DNS
Spoofing

A forged answer that matches the transaction ID and source port is cached and served to later clients.

DNSSEC downgrade and zone walking

DNSSEC
Downgrade

Stripping the DO bit or querying NSEC records can bypass validation or enumerate a zone.

MAC flooding (CAM table exhaustion)

Ethernet (802.3)
Denial of service

A flood of frames with random source MAC addresses overflows the switch forwarding table, so unknown-unicast traffic is broadcast to every port.

Cleartext sessions and FTP bounce

FTP
Interception

FTP sends credentials and data in the clear, and the PORT command can be abused to reach other hosts.

Reflection-enabled method abuse

gRPC
Feature abuse

Server reflection and missing authorisation expose RPC methods that clients were never meant to call directly.

HTTP request smuggling

HTTP / HTTPS
Injection

Conflicting Content-Length and Transfer-Encoding headers make a proxy and origin disagree about where one request ends.

HPACK bomb

HTTP/2
Denial of service

Highly compressed header blocks expand into enormous header tables, consuming server memory.

0-RTT replay

HTTP/3
Injection

Early data captured from a previous connection is replayed to a server that accepts 0-RTT.

ICMP redirect abuse

ICMP
Spoofing

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

EAPOL flood

IEEE 802.1X
Denial of service

A flood of EAPOL start frames overwhelms the authenticator and prevents legitimate supplicants from authenticating.

IGMP query spoofing

IGMP
Denial of service

Forged IGMP queries and joins create multicast forwarding state that floods a segment.

Credential stuffing

IMAP
Credential attack

Passwords leaked from another breach are replayed against IMAP, which often lacks MFA.

IKE aggressive-mode offline crack

IPsec
Credential attack

A PSK hash captured from aggressive mode can be attacked offline, and a weak secret falls quickly.

Source address spoofing

IPv4
Spoofing

Packets carry a forged source address, hiding the sender and enabling reflection attacks.

Rogue router advertisement

IPv6
Spoofing

A forged Router Advertisement installs the attacker as the default gateway or DNS server for the segment.

IS-IS LSP injection

IS-IS
Spoofing

A rogue router forms an adjacency and floods link-state PDUs that distort the topology.

Open broker access

Kafka Protocol
Interception

A Kafka broker without authentication exposes topics, consumer offsets and produced records.

Kerberoasting

Kerberos
Credential attack

Any authenticated user can request a service ticket for an account with an SPN and crack its password offline.

Rogue link aggregation member

LACP
Interception

A device that speaks LACP can join a link aggregation group and receive a share of the bundled traffic.

LDAP filter injection

LDAP
Injection

Unescaped input in an LDAP filter can change the query logic and bypass authentication or expose entries.

LLDP neighbour spoofing

LLDP
Reconnaissance

Forged LLDP TLVs advertise a fake switch or phone identity, poisoning topology and inventory records.

Root key extraction and device impersonation

LoRaWAN
Credential attack

Keys extracted from a device allow an attacker to derive session keys and inject uplinks as that device.

Commissioning code brute force

Matter
Credential attack

A short commissioning window and a weak setup passcode can allow an attacker to commission a device into their fabric.

mDNS answer spoofing

mDNS
Spoofing

A forged multicast answer maps a local service name to the attacker address.

Unauthorised register write

Modbus TCP
Injection

Modbus has no authentication, so anyone who can reach port 502 can write coils or registers.

MPLS VPN label leak

MPLS
Interception

A misconfigured label stack or route target lets traffic from one VPN reach another.

Topic hijack and ACL gap

MQTT
Injection

A client that can subscribe to wildcards or publish to another device topic can forge sensor data or commands.

Unauthenticated publish

NATS
Injection

An open NATS client port lets anyone publish or subscribe to subjects used by the application.

Unauthorised configuration change

NETCONF
Feature abuse

Reused SSH credentials or an over-privileged account allows a NETCONF client to change device configuration.

NFC relay attack

NFC
Interception

Two devices forward APDUs in real time so a reader believes the card is present when it is far away.

AUTH_SYS identity spoofing

NFS
Interception

NFS with AUTH_SYS trusts the client to state its UID and GID, so a modified client can claim another identity.

Time spoofing and monlist amplification

NTP
Denial of service

Forged NTP replies shift a client clock, while legacy monlist queries amplify traffic.

Access token theft and scope abuse

OAuth 2.0
Credential attack

A leaked bearer token is replayed until it expires, and broad scopes widen the damage.

Anonymous endpoint exposure

OPC-UA
Feature abuse

An OPC UA server that allows anonymous sessions exposes tags and methods to anyone who can reach it.

Redirect URI abuse

OpenID Connect
Credential attack

A loose redirect URI allowlist sends the authorization code to an attacker-controlled endpoint.

OSPF LSA injection

OSPF
Spoofing

A rogue router forms an adjacency and floods false link-state advertisements into the area.

Cleartext credential capture

POP3
Interception

POP3 without TLS sends usernames and passwords in plaintext across the local network.

Stable connection ID tracking

QUIC
Reconnaissance

A connection ID that never changes lets an observer link a user across networks and sessions.

Shared secret capture and forgery

RADIUS
Credential attack

A weak RADIUS shared secret allows forged access requests or response tampering.

Unauthenticated Redis access

RESP (Redis)
Injection

Redis bound to a reachable interface without a password allows arbitrary commands, including writes and module loading.

RIP route injection

RIP
Spoofing

A forged RIP update advertises a shorter route for a prefix and attracts traffic to the attacker.

RTP media injection

RTP
Injection

An attacker who guesses the RTP ports and SSRC can inject audio or video into a call.

SAML signature wrapping

SAML 2.0
Injection

A forged assertion is inserted beside the signed one so the service provider validates the signature but reads the attacker attributes.

INIT flood

SCTP
Denial of service

A flood of spoofed INIT chunks consumes bandwidth and association table resources.

SFTP path traversal and weak credentials

SFTP
Injection

A misconfigured SFTP server or stolen credentials allow access outside the intended directory.

SIP registration hijack

SIP
Spoofing

Weak digest credentials allow an attacker to register as a user and route calls through the attacker.

NTLM relay

SMB
Interception

Coerced authentication is relayed to another SMB server that accepts NTLM, granting the attacker the victim session.

Sender spoofing and open relay

SMTP
Feature abuse

A misconfigured mail server relays mail for anyone or accepts a forged sender identity.

Community string guessing

SNMP
Credential attack

Devices left on the default public or private community expose configuration and statistics.

SPF misconfiguration abuse

SPF
Spoofing

A neutral all-qualifier or missing record lets anyone send mail claiming to be the domain.

Credential brute force

SSH
Credential attack

Automated guessing against exposed SSH services eventually finds a weak password.

STOMP header injection

STOMP
Injection

Unsanitised CRLF sequences in STOMP headers can create extra headers or split frames.

Spanning tree root takeover

STP
Spoofing

Faster BPDUs from an attacker make it the root bridge, pulling inter-switch traffic through its link.

SYN flood

TCP
Denial of service

Half-open connections exhaust the server backlog so legitimate clients cannot complete the handshake.

Telnet session hijack

Telnet
Interception

Telnet carries credentials and commands in plaintext, so an on-path attacker can read or take over a session.

Downgrade and rogue certificate

TLS 1.3
Downgrade

An on-path attacker strips modern TLS or presents a certificate the client should reject.

UDP amplification and reflection

UDP
Denial of service

Spoofed requests to open UDP services produce large responses aimed at the victim.

VLAN double tagging (hop)

VLAN
Feature abuse

A frame with two 802.1Q tags can cross a trunk port when the native VLAN is left untagged.

VRRP master takeover

VRRP
Spoofing

Forged advertisements with a higher priority make the attacker the virtual router master.

VXLAN VNI hopping

VXLAN
Injection

A host that can send VXLAN frames injects traffic into another VNI on the same underlay.

Unauthenticated file upload

WebDAV
Feature abuse

A writable WebDAV share accepts PUT requests and serves the uploaded content back to other users.

ICE candidate IP leak

WebRTC
Reconnaissance

ICE candidates can reveal local and public IP addresses to the remote peer before consent.

Cross-site WebSocket hijacking

WebSocket
Interception

A malicious page opens a WebSocket to a victim site and relies on the browser sending session cookies.

Evil twin access point

Wi-Fi (802.11)
Interception

A rogue access point reuses the corporate SSID and captures clients that associate with the stronger signal.

Stolen static key impersonation

WireGuard
Credential attack

A leaked private key lets an attacker impersonate a peer and use its allowed IPs.

S2 downgrade during inclusion

Z-Wave
Downgrade

A controller that accepts non-S2 inclusion lets an attacker join or impersonate a device with weaker security.

Default trust-centre key

Zigbee
Interception

Many Zigbee networks still use the well-known default trust-centre key, so an attacker can join and derive network keys.

How to use this library

  1. 1. Read the stepsEach scenario shows the precondition, the attack sequence and the impact.
  2. 2. Look for detectionEvery step lists what a defender or monitoring tool could observe.
  3. 3. Apply mitigationsToggle the defences to see which precondition the control removes.