Windows Authentication
& Security Controls
Understand how Windows verifies identities, manages access permissions, and enforces security policies to protect systems and data.
What Is Authentication?
Authentication is the process of verifying that a user is who they claim to be. Before Windows grants access to any resource, it must confirm the user's identity through credentials: something you know, something you have, or something you are.
Authentication vs Authorization
Why Windows Security Matters
Windows runs on over 1 billion devices worldwide. This makes it the single largest target for attackers. Understanding its authentication and security controls is the foundation of defending any organization.
The Authentication Architecture
NTLM vs Kerberos
| NTLM | Kerberos | |
|---|---|---|
| Type | Challenge-response | Ticket-based |
| Trust Model | Direct server verification | Trusted third party (KDC) |
| Mutual Auth | No | Yes |
| Speed | Slower (per-request) | Faster (cached tickets) |
| Security | Weaker (pass-the-hash) | Stronger (time-limited) |
| Default Since | Windows NT | Windows 2000+ |
How Kerberos Works
Core Security Controls
User Account Control (UAC)
Access Control Lists (ACLs)
Every file, folder, and registry key in Windows has a security descriptor that contains an ACL. The ACL is a list of Access Control Entries (ACEs), each specifying what a particular user or group can do.
Group Policy in Action
Group Policy Objects (GPOs) let administrators enforce security settings across an entire domain from one central location. They cascade down through the hierarchy: Local → Site → Domain → OU.
How Windows Stores Passwords
Windows never stores passwords in plain text. Instead, it stores a hash: a one-way mathematical transformation. When you log in, Windows hashes your input and compares it to the stored hash.
Example: Analyzing a Login Event
Scenario: You see Event ID 4625 in the Windows Security Log. This is a failed login attempt. How do you analyze it?
Example: Password Policy Configuration
Scenario: You need to configure a Group Policy password policy for a small business. What settings do you choose?
| Setting | Weak Policy | Strong Policy |
|---|---|---|
| Minimum Length | 6 characters | 12+ characters |
| Complexity | Disabled | Uppercase + number + symbol |
| Max Age | Never expires | 90 days |
| Lockout Threshold | None | 5 failed attempts |
| History | 0 remembered | 12 remembered |
Example: Compromised Account Response
Scenario: An employee reports they received a password-reset email they didn't request. Their account shows logins from an unfamiliar IP at 3:00 AM. What do you do?
Common Mistakes
Security Controls Summary
| Control | Purpose | Key Tool / Location |
|---|---|---|
| Authentication | Verify identity | Kerberos, NTLM, LSASS |
| UAC | Limit privilege escalation | Control Panel > UAC Settings |
| ACLs | File/resource permissions | File Properties > Security |
| Group Policy | Centralized enforcement | gpedit.msc / GPMC |
| Windows Firewall | Network traffic filtering | wf.msc |
| BitLocker | Data-at-rest encryption | manage-bde / Control Panel |
| Event Logs | Audit and detection | eventvwr.msc (IDs 4624/4625) |
Hardening a Windows System
Question 1 of 5
What is the primary difference between authentication and authorization?
Question 2 of 5
Which Windows component is responsible for validating user credentials during the login process?
Question 3 of 5
Why is Kerberos considered more secure than NTLM?
Question 4 of 5
An employee's account shows 300 failed login attempts in 10 minutes, all from an external IP address. Which security control would have prevented this attack from continuing?
Question 5 of 5
In a Windows ACL, what happens when a user belongs to a group with an Allow rule and also matches a Deny rule for the same resource?