RADIUS
— Remote Authentication Dial-In User ServiceRADIUS 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.
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
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
Shared secret capture and forgery
Credential attackA weak RADIUS shared secret allows forged access requests or response tampering.
Capture traffic
The attacker records RADIUS packets between the NAS and server.
RADIUS on plain UDP without a tunnel.
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