Insight Recon blog

Active Directory fixes that won't break production

Write-ups on the AD problems we keep finding, with the PowerShell to check your own domain and the steps to fix it.

By Heath Adams and Brad Thornton at Breach Point

Run a free scan to check your whole domain at once.

Blog article feature image for Preventing AS-REP Roasting

AS-REP Roasting: Prevent It With Kerberos Pre-Authentication

Kerberos pre-authentication makes an account prove it knows its password before a domain controller hands back anything useful. Turn it off and the DC will answer anyone who asks with data an attacker can take offline and guess against. It’s one checkbox. It’s usually there because someone ticked it years ago. Here’s what the finding means, how to find those accounts and how to turn pre-authentication back on.

Read Post
Blog article feature image for SMBv1 enabled on domain controllers

SMBv1 on Domain Controllers: Risks and How to Remove It

Microsoft put SMBv1 on its deprecation list back in 2013. WannaCry rode SMBv1 bugs across whole networks in 2017. It’s still installed by default on Windows Server 2016 and earlier. It also tends to survive upgrades. Here’s what the finding means, how to check your DCs and how to remove it without breaking whatever still depends on it.

Read Post
Blog article feature image for finding and remediating DES enabled accounts within Active Directory

DES-Enabled Accounts: The Legacy Kerberos Setting to Fix

DES is a 1970s cipher with a 56-bit key that modern hardware cracks in hours. Windows turned it off by default years ago, but Active Directory still has a per-account switch that forces an account back onto DES-only Kerberos. Where that switch is on, the account’s tickets are weak. A service account with an SPN turns into a soft Kerberoasting target wherever the domain still allows DES. Here’s what the setting does, how to find the accounts that still have it and how to move them to AES.

Read Post
Blog article feature image for enabling active directory recycle bin

Active Directory Recycle Bin: Why to Turn It On

The Active Directory Recycle Bin doesn’t stop someone from deleting a user, a group or a whole OU. It decides what happens next. With it on, a deleted object sits in a holding container with its attributes and group memberships intact. One command brings it back. Without it, that same deletion means an authoritative restore from backup, downtime and a fair bit of rebuilding by hand. It’s off by default. Turning it on is one of the easier wins in AD.

Read Post
Blog article feature image for ensuring all accounts require a password

Password Not Required in AD: Find and Fix Flagged Accounts

Every account in Active Directory should need a password. The PASSWD_NOTREQD flag says this one doesn’t. It’s a per-account switch that your domain password policy can’t override. The flag doesn’t guarantee the account has a blank password, but it allows one. When a flagged account does end up blank, anyone who knows the name walks in. Here’s what the flag really means, how to find the accounts that carry it and how to clear it without breaking anything.

Read Post
Blog article feature image for Risky AdminSDHolder permissions

AdminSDHolder Permissions: Risks, Detection & Fixes

AdminSDHolder is one object, but its permissions aren’t. Active Directory copies them onto every privileged account in the domain, about once an hour. So one bad entry here isn’t a one-object problem. It’s a standing grant over Domain Admins, Enterprise Admins and the rest. It re-applies itself even after you clean it off the individual accounts, which is what makes it a favorite persistence trick. Here’s how the mechanism works, how to spot a rogue entry and how to clear it for good.

Read Post

Schema Admins Group Membership: Risks & How to Fix It

The schema defines every object and attribute type that can exist in Active Directory. Schema Admins is the only group that can change it. Those changes are permanent and forest-wide. Nobody needs to sit in this group day to day. Here’s why standing membership is a risk, how to find who’s in it and how to keep it empty without blocking the rare schema change you do need.

Read Post
Blog article feature image for preventing the use of passwords that do not expire

Non-Expiring Passwords: A Hacker’s Delight

When the PasswordNeverExpires flag is set, a password that leaks stays good until someone changes it by hand. It’s one of the most common things we find in Active Directory. Here’s the part most posts skip: forced expiration isn’t the fix it used to be. NIST and Microsoft both say so. The real risk is old passwords on service and admin accounts that nobody rotates. Below is how to find them, sort them by risk and fix each type the right way.

Read Post
Blog article feature image for ensuring proper domain controller ownership

Who Owns Your Domain Controllers? The Ownership Gap Attackers Love.

In Active Directory, whoever owns an object can change its permissions, whatever those permissions say. Domain controller objects should be owned by Domain Admins. When ownership drifts to the account that joined the server, a service account or one admin’s personal login, that account can rewrite the permissions on your most sensitive machines. A normal permissions review won’t show it, because ownership isn’t a permission. Here’s how ownership drifts, how to check every DC in a minute and how to put it back.

Read Post