Skip to content

ad-doctor 0.2.4

Choose a tag to compare

@brkozer brkozer released this 09 Nov 20:52

What-if in the browser, and seven checks on Active Directory-integrated DNS (118 to 125 checks).

Interactive what-if. With the full graph embedded, the What-if screen of ad-doctor view lets you turn each change on and off. Exposure, holders, routes and the paths closed, rerouted, open and new follow live, computed in the page on the same model as whatif and checked against it. Add changes from the steps and chokepoints on Control paths, compare with the plan in the file, and download the selection as a plan.toml that whatif --plan accepts.

  • Changes that need a rebuilt graph are unavailable, with the reason, and get no number.
  • Findings are not rechecked in the browser, and the page says so.
  • Above the full-graph limit (50,000 directory objects) there is no interactive what-if.

New DNS checks

Check Finds
AD-DNS-001 Zones that accept nonsecure dynamic updates
AD-DNS-002 Write control over a zone outside tier 0 and DnsAdmins
AD-DNS-003 Broad groups that can add records (the default, info only)
AD-DNS-004 Names carrying marshaled target information, used for DNS-based coercion
AD-DNS-005 Wildcard records
AD-DNS-006 wpad, isatap or autodiscover owned by an ordinary account
AD-DNS-007 SPN hosts with no DNS record, in zones where a low-privileged user can add one

No zone transfer is attempted. An unreadable zone or partition is reported as not evaluated, not as passing, and older snapshots say the same.

How far this is tested. On the lab only AD-DNS-003 fires, which is the default state. The positive cases of the other six checks are unit tests and have not fired on a live domain. Reports from real domains are welcome.

Install:

uv tool install ad-doctor

Full list of changes: CHANGELOG.md