Pcornel
Security · Security Fundamentals

AAA (Authentication, Authorization and Accounting)

Cheat sheet · https://pcornel.dk/topic.php?topic=413

Back to the Topic

Answer

AAA — authentication, authorization, accounting — is the framework that makes a network device ask a central server (RADIUS or TACACS+) who may log on, with which rights, and records what they did.

Remember

The next method in a list is tried only when the server gives no answer — a reject is final. Keep a tested local account as fallback, a second session open while changing AAA, and consider reload in 10. Authentication and authorization are configured separately.

First checks

  • show aaa servers (Cisco) — AAA server status
  • test aaa group tacacs+ <user> <pw> new-code — test authentication
  • Get-WinEvent -LogName Security -MaxEvents 20 — Windows authentication/audit events

Commands

show aaa servers
test aaa

Verify in this order

user → authenticate → authorise → act → account (log)

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Security Fundamentals → AAA proof map

Evidence boundaryWhat to establishWhat it does not establish
Scope and contextAsset, owner, subject, action, data flow, time and expected security outcomeDoes not prove the inventory, threat model or business assumptions are complete
Design and effective stateIntended policy/control plus the identity, configuration, coverage and dependencies actually in forceConfiguration presence does not prove consistent enforcement or operating effectiveness
Outcome evidenceAllowed, denied, failure and recovery tests correlated with telemetryOne successful test does not prove every path, time or attacker condition
AcceptanceGap, residual risk, owner, review trigger and retest result are recordedAcceptance does not remove the risk or make it permanent

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=413

Confirmation

Confirm action

Continue?