AD security

AD Blue

# Overview

AD Blue is a read-only Active Directory security assessment tool. It runs 55 checks against a domain, scores what it finds, maps each finding to MITRE ATT&CK, and explains how to fix it. It never changes the directory. There is no "fix it" button, and remediation is written guidance only.

It has two front ends that share the same check scripts:

The goal is to give defenders a clear, prioritized picture of the misconfigurations attackers actually use, and to show progress as they get fixed.

# What it checks

There are 55 checks, each in its own folder with a PowerShell script and a manifest. Each one reads the directory (LDAP and ADSI, read-only AD cmdlets, SYSVOL files, and remote registry reads) and returns structured JSON findings with a severity, a confidence level, the affected objects, and remediation steps. Checks are grouped into presets (quick, standard, full), so a short scan or a deep one can be picked.

Kerberos and delegation

Kerberos abuse is one of the most common ways attackers move from a normal user to domain admin. Roastable accounts can be cracked offline, and delegation settings can let a compromised machine impersonate other users.

Privileged access

Tier 0 accounts and groups are what attackers want most. These checks look for too many admins, leftover admin flags, and admins missing modern protections.

Directory permissions (ACLs)

A single bad permission on the right object can be a quiet path to domain admin. These checks read security descriptors for the classic dangerous rights.

Certificate Services (AD CS)

Misconfigured certificate templates and CAs (the ESC1 to ESC8 family) can let a low-privileged user get a certificate that authenticates as someone else.

Domain controllers and protocols

Domain controller settings decide whether relay, coercion, and known DC exploits work at all.

Accounts and passwords

Weak account settings are the easy wins for password spraying, credential theft, and persistence.

Password and local-admin policy

Policies set the baseline for every account, and LAPS keeps local admin passwords unique so one cracked machine doesn't unlock the rest.

DNS, domain, and trusts

Domain-wide settings that enable spoofing, quietly allow normal users to add machines, or let a trusted domain become an attack path.

# Scoring

Every scan gets a score and a letter grade. The score starts at 100 and loses points for each finding. Critical, High, Medium, Low and Info findings are worth 25, 10, 4, 1 and 0 points. Points double when a privileged object is affected, halve when a finding is only "possible," and grow with the number of affected objects on a log curve capped at 3×. Grades run from A to F, and an unaccepted privileged Critical caps the grade at C. Findings can also be exported to CSV.

# HTML report pack

The report pack turns a scan into one HTML file that works offline, with no outside requests. It includes:

# Tracking progress over time

Each run saves a small JSON snapshot with counts, key dates, the score, privileged-group sizes, and finding fingerprints. It doesn't save password hashes or a dump of the directory, and it isn't a backup. From the second run on, the report draws trend lines for score, open findings, users, groups, and privileged groups, and lists findings that are newly opened, likely remediated, or still open since the last scan. An optional helper registers a weekly scheduled task to run the report automatically, without storing a password.

# Safety design

# Tech stack

# Open source plans

AD Blue is licensed under Apache-2.0, and the plan is to publish it as a public repository so anyone can measure and improve their Active Directory security. Each check is self-contained, with a script, a manifest, and a documented "how to add a check" guide, so contributors can add new checks without touching the app. Until then, the source is private.

← all projects