Video
The video for this chapter is not available yet.
Exam domains and objectives covered
Domain 3: Security Architecture and Engineering Main domain
- 3.7 Understand methods of cryptanalytic attacks
Domain 5: Identity and Access Management (IAM)
- 5.4 Implement and manage authorization mechanisms
- 5.5 Manage the identity and access provisioning lifecycle
- 5.6 Implement authentication systems
Objectives are numbered as in the official ISC2® CISSP exam outline.
Learning objectives
By the end of this chapter you should be able to:
- Distinguish permissions, rights and privileges, and explain the main authorisation mechanisms
- Compare discretionary, role-based, rule-based, attribute-based, mandatory and risk-based access control
- Explain policy engines, policy administrators and enforcement points in a zero trust architecture
- Describe SAML, OAuth 2.0, OpenID Connect and Kerberos, and when each is used
- Compare RADIUS and TACACS+
- Recognise privilege escalation, password attacks, pass the hash and Kerberos exploitation, and how to stop them
Key topics
- Permissions, rights and privileges
- Implicit deny, ACLs and capability lists
- Content- and context-dependent control
- DAC and nondiscretionary models
- RBAC, rule-based and ABAC
- MAC, labels and lattices
- Risk-based access control
- Zero trust: PDP and PEP
- SAML, OAuth 2.0, OIDC
- Kerberos
- RADIUS and TACACS+
- Privilege escalation, su and sudo
- Password attacks, salts and peppers
- Pass the hash and Kerberos attacks
Chapter notes
Chapter overview
Once someone has proven who they are, the system must decide what they’re allowed to do, and keep watching. This chapter compares the access control models, explains how zero trust enforces decisions, walks through the protocols behind modern single sign-on and remote access (SAML, OAuth, OIDC, Kerberos, RADIUS and TACACS+), and then turns to the attacks that target authentication and authorisation, from password spraying to golden tickets.
Key concepts
Permissions, rights and privileges
- Permissions govern what you can do to an object: read, write, delete or execute a file.
- Rights govern the ability to take an action on a system, such as changing the system time or restoring backups.
- Privileges combine rights and permissions; an administrator has full privileges.
Authorisation mechanisms
| Mechanism | How it works |
|---|---|
| Implicit deny | Anything not explicitly granted is refused (deny by default) |
| Access control matrix | A table of subjects, objects and what each subject may do to each object |
| ACL | Object-focused: the list of who may access one object and how |
| Capability list | Subject-focused: the objects one subject may access, often held as tokens or keys |
| Constrained interface | Hides or greys out functions the user isn’t allowed to use |
| Content-dependent control | Decides by what the data contains, such as a database view exposing only some columns |
| Context-dependent control | Decides by circumstances, such as completing checkout before downloading, or time of day |
These put three principles into practice: need to know (access only to the information a task needs, even if cleared for more), least privilege (only the rights and permissions a job needs) and separation of duties (sensitive functions split across people). Senior leadership sets the requirements in a security policy; professionals decide how to implement them.
Access control models
| Model | How access is decided | Typical example |
|---|---|---|
| Discretionary (DAC) | The object’s owner (or delegated custodian) sets permissions in ACLs | File permissions in NTFS |
| Role-based (RBAC) | Permissions attach to roles based on job functions; users get roles | Windows® groups, application roles |
| Rule-based | Global rules apply equally to every subject | Firewall rule sets ending in deny-all |
| Attribute-based (ABAC) | Policies evaluate many attributes of user, resource, action and environment | SD-WAN and MDM policies |
| Mandatory (MAC) | Labels on subjects and objects; the system decides, not the owner | Military classification |
| Risk-based | Real-time evaluation of environment, situation and policy, sometimes with machine learning | Blocking logons from unusual locations or non-compliant devices |
Everything other than DAC is nondiscretionary: centrally administered, easier to audit, less flexible. Identity-based access control, which ties ownership and access to individual identities, falls under DAC.
RBAC in more detail: administrators place users in roles that mirror jobs (tellers, loan officers, managers), and users can hold several roles. Removing someone from a role strips its privileges instantly, which makes RBAC good at preventing privilege creep in organisations with high staff turnover. In strict RBAC, privileges are never assigned to users directly. Task-based access control (TBAC) is a variant that grants access according to assigned tasks. DAC and RBAC can both use groups; the difference is who decides (owners versus administrators).
Rule-based vs ABAC: rule-based control treats all subjects the same; ABAC is the flexible, fine-grained evolution, expressing policies in near-plain language such as “managers may reach the WAN from company tablets during working hours”.
MAC in more detail: each label is a security domain; subjects need a matching clearance (and, for compartments, need to know). MAC is prohibitive and uses implicit deny. Its structure is often drawn as a lattice. Environments are:
- hierarchical: clearance at one level grants that level and everything below;
- compartmentalised: isolated domains, each needing its own clearance;
- hybrid: hierarchical levels containing isolated compartments, the most granular and hardest to manage.
Governments use mandated labels (Top Secret, Secret, Confidential, Unclassified); private organisations choose their own (for example confidential, private, sensitive, public).
Risk-based control weighs the environment (location, IP reputation), the situation (what the user or device is doing) and policy, and can insist on MFA or a compliant device before granting access. A hospital might give emergency staff full patient records but give the pharmacy only what it needs to check drug interactions.
Zero trust policy enforcement
Zero trust assumes no trusted network edge: every request is evaluated continuously against identity, permissions, device health, threat intelligence and posture. NIST’s model separates:
| Component | Role |
|---|---|
| Policy engine (PE) | Applies a trust algorithm to inputs (identity, SIEM, threat intelligence) and decides to grant, deny or revoke |
| Policy administrator (PA) | Acts on the decision, setting up or tearing down the path and issuing session credentials (a component, not a person) |
| Policy decision point (PDP) | The PE and PA together |
| Policy enforcement point (PEP) | Sits in the path, often as an agent plus gateway, and allows or ends connections as instructed |
Internet SSO and federation protocols
Users should never have to hand one site’s credentials to another. Three standards solve this:
| SAML 2.0 | OAuth 2.0 | OpenID Connect (OIDC) | |
|---|---|---|---|
| Purpose | Authentication, attributes and authorisation for federated web SSO | Authorisation (delegated API access) only | Authentication layer on top of OAuth 2.0 |
| Format | XML assertions | Access tokens passed in API calls | JSON Web Tokens (ID tokens) |
| Steward | OASIS | IETF (RFC 6749) | OpenID Foundation |
| Typical use | Enterprise SSO to cloud apps, JIT provisioning | Letting an app post to your social media account without your password | “Sign in with…” a major identity provider |
SAML roles are the principal (user), the service provider (relying party) and the identity provider (asserting party). The IdP’s assertions can carry authentication, attribute and authorisation statements. OAuth 2.0 isn’t backward compatible with OAuth 1.0.
Kerberos
Kerberos is the most common internal SSO system (and the default in Active Directory). It uses symmetric cryptography (AES in version 5), keeps passwords off the network, provides mutual authentication and resists eavesdropping and replay. It listens on port 88.
| Element | Meaning |
|---|---|
| KDC | Trusted third party holding every principal’s secret key; hosts the AS and TGS |
| Authentication service (AS) | Verifies the user at logon |
| Ticket-granting ticket (TGT) | Proof of authentication, used to request service tickets |
| Ticket-granting service (TGS) | Issues service tickets for specific resources |
| Principal / realm | An entity that can receive tickets / the area a KDC controls |
Flow in brief: the client sends the username (never the password) to the AS; the KDC returns a session key encrypted with a key derived from the user’s password, plus a time-stamped TGT; the client presents the TGT to request a service ticket; the client presents that ticket to the service, which validates it and opens the session. Weaknesses: the KDC is a single point of failure and a high-value target, and clocks must stay closely synchronised (five minutes by default), usually via NTP from the domain controllers.
AAA protocols for network access
RADIUS and TACACS+ centralise authentication, authorisation and accounting for VPN concentrators, wireless controllers and other network access servers (the NAS acts as the client). Keeping remote access authentication separate also limits the damage if it is attacked.
| RADIUS | TACACS+ | |
|---|---|---|
| Transport | UDP 1812 (auth), 1813 (accounting); TLS over TCP 2083 optional | TCP 49 |
| Encryption | Password only | Entire authentication payload |
| AAA functions | Combined | Separated (can run on different servers) |
| Origin | Open standard (RFC 2865) | Cisco®, later opened |
RADIUS deployments can add callback and location checks.
Privilege escalation
Privilege escalation gives an attacker more rights than they should have. Vertical escalation climbs to higher privilege (user to administrator); horizontal escalation gains equivalent access to other accounts or systems, which across a network is lateral movement. Attackers alternate the two until they reach domain administrator.
Defences:
- give service accounts only the rights the application needs, never LocalSystem or root by default;
- on Linux®, prefer sudo to su: sudo uses the user’s own credentials and logs each elevated command against that user, whereas su needs the shared root password and logs as root;
- restrict and monitor scripting tools such as PowerShell, which attackers use for fileless attacks.
Password attacks and defences
Online attacks guess against a live service; offline attacks crack a stolen database such as the
Windows SAM or Linux /etc/shadow.
| Attack | How it works | Main defence |
|---|---|---|
| Dictionary | Tries common words, known weak passwords and small variations | Screen out common passwords |
| Brute force / hybrid | Tries every combination, often accelerated by GPUs | Length, strong slow hashing |
| Spraying | One password against many accounts, slowly, to dodge lockout | MFA, monitoring across accounts |
| Credential stuffing | Reuses credentials leaked from another site | Unique passwords, MFA, breached-password checks |
| Birthday | Exploits the probability of hash collisions | Long, collision-resistant hashes (not MD5) |
| Rainbow table | Looks up precomputed hash–password pairs | Salts (random per-password values) plus a pepper stored outside the database |
| Sniffing | Captures credentials sent in clear text | Encryption, secure protocols, OTPs, physical security |
| Spoofing | Fake logon screens, forged email senders or caller ID | Awareness, email authentication, MFA |
Store passwords with slow, salted algorithms such as Argon2, bcrypt or PBKDF2. If an attacker gets a privileged password in a high-security environment, consider the system untrustworthy and rebuild it.
Mimikatz, pass the hash and Kerberos exploitation
Mimikatz reads credentials that SSO keeps in memory (the LSASS process): passwords, NTLM hashes, Kerberos tickets, certificates and private keys, often run filelessly via PowerShell. It underpins several attacks named in objective 3.7:
- Pass the hash (PtH): present a captured NTLM hash to authenticate without knowing the password, then move laterally with tools such as PsExec. Best defence: stop the first compromise and keep privileged accounts off ordinary machines.
- Overpass the hash (pass the key): use a hash to request a Kerberos TGT where NTLM is disabled.
- Pass the ticket: steal tickets from memory and inject them to impersonate the user.
- Silver ticket: forge a service ticket using a service account’s hash, gaining that service’s privileges.
- Golden ticket: forge any ticket using the KRBTGT account’s hash, giving domain-wide control. Reset the KRBTGT password (twice) to invalidate forged tickets.
- Kerberos brute force: guess usernames and passwords against the KDC.
- AS-REP roasting: target accounts with Kerberos pre-authentication disabled and crack the reply offline.
- Kerberoasting: request service tickets for service accounts and crack them offline; long service account passwords defeat it.
Core protection methods
Control physical access to systems and authentication servers; tightly control electronic access to password databases; hash and salt passwords; mask passwords on screen; deploy MFA; use account lockout with sensible clipping levels; log and review failed and successful logons; and educate users about strong passwords, phishing and spoofing.
Exam tips
- OAuth is authorisation; OIDC adds authentication. SAML does both via XML assertions.
- Kerberos fails if clocks drift, because time stamps prevent replay.
- TACACS+ encrypts everything; RADIUS encrypts only the password.
- MAC is the most restrictive model; DAC is the most flexible and the least centrally controlled.
- Account lockout stops online guessing but not offline cracking of a stolen hash file.
- Salts defeat rainbow tables; a golden ticket needs the KRBTGT hash.
Common traps
- Role-based vs rule-based. Both are sometimes abbreviated RBAC; the outline reserves RBAC for role-based. Rule-based applies the same rules to everyone.
- ACL vs capability list. Object-focused versus subject-focused.
- Need to know vs least privilege. Need to know limits information; least privilege also limits rights to take actions.
- Silver vs golden ticket. A service account hash forges service tickets; the KRBTGT hash forges anything in the domain.
- Spraying vs stuffing. Spraying tries one password across many accounts; stuffing replays a known username–password pair across many sites.
- Policy administrator isn’t a person. It is the component that opens or closes the path.
- su vs sudo. Only sudo attributes each elevated command to the individual user.
- Clearance ≠ access in MAC. Compartments also require need to know.
Quick revision
- Permissions (objects), rights (actions), privileges (both).
- Mechanisms: implicit deny, matrix, ACLs, capability lists, constrained interfaces, content and context controls.
- Models: DAC (owner), RBAC (roles), rule-based (global rules), ABAC (attributes), MAC (labels; hierarchical, compartmentalised, hybrid), risk-based (dynamic).
- Zero trust: PE + PA = PDP; PEP enforces.
- SAML (XML, IdP/SP/principal), OAuth 2.0 (authorisation tokens), OIDC (JWT authentication).
- Kerberos: KDC, AS, TGS, TGT, tickets, port 88, time sync, KDC single point of failure.
- RADIUS (UDP, password-only encryption) vs TACACS+ (TCP 49, full encryption, separated AAA).
- Escalation: vertical, horizontal, lateral movement; sudo over su; least-privilege service accounts.
- Password attacks: dictionary, brute force, spraying, stuffing, birthday, rainbow tables; salt and pepper.
- Mimikatz enables pass the hash, overpass the hash, pass the ticket, silver and golden tickets, AS-REP roasting and Kerberoasting.
Key terms
| Term | Definition |
|---|---|
| Implicit deny | Refusing any access that has not been explicitly granted |
| Capability list | A subject-centred record of the objects and operations that subject is allowed |
| Discretionary access control | A model in which object owners decide who gets access |
| Nondiscretionary access control | Any centrally administered model where owners can’t change access at will |
| Attribute-based access control | Decisions made by evaluating policies over many attributes |
| Mandatory access control | Access decided by the system comparing subject clearances with object labels |
| Policy decision point | The zero trust component (policy engine plus administrator) that decides and arranges access |
| SAML assertion | An XML statement from an identity provider about a user’s authentication, attributes or entitlements |
| OAuth 2.0 | A framework for delegating limited access to resources without sharing credentials |
| Ticket-granting ticket | A Kerberos credential proving prior authentication, used to obtain service tickets |
| TACACS+ | A TCP-based AAA protocol that encrypts the full exchange and separates its AAA functions |
| Lateral movement | Spreading through a network by reusing access gained on one system |
| Salt | A random value combined with each password before hashing to defeat precomputed attacks |
| Pass the hash | Authenticating with a stolen password hash instead of the password |
| Golden ticket | A forged Kerberos ticket made with the KRBTGT hash, granting domain-wide access |