ProtoStackv0.1

Interactive Protocol Visualizer

Security & AuthProfessional trackIntermediateOSI: Application LayerDefault Port: UDP 1812 (auth) / 1813 (accounting)Standard: RFC 2865 / 2866

RADIUS

— Remote Authentication Dial-In User Service

RADIUS centralizes authentication, authorization, and accounting for dial-in, VPN, Wi-Fi, and switch access. A network access server forwards user credentials to a central RADIUS server, then applies the returned attributes such as an IP address, VLAN, or session timeout to the connection.

Read first: UDPContent reviewed 2026-11-18

Interactive Session: How RADIUS Works

Step through the packet exchange sequence between nodes.

Interactive Execution Sandbox

Interact with a live or clearly-labelled simulated instance of RADIUS.

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

Shared secret capture and forgery

Credential attack

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

Attackersimulated
RADIUStarget
Attack step 1 of 3
Capture traffic

The attacker records RADIUS packets between the NAS and server.

What a defender can see

RADIUS on plain UDP without a tunnel.

Impact if unmitigated

Unauthorised network access and policy bypass.

Defences that matter
  • Long random shared secrets
  • RADIUS over TLS or IPsec
  • MFA and accounting correlation

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

  • AAA model covering authentication, authorization, and accounting in one protocol
  • Attribute-value pairs such as Framed-IP-Address, Session-Timeout, and Filter-Id
  • User-Password hidden with MD5 over the shared secret and request authenticator
  • Accounting Start, Interim-Update, and Stop records on UDP port 1813

Real-World Use Cases

  • Enterprise Wi-Fi 802.1X authentication against a central user directory
  • VPN and dial-up remote access authorization
  • ISP and campus session accounting and quota enforcement

Advantages & Strengths

  • One central policy store for thousands of access devices
  • Widely supported by switches, wireless controllers, VPNs, and directories

Limitations & Vulnerabilities

  • Only the password field is hidden; the rest of the attributes travel in clear text
  • UDP transport means no delivery guarantee and only a modest 4096-byte packet limit