AD-FEAT-02 - Optional feature enabled details should be retrievable
Overviewβ
Understanding which Active Directory optional features are enabled and their scope is crucial for security management:
- Recycle Bin: Should be enabled at the forest level for object recovery capabilities
- Privileged Access Management: May be enabled for specific domains or the entire forest
- Feature Scope: Knowing where features are enabled helps ensure consistent security policies
Enabled optional features represent additional capabilities that can enhance security but also increase the attack surface if not properly managed.
Security Recommendationβ
- Enable Recycle Bin at the forest level if not already enabled
- Document all enabled optional features and their scope
- Regularly review enabled features to ensure they align with security requirements
- Understand the implications of each enabled feature
- Monitor for unauthorized enabling of optional features
How the Test Worksβ
This test retrieves detailed information about enabled optional features:
- Total optional features available
- Number of features with enabled scopes
- Feature names and their enabled scope counts
- Detailed breakdown of each enabled feature
Related Testsβ
Test-MtAdOptionalFeatureCount- Counts total available optional featuresTest-MtAdRecycleBinStatus- Specifically checks Recycle Bin status
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-FEAT-02 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Replication |
| PowerShell test | Test-MtAdOptionalFeatureEnabledDetails |
| Tags | AD, AD-FEAT-02, AD.Replication |
Sourceβ
- Pester test:
tests/ad/replication/Test-MtAdOptionalFeatureEnabledDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/replication/Test-MtAdOptionalFeatureEnabledDetails.ps1

