The 5 Active Directory Vulnerabilities We Find Most Often, and How to Fix Them

The 5 Active Directory Vulnerabilities We Find Most Often, and How to Fix Them

In internal network penetration tests, the same story repeats itself: we start with an ordinary user account and, within a few hours, sometimes a few minutes, we reach Domain Admin. What makes this possible is rarely a sophisticated zero-day. Most of the time it is simple configuration mistakes that have piled up over the years and chain together.

In this article we summarise the five vulnerabilities we come across most often in Active Directory assessments, how attackers use them and how you can close them.

1. Service accounts with weak passwords (Kerberoasting)

The problem: service accounts created for services such as SQL Server, backup software or web applications usually have passwords set years ago and never changed. These accounts often have more privileges than they need.

The attack: any user in the domain can request Kerberos tickets for service accounts. Part of each ticket is encrypted with a key derived from the service account's password. The attacker takes the ticket and tries to crack the password on their own machine, without hitting any lockout limit. If the password is weak, it falls quickly.

The fix: wherever possible, move to group managed service accounts (gMSA), whose passwords are managed automatically. For accounts you cannot migrate, use random passwords of at least 25 characters, minimise the accounts' privileges and enforce AES instead of RC4 as the encryption type. An example policy for user and service accounts: password policies for companies.

2. The same local administrator password on every computer

The problem: when computers are built from a single image, the local administrator password ends up the same on all of them.

The attack: once the attacker is a local admin on one computer, they capture that account's password hash and use the same hash to access every other computer on the network. If a Domain Admin is logged in on any of those computers, the attacker captures their credentials too.

The fix: use Microsoft's Windows LAPS to give every computer a unique, regularly rotated local administrator password. Prevent Domain Admin accounts from logging in to ordinary workstations.

3. Misconfigured permissions nobody has noticed

The problem: object permissions (ACLs) in Active Directory become complex over the years. Nested groups, rights granted for an old project and never revoked, and broad rights given to the help desk create attack paths no one is aware of.

The attack: using tools that map permission relationships, the attacker finds the shortest path from the compromised user to Domain Admin. That path might look like this: user A is a member of group B; group B can reset user C's password; and C is in the administrators group.

The fix: regularly analyse permission relationships from an attacker's perspective. Keep privileged accounts and groups in a separate administrative tier and remove unnecessary rights. Consider adding privileged accounts to the "Protected Users" group.

4. Credential capture through network protocols

The problem: name resolution protocols such as LLMNR and NBT-NS, enabled by default on Windows networks, and SMB and LDAP signing that is not enforced.

The attack: when a user tries to reach an address that does not exist on the network, the attacker answers "that's me", and the user's computer connects to the attacker with its credentials. The attacker either tries to crack that authentication or relays it straight to another server (NTLM relay) and acts on that server as the user.

The fix: disable LLMNR and NBT-NS via Group Policy. Enforce SMB signing on all servers and LDAP signing and channel binding on domain controllers. In the long term, aim to reduce NTLM usage.

5. Misconfigured certificate templates (AD CS)

The problem: in organisations with Active Directory Certificate Services installed, some certificate templates may be configured to let ordinary users specify the identity in their own certificate requests.

The attack: the attacker uses such a template to request a certificate in the name of a Domain Admin and authenticates as that admin with it. Because the certificate stays valid even if the password changes, it also works as a persistent backdoor.

The fix: review the enrolment rights and settings of all certificate templates. Unpublish unused templates, and require manager approval for templates that let the requester specify the identity.

Why do they matter together?

Each of these vulnerabilities may look like a "medium risk" on its own. The real danger appears when they chain: an account compromised through a phishing email leads to another account via network protocols, from there to a server via a shared local admin password, and on to Domain Admin through a misconfigured permission chain. This is why ransomware groups can encrypt an entire network within hours.

Automated scanners usually cannot see these links. In our Active Directory security assessment, we start from an ordinary user account, map these paths from beginning to end and show you which link to break so the chain falls apart. If you want to know how penetration testing works in general, see What is penetration testing?

2DR

Cyber Security Team

Articles by the 2DR team, working in penetration testing, incident response and personal digital security.

LinkedIn profile