Cyber Trainer Passwords & Auth
Passwords & Auth · Chapter 01

Authentication basics

Before passwords, codes and passkeys, it helps to know exactly what authentication is, what counts as a "factor", and how systems decide what you're allowed to do once you're in.

Identification, authentication, authorisation, accounting

Access control is usually described as four steps. Security exams often call this IAAA; without identification it's the AAA model used by RADIUS and TACACS+.

StepQuestionExample
IdentificationWho are you claiming to be?Typing your username or email address. It's a claim only; anyone can type your email.
AuthenticationCan you prove it?Entering your password, approving a push notification, using a passkey.
AuthorisationWhat are you allowed to do?You can read the finance share but not edit it; you're not an admin.
Accounting (auditing)What did you do?Sign-in logs, file access logs, admin action history. This gives accountability.
Authentication isn't authorisationMany breaches happen after a correct sign-in, because the account had more permissions than it needed. That's why least privilege matters as much as strong authentication.

Authentication factors

A factor is a category of evidence. There are three classic types and two newer, supporting ones:

🧠 Something you know

Password, passphrase, PIN, answer to a security question. Easy to share, guess, phish or reuse.

📱 Something you have

Phone with an authenticator app, hardware security key, smart card, bank card reader. Has to be stolen or tricked out of you.

👆 Something you are

Biometrics: fingerprint, face, iris, voice. Can't be changed if compromised, so best used locally to unlock something else.

📍 Somewhere you are

Location: IP address, country, GPS, corporate network. Used as a signal, not as a factor on its own.

⌨️ Something you do

Behaviour: typing rhythm, mouse movement, how you hold your phone. Used for risk scoring.

Multi-factor means different typesPassword plus a security question is still one factor type (two things you know), so it's not MFA. Password plus a code from your phone is MFA: something you know and something you have.
Sort the factors

Pick the factor type for each item. Some are deliberately tricky.

Biometrics and error rates

Biometric systems compare a fresh scan with a stored template and decide whether they're "close enough". That threshold creates two kinds of error:

Tune a fingerprint reader

Turning sensitivity up blocks impostors but locks out more real users. High-security sites (a data centre door) run high sensitivity. A phone unlock runs lower and adds a PIN as a fallback.

Authorisation models

Once you're authenticated, an access control model decides what you can do:

ModelWho decidesTypical use
DAC (Discretionary)The owner of each resource sets who can access it.Sharing a file in Windows, OneDrive or Google Drive.
MAC (Mandatory)The system enforces labels (e.g. Official, Secret) and clearances. Users can't override it.Military and government systems, SELinux.
RBAC (Role-based)Permissions belong to roles; users get roles.Most businesses: "Finance", "Helpdesk", "HR".
ABAC (Attribute-based)Rules combine attributes of the user, resource and context."Managers can approve expenses for their own team, during working hours, from a managed device." Zero-trust platforms.
Rule-basedGlobal rules apply to everyone.Firewall rules, time-of-day restrictions.

Two principles apply whatever the model: least privilege (only the access needed for the job) and separation of duties (no single person can both raise and approve a payment).

How strong is "strong enough"? Assurance levels

The US standard NIST SP 800-63B (Revision 4, 2025) is widely used as a benchmark worldwide. It defines three Authenticator Assurance Levels:

LevelRequiresSuits
AAL1Single-factor or multi-factor. A password alone is allowed, but must be at least 15 characters.Low-risk accounts.
AAL2Two distinct factors, and the service must offer at least one phishing-resistant option.Most accounts holding personal or business data.
AAL3A hardware-based, phishing-resistant authenticator plus a second factor.High-value systems: admin access, finance, government.

In the UK, the NCSC gives equivalent practical advice: use strong, unique passwords (or passkeys), turn on 2-step verification, and use a password manager. You'll see both throughout this guide.

Knowledge check