Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

dSHeuristics count should be retrievable

AD-CFG-02InfoActive DirectoryDirectory configuration

Part of Active Directory · Active Directory · Directory configuration · All checks

Run this check
Invoke-Maester -TestId AD-CFG-02

dSHeuristics is an AD configuration setting that controls behavior for advanced directory features and legacy compatibility. Because it influences protocol-level behavior (including areas such as LDAP security expectations and feature gating), an incorrect or unexpected dSHeuristics value can:

  • Leave AD behaving in a more legacy/less secure mode
  • Cause authentication and directory access inconsistencies across clients
  • Increase the likelihood of unsafe fallback behaviors when clients interact with AD

Operational

  • Confirm dSHeuristics is set according to your domain’s hardening baseline (and any guidance for your forest/domain functional level).
  • Avoid “trial-and-error” changes; instead, validate configuration changes in a controlled test window.
  • Prioritize alignment with modern security requirements (including enforcing secure LDAP behavior where applicable).

This test queries AD configuration for the dSHeuristics setting(s) and reports a count-style metric indicating how many relevant dSHeuristics values are present/active so you can assess whether the environment matches your expected security baseline.

  • Test-MtAdLdapQueryPolicyCount - Helps ensure LDAP is protected by sane query limits.
Every attribute of this check
FieldValue
Test IDAD-CFG-02
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDirectory configuration
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdDsHeuristicsCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:Configuration/*:ReadProperty