HTB CAPE study materials
HTB CAPE study resources

HTB CAPE key terms

HTB CAPE · Get comfortable with the vocabulary.

Security Identifier (SID)

A variable-length numeric value that uniquely identifies a Windows security principal such as a user, group, or computer. Access control entries and Kerberos tickets reference principals by SID rather than by name, so SID history and SID-based abuse matter.

Related: Access Control Entry (ACE), SID History, Kerberos Ticket
Access Control Entry (ACE)

A single rule inside a discretionary access control list that grants or denies a specific principal a specific right over an object. Misconfigured ACEs on AD objects are a primary source of privilege escalation paths.

Related: Discretionary Access Control List (DACL), GenericAll, WriteDACL
Discretionary Access Control List (DACL)

The ordered list of ACEs attached to an AD object that determines who may read or modify it. An empty or missing DACL means everyone is allowed, while a permissive DACL lets an attacker take ownership or grant rights.

Related: Access Control Entry (ACE), WriteDACL, Object Ownership
GenericAll

An ACE right that confers full control over an AD object, including the ability to reset passwords, modify group membership, or alter attributes. On a user it allows a forced password reset; on a group it allows adding yourself as a member.

Related: GenericWrite, ForceChangePassword, Access Control Entry (ACE)
GenericWrite

An ACE right permitting modification of non-protected attributes of an object. Against a user it can enable setting a service principal name for targeted Kerberoasting; against a computer it can allow resource-based constrained delegation abuse.

Related: Targeted Kerberoasting, Resource-Based Constrained Delegation, Access Control Entry (ACE)
WriteDACL

An ACE right that lets a principal rewrite an object's DACL. An attacker with WriteDACL can grant themselves full control over the object, which is often the fastest route from a low-privileged account to domain admin.

Related: Discretionary Access Control List (DACL), GenericAll, Object Ownership
ForceChangePassword

An extended right that allows a principal to reset another user's password without knowing the current one. It is frequently found delegated on helpdesk groups and yields immediate account takeover of the target user.

Related: GenericAll, Access Control Entry (ACE)
Object Ownership

The owner of an AD object implicitly holds the right to read and change its DACL. Attackers use the SeRestorePrivilege or WriteOwner-style rights to seize ownership and then rewrite permissions to gain control.

Related: WriteDACL, Discretionary Access Control List (DACL)
LDAP Enumeration

Querying the directory over port 389 or 636 to harvest users, groups, computers, trusts, and password policy. Unauthenticated or low-privileged LDAP queries often reveal enough structure to plan later attacks.

Related: Service Principal Name (SPN), AdminCount Attribute
AdminCount Attribute

A user or group attribute set to 1 when the object was placed in a protected administrative group. Objects with AdminCount set, especially those no longer privileged, are prime targets because their ACLs were once hardened and may retain stale rights.

Related: AdminSDHolder, Access Control Entry (ACE)
AdminSDHolder

A template object whose DACL is periodically copied onto protected administrative accounts by the SDProp process. Modifying the AdminSDHolder DACL grants persistent rights over every protected account in the domain.

Related: AdminCount Attribute, Discretionary Access Control List (DACL)
Kerberoasting

Requesting a service ticket for an account with a registered service principal name, then cracking the ticket offline to recover the service account password. Success depends on the account having a weak password and RC4 or AES tickets being obtainable.

Related: Service Principal Name (SPN), Targeted Kerberoasting, AS-REP Roasting
AS-REP Roasting

Requesting an authentication service response for an account that has Kerberos pre-authentication disabled, then cracking the encrypted portion offline. No valid credentials are needed if the username is known.

Related: Kerberoasting, Kerberos Pre-Authentication
Kerberos Pre-Authentication

A Kerberos setting requiring clients to prove knowledge of a password before the KDC issues a ticket. When disabled on an account, anyone can request an AS-REP encrypted with that account's key and crack it offline.

Related: AS-REP Roasting, Kerberos Ticket
Service Principal Name (SPN)

An identifier mapping a service instance to an account, such as HTTP/web01.corp.local. Any account with an SPN can be requested as a service ticket, making SPN-bearing accounts Kerberoastable.

Related: Kerberoasting, Targeted Kerberoasting
Targeted Kerberoasting

Using GenericWrite or similar rights to set an SPN on a chosen account, then Kerberoasting it. This converts an ACL misconfiguration into an offline password-cracking opportunity against an otherwise non-service account.

Related: Kerberoasting, GenericWrite, Service Principal Name (SPN)
Kerberos Ticket

A time-limited credential issued by the KDC, either a ticket-granting ticket or a service ticket. Tickets are encrypted with account keys, and stolen or forged tickets can be replayed to impersonate users.

Related: Ticket-Granting Ticket (TGT), Pass-the-Ticket, Silver Ticket
Ticket-Granting Ticket (TGT)

A Kerberos ticket encrypted with the krbtgt account hash that proves a user's identity to the KDC. A forged TGT, or golden ticket, grants arbitrary access until the krbtgt password is changed twice.

Related: Golden Ticket, krbtgt Account, Kerberos Ticket
Golden Ticket

A forged TGT created with the krbtgt account's secret, allowing impersonation of any user including domain admins. It survives password resets of victim accounts and is only invalidated by rotating krbtgt twice.

Related: Ticket-Granting Ticket (TGT), krbtgt Account, Silver Ticket
Silver Ticket

A forged service ticket encrypted with a service account's key, granting access to a specific service without contacting the KDC. It is stealthier than a golden ticket but limited to the targeted service and host.

Related: Golden Ticket, Kerberos Ticket
krbtgt Account

A built-in domain account whose key encrypts all TGTs. Compromise of its hash enables golden tickets, so incident response requires resetting its password twice to invalidate existing tickets.

Related: Golden Ticket, Ticket-Granting Ticket (TGT)
Pass-the-Hash

Authenticating with a captured NTLM hash instead of the plaintext password. It works where NTLM is accepted and lets an attacker move laterally without cracking the hash.

Related: NTLM Relay, Overpass-the-Hash, Lateral Movement
Overpass-the-Hash

Using an NTLM hash or AES key to request a Kerberos ticket, converting a hash into a Kerberos credential. The resulting ticket can then be used for pass-the-ticket against Kerberos-enabled services.

Related: Pass-the-Hash, Pass-the-Ticket
Pass-the-Ticket

Injecting a stolen Kerberos ticket into a session to authenticate as its owner. It requires no password knowledge and is effective until the ticket expires or is revoked.

Related: Kerberos Ticket, Overpass-the-Hash
NTLM Relay

Coercing a victim to authenticate to an attacker-controlled listener, then forwarding that authentication to another service to act as the victim. Signing and channel binding mitigate it, and SMB signing absence is a common enabling condition.

Related: Pass-the-Hash, Coerce Authentication
Coerce Authentication

Forcing a machine or user to authenticate to an attacker-specified host, often via protocols such as PetitPotam or PrinterBug. Coerced authentication feeds NTLM relay or resource-based constrained delegation attacks.

Related: NTLM Relay, Resource-Based Constrained Delegation
Unconstrained Delegation

A delegation configuration where a service can impersonate any user to any service, storing the user's TGT on the host. Compromise of such a host lets an attacker harvest TGTs of connecting privileged users.

Related: Constrained Delegation, Resource-Based Constrained Delegation, Ticket-Granting Ticket (TGT)
Constrained Delegation

A delegation model restricting a service to a defined list of back-end services, encoded in the msDS-AllowedToDelegateTo attribute. Abuse involves requesting a ticket for a permitted SPN and impersonating an arbitrary user via S4U2Self and S4U2Proxy.

Related: Unconstrained Delegation, Resource-Based Constrained Delegation, Service Principal Name (SPN)
Resource-Based Constrained Delegation

Delegation configured on the target resource via msDS-AllowedToActOnBehalfOfOtherIdentity rather than on the front-end service. Anyone with write access to that attribute on a computer object can impersonate users to it.

Related: Constrained Delegation, GenericWrite, Coerce Authentication
SID History

An attribute holding additional SIDs applied to a user's token, originally for domain migrations. Injecting a privileged SID such as Domain Admins into SID History grants that group's access without actual membership.

Related: Security Identifier (SID), Golden Ticket
Domain Trust

A relationship allowing principals in one domain or forest to be authenticated in another. Trust direction and transitivity determine which side can enumerate and access the other, and trust keys enable inter-realm ticket forgery.

Related: Trust Key, Forest Transitivity, SID Filtering
Trust Key

The shared secret between two domains that encrypts inter-realm referral tickets. Extracting it allows forging tickets that cross the trust, enabling compromise of the trusting domain from the trusted one.

Related: Domain Trust, Golden Ticket
SID Filtering

A protection that strips foreign SIDs from tokens crossing a trust boundary. It blocks SID-history based escalation across trusts, but it is not enforced within a single forest by default.

Related: SID History, Domain Trust, Forest Transitivity
Forest Transitivity

The property that trusts within a forest are transitive, so any domain can authenticate principals from any other domain in the same forest. This makes a single compromised domain a stepping stone to forest-wide compromise.

Related: Domain Trust, SID Filtering
LAPS

A feature that stores local administrator passwords in AD attributes, readable only by delegated principals. Misconfigured read permissions on the LAPS attributes expose local admin credentials for many machines at once.

Related: Credential Dumping, Access Control Entry (ACE)
Credential Dumping

Extracting secrets such as password hashes, Kerberos keys, or cached credentials from memory or registry hives on a compromised host. Tools target LSASS, SAM, and the SECURITY hive to obtain material for lateral movement.

Related: LSASS, Pass-the-Hash, DPAPI
LSASS

The Windows process that enforces security policy and caches credential material for active sessions. Reading its memory yields NTLM hashes and Kerberos tickets, which is why it is heavily protected and monitored.

Related: Credential Dumping, Pass-the-Ticket
DPAPI

A Windows interface that encrypts user and system secrets such as saved credentials and browser data. Decryption depends on the user's master key, so both the master key and the encrypted blob must be recovered.

Related: Credential Dumping, LSASS
Persistence via ACL

Granting a low-visibility principal rights such as WriteDACL or GenericAll on a privileged object so access can be regained later. It blends into normal directory permissions and survives password changes.

Related: WriteDACL, AdminSDHolder, Access Control Entry (ACE)
DCShadow

A persistence technique that registers a rogue domain controller and pushes changes into AD replication, bypassing normal change logging. Detecting it requires monitoring for unexpected domain controller registrations and replication traffic.

Related: DCSync, Golden Ticket
DCSync

Abusing directory replication rights to request account secrets from a domain controller as if it were a peer DC. It yields krbtgt and privileged account hashes without touching LSASS on the DC.

Related: krbtgt Account, DCShadow, Golden Ticket
Lateral Movement

Moving from one compromised host or account to another to reach higher-value targets. Common techniques include remote service creation, WinRM, SMB, and credential reuse with pass-the-hash or pass-the-ticket.

Related: Pass-the-Hash, Pivoting, WinRM
Pivoting

Routing attack traffic through a compromised host to reach networks not directly accessible from the attacker. It typically relies on port forwarding or SOCKS proxies established on the foothold.

Related: Lateral Movement, Foothold
WinRM

A remote management protocol over HTTP or HTTPS that provides PowerShell remoting. Valid credentials with remote management rights are enough to execute commands, making it a common lateral movement channel.

Related: Lateral Movement, Pass-the-Hash
Foothold

The first reliable level of access an attacker establishes inside a target environment. It usually means code execution as a low-privileged user on a host, from which enumeration and privilege escalation proceed.

Related: Initial Access, Pivoting
Initial Access

The phase in which an attacker first gains entry to the environment, such as through valid accounts, exposed services, or phishing. In AD labs it often begins with leaked credentials or a vulnerable public-facing application.

Related: Foothold, Password Spraying
Password Spraying

Trying a small set of common passwords against many usernames to avoid lockout thresholds. It is effective in AD because password policy is often weak and lockout counters are per account.

Related: Initial Access, Kerberoasting
BloodHound

A tool that ingests AD data and graphs relationships such as group membership and ACL rights to reveal attack paths. It helps prioritize escalation steps from a controlled principal toward domain admin.

Related: Access Control Entry (ACE), GenericAll, BloodHound Collection
BloodHound Collection

The process of gathering directory data via LDAP, session, and local admin collection for graph analysis. Collection method and stealth determine whether the activity is logged by defenders.

Related: BloodHound, LDAP Enumeration
Remediation Guidance

Concrete, prioritized fixes reported after an assessment, such as removing excessive ACL rights, rotating krbtgt, and enforcing tiered administration. Good guidance ties each finding to a specific risk and verification step.

Related: Reporting, krbtgt Account
Reporting

Documenting findings with affected assets, evidence, business impact, and reproduction steps so defenders can act. Clear reports distinguish critical domain-wide risks from localized misconfigurations and include retest criteria.

Related: Remediation Guidance, Attack Path
Attack Path

A chained sequence of weaknesses leading from an entry point to a target objective such as domain admin. Documenting the full path helps defenders break one link rather than patching isolated findings.

Related: BloodHound, Reporting, Remediation Guidance