Skip to content

ad-doctor 0.2.3

Choose a tag to compare

@brkozer brkozer released this 09 Nov 13:06

ad-doctor now reads what Group Policy sets in the registry, with Group Policy precedence. Nine new checks, 109 to 118.

Reader. Machine\Registry.pol, audit.csv and Preferences\Registry\Registry.xml from SYSVOL, resolved per computer by link order, Enforced, Block Inheritance and security filtering. Where the winner cannot be decided, for example a WMI filter, the value stays undecided with the reason instead of being assumed.

New checks

Check Finds
AD-GPO-009 LLMNR not turned off by policy
AD-GPO-010 WSUS over HTTP
AD-GPO-011 PowerShell script block or module logging not set
AD-GPO-012 UNC hardened paths missing or weak
AD-GPO-013 Domain controller audit policy against Microsoft's baseline
AD-GPO-014 DefaultPassword set through Group Policy
AD-GPO-015 BlockNtlmv1SSO turned off
AD-GPO-016 Weak DefaultDomainSupportedEncTypes on domain controllers
AD-ADCS-020 ESC10: weak certificate mapping as far as Group Policy shows it

What these checks can and cannot see. Group Policy not setting a value says nothing about the host's own registry, so most "not set" results are low or info and worded that way. ESC10 is reported as unknown when no GPO sets the values, because they are commonly set locally. Secret values never leave the parser: only the fact and the location are kept.

How far this is tested. The lab's GPOs carry no Registry.pol data, so the parser has run only on bytes built from Microsoft's format description, and the positive cases are unit tests. Reports from real domains are welcome. Microsoft's documents disagree on the order of two links in the same OU; the code follows New-GPLink and the Group Policy scope documentation, and this matters only when two such links set different values.

Older snapshots still load; these checks report as not evaluated.

Install:

uv tool install ad-doctor

Full list of changes: CHANGELOG.md