Free tech learning for everyone, from basics to pro

Ethical HackingCyber SecurityAdvanced

Common Active Directory attacks and how to defend against them

In short: Active Directory controls accounts and computers in most Windows networks, so attackers aim to become Domain Admin. Common techniques include password spraying, Kerberoasting, pass-the-hash and DCSync. Strong defences are long service account passwords, tiered admin accounts, LAPS, the Protected Users group, MFA and monitoring of domain controllers.

Why Active Directory is the main target

Active Directory (AD) is the Microsoft directory service that stores user accounts, groups and computers and controls who can sign in where. Most organisations that run Windows use it. If an attacker gains Domain Admin rights, they can sign in to almost any computer, change any password and push software to every PC, which is why ransomware groups focus on it. Testers assess AD so these paths can be closed. The server roles behind AD are explained in Windows Server core roles.

Why attackers target Active DirectoryActive Directorywho can access whatUser accountsevery staff loginGroupsDomain Admins andmoreGroup Policysettings for all PCsKerberossign-in ticketsServers and PCsjoined to the domain
Figure 1. Whoever controls Active Directory controls almost every Windows computer and account in the organisation.

Common attack techniques (high level)

TechniqueWhat it meansMain defence
Password sprayingTrying one common password against many accounts to avoid lockoutsBanned password lists, MFA, alerting on many failed sign-ins
KerberoastingRequesting service tickets and cracking service account passwords offlineLong random passwords or managed service accounts (gMSA)
Pass-the-hashReusing a stolen password hash instead of the passwordLAPS, tiered admin, Credential Guard, no admin sign-ins on user PCs
DCSyncPretending to be a domain controller to copy password dataTightly control replication rights; monitor for unusual replication
Misconfigured permissionsHidden paths where one account can control anotherRegular review of AD permissions and admin group membership

These techniques are mapped in MITRE ATT&CK, which defenders use to plan detections. Tests must be authorised and scoped, because some techniques can lock accounts or disrupt sign-ins.

Protecting admin accounts with tiers

Tiered administrationTier 0domain controllers, AD adminsTier 1servers and server adminsTier 2user PCs and help desk
Figure 2. Admin accounts for a higher tier never sign in to a lower tier, so a compromised PC cannot expose domain admin credentials.

The most important defence is keeping the most powerful credentials away from everyday machines. In tiered administration, domain admins use separate accounts that sign in only to domain controllers and dedicated admin workstations. Help desk staff use lower-tier accounts that cannot touch servers. If a user PC is compromised, there are no domain admin credentials on it to steal.

A defence checklist

  • Keep the Domain Admins group as small as possible and review it monthly.
  • Use Windows LAPS for unique local admin passwords on every PC.
  • Put admin accounts in the Protected Users group to block weaker sign-in methods.
  • Use group managed service accounts or 25+ character passwords for service accounts.
  • Require MFA for remote access and admin portals (see MFA and passwordless).
  • Send domain controller security logs to a SIEM and alert on admin group changes.

Real-world example: an AD assessment at a school

A fictional school group asks for an internal assessment of its Active Directory. Starting from a teacher's account, the tester finds that a backup service account has a short password, is a Domain Admin and is vulnerable to Kerberoasting. The tester proves the risk without disrupting lessons and reports it. The IT team replaces the account with a group managed service account that has only backup rights, removes three old accounts from Domain Admins and creates separate admin accounts for technicians. Alerts are added for any change to the Domain Admins group. The retest finds no route from a normal user to domain admin.

Practice

Why do attackers aim for Domain Admin rights?
Domain Admin can sign in to almost any computer, change passwords and push software across the whole network.
What defends against Kerberoasting?
Long random passwords or group managed service accounts, so stolen tickets cannot be cracked.
What is the purpose of tiered administration?
To keep high-privilege admin credentials off everyday PCs, so a compromised PC cannot expose them.

Key takeaways

  • Active Directory controls accounts and computers, so Domain Admin is the attacker's goal.
  • Password spraying, Kerberoasting, pass-the-hash and DCSync are common AD attack techniques.
  • Tiered administration keeps domain admin credentials off everyday PCs.
  • LAPS, Protected Users, managed service accounts and MFA close common paths.
  • Monitor domain controllers and admin group changes.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: