Security Basics Pap, Chap, Eap Radius Examples
Security Basics Pap, Chap, Eap Radius Examples
•Introduction
•Security basics
•PAP, CHAP, EAP
•Radius
•Examples
AAA
•AAA
– Authentication, Authorization, Accounting
– RFC 2903 (Generic AAA Architecture)
– RFC 2904 (AAA Authorization Framework)
•AAAA
– AAA and Auditing
AAA Server
Network
User
Access
Server (NAS)
Scenarios: Mobile Dial-In
Network
User
Access
Server (NAS)
USER SERVICE ORGANIZATIONS
ISP A
User NETWO
RK
ACCESS
SERVER RADIUS
AAA USER HOME ORGANIZATIONS
User S
RADIUS
Internet AAA
AAA
ISP B
User NETWO RADIUS
RK
ACCESS
SERVER RADIUS
AAA
User S
Internet
Generic AAA Architecture (RFC2903)
Policy
The point where the policy
Enforcement
Point decisions are actually enforced.
1
AAA AAA
1 AAA
2
User User 2 4 2
1 3 User
3 3
4 Service
4 Service Service
AAAA
•Authentication
– Are you who you say you are?
•Authorization
– Are you allowed to do what you want to do?
•Accounting
– Keeping track of who is using how much of each
resource
•Auditing/Accountability
Authentication
•Challenge-response
– Require proof of password, ownership,
computational capability, perception, ..
•Shared secret
– Symmetric key in cryptography
– Never sent over the network
– Requires a way to derive keys
• Key negotiation protocols
– Diffie-Hellman
Strong
No username or password
Weak
Low High
Ease of use
Need to know the message,
Digital Signatures digest, and algorithm (f.e.
SHA1)
Message
Message Message
Digest Digest
SIGN VERIFY
Signature Pass/Fail
Encrypt Decrypt
Application Application
Physical Physical
Attacks against authentication
•Resource exhaustion
– Any exhaustion attack on resources
Eavesdropping
•Many techniques
– Physical presence
– Token-based authorization
– PKI-based authorization
User Server
Hash(password,challenge)
Ack
EAP
•Extensible Authentication Protocol (EAP) is defined in RFC
3748
Source: http://upload.wikimedia.org/wikipedia/commons/6/63/8021X-Overview.png
Radius
•A client-server protocol
– Network Access Server (NAS) is the client
– Radius Server is a server
Radius
User NAS
server
Hash(password,challenge)
Hash(password,challenge)
Ack
Ack
Steps
•Reliability
– UDP not reliable, accounting info may be lost
•Mobility support
•Security
– Applied usually in trusted network segments or
Summary