Query GUID
ebc79aa4-e816-4be8-93fe-a0b30dbc771d
Query content
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."
H.
BloodHound version
BloodHound v8.3.0
BloodHound DB
Neo4j