TechKnowSurge
CompTIA Tech+ 6.4 Cisco CCNA 5.8 CompTIA Security+ 1.2
InteractiveSecurityFree

AAA Log Sorter

Sort raw log lines from TechKnowDJ's AAA server into Authentication, Authorization, or Accounting.

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

AAA stands for authentication, authorization, and accounting, and a real AAA server writes all three into the same log. This activity hands you lines from that log and asks one question of each: what was the system doing when it wrote this line? Authentication is proving who you are. A password being checked, a one-time code being requested, a device certificate being verified, a second factor being approved or timing out: each of these is the system deciding whether you really are the person or device you claim to be. A rejected password is an authentication failure, because the question that failed was about identity. Authorization is what you are allowed to do once your identity is settled. A switch permitting or denying a command, a user being placed on a particular VLAN, a VPN limiting a contractor to one network, a file share refusing a write because the account is read-only: each of these is a decision about permission, not about identity. The tricky lines are the ones that say no. "Command reload denied" sounds like a failed login, but the user was already logged in; the system knew exactly who they were and decided they could not do that. Likewise, a RADIUS Access-Accept that hands back a VLAN number looks like a login success, but the part the line is recording is where that user is allowed to go. Accounting is recording what happened. Session start and stop records, running totals of time and data, a log of the commands someone actually ran, a change log, a record of who opened a file, and saved document versions are all the accounting function: tracking what is happening and what is changing on the network. Because every line in this activity is a log entry, being logged is not the clue. Ask what the entry is about. A permit decision for a command is authorization; a record that the same command was run is accounting. The protocols carry all three. RADIUS uses Access-Request, Access-Challenge, Access-Accept and Access-Reject for its login exchange and separate Accounting-Request messages to record sessions. TACACS+, used for administrator access to network devices, labels its messages authen, author and acct. Diameter, the successor to RADIUS, has its own authentication answers and accounting requests. The protocol name alone never tells you the bin; the event does.

What you'll learn

Aligned to

CompTIA Tech+
6.4 Compare and contrast authentication, authorization, accounting, and non-repudiation concepts
Cisco CCNA
5.8 Compare authentication, authorization, and accounting concepts
CompTIA Security+
1.2 Summarize fundamental security concepts.

Key terms

Authentication, Authorization, and Accounting
AAA
Authentication, Authorization, and Accounting is a security framework that controls network access by verifying user identity, determining permitted actions, and logging activity for auditing and billing purposes.
Authentication
The process of verifying the identity of a user, device, or system.
Authorization
The process of determining what actions or resources an authenticated user is permitted to access.
Accounting
The tracking and logging of user activity, resource access, and system changes on a network for auditing and oversight purposes.
Remote Authentication Dial-In User Service
RADIUS
RADIUS is a client-server networking protocol that provides centralized authentication, authorization, and accounting management for users connecting to network access points or VPN services.
Terminal Access Controller Access-Control System Plus
TACACS+
A Cisco proprietary AAA protocol that encrypts the entire body of its messages and separates authentication, authorization, and accounting into independent functions, allowing granular control over each. TACACS+ uses TCP port 49 and is commonly used to authenticate administrator access to network devices.
Diameter
An AAA protocol designed as the successor to RADIUS, offering improved reliability, security, and support for modern network environments.

Topics

Interactive Categorize

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →