🧠 Understanding the Security Brain
Every time you log into any system—whether it's your company email, a cloud application, or a secure server—the AAA Framework is working behind the scenes. Think of it as the "Security Brain" that answers three critical questions: Who are you? What are you allowed to do? What did you do?
Identification
Definition: The process of claiming an identity within a system. This is simply stating "I am [username]" — no proof required yet.
Real-World Examples
- Username: [email protected]
- Employee ID: EMP-12345
- Badge number: 4056
- Smart card serial number
- SSH key fingerprint
Why This Matters
When you enter your username, the system doesn't know if you're actually that person. You're just claiming an identity. Attackers exploit this by discovering valid usernames through enumeration attacks.
🛡️ Mitigation Controls
- Implement generic error messages ("Invalid credentials" vs "User not found")
- Use rate limiting on login attempts to prevent username enumeration
- Consider email-based identifiers over predictable usernames
- Log all identification attempts for forensic analysis
- Implement CAPTCHA after failed attempts
Authentication
Definition: The process of proving the claimed identity is valid. This answers "Can you prove you are who you say you are?"
Authentication Factors
- Something you KNOW (password, PIN, security question)
- Something you HAVE (phone, hardware token, smart card)
- Something you ARE (fingerprint, face, iris)
- Somewhere you ARE (geolocation, IP address)
- Something you DO (typing pattern, behavior)
Enterprise Context
Modern enterprises require Multi-Factor Authentication (MFA) combining 2+ factors from different categories. A password + security question is NOT true MFA because both are "something you know."
🛡️ Mitigation Controls
- Enforce MFA for all privileged accounts (no exceptions)
- Implement phishing-resistant MFA (FIDO2, hardware keys)
- Use adaptive/risk-based authentication
- Set password complexity and rotation policies
- Implement account lockout after X failed attempts
- Deploy passwordless authentication where possible
Authorization
Definition: Determining what actions a verified identity is permitted to perform. This answers "Now that I know who you are, what can you do?"
Authorization Examples
- Read access to production database
- Write access to shared folders
- Execute permissions on scripts
- Approval authority for expenses up to $10,000
- Admin rights to specific applications
The Critical Distinction
Authentication confirms IDENTITY. Authorization defines PERMISSIONS. Many breaches occur because systems authenticate users correctly but grant excessive permissions (authorization failures).
🛡️ Mitigation Controls
- Implement Role-Based Access Control (RBAC)
- Conduct quarterly access reviews
- Apply Least Privilege principle religiously
- Use Attribute-Based Access Control (ABAC) for complex scenarios
- Implement Just-In-Time (JIT) access for privileged operations
- Document all authorization decisions
Accounting (Auditing)
Definition: Recording all identity-related activities for compliance, forensics, and security monitoring. This answers "What did they do and when?"
What Gets Logged
- Login success/failure events with timestamps
- Resource access attempts (granted and denied)
- Privilege escalation events
- Configuration changes
- Session duration and termination
Compliance Requirement
Regulations like SOX, HIPAA, PCI-DSS, and GDPR mandate specific audit logging requirements. Without proper accounting, you cannot prove compliance or investigate security incidents.
🛡️ Mitigation Controls
- Centralize logs in SIEM (Splunk, ELK, QRadar)
- Implement tamper-evident logging
- Set log retention policies per compliance requirements
- Create alerts for anomalous behavior patterns
- Ensure logs include WHO, WHAT, WHEN, WHERE, HOW
- Protect log integrity with write-once storage
📊 AAA Framework Flow Diagram
▼💡 Why All Four Components Matter
Remove any one component and your security crumbles:
- No Identification: System can't distinguish between users
- No Authentication: Anyone can claim to be anyone
- No Authorization: Authenticated users can access everything
- No Accounting: No visibility into who did what (compliance failures)