Active Directory: the starting position and the health check
Unit 1 of 5 in Active Directory, cloud and cluster assessment.
You will be able to explain why a directory is assessed as a configuration surface, build a lab domain you own, see what an ordinary user can read, and read a health check report rule by rule.
Lesson
Why a directory is assessed as configuration
Microsoft's guidance on securing Active Directory describes the most common ways in as gaps in antivirus and antimalware, incomplete patching, outdated applications, misconfiguration, lack of secure development practices, and credential theft. Credential theft means extracting credentials from the sessions of accounts that are signed in, and attackers go for accounts that already have high privileges: permanently privileged accounts, VIP accounts, domain controllers, and other identity infrastructure such as certificate and systems management servers.
The same page lists risky configurations that make that easier: local privileged accounts with the same credentials on every system, too many users in privileged groups, and weakly managed domain controllers. These are settings, not software flaws, which is why a directory assessment is mostly reading and measuring configuration, and why the fixes are mostly changes to policy.
Planes, hierarchy and the audit habit
Microsoft's enterprise access model describes three planes. The data and workload plane holds the business value. The management plane is how IT runs those systems. The control plane is the central identity system that gives consistent access control across them. Each plane has control of the ones below by virtue of its function, which makes it an attractive pathway for attackers if they gain control of either higher plane.
Among the principles the page lists are to enforce a hierarchy so that control of higher planes cannot be gained from lower ones, to apply least privilege to all access, including APIs and service accounts, and to continuously audit for configuration vulnerabilities that allow inadvertent escalation. That last line is the job description of this class.
A health check is a map with a score
PingCastle describes itself as an assessment of Active Directory and Entra ID identity security posture that shows where the risks are and how to remediate them, with a free Community Edition and reports aimed at different readers: operations get technical detail and guidance, and management gets an overview of the security level, critical risks and an action plan. Read the report's shape before its rules: categories, rules, evidence and the fix for each.
The skill is sorting the findings: real, accepted, or lab noise. A deliberately messy lab domain will score badly on purpose, so the score is a starting point to measure against, not a verdict. The PingCastle lab takes one rule all the way through, from what it checks to the evidence to the remediation, and turns the report into a ranked fix list with owners.
Start where an ordinary user starts, in a domain you own
Every directory assessment begins from a position, and the most useful and most sobering one is an ordinary domain account on a domain-joined machine using only built-in tools. The lab shows how much such an account can read, and that reading is all it does. It changes nothing.
Because a domain controller is the most sensitive system in the environment, Microsoft's rule for administration applies to your own lab too: never administer a trusted system from a less-trusted host, and require multi-factor authentication for privileged accounts. Your lab is sealed from everything real, you take a snapshot before every change, and you write a baseline file to compare against later.
Key points
- Most directory weaknesses are configuration: shared local passwords, too many privileged users, weak controllers.
- Enforce a hierarchy between control, management and data planes, and keep auditing for settings that allow escalation.
- A health check score is a starting point to measure against, not a verdict; sort findings into real, accepted and lab noise.
- Build the lab domain yourself, seal it, snapshot it before each change, and keep a baseline.
Sources
- Microsoft Learn: Best practices for securing Active Directory
- Microsoft Learn: Enterprise access model
- PingCastle: home page and methodology
Practice in the labs
Build and seed a domain you own, see what any ordinary user can read, then read a health check as a fix list.
- Set up an Active Directory home lab (Part 1: build the domain you own): You build the lab domain: a sealed host-only network, a domain controller and a client. It is long, and mostly Windows installs running in the background, so start it first.
- Seed your AD lab with realistic mess using BadBlood, then record a baseline: You fill your own lab domain with realistic users, groups and permissions, take a snapshot and record a baseline for every later lab to compare with.
- See what any ordinary domain user can read, with built-in tools only: You work from the position of an ordinary domain user with built-in tools only, read-only, and note risky data in descriptions and flags.
- Read a PingCastle health check rule by rule and turn it into a fix list: You run the health check on your own lab, read one rule all the way through and sort the findings into real, lab noise and accepted.
Knowledge check
- Which of these does Microsoft's Active Directory guidance list as a risky configuration? Answer: Local privileged accounts configured with the same credentials on every system. The page names shared local privileged credentials, too many users in privileged groups and weak domain controller management as risky configurations.
- What does the enterprise access model say about higher and lower planes? Answer: Enforce a hierarchy so higher planes cannot be controlled from lower ones. The model lists enforcing hierarchy to prevent control of higher planes from lower planes, and auditing for settings that allow inadvertent escalation.
- Your deliberately messy lab domain gets a poor health check score. What does that tell you? Answer: It is a baseline to measure improvement against, not a verdict on a real organization. The domain was seeded with realistic mess on purpose; the value is the before-and-after comparison and the sorted findings.
- Why should your lab domain be built and sealed before any seeding or auditing? Answer: The seeding tool and later fixes change a directory, so they must only ever run in a throwaway domain you own. The rule from the first class applies: your system, your scope. A snapshot lets you undo each change.
Back to the syllabus or see all classes.
Related
- Active Directory, cloud and cluster assessment
- Set up an Active Directory home lab (Part 1: build the domain you own)
- Seed your AD lab with realistic mess using BadBlood, then record a baseline
- See what any ordinary domain user can read, with built-in tools only
- Read a PingCastle health check rule by rule and turn it into a fix list
- All classes
- Free cyber labs