802.1X, EAP and RADIUS are named together so often that teams treat them as one protocol, and that confusion causes most failed rollouts and many weak configurations. They are three layers: IEEE 802.1X controls the switch port or wireless association, EAP carries the authentication conversation, and RADIUS moves that conversation from the network device to a policy server. This guide explains the roles, the packet flow, the main EAP methods, how directory backends such as LDAP and Active Directory limit which methods you can use, and how certificate-based device authentication fits. It is for network, identity and security engineers who need the model clear before they troubleshoot, harden RADIUS or choose between EAP methods.
Key takeaways
- Three standards, three jobs. 802.1X is port control and EAP transport on the LAN (EAPOL), EAP is the authentication framework, and RADIUS is the AAA protocol between the network device and the server.
- The switch or access point is a pass-through. In most deployments the authenticator never sees credentials; it relays EAP and acts on the RADIUS Accept or Reject.
- The EAP method decides your security. EAP-TLS with device certificates gives mutual certificate authentication; PEAP-MSCHAPv2 rests on a password and on clients validating the server certificate.
- The backend decides which methods work. An LDAP bind can only check a plaintext password, so MSCHAPv2 needs an NT hash or a domain join, while EAP-TLS needs PKI rather than passwords.
- RADIUS itself needs hardening. Classic RADIUS over UDP relies on MD5 and a shared secret; Blast-RADIUS (CVE-2024-3596) is why Message-Authenticator must be required and RADIUS over TLS planned.
The three roles and three protocols
RFC 3748 defines EAP with three parties: the peer, the authenticator and the backend authentication server. IEEE 802.1X calls the peer the supplicant. The same three boxes appear in every wired, Wi-Fi and many VPN deployments.
| Role | Typical component | Protocol it speaks | What it decides |
|---|---|---|---|
| Supplicant (EAP peer) | Laptop, phone, printer, IP phone; the OS 802.1X client | EAP over LAN (EAPOL) to the authenticator | Which identity and credential to present, and whether to trust the server |
| Authenticator | Switch port, wireless access point or controller, VPN gateway (the RADIUS client or NAS) | EAPOL to the supplicant, RADIUS to the server | Opens or keeps the port blocked, applies VLAN or ACL returned by the server |
| Authentication server | RADIUS server or network policy engine (NPS, FreeRADIUS, a NAC platform) | RADIUS to the authenticator; LDAP, Kerberos, SQL or PKI checks to backends | Runs the EAP method, checks the credential and policy, returns Accept or Reject plus attributes |
| Identity backend | Active Directory, LDAP directory, certificate authority, MDM | LDAP, Kerberos, OCSP or CRL, vendor APIs | Whether the user or device exists, its groups, certificate status |
- IEEE 802.1X: the IEEE port-based network access control standard, currently IEEE 802.1X-2020 (active, published February 2020, with a 2026 corrigendum listed). It defines the controlled port, EAPOL framing and, for wired encryption, MACsec Key Agreement used with IEEE 802.1AE.
- EAP: RFC 3748 (Standards Track, June 2004). A framework, not a method: it defines Request, Response, Success and Failure messages and method types, and runs directly over the link layer.
- RADIUS: RFC 2865 (Standards Track, June 2000) on UDP port 1812, with RFC 3579 describing how EAP rides inside RADIUS in the EAP-Message attribute (type 79), protected by Message-Authenticator (type 80).
The common question "802.1X or RADIUS?" therefore has no answer: 802.1X needs an authentication server, and in practice that server is reached over RADIUS. RADIUS also authenticates things that are not 802.1X, such as VPN logins and administrator logins to network devices.
How an 802.1X authentication flows
- Link up: the device connects. The port is in the unauthorised state and passes only EAPOL frames.
- Identity: the authenticator sends EAP-Request/Identity; the supplicant answers with an identity (ideally an anonymous outer identity such as
[email protected]). - Relay: the authenticator copies the identity into the RADIUS User-Name attribute and sends an Access-Request carrying the EAP packet in EAP-Message, plus NAS-Port, NAS-Identifier and Message-Authenticator.
- Method negotiation: the server answers with Access-Challenge containing the next EAP request (for example, start EAP-TLS). The supplicant may reply with a Nak listing the methods it supports. RFC 3748 allows only one method per conversation.
- Method exchange: several Access-Request and Access-Challenge round trips carry the TLS handshake or inner exchange. The authenticator does not interpret them.
- Decision: the server returns Access-Accept with EAP-Success, or Access-Reject with EAP-Failure. RFC 3748 requires a pass-through authenticator to base the outcome solely on the Accept or Reject indication.
- Authorisation and keys: Access-Accept can carry a VLAN, a downloadable ACL or a session timeout, and for Wi-Fi the keying material that seeds WPA2 or WPA3 Enterprise encryption between supplicant and access point.
Troubleshooting follows this order. A failure before step 3 is a supplicant or switch configuration issue; a failure that ends in Access-Reject is a server, method or backend issue. See the 802.1X Authentication Troubleshooting Guide.
EAP methods compared
EAP method numbers come from the IANA EAP registry. The methods below cover nearly all enterprise use.
| Method | How the client proves itself | Server authenticated by | Main risk | Status |
|---|---|---|---|---|
| EAP-TLS (type 13) | Client certificate and private key | Server certificate | PKI operations: issuance, renewal, revocation checking | RFC 5216; TLS 1.3 profile in RFC 9190 |
| PEAP with EAP-MSCHAPv2 (types 25 and 26) | Username and password inside a TLS tunnel | Server certificate | Clients that do not validate the server certificate expose MSCHAPv2 exchanges to rogue access points | Microsoft MS-PEAP specification |
| PEAP-TLS | Client certificate inside the PEAP tunnel | Server certificate | Same PKI work as EAP-TLS | Microsoft MS-PEAP specification |
| EAP-TTLS with PAP (type 21) | Password inside a TLS tunnel | Server certificate | Server sees the plaintext password; same certificate validation need | RFC 5281; TLS 1.3 use in RFC 9427 |
| TEAP (type 55) | Certificate, password or both chained (user and machine) | Server certificate | Supplicant and server support still uneven | RFC 9930 (February 2026), obsoleting RFC 7170 |
| EAP-MD5 (type 4) | Password challenge | Not authenticated | No mutual authentication, no keys for Wi-Fi, offline dictionary attack | RFC 3748; avoid |
EAP-TLS vs PEAP
- Choose EAP-TLS for managed devices where you can deploy certificates through Intune, Group Policy autoenrolment or another MDM. There is no reusable password to phish, and Microsoft recommends moving from PEAP-MSCHAPv2 and EAP-MSCHAPv2 to certificate-based authentication such as PEAP-TLS or EAP-TLS.
- PEAP-MSCHAPv2 remains where devices are unmanaged or PKI does not exist. Microsoft notes that MSCHAPv2 is subject to attacks similar to NTLMv1, and on Windows with Credential Guard enabled, MSCHAPv2 credentials cannot be saved for single sign-on. Treat it as a migration stage, and enforce server certificate validation with a pinned CA and server name on every client.
- EAP-TTLS/PAP suits password backends that only allow an LDAP bind. It depends entirely on the TLS tunnel and server certificate validation.
For the deployment detail of certificate-based Wi-Fi, see the 802.1X and EAP-TLS Enterprise Wi-Fi Guide. For devices that cannot run a supplicant, see 802.1X EAP TLS vs MAB.
RADIUS and LDAP or Active Directory backends
"RADIUS vs LDAP" is another false choice. RADIUS is how the network device asks; LDAP is one way the RADIUS server looks up the answer. What matters is which password form the backend can give the server, because each method needs a specific form. The FreeRADIUS documentation states that PAP is the only protocol compatible with an LDAP "bind as user", that CHAP needs the cleartext password, and that MS-CHAP (including PEAP-MSCHAPv2) needs the cleartext password or an NT hash.
| Backend | What the RADIUS server can do | Methods that work | Notes |
|---|---|---|---|
| Generic LDAP directory, bind only | Bind as the user with the supplied password | PAP, EAP-TTLS/PAP | Use LDAPS or StartTLS for the bind |
| LDAP returning a password attribute | Read the stored password and compare | Depends on the stored form; MSCHAPv2 needs an NT hash | Storing reversible or NT hashes widens directory exposure |
| Active Directory | LDAP bind for PAP; domain-joined server (NPS, or winbind and ntlm_auth) for MSCHAPv2 | PAP, EAP-TTLS/PAP, PEAP-MSCHAPv2 | AD does not return passwords over LDAP; group lookups use LDAP |
| Certificate authority and directory | Validate the client certificate chain and revocation, then map the certificate to a user or device object for authorisation | EAP-TLS, PEAP-TLS, TEAP | No password needed; authorisation still needs a directory or MDM lookup |
The RADIUS server also holds powerful machine credentials: an LDAP service account for group lookups, a computer account if domain-joined, and the shared secret for every network device. Protect them as non-human identities. See the LDAP Security Deep Dive Guide.
Certificate-based device authentication
Device certificates turn 802.1X from "who is the user" into "is this a managed device". The pattern is the same whether the backend is NPS, FreeRADIUS or a NAC platform.
- Issuance: issue a device certificate from an internal or cloud CA through MDM (SCEP or PKCS profiles) or autoenrolment, with the private key in the TPM or secure enclave where possible. See How to deploy device certificates with Intune.
- Server trust on the client: RFC 9190 says peers should be configured with trusted root CAs and expected server names to match against the subject alternative name, and discourages trust on first use. Push this in the Wi-Fi or wired profile; never let users accept a certificate prompt.
- Revocation: RFC 9190 requires revocation checking of the chain for EAP-TLS with TLS 1.3, and servers must support OCSP stapling. On the RADIUS side, make sure CRLs or OCSP are reachable and decide whether an unreachable responder fails open or closed.
- Mapping to identity: authorise on attributes you control, for example device ID in the SAN mapped to a directory or MDM record, not just "signed by our CA".
- Machine and user: machine authentication gives access before logon; TEAP can chain machine and user credentials in one conversation where both sides support it.
- TLS version: EAP-TLS with TLS 1.3 (RFC 9190) encrypts the client certificate, improving privacy; confirm supplicant and server support before enforcing it.
Securing the RADIUS leg
Classic RADIUS authenticates server responses with an MD5 construction over the shared secret and hides User-Password with MD5, as RFC 2865 defines. The Blast-RADIUS research (CVE-2024-3596) showed that a network attacker between client and server can forge an Access-Accept for a rejected request. The researchers report that non-EAP authentication such as PAP over RADIUS/UDP is vulnerable by default, while EAP traffic is generally protected in practice because RADIUS EAP packets carry Message-Authenticator.
| Control | What it does | Priority |
|---|---|---|
| Patch servers, then clients | Vendor updates add options to send and require Message-Authenticator | Now |
| Require Message-Authenticator on all requests and responses | Blocks forged responses; the researchers advise it as the first attribute in Access-Accept and Access-Reject | Now; test old devices first |
| Isolate RADIUS traffic | Management VLANs or VRFs so an attacker cannot sit on the path | Now |
| RADIUS over TLS (RadSec) or DTLS | Encrypts and authenticates the whole exchange with TLS | Plan; mandatory across untrusted networks |
| Unique, long shared secrets per client | Limits the damage of one leaked secret (RFC 2865 asks for at least 16 octets); the researchers note it does not stop Blast-RADIUS | Hygiene |
Standards are moving. As checked in November 2026, the IETF RADEXT working group's RADIUS over (D)TLS update (draft-ietf-radext-radiusdtls-bis) is a Proposed Standard in the RFC Editor queue, RFC 9765 (RADIUS/1.1, April 2025) is Experimental, and draft-ietf-radext-deprecating-radius, on deprecating insecure practices, is an active Internet-Draft. Draft details can still change. See the RADIUS Security Guide.
Detection and measurement
- Server logs: record every Access-Accept and Access-Reject with NAS, port, outer identity, EAP method and certificate subject. On Windows NPS, the Security log events 6272 (access granted) and 6273 (access denied) carry the reason code.
- Accept versus reject reconciliation: the Blast-RADIUS researchers suggest comparing server Access-Reject logs with client-side Access-Accept logs; a mismatch is a red flag.
- Method drift: alert when a device class that should use EAP-TLS authenticates with PEAP-MSCHAPv2 or falls back to MAB.
- Rogue access point indicators: repeated server certificate validation failures on clients, or a spike of MSCHAPv2 failures from one location.
| Metric | Why it matters |
|---|---|
| Share of authentications using certificate-based methods | Tracks movement off reusable passwords |
| Ports or SSIDs in monitor or open mode | Open mode logs but does not enforce |
| RADIUS clients that require Message-Authenticator | Blast-RADIUS exposure |
| RADIUS traffic carried over TLS | Progress to protected transport |
| Client profiles with server name and CA pinned | Protection against rogue access points for tunnelled methods |
Framework mapping
| Framework | Reference | Where 802.1X, EAP and RADIUS fit |
|---|---|---|
| NIST SP 800-53 Rev. 5 | IA-3 Device Identification and Authentication | Device certificates and machine authentication before network access |
| NIST SP 800-53 Rev. 5 | IA-2, IA-5 | User authentication and management of passwords, certificates and shared secrets |
| NIST SP 800-53 Rev. 5 | AC-18 Wireless Access, AC-17 Remote Access, SC-8 | Enterprise Wi-Fi, VPN authentication, protection of RADIUS in transit |
| NIST CSF 2.0 | PR.AA-03, PR.IR-01 | Users, services and hardware authenticated; networks protected from unauthorised access |
| MITRE ATT&CK | T1557 Adversary-in-the-Middle, T1040 Network Sniffing, T1110 Brute Force | Rogue access points and RADIUS path attacks, password guessing against PEAP |
Common failure patterns
- Clients that do not validate the server certificate: PEAP or TTLS profiles that accept any certificate let a rogue access point collect credentials.
- Treating the switch as the authenticator of credentials: teams debug the switch when the reject reason sits in the RADIUS server log.
- Choosing a method the backend cannot serve: PEAP-MSCHAPv2 against an LDAP directory that only supports bind, then storing reversible passwords to make it work.
- Monitor mode forever: 802.1X deployed in open or monitor mode for a pilot and never enforced.
- One shared secret everywhere: a single RADIUS secret on hundreds of switches, never rotated, and RADIUS on routed networks without Message-Authenticator required.
- Revocation ignored: EAP-TLS deployed without working CRL or OCSP, so lost or retired devices keep network access.
Practitioner checklist
- Document which component plays supplicant, authenticator and server for every wired, wireless and VPN path.
- Pick the EAP method per device class: EAP-TLS for managed devices, a planned exit for PEAP-MSCHAPv2, MAB only with compensating controls.
- Confirm the backend can serve the chosen method before rollout (bind, NT hash, domain join or PKI).
- Push client profiles that pin the CA and the server name; disable user prompts to trust new certificates.
- Make CRL or OCSP reachable from RADIUS servers and decide fail-open or fail-closed behaviour.
- Patch RADIUS servers and network devices and require Message-Authenticator on every client.
- Use unique, long shared secrets per RADIUS client and plan RADIUS over TLS for traffic crossing untrusted links.
- Forward RADIUS and NPS events to the SIEM and alert on method drift and accept or reject mismatches.
Standards and references
- IEEE: 802.1X-2020 Port-Based Network Access Control
- IETF: RFC 3748 Extensible Authentication Protocol (EAP)
- IETF: RFC 2865 Remote Authentication Dial In User Service (RADIUS)
- IETF: RFC 3579 RADIUS Support for EAP
- IETF: RFC 9190 EAP-TLS 1.3
- Blast-RADIUS researchers: RADIUS/UDP Considered Harmful (CVE-2024-3596)
- Microsoft Learn: Credential Guard considerations and known issues
- FreeRADIUS: Authentication with LDAP
Related NHI Mgmt Group resources: RADIUS Security Guide · 802.1X and EAP-TLS Enterprise Wi-Fi Guide · 802.1X Authentication Troubleshooting Guide · Network Access Control (NAC) Guide