Skip to content

Attack-to-Defense Matrix — Mapping CEH Attacks to PAM Controls

This page connects the attacks taught in the Certified Ethical Hacker (CEH) hub to the vendor-neutral Privileged Access Management material in foundations/ (with the CEH hub's own defender-pam/ section). It takes the attack techniques a CEH candidate studies and maps each one to the Privileged Access Management (PAM) and endpoint controls that blunt it — citing the relevant MITRE ATT&CK technique IDs and linking back into both the CEH hub and foundations/.

It deliberately follows, and does not contradict, the PAM threat landscape page, which already lays out the attack chain and the headline credential-centric techniques. Where this page adds value is breadth (more techniques) and cross-linking: every row points you to the CEH page that explains the attack and the PAM / foundations page that explains the defence.

Honest framing. Some controls below are PAM-product features that any mature PAM platform provides (credential injection by the session proxy, session recording, check-out / check-in with change-on-check-in rotation, endpoint privilege management). Others are general best practice that PAM supports but does not own (MFA, network segmentation, AD hardening, SIEM detection). Each row says which is which. PAM is one layer of defence-in-depth, not a silver bullet — see the closing note. No vendor is assumed: the same mapping holds for CyberArk, BeyondTrust, Delinea, WALLIX or an open-source vault-plus-jump-host build.

Learning objectives

After working through this page you should be able to:

  • Walk the attack chain — initial access → credential theft → privilege escalation → lateral movement → persistence → impact — and name a defensive intervention at each stage.
  • Map at least ten MITRE ATT&CK techniques (credential dumping, Pass-the-Hash, Pass-the-Ticket, Kerberoasting, Golden/Silver Ticket, phishing, valid accounts, remote services, privilege escalation, account manipulation/creation) to concrete controls.
  • Distinguish a PAM-product feature (vaulting, brokering, recording, rotation, EPM) from a general best-practice control for each mapping.
  • Explain why keeping the target secret off the endpoint (vault + injection), rotating it aggressively, brokering every hop, and recording everything breaks the middle of the attack chain.
  • Use this page as an index into both the CEH domain pages and the vendor-neutral PAM pages (foundations + defender-PAM).

1. The attack chain with defensive interventions overlaid

The flowchart below is the kill-chain from the PAM threat landscape (stages and ATT&CK tactics unchanged), with the defensive interventions that fire at each stage drawn alongside. The middle stages (credential theft → persistence) are where PAM does most of its work; the bookends (initial access, impact) lean more on general controls.

flowchart TB
    S1["1. INITIAL ACCESS<br/>phishing, stolen creds, exploit<br/>(TA0001)"]
    S2["2. CREDENTIAL THEFT<br/>dump LSASS, Mimikatz, Kerberoasting<br/>(TA0006)"]
    S3["3. PRIVILEGE ESCALATION<br/>token abuse, UAC bypass,<br/>sudo misconfig<br/>(TA0004)"]
    S4["4. LATERAL MOVEMENT<br/>PtH / PtT, RDP/SSH reuse<br/>(TA0008)"]
    S5["5. PERSISTENCE<br/>backdoor accounts,<br/>Golden Ticket, DCSync<br/>(TA0003)"]
    S6["6. IMPACT<br/>ransomware, data theft, sabotage<br/>(TA0040)"]
    S1 --> S2 --> S3 --> S4 --> S5 --> S6

    D1["Gateway + MFA; no target password<br/>to phish (it lives in the vault).<br/>User-awareness training."]
    D2["Credential injection: the target<br/>secret never lands on the endpoint;<br/>aggressive rotation voids a scrape."]
    D3["Least privilege / JIT; remove local<br/>admin (EPM); app-level (not<br/>user-level) elevation."]
    D4["Brokered, recorded sessions are the<br/>only path; unique + rotated creds<br/>per host kill hash/ticket reuse."]
    D5["No standing Domain-Admin to steal;<br/>approval + recording make new<br/>accounts visible.<br/>AD hardening (general)."]
    D6["Session kill + restriction rules;<br/>anti-ransomware (EPM); backups +<br/>segmentation (general).<br/>Full audit trail."]

    S1 -. "defence" .-> D1
    S2 -. "defence" .-> D2
    S3 -. "defence" .-> D3
    S4 -. "defence" .-> D4
    S5 -. "defence" .-> D5
    S6 -. "defence" .-> D6

The one sentence to remember (from the threat-landscape page): PAM breaks the attack chain at stages 2-5 by keeping the credential out of the attacker's reach (vault + injection), making any stolen secret short-lived (rotation), forcing every privileged hop through a recorded gateway (brokering + JIT), and making everything auditable (non-repudiation).


2. Mapping table — credential-centric attacks

These are the attacks that turn on a usable secret (hash, ticket, or password). They are the heart of the CEH System Hacking module and the PAM thesis: remove the secret from the endpoint, rotate it constantly, and most of them collapse.

Attack technique What it does MITRE ATT&CK ID How PAM (+ general controls) mitigates it Learn more
Credential dumping / LSASS (Mimikatz) Scrapes password hashes, tickets and plaintext from the Windows LSASS process memory on a host the attacker controls. T1003.001 (OS Credential Dumping: LSASS Memory), parent T1003 PAM: credential injection by the session proxy means the target password never lands on the admin's endpoint — there is little of value to dump; frequent rotation voids anything scraped. General: Credential Guard, attack-surface-reduction rules, EDR. Attack: System hacking — credential dumping / Mimikatz. Defence: PAM reference architecture — the privileged access flow, PAM playbook — vaulting + rotation
Pass-the-Hash (PtH) Authenticates using a stolen NTLM hash without ever cracking it — the hash is the key, enabling lateral movement. T1550.002 (Use Alternate Authentication Material: Pass the Hash) PAM: no standing local-admin secret on endpoints; unique, rotated credentials per account/host stop hash reuse across machines; endpoint privilege management (EPM) removes local admin and a LAPS-style tool rotates each local password per machine. General: disable NTLM where possible, Protected Users group, AD tiering. Attack: Active Directory — pass-the-hash. Defence: PAM playbook — least privilege / no standing local admin, PAM playbook — LAPS, Threat landscape — PtH row
Pass-the-Ticket (PtT) Replays a stolen Kerberos ticket (TGT/TGS) extracted from memory to impersonate a user without the password, until the ticket expires. T1550.003 (Use Alternate Authentication Material: Pass the Ticket) PAM: sessions are brokered and time-boxed (JIT); short-lived access plus recording limit ticket reuse and make abuse visible. General: short ticket lifetimes, Credential Guard, AD tiering. Attack: Kerberos — pass-the-ticket. Defence: PAM playbook — session brokering & recording, Core concepts — JIT / ZSP
Kerberoasting Requests service tickets (TGS) for service accounts by their SPN, then cracks them offline to recover the service-account password. T1558.003 (Steal or Forge Kerberos Tickets: Kerberoasting) PAM: the vault + automatic rotation give service accounts long (≥16-char), random, frequently-changed passwords that cannot be cracked offline in time; application-to-application password management (AAPM) removes hard-coded service passwords from scripts. General: group Managed Service Accounts (gMSA), AES etypes (disable RC4). Attack: Kerberos — Kerberoasting. Defence: PAM playbook — vaulting + rotation, PAM playbook — gMSA, Identity attack paths — Kerberos
Golden Ticket Forges a TGT using the AD krbtgt key — near-unlimited, long-lived domain access. A post-Domain-Admin technique. T1558.001 (Steal or Forge Kerberos Tickets: Golden Ticket) PAM (indirect): PAM does not forge-proof Kerberos, but by preventing the Domain-Admin compromise that enables krbtgt theft (no standing DA, brokered + recorded access) it removes the precondition. General (primary): rotate krbtgt twice, AD tiering, monitor anomalous tickets. Attack: Kerberos — golden/silver tickets, Active Directory — golden ticket. Defence: Threat landscape — honest framing
Silver Ticket Forges a TGS for one specific service using that service's key — quieter, scoped to a single service/host. T1558.002 (Steal or Forge Kerberos Tickets: Silver Ticket) PAM (indirect): rotating the service account's password (and hence its Kerberos key) via the vault invalidates a forged silver ticket; brokered access limits the service-key theft that precedes it. General (primary): rotate service keys, AES etypes, monitor. Attack: Kerberos — golden/silver tickets. Defence: PAM playbook — vaulting + rotation
DCSync Impersonates a domain controller to pull password hashes (incl. krbtgt) via directory replication — enables Golden Ticket. T1003.006 (OS Credential Dumping: DCSync) PAM (indirect): blocking the path to high-privilege accounts (no standing DA, brokered + recorded access) denies the replication rights DCSync needs. General (primary): restrict replication rights, AD tiering, monitor DRSGetNCChanges. Attack: Active Directory — DCSync/DCShadow. Defence: Threat landscape — DCSync row
Offline password / hash cracking Works captured hashes on the attacker's own hardware (dictionary, brute force, rule-based, rainbow tables) with no rate limit. T1110.002 (Brute Force: Password Cracking), parent T1110 PAM: vaulted secrets are long, random and rotated, so even a stolen hash cannot be cracked before it changes. General: salted slow (work-factor) hashing, screen against breached-password lists, MFA. Attack: System hacking — offline attacks, salting. Defence: PAM playbook — vaulting + rotation

3. Mapping table — access, movement, escalation and persistence

These techniques are about getting in, moving around, getting higher, and staying. PAM controls the privileged surface of all of them.

Attack technique What it does MITRE ATT&CK ID How PAM (+ general controls) mitigates it Learn more
Phishing / social engineering Tricks a user into giving up a password or running malware — the classic initial access. T1566 (Phishing) PAM: a stolen standard password is useless against privileged targets — privileged access requires the gateway + MFA, and there is no target password to phish (it lives in the vault). General (primary): user-awareness training, email filtering, MFA everywhere. Attack: Social engineering — phishing types. Defence: What breaks the chain — gateway + MFA, PAM playbook — phishing-resistant MFA
Valid accounts / standing privilege Reuses legitimate credentials to act as a trusted insider and blend in ("living off the land"). T1078 (Valid Accounts) PAM: check-out / check-in + recording + JIT mean every privileged use is attributed, time-limited and auditable — reuse is no longer silent; Zero Standing Privileges removes the always-on account to abuse. General: disable dormant accounts, conditional access. Attack: Intro — why insiders/valid accounts matter. Defence: Core concepts — PoLP / JIT / ZSP, Privileged accounts & credentials
Lateral movement via RDP / SSH Uses valid accounts to log into hosts over Remote Desktop / SSH, hopping host to host across the estate. T1021.001 (RDP) / T1021.004 (SSH), parent T1021 PAM: the session proxy is a mandatory chokepoint — the only path to targets on management ports; every RDP/SSH hop is brokered, recorded and time-boxed, and session policy can block onward jump connections and kill/notify on dangerous commands or window titles. General: network segmentation, host-based firewalls. Attack: System hacking — gaining access, Session hijacking. Defence: PAM reference architecture, PAM playbook — session brokering & recording, PAM playbook — segmentation
Privilege escalation (vertical) Moves from a limited account to administrator/root by abusing misconfigurations, UAC, or sudo. T1548 (Abuse Elevation Control Mechanism), incl. T1548.002 (Bypass UAC) / T1548.003 (Sudo) PAM: endpoint privilege management (EPM) removes standing local admin and elevates the application/process, not the user, so there is no admin token on the account to hijack. General: patch local-privesc bugs promptly, least privilege, EDR. Attack: System hacking — escalating privileges. Defence: PAM playbook — least privilege / no standing local admin, PAM playbook — JIT elevation, Core concepts — least privilege
Persistence — account manipulation Modifies an existing account (adds it to privileged groups, alters credentials) to keep durable access. T1098 (Account Manipulation) PAM: privileged changes flow through the brokered, recorded session and (optionally) an approval workflow with mandatory comment/ticket, so manipulation is attributed and reviewable; vault rotation invalidates altered credentials. General: AD tiering, alert on privileged-group changes (SIEM). Attack: System hacking — maintaining access. Defence: PAM playbook — session brokering & recording, Detection engineering — event IDs to alert on, Core concepts — four-eyes / SoD
Persistence — create account Creates a new local/domain backdoor account to survive reboots and password changes. T1136 (Create Account), incl. T1136.001 (Local) / T1136.002 (Domain) PAM (indirect): removing standing privilege and brokering admin access makes it harder to obtain the rights needed to create a backdoor account unseen; sessions that do create accounts are recorded. General (primary): baseline + alert on new accounts/services/scheduled tasks, application allow-listing. Attack: System hacking — maintaining access. Defence: PAM playbook — session brokering & recording, Detection engineering
Clearing tracks / log tampering Edits or deletes local logs, timestamps and history to hide the intrusion (Defense Evasion). T1070 (Indicator Removal) PAM: session recordings are encrypted and held off-host by the PAM platform, and events stream to a SIEM via syslog in near real time — an attacker on a target cannot reach or edit the off-host record; "logs an attacker can edit are logs you cannot trust." General: centralized tamper-evident logging, alert on log gaps. Attack: System hacking — clearing tracks. Defence: PAM playbook — logging, monitoring & detection, Detection engineering — telemetry sources
Ransomware / impact Encrypts or destroys data once enough privilege is held — the attacker's objective. T1486 (Data Encrypted for Impact) PAM: EPM anti-ransomware rules can detect mass-encryption behaviour in real time and block it before it completes; removing local admin denies ransomware the privilege it needs. General (primary): tested backups, segmentation, EDR, DR plan. Attack: Malware threats, Intro — availability / DoS. Defence: PAM playbook — least privilege / no standing local admin, Attack → control matrix — malware threats

4. Which controls are PAM-product features vs general best practice?

A quick reference so you never overclaim PAM's reach. "PAM-product feature" means a capability you buy or build as part of a PAM platform (any vendor, or an open-source vault + jump-host stack); "general best practice" means a control PAM depends on or feeds but does not own.

Control Type Where it lives in this repo
Credential injection by the session proxy (secret never reaches endpoint) PAM-product feature (session proxy / broker) PAM reference architecture — privileged access flow
Vaulting + automatic rotation + check-out / check-in with change-on-check-in PAM-product feature (vault) PAM playbook — vaulting + rotation, Privileged accounts & credentials
Session brokering, isolation, recording, command / window-title policy PAM-product feature (session manager) PAM playbook — session brokering & recording
Approval workflows / four-eyes / four-hands PAM-product feature (workflow engine) Core concepts — four-eyes / SoD
Remove local admin; application-level elevation; anti-ransomware rules PAM-product feature (endpoint privilege management, EPM) PAM playbook — least privilege / no standing local admin, PAM / IAM / IGA / IDaaS / EPM
Application-to-application password management (no hard-coded secrets in scripts) PAM-product feature (API / secrets broker) PAM reference architecture — component glossary
Least privilege, JIT, Zero Standing Privileges, Zero Trust Concept that PAM implements Core concepts, ZSP maturity model
MFA General best practice PAM enforces at the gateway PAM playbook — phishing-resistant MFA
Network segmentation / DMZ placement General best practice (PAM relies on it) PAM playbook — segmentation, PAM reference architecture
AD hardening (tiering, krbtgt rotation, Protected Users, gMSA) General best practice (outside PAM) Active Directory, Kerberos, Identity attack paths
SIEM detection, EDR, backups, user-awareness training General best practice (PAM feeds the SIEM) Detection engineering, CEH Intro — countermeasures

5. Defence-in-depth — the closing note

No single control on this page stops a determined adversary alone, and that is the whole point: CEH teaches defence-in-depth (multiple independent layers so that if one fails, others still protect the asset — see Module 1 §7), and PAM is exactly one of those layers — a powerful control layer, not a magic shield.

Read the matrix this way:

  • PAM is strongest in the middle of the attack chain (stages 2-5): it keeps target secrets off endpoints, rotates them so any theft is short-lived, forces every privileged hop through a recorded gateway, and makes everything attributable. That directly degrades credential dumping, PtH/PtT, Kerberoasting, valid-account reuse, and lateral movement.
  • For the post-Domain-Admin AD attacks (Golden Ticket, Silver Ticket, DCSync), PAM's contribution is indirect but real: it makes the high-privilege compromise that precedes them far harder, and makes any abuse visible. The primary defences there are AD hardening — tiering, krbtgt rotation, Protected Users, gMSA, AES etypes — which PAM does not replace.
  • For the bookends (phishing at initial access, ransomware at impact), PAM removes the privileged target a phish would aim for and, via EPM, denies ransomware the local admin it needs — but user-awareness training, MFA, email filtering, segmentation, backups, EDR and SIEM detection remain essential.

In short: combine session-side PAM (vault + proxy + recording) + endpoint-side EPM with classic AD hardening and detection, and you have layered coverage across the entire chain. That is the bridge this page is built to make explicit — the attacks you study in the CEH hub are precisely the ones the PAM material is built to break.


See also


Sources