3A ของ AAA (Authentication, Authorization, Accounting)
- Authentication (การยืนยันตัวตน) – ยืนยันว่าคุณคือใคร (Username/Password, Certificate, MFA, Biometrics)
- Authorization (การอนุญาต) – กำหนดว่าคุณทำอะไรได้บ้าง (RBAC, ACL, Permissions)
- Accounting (การบันทึกบัญชี/ตรวจสอบ) – บันทึกกิจกรรม: ใคร ทำอะไร เมื่อไหร่ นานแค่ไหน (Logging, Auditing, Billing)
องค์ประกอบหลักของ AAA
Authentication, Authorization, Accounting – ไม่มีองค์ประกอบอื่นเพิ่มเติมในโมเดล AAA มาตรฐาน
ขั้นตอนการตั้งค่า AAA (Cisco)
aaa new-model- กำหนด AAA Server (TACACS+ หรือ RADIUS)
- สร้าง Method Lists (Authentication, Authorization, Accounting)
- นำ Method Lists ไปใช้กับ Lines (Console, VTY, AUX)
Network Authentication ที่ใช้ AAA Server
- 802.1X (Port-based Network Access Control)
- VPN (Remote Access)
- Device Administration (SSH/HTTPS to Router/Switch/Firewall)
- Wireless (WPA2/3-Enterprise)
AAA Model ในความปลอดภัยคอมพิวเตอร์
กรอบงาน: Identify (AuthN) > Permit (AuthZ) > Record (Acct) > Audit/Bill
AAA Server ทำหน้าที่อะไร?
- Centralized Authentication (Single Source of Truth)
- Policy-based Authorization
- Accounting Logs สำหรับ Billing, Compliance, Forensics
3 ส่วนประกอบของกระบวนการ AAA Access Control
Authentication, Authorization, Accounting – เหมือนด้านบน
RADIUS vs TACACS+
| คุณสมบัติ | RADIUS | TACACS+ |
|---|---|---|
| Standard | Open (IETF) | Cisco Proprietary |
| Transport | UDP | TCP |
| Encryption | Password only | Entire Payload |
| Auth & AuthZ | Combined | Separate |
| ใช้กับ | Network Access (802.1X, VPN) | Device Admin (CLI) |
AAA ใน Cisco Configuration
แทน Line Password + Enable Secret ด้วย Granular Control: aaa authentication login default group radius local เป็นต้น
ตั้งค่า AAA Server
Admin > Services > AAA Servers > Create New > Type: Active Directory / RADIUS / TACACS+ / LDAP
ตัวอย่าง AAA Servers
- AN-AAA (Access Network AAA) – สำหรับ Radio Access Network
- B-AAA (Broker AAA) – Roaming Partners
- H-AAA (Home AAA) – Home Network
โปรโตคอลสำหรับ AAA ของ Network Devices
RADIUS เป็นมาตรฐานสำหรับ Network Access AAA (802.1X, VPN) TACACS+ สำหรับ Device Administration