Navigation
Breadcrumb

Posts on: Active-Directory

srl

Initial Access (Active Directory)

After gaining access to the network segment where the AD environment resides β€” often through pivoting from a previously compromised host β€” the goal is to find the Domain Controller, enumerate the domain without credentials if possible, and convert unauthenticated reconnaissance into a valid credential or session. The techniques below are ordered roughly by noise level and prerequisite: unauthenticated enumeration first, then poisoning and relay, then credential-based spraying, then modern coercion/relay chains that bypass SMB signing entirely.
srl

Internal Enumeration & Lateral Movement

After finding valid credentials for the Active Directory environment, the objective is to compromise the entire forest. That means moving laterally between users and machines until you hold privileged access to a domain controller β€” and in 2026, that path is more often a chain of misconfigurations and coercion primitives than a single exploit. This page covers the enumeration that finds those paths, the tooling that maps them, and the lateral-movement techniques that traverse them.
srl

NTLM Relay

How NTLM Relay Works NTLM authentication is challenge-response: the server sends a challenge, the client answers with a hash of the challenge using its password hash. An attacker who can position themselves between client and server can forward the challenge/response to a different service and authenticate as the victim β€” without cracking anything. The attack has two halves: Coerce or poison a victim into authenticating to you (LLMNR/NBT-NS/mDNS poisoning, or a coercion RPC call). Relay that authentication to a target service where the victim’s account has rights. Relay succeeds only when the target does not require signing or channel binding. Check this before spending time: SMB signing must be not required, LDAP signing and LDAP channel binding must be off, and for HTTPS enrollment the CA Web Enrollment endpoint must accept NTLM. But β€” 2025–2026 research changed this assumption. Drop the MIC and CVE-2025-54918 strip the protections that were supposed to block relay even when signing is enforced.
srl

Kerberos Delegation

Delegation lets a service act on behalf of a user to reach another service. Misconfigured delegation remains one of the most direct paths to Domain Admin: if you control a service trusted for delegation, you can impersonate any user β€” including administrators β€” to the delegated resource. The three classic models still define the attack surface, but 2025–2026 added new primitives around coercion-to-relay-to-RBCD, cross-forest RBCD, and SPN-collision attacks (KerberLoss) that change how you approach a modern environment.
srl

ADCS Attacks

Active Directory Certificate Services (ADCS) issues certificates that can be used for Kerberos PKINIT authentication. A misconfigured template or CA lets a low-privileged user obtain a certificate as another user β€” often a Domain Admin or a domain controller β€” and authenticate with it, no password cracking required. Certificate-based auth survives password resets, and it is frequently out of scope for MFA and Conditional Access policies, which is why AD CS paths are disproportionately valuable for persistence as well as escalation.
srl

Privilege Escalation to Domain Admin β€” Known Exploits & Modern Equivalents

The three vulnerabilities below β€” NoPac, PrintNightmare, and PetitPotam β€” are still worth knowing, but their role has shifted. On a fully patched 2025–2026 domain, all three are usually closed. What remains is the attack primitive each one demonstrated, and that primitive is now delivered through modern tooling: NetExec modules for NoPac, detection-resistant coercion for PetitPotam, and the coercion β†’ NTLM relay β†’ ADCS/RBCD chain that survives patch cycles because it abuses configuration, not a missing update.
srl

Domain Trusts

A trust establishes forest or intra-forest domain (parent-child / tree-root) authentication, allowing users to access resources in β€” or perform administrative tasks in β€” another domain outside the one where their account resides. A trust creates a link between the authentication systems of two domains and may allow one-way or two-way (bidirectional) communication. The single most important idea in 2026 is that the forest, not the domain, is the security boundary . Within a forest, SID filtering is off by default, which means control of one domain frequently means a path to the entire forest. Cross-forest, the boundary is real but not absolute β€” a weak SpoofSIDHistoryBlocked configuration or the trust key collapses it.
srl

HTB Active Directory Machines β€” OSCP Edge Cases

The AD half of the OSCP-like HTB list β€” one path per box, the step that actually decides it, and the exact command worth memorising. These are edge-case notes, not walkthroughs: every IP, domain, user and path must be adapted to your target, and the linked writeup remains the walkthrough of record. Companion pages: Command Checklist Β· Pattern Library Β· Methodology Β· Machine Index. How to use this page Assumed breach vs unauthenticated. Only five boxes hand you credentials at the start β€” Administrator (olivia:ichliebedich), Certified (judith.mader:judith09), EscapeTwo (rose:KxEPkKe6R8su), Puppy (levi.james:KingofAkron2025!) and Signed (scott:Sm230#C5NatH). For those, the first ten minutes are --shares, BloodHound, certipy find and per-service auth checks β€” not brute force. Everything else starts with null SMB/RPC, a web bug, or a share. BloodHound before exploitation. Collect with bloodhound-python -c all --zip (or bloodhound-ce-python) and read the Abuse Info of each edge; rights on the domain node show up as GetChanges/GetChangesAll, not as an edge called “DCSync” (Sauna). Every found secret is a reuse test. Fan out nxc smb/ldap/winrm/mssql/ftp with --continue-on-success; a service that fails is not the service that matters (Return: WinRM but no SMB admin; Administrator: FTP but no WinRM for benjamin). Try the actual account name when a config spells it differently (Sauna). ADCS, delegation and time. None of Active/Forest/Sauna/Flight/Return/Blackfield/Cicada/TheFrizz/Administrator/Monteverde exposes a CA β€” do not burn exam minutes on Certipy there. The ESC paths live in Escape (ESC1), EscapeTwo (ESC4β†’ESC1) and Certified (ESC9). Clock skew is the single most common time sink: sudo ntpdate <dc fqdn>, expect the VPN to drop, reconnect β€” but note that AS-REP roasting tolerates hours of skew (Sauna). At-a-glance Box Start Entry technique Key escalation Difficulty Active Unauthenticated GPP cpassword in DFS-R share Kerberoast Administrator Easy Forest Unauthenticated Null RPC β†’ AS-REP WriteDacl β†’ DCSync Easy Sauna Unauthenticated Kerbrute β†’ AS-REP AutoLogon β†’ GetChanges/GetChangesAll Easy Flight Unauthenticated PHP LFI β†’ UNC β†’ NetNTLMv2 Machine TGT (tgtdeleg) β†’ DCSync Hard Return Unauthenticated Printer panel β†’ LDAP cleartext Server Operators sc config Easy Blackfield Unauthenticated Profiles share β†’ AS-REP ForceChangePassword β†’ LSASS β†’ SeBackup Hard Cicada Unauthenticated Guest SMB β†’ HR share β†’ RID brute LDAP description β†’ Backup Operators Easy TheFrizz Unauthenticated Gibbon LMS CVE-2023-45878 Kerberos SSH β†’ GPO abuse Medium Administrator Assumed breach BloodHound ACL chain GenericAll β†’ FTP psafe3 β†’ targeted Kerberoast Medium Monteverde Unauthenticated RPC querydispinfo β†’ spray ADSync LocalDB + mcrypt Medium Escape Unauthenticated SMB PDF β†’ MSSQL Coerce β†’ ESC1 Medium EscapeTwo Assumed breach xlsx β†’ MSSQL sa WriteOwner β†’ shadow creds β†’ ESC4β†’ESC1 Medium Certified Assumed breach WriteOwner Management group Shadow creds Γ—2 β†’ ESC9 Medium Puppy Assumed breach HR group β†’ GenericWrite Developers KeePassXC β†’ GenericAll β†’ DPAPI Medium Timelapse Unauthenticated winrm_backup.zip β†’ pfx Certificate WinRM β†’ LAPS Easy Signed Assumed breach SQL login scott Silver ticket β†’ OPENROWSET Medium Active Path: Anonymous SMB on the DFS-R Replication share β†’ Groups.xml cpassword β†’ gpp-decrypt β†’ svc_tgs β†’ Kerberoast (SPN owned by Administrator) β†’ psexec.

Pagination