Active Directory review and hardening

Active Directory is the first target in a ransomware attack. We audit its permissions, accounts, and settings, then close the attack paths.

What we examine

Attack paths in the domain

Over the years, AD permissions become impossible to follow, and that is where an attacker looks for a path to domain admin rights. These are the areas we review.

  1. Permission chains

    Which account can write to a group that is a member of another group that has password reset rights over an administrator. Because of nested group memberships, most domains have an unintended path like this.

  2. Admin and protected groups

    Membership of Domain Admins and the other protected groups, and the permissions on the AdminSDHolder object. The most common mistake we find in AD reviews is a service account in Domain Admins whose password has never been changed and under which an application runs on a member server. If that server is compromised, so is the domain.

  3. Service accounts, stale and inactive accounts

    Service accounts with an SPN have tickets that can be cracked offline, and their passwords are often short and unchanged for years. This area also covers accounts without preauthentication and accounts nobody uses anymore that are still enabled.

  4. Legacy protocols

    NTLMv1, SMBv1, and LLMNR/NBT-NS name resolution either leak credentials or let authentication be relayed. A device placed on the network passively collects password hashes whenever machines send name resolution requests.

  5. Credentials on machines

    If a domain admin has ever signed in to a machine, an attacker can take those rights from its memory. A local admin password that is identical on every machine carries the same risk: a single machine is enough to reach the whole fleet.

How the work runs

Map first, then lock down

Hardening builds on the results of the assessment, so the two phases run one after the other.

  1. Audit

    We map the domain with the same tools an attacker would use, so the unintended paths come to light as well. The result is typically a handful of concrete paths that can be fixed.

  2. Closing the attack paths

    Based on the assessment, we clean up the admin groups and apply hardening at the Group Policy and protocol level, for example by disabling LLMNR and turning preauthentication back on. Further steps are advisable over the longer term: gMSA or long passwords on service accounts, LAPS, a banned password list, and eventually the tiered administration model, in which domain admin accounts can sign in only to domain controllers.

Deliverables

What you get at the end

items handed over

  • A report on risky permissions and on stale and inactive accounts
  • Cleanup of the admin groups
  • Hardening at the Group Policy and protocol level
  • Documentation of the changes

Frequently asked questions

The questions we hear most

Why do ransomware attackers go after Active Directory?

Once inside the network, an attacker first wants domain admin rights. With them, the attacker can delete the backups, move on to the other machines, and encrypt everything at once. Encryption is therefore the last step of the attack. Privilege escalation happens well before it, and that is the window in which the attack can still be stopped. Our article on ransomware protection walks through the stages of an attack.

If we already have multi-factor authentication, do we still need an AD review?

Yes. MFA protects the perimeter, for example against password spraying through webmail or the VPN. Service account tickets, however, can be requested by any domain user without elevated rights, and accounts without preauthentication can be attacked without any authenticated access at all. MFA does not protect legacy authentication protocols. We covered the differences between the methods in our article on MFA types.

Do you also review the Entra ID settings?

We review the Entra ID tenant as part of Microsoft 365 security hardening. There we check and fix the settings for authentication, Conditional Access, sharing, email, and logging.

Contact

Ready to secure your critical systems?

Our experts will assess where your security stands and build a roadmap that fits your organization.

ARLITECH's office in Gödöllő

Visit us

You are welcome to visit our Gödöllő office in person.

Address
Centrum Office Building, 2100 Gödöllő, Dózsa György út 13, 3rd floor, office 309
Office hours
Mon–Fri, 9 a.m. to 5 p.m.
Get directions (opens in a new tab)