m365expertise MICROSOFT SECURITY EXPERTISE

Active Directory

Active Directory auditing and hardening: Kerberos, NTLM, privileged accounts, delegation, domain controllers and attack paths, step by step.

Each article starts from what we find when auditing directories and ends with the list of checks to run.

Active Directory

Service accounts: moving to gMSA and dMSA without opening new gaps

Automatically managed passwords, retrieval rights, limits, migration steps, and caution around Windows Server 2025 dMSAs following the "BadSuccessor" research.

2 October 2026 · 8 min · 1,647 views 4.3 (121)
Active Directory

Active Directory delegations: finding and cleaning up excessive rights on OUs and objects

GenericAll, WriteDacl, delegated password resets: how ACLs accumulated on OUs create attack paths, and how to analyse and then clean them up.

1 October 2026 · 8 min · 1,726 views 4.3 (168)
Active Directory

MachineAccountQuota: why any user can still add ten computers to your domain

The default ms-DS-MachineAccountQuota lets any account create computer accounts. Why this makes many attacks easier, and how to delegate domain join properly instead.

28 September 2026 · 7 min · 1,727 views 4.3 (134)
Active Directory

The first 48 hours of an Active Directory compromise: contain, preserve, take back control

Containment, preserving evidence, resetting privileged accounts, the double krbtgt reset and its timing, the rebuild decision and communication: a framework for the first hours.

26 September 2026 · 9 min · 2,011 views 4.4 (109)
Active Directory

AD-integrated DNS: securing zones, dynamic updates and the DnsAdmins group

Dynamic updates, record creation by any authenticated user, WPAD, wildcard records and the DnsAdmins group: the blind spots of Active Directory-integrated DNS.

26 September 2026 · 8 min · 2,092 views 4.4 (130)
Active Directory

Group Managed Service Accounts (gMSA): putting an end to static service passwords

gMSAs replace fixed-password service accounts with long, automatically rotated secrets. The key is still controlling who is allowed to retrieve them.

22 September 2026 · 7 min · 2,080 views 4.3 (200)
Active Directory

MachineAccountQuota: why any user can join machines to your domain, and how to stop it

By default, every authenticated user can create up to ten computer accounts. A legacy setting that enables several attack paths and is simple to fix.

25 August 2026 · 6 min · 2,310 views 4.4 (183)
Active Directory

The Protected Users group: strong protections for privileged accounts, deployed with care

No NTLM, no delegation, no RC4, short-lived TGTs: Protected Users hardens sensitive accounts with no extra tooling. How to use it and the pitfalls to avoid.

28 July 2026 · 6 min · 2,335 views 4.3 (195)
Active Directory

Authentication policies and silos: restricting where Tier 0 accounts can sign in

Authentication silos let the domain controller refuse a Kerberos ticket to a privileged account signing in from an unauthorised machine.

30 June 2026 · 7 min · 2,286 views 4.4 (197)
Active Directory

Dangerous ACLs in Active Directory: forgotten delegations that lead to Domain Admins

GenericAll, WriteDACL, WriteOwner, password reset: some permissions on sensitive objects are as good as membership of privileged groups.

2 June 2026 · 7 min · 2,392 views 4.2 (202)
Active Directory

Shadow credentials: understanding and controlling the msDS-KeyCredentialLink attribute

Designed for Windows Hello for Business, the msDS-KeyCredentialLink attribute lets whoever can write it authenticate as the account. Who holds that right in your domain?

5 May 2026 · 6 min · 2,179 views 4.3 (197)
Active Directory

Secrets in SYSVOL: cpassword, scripts and clear-text passwords readable by everyone

More than ten years after MS14-025, we still find Group Policy Preferences passwords and clear-text credentials in SYSVOL. How to find and remove them.

7 April 2026 · 6 min · 2,532 views 4.3 (217)
Active Directory

Protecting LSASS: LSA protection and Credential Guard, what they block and what they don't

In-memory credential theft remains central to Active Directory compromises. Two protections built into Windows make it much harder, provided they are deployed correctly.

10 March 2026 · 7 min · 2,187 views 4.3 (211)
Active Directory

Stopping privileged accounts from signing in to lower tiers with user rights assignment

"Deny log on" user rights applied through Group Policy make the tier model real: a domain administrator must never leave credentials on a user workstation.

10 February 2026 · 6 min · 2,690 views 4.3 (209)
Active Directory

Privileged Access Workstations (PAW): administering Active Directory from a clean source

Administering the domain from the machine you also use for email exposes your most sensitive accounts to the first successful phishing. Principles and architecture of a privileged access workstation.

13 January 2026 · 7 min · 2,146 views 4.4 (185)
Active Directory

Forest and domain functional levels: what each level actually brings to security

Protected Users, authentication policies, LAPS encryption, the Windows Server 2025 level: the protections tied to functional levels, and how to raise them safely.

16 December 2025 · 7 min · 2,604 views 4.3 (217)
Active Directory

Domain controllers on unsupported Windows Server versions: getting out of the dead end cleanly

An unpatched domain controller exposes the whole forest. Inventory, in-place upgrade versus new DC, demotion and metadata cleanup.

18 November 2025 · 7 min · 2,413 views 4.3 (177)
Active Directory

Read-only domain controllers: getting the Password Replication Policy right

An RODC is only as safe as its Password Replication Policy. Allowed and denied groups, dedicated krbtgt accounts, delegated administrators and branch office risks.

21 October 2025 · 7 min · 2,455 views 4.4 (166)
Active Directory

AD-integrated DNS: secure updates, record creation rights and booby-trapped records

Dynamic updates, Authenticated Users rights, wildcard and WPAD records, the DnsAdmins group, scavenging: the DNS settings that matter for AD security.

23 September 2025 · 7 min · 2,109 views 4.2 (232)
Active Directory

LLMNR, NBT-NS and mDNS: shutting down the fallback name resolution that leaks your NTLM hashes

When DNS fails, Windows asks the local network and trusts the first answer. Understanding poisoning, disabling these protocols via GPO and DHCP, and anticipating what might break.

26 August 2025 · 6 min · 1,979 views 4.3 (206)
Active Directory

DHCPv6 spoofing and WPAD: when a network "without IPv6" becomes a way in

Windows prefers IPv6 even where nobody deployed it. How a rogue DHCPv6 server hijacks DNS and WPAD to feed NTLM relay, and the right countermeasures.

29 July 2025 · 7 min · 2,121 views 4.3 (166)
Active Directory

Kerberos encryption: moving off RC4 to AES without breaking services

RC4 makes Kerberoasting easier and Microsoft is preparing its retirement. msDS-SupportedEncryptionTypes, accounts without AES keys, ticket logs: a method to migrate safely.

1 July 2025 · 7 min · 2,541 views 4.4 (216)
Active Directory

Risky userAccountControl flags: finding and fixing them before an attacker does

Password not required, reversible encryption, DES, unconstrained delegation: these quiet bits weaken your accounts. How to find them and remove them properly.

3 June 2025 · 7 min · 2,728 views 4.4 (231)
Active Directory

SIDHistory: the migration legacy that can hide privileges

Essential during a migration, SIDHistory becomes a risk if it lingers. Legitimate use, abuse for persistence, auditing, cleanup and SID filtering on trusts.

6 May 2025 · 6 min · 2,639 views 4.3 (167)
Active Directory

Active Directory Recycle Bin: enabling it, restoring objects and knowing its limits

An accidentally deleted OU should never require restoring a domain controller. Enabling, lifetimes, restoring objects and memberships, and what only a backup still covers.

8 April 2025 · 6 min · 2,328 views 4.3 (198)
Active Directory

Microsoft Defender for Identity: what the sensors really detect, and what they do not replace

Sensors on domain controllers, AD FS, AD CS and Entra Connect, detections, posture assessments and tuning: how to get value from Defender for Identity without expecting miracles.

11 March 2025 · 7 min · 2,427 views 4.3 (176)
Active Directory

Network isolation of domain controllers: no Internet, controlled flows and an active firewall

A domain controller does not browse the Internet, accepts administration only from dedicated workstations and filters its traffic: the network rules that protect the heart of the directory.

11 February 2025 · 7 min · 2,455 views 4.2 (216)
Active Directory

Time synchronization in Active Directory: the PDC emulator, Kerberos and virtualization pitfalls

A skewed clock breaks Kerberos, corrupts logs and weakens certificates. How to build a reliable time hierarchy, from the PDC emulator down to virtualized domain controllers.

14 January 2025 · 6 min · 2,674 views 4.4 (178)
Active Directory

Passwords in Active Directory attributes: the Description field anyone can read

Description, info, comment, userPassword: passwords sit in attributes any authenticated user can read. How to find them, remove them and keep them from coming back.

17 December 2024 · 6 min · 2,190 views 4.3 (212)
Active Directory

Designing OUs for delegated administration without creating attack paths

Separate tiers, delegate to groups rather than people, control inheritance and document everything: the principles of an OU structure that supports security instead of undermining it.

19 November 2024 · 7 min · 1,856 views 4.2 (208)
Active Directory

Schema Admins and Enterprise Admins: groups that should stay empty

The two most powerful groups in the forest only need members a few hours a year. Temporary membership, hardening the built-in Administrator account and monitoring changes.

22 October 2024 · 6 min · 2,585 views 4.3 (196)
Active Directory

Domain password policy: favour length, rethink lockout

Length over complexity, passphrases, lockout threshold versus password spraying and fine-grained policies: bringing the domain policy in line with current guidance.

24 September 2024 · 7 min · 2,846 views 4.3 (162)
Active Directory

Pre-Windows 2000 Compatible Access and anonymous access: closing directory enumeration

A legacy group, a dSHeuristics setting and a few security options can be enough to open the directory to anonymous queries. How to check and harden without breaking applications.

27 August 2024 · 6 min · 2,558 views 4.4 (180)
Active Directory

WDigest, LM hashes and NTLMv1: removing the legacy settings that expose credentials

Clear-text passwords in memory, stored LM hashes, NTLMv1 authentication still accepted: three legacy issues still found in audits, and the Group Policy settings that fix them.

30 July 2024 · 6 min · 1,730 views 4.3 (237)
Active Directory

Authentication coercion and NTLM relay: understanding PetitPotam and its relatives to defend against them

PetitPotam, DFSCoerce, the printer bug: forcing a domain controller to authenticate, then relaying that authentication. The concept, and the measures that break the chain.

2 July 2024 · 7 min · 2,163 views 4.3 (202)