Penetration Test Case Study - Active Directory Compromise
A real ISECURION grey-box Active Directory penetration test - from a single low-privileged domain account to complete Domain Administrator compromise, through password reuse, credentials exposed on open file shares, legacy protocol abuse, and an unmonitored outbound tunnel.
01
Overview
Starting from nothing more than a domain-joined workstation and a single standard, low-privileged domain user account, ISECURION's testing team achieved full Domain Administrator compromise - and went on to recover sensitive credentials, cloud secrets, and business-critical data from open file shares, entirely without exploiting a single software vulnerability.
Grey-Box AD Penetration Test
Standard Domain User
Domain Administrator
4 Critical / 2 High / 1 Low
PTES, MITRE ATT&CK, OSSTMM
10.0
CVSS score of the highest-severity finding - the maximum possible rating
Domain accounts successfully authenticated via a single password-spray attempt
Distinct vulnerabilities identified, chained from standard user to Domain Admin
Software vulnerabilities exploited - full compromise achieved through misconfiguration alone
02
Background & Challenge
Perimeter defences get most of the security budget and most of the attention. But once an attacker - or a penetration tester simulating one - lands a single foothold inside the network, the game shifts almost entirely to Active Directory. AD is the identity backbone for the overwhelming majority of enterprise networks: it decides who can log into what, which accounts hold administrative rights, and how trust flows between systems.
The real question: from a single low-privileged starting point - the position any real attacker eventually reaches through phishing, a compromised laptop, or a contractor account - how far can they get, and how quickly?
Compromise Active Directory, and an attacker doesn't just compromise one machine - they compromise the organisation's entire identity fabric. This is exactly why internal, AD-focused penetration testing occupies a different tier of importance from external, perimeter-only assessments.
03
Scope & Environment
The engagement was scoped as a grey-box Active Directory penetration test against the organisation's single-domain environment. ISECURION's testing team was provided a domain-joined workstation and a standard, low-privileged domain user account as the agreed starting point - deliberately mirroring an attacker who has already achieved an initial foothold, rather than starting from zero access.
o4
Approach & Methodology
The engagement was scoped as a grey-box Active Directory penetration test against the organisation's single-domain environment. ISECURION's testing team was provided a domain-joined workstation and a standard, low-privileged domain user account as the agreed starting point - deliberately mirroring an attacker who has already achieved an initial foothold, rather than starting from zero access.
Phase 1
Initial AD enumeration identified valid domain users. A controlled password-spray attack via NetExec tested a single known password across the enumerated user list.
Phase 02
The spray immediately returned a successful authentication against a highly privileged Domain Administrator account, used to dump NTDS.DIT secrets via DRSUAPI replication.
Phase 03
A proof-of-concept domain account was created using only the recovered credentials, formally confirming genuine Domain Administrator-level privileges.
Phase 04
Enumeration revealed numerous shares with overly permissive access - several fully open, exposing business-critical files, backups and internal documentation.
Phase 05
Exposed shares contained plaintext credentials, authentication tokens, and secrets for cloud platforms, internal services, SaaS applications and databases
Phase 06
With LLMNR and NBT-NS enabled, Responder was used to poison name-resolution requests and capture NTLM hashes, subsequently cracked offline.
Phase 07
An outbound SSH tunnel to external infrastructure bypassed deployed endpoint controls entirely, with no prevention or detection triggered.
05
Technical Analysis
Enumeration of valid domain users prior to password spraying
Password spraying against enumerated domain accounts
Dumping NTDS.DIT secrets via DRSUAPI replication
Creation of a domain account to validate administrative access
Enumeration of network shares for sensitive data
Routing further tooling through the tunnel via proxychains
Establishing an outbound SSH tunnel to external infrastructure
06
Key Findings
Finding 01 · CVSS 10.0
A single password-spray attempt against the enumerated user list successfully authenticated against approximately 189 accounts using an identical password - including a highly privileged Domain Administrator account. This alone was sufficient to escalate from a standard, low-privileged starting account to full domain compromise. Risk: Unauthorized access to user and administrative accounts, lateral movement, privilege escalation, and compromise of critical enterprise systems and resources.
Finding 02 · CVSS 9.6
Endpoint security controls could be bypassed by establishing an unauthorized outbound tunnel from a domain-joined workstation to external infrastructure. Assessment traffic was routed through this tunnel without effective prevention or detection. Risk: Attackers could bypass endpoint monitoring, establish persistent covert command-and-control channels, exfiltrate data, and execute malicious tooling without effective detection.
Finding 03 · CVSS 9.4
Sensitive credentials, authentication tokens, vault-related files, API keys, and cloud/SaaS/database secrets were stored within user-accessible shared locations, without adequate access restrictions. Risk: Unauthorized access to internal systems, cloud services, SaaS platforms, databases and other critical business resources.
Finding 04 · CVSS 9.1
Multiple network shares were configured with overly permissive access, with many fully open and requiring no credentials at all. Accessible content included business-critical files, administrative data, backups, mail archives, and internal documentation. Risk: Unauthorized access to sensitive organisational information, increasing the risk of data disclosure, lateral movement and broader domain compromise.
Finding 05 · CVSS 8.8
The domain password policy enforced insufficient requirements: an 8-character minimum length, a password history of only 5, a 0-day minimum password age, and a 5-attempt lockout threshold - configuration that directly contributed to the successful compromise of multiple domain accounts. Risk: Significantly increased likelihood of successful password spraying, brute-force attacks, and credential compromise.
Finding 06 · CVSS 8.1
LLMNR and NBT-NS were enabled and successfully abused to capture NTLM authentication hashes from domain users. Captured hashes were cracked offline, resulting in unauthorized access to additional accounts. Risk: Credential interception, offline hash cracking, unauthorized access, lateral movement and potential privilege escalation.
Finding 07 · CVSS 3.1
Machine accounts had Service Principal Names registered that could be enumerated by any authenticated domain user, with retrieved Kerberos tickets subject to offline cracking. Machine account passwords are typically strong and regularly rotated, so this expands reconnaissance surface rather than offering an easy credential win. Risk: Aids reconnaissance and enumeration; in combination with weak encryption configurations, may present opportunities for credential recovery, though unlikely under default configurations.
07
Impact & Implications
As zero-trust and cloud adoption extend, identity - not the network boundary - is the primary control plane attackers target.
Scanners flag missing patches well, but rarely show that a weak password policy, an open share, and a legacy protocol combine into full domain compromise.
Endpoint tooling existed but neither prevented nor detected the tunnel - a gap between "we have a tool for that" and "that tool would have caught this."
New accounts, shares, integrations and group memberships are added continuously, so a single point-in-time assessment has a shelf life.
Starting from a standard account most accurately reflects a realistic attacker and surfaced findings a purely external assessment never would have reached.
Exposed cloud, SaaS and database secrets meant the blast radius extended well past Active Directory itself.
08
Recommendations
Rather than presenting seven isolated fixes, ISECURION delivered a phased roadmap - because the most significant organisational risk arose not from any single finding but from their combination. A low-privileged user able to reuse credentials, harvest secrets, capture hashes via LLMNR, and exfiltrate data over an unmonitored tunnel is a realistic, high-impact threat scenario that must be remediated holistically.
Rather than presenting seven isolated fixes, ISECURION delivered a phased roadmap - because the most significant organisational risk arose not from any single finding but from their combination. A low-privileged user able to reuse credentials, harvest secrets, capture hashes via LLMNR, and exfiltrate data over an unmonitored tunnel is a realistic, high-impact threat scenario that must be remediated holistically.
Eliminate password reuse and reset privileged credentials. Rotate all exposed secrets, API keys and tokens found in shared locations. Restrict and re-permission all over-shared file resources. Block unauthorized outbound tunneling and tune EDR to detect tunneling tooling.
Strengthen the AD password policy (length, history, banned passwords). Roll out MFA for privileged and remote access. Disable LLMNR and NBT-NS across the environment. Enforce SMB signing and channel binding.
Review and reduce SPN exposure on machine accounts. Enforce AES-only Kerberos with Kerberoasting detection rules. Stand up periodic AD hygiene reviews and secret-scanning of file shares. Establish a privileged access management (PAM) programme.
Beyond the phased roadmap, recommendations grouped into five themes: identity and credential security (unique passwords, MFA, PAM, quarterly audits); access control and information protection (least-privilege re-permissioning, managed secret stores, automated secret-scanning); authentication protocol hardening (disabling LLMNR/NBT-NS, SMB signing, Kerberos AES); endpoint security and detection (egress filtering, allowlisting, EDR/SIEM tuning); and governance (AD hygiene programmes, BloodHound-style attack-path analysis, annual re-testing).
09
Key Takeaway
A single password-spray attempt matched 189 accounts, including a Domain Administrator - no exploit code required. From there, open file shares, legacy name-resolution protocols, and an unmonitored outbound tunnel expanded the blast radius from "domain compromised" to "cloud, SaaS and business data compromised."
ISECURION recommends annual Active Directory penetration testing at minimum, with follow-up validation testing after remediation of critical findings and after any significant change to the directory or trust topology
10
Frequently Asked Questions
Common questions ISECURION receives from IT and security leaders considering an internal Active Directory assessment.
A grey-box AD penetration test starts the tester with a limited, defined level of access - typically a domain-joined workstation and a standard, low-privileged user account - rather than zero access (black-box) or full administrative visibility (white-box). This mirrors the realistic position of an attacker who has already obtained an initial foothold through phishing, a compromised endpoint, or a low-trust account, and focuses testing effort on what matters most: how far that access can be escalated.
Password spraying tests a small number of commonly used or organisationally predictable passwords against a large list of enumerated usernames, rather than exhaustively guessing many passwords against one account - a technique specifically designed to stay under account-lockout thresholds. In this engagement, the sprayed password matched the credentials of 189 separate accounts, including a Domain Administrator account. Because that single account already held the highest level of domain privilege, no further exploitation was required: the tester could immediately extract every credential in the domain.
LLMNR (Link-Local Multicast Name Resolution) and NBT-NS (NetBIOS Name Service) are legacy Windows protocols that let devices resolve hostnames on a local network when standard DNS lookups fail. Because they use unauthenticated broadcast requests, an attacker on the same network segment can respond to these requests, tricking the requesting machine into authenticating to the attacker's system and handing over an NTLM hash in the process. Despite being well-documented attack techniques for over a decade, both protocols remain enabled by default on many Windows environments, which is exactly what allowed credential capture in this engagement.
File shares are typically governed by broad access-control lists intended for document collaboration, not by the tighter, purpose-built access controls a secrets manager or password vault provides. When credentials, API keys or cloud tokens are saved to these shares - often for convenience during setup or troubleshooting - they inherit that broad access, becoming readable by any user with share permissions rather than only the systems or people that actually need them. In this engagement, exactly this pattern gave the testing team access to cloud, SaaS and database credentials entirely separate from the Active Directory domain itself, dramatically expanding the impact of the assessment.
Kerberoasting is a technique where any authenticated domain user requests Kerberos service tickets for accounts with registered Service Principal Names, then attempts to crack those tickets offline to recover the underlying account password. In this engagement, the exposed tickets belonged to machine accounts, which by default have long, randomly generated, regularly rotated passwords - making successful offline cracking highly unlikely under normal configurations. The finding was therefore rated Low severity, reflecting genuine risk to reconnaissance and attack-surface visibility rather than a realistic path to credential recovery, unless combined with legacy encryption misconfigurations.
The tunnel in this engagement was established using standard, widely available tooling (SSH with remote port forwarding), routed over an encrypted connection that resembles ordinary secure traffic rather than obviously malicious activity. Many endpoint security deployments focus detection on known-malicious file signatures and process behaviour rather than on the network-level patterns of unauthorized outbound tunneling. Closing this gap typically requires a combination of egress filtering, application allowlisting for networking utilities, and dedicated detection rules for anomalous encrypted outbound connections, rather than relying on endpoint tooling alone.
Based on patterns from this and similar engagements, ISECURION recommends a minimum password length of at least 14 characters for standard user accounts and 20 characters for privileged and administrative accounts, combined with a banned-password list aligned to current threat intelligence, an increased password history to prevent short-cycle reuse, and mandatory multi-factor authentication for all privileged, administrative and remote-access accounts. Length and MFA together do far more to resist password spraying than complexity rules alone.
ISECURION recommends internal Active Directory penetration testing on at least an annual basis, with follow-up validation testing scheduled specifically after remediation of critical and high-severity findings, and additional testing triggered by any significant change to the directory structure, trust relationships, or major infrastructure migrations. Organisations in regulated sectors, or those handling particularly sensitive data, often benefit from a more frequent cadence combined with ongoing detection-focused exercises such as purple teaming.
Yes. In addition to serving organisations across major Indian cities - Bangalore, Mumbai, Delhi NCR, Noida, Chennai, Hyderabad, Pune, Kolkata, Ahmedabad and Kochi - ISECURION delivers internal network and Active Directory penetration testing for organisations in the United States, United Kingdom, the European Union, the GCC region, Singapore and Australia, with both on-site and remote-access delivery models available depending on the client's environment and constraints.
Treat P1 findings as immediate priorities: reset privileged credentials, eliminate confirmed password reuse, rotate exposed secrets, and lock down over-permissive file shares. Ingest findings into a tracked risk register with named owners, target dates and acceptance criteria rather than leaving remediation informally distributed. Disable legacy protocols (LLMNR, NBT-NS) via Group Policy and validate the change across the estate through post-deployment scanning. Tune EDR and SIEM detection rules specifically for the techniques demonstrated - password spraying patterns, anomalous NTDS access, LLMNR poisoning indicators, and unexpected outbound tunneling. Schedule a follow-up validation assessment once critical and high findings are remediated, to confirm closure rather than assuming remediation was effective.
Ready to test your own Active Directory environment? Contact ISECURION's penetration testing team at info@isecurion.com or submit an enquiry - we scope grey-box engagements to reflect your organisation's real attacker starting point.
ISECURION's Active Directory penetration testing team validates identity, access and privilege escalation risk under realistic, grey-box conditions - delivering evidence-based findings and a remediation roadmap you can act on immediately. CERT-In empanelled, across India, the US, UK, EU, GCC, Singapore and Australia.