Skip to content

AD-CFG-04: Optional features count should be retrievable

ID AD-CFG-04
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Directory configuration
Security area Infrastructure hardening
Resource type Tenant
Reads from On-premises Active Directory

Active Directory optional features (and related feature flags) enable or enhance behaviors such as recoverability and directory management capabilities. Incorrectly enabled/disabled features can materially affect your security posture by:

  • Reducing your ability to recover from accidental or malicious deletion
  • Leaving legacy behaviors in place longer than necessary
  • Causing operational drift that attackers can exploit via misconfiguration

In particular, features that improve recovery (such as those related to the Recycle Bin) directly impact resilience during incidents.

Operational

  • Ensure critical recoverability features (notably Recycle Bin) are enabled for the partitions that contain important identity data.
  • Treat optional feature changes as security configuration changes: use a change control process, test first, and validate after enabling/disabling.
  • Keep optional feature configuration consistent across domains/partitions where required.

This test retrieves the set of enabled AD optional feature flags and reports them as a count/visibility metric so administrators can confirm whether the expected security-enhancing features are active.

  • Test-MtAdRecycleBinEnabledPaths - Shows where Recycle Bin is enabled.
  • Test-MtAdRecycleBinStatus - Validates the Recycle Bin state.

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.