You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Query Issue]: Domains allowing unauthenticated rootDSE searches and binds #39
MATCH (n:Domain)
WHERE n.dsheuristics =~ ".{6}[^2].*"
RETURN n
Issue description
Correct me, if I'm wrong, but if you see dSHeuristics = 0000002 in a production AD forest, it means anonymous LDAP access has been explicitly enabled via this heuristic.
so the regex syntax is wrong, it must be
n.dsheuristics =~ ".{6}[^2]." or
n.dsheuristics =~ ".{6}2."
Activity
Update Domains allowing unauthenticated rootDSE searches and binds.yml
martinsohn commentedon Jan 3, 2026
Hi @HerrHozi, that's correct, nice catch! Thank you for the report. This is fixed with #43
Query updates - bugfixes & improvements (#43)
fix: Query updates for owned clauses (#47)