Schema version details should be retrievable
AD-SCH-04InfoActive DirectorySchema
Part of Active Directory · Active Directory · Schema · All checks
Invoke-Maester -TestId AD-SCH-04Overview
Section titled “Overview”Comprehensive schema information provides the foundation for understanding your Active Directory infrastructure. The schema defines:
- Object classes: What types of objects can exist (users, computers, groups)
- Attributes: What properties objects can have
- Constraints: Rules for object creation and modification
Understanding schema details helps with:
- Troubleshooting: Identifying schema-related issues
- Planning: Preparing for application deployments
- Documentation: Maintaining accurate AD documentation
- Security: Detecting unauthorized schema modifications
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”Protect your schema with these practices:
- Schema Admins group: Keep membership minimal and monitored
- Change control: Require approval for all schema modifications
- Documentation: Maintain records of all schema extensions
- Backup: Regularly backup the schema NC (naming context)
- Monitoring: Alert on any schema modifications
How the Test Works
Section titled “How the Test Works”This test retrieves detailed information from the schema container including:
- Schema version number
- Corresponding Windows Server version
- Schema creation and modification dates
- Distribution of object classes
- Total schema object count
Related Tests
Section titled “Related Tests”Test-MtAdSchemaVersionEntryCount- Shows schema version numberTest-MtAdSchemaModificationYearCount- Shows modification timelineTest-MtAdSchemaModificationYearDetails- Detailed modification breakdown
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-SCH-04 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Schema |
| Area | Infrastructure hardening |
| Resource type | Tenant |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdSchemaVersionDetails |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:Schema/*.objectVersion:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/schema/Test.AD-SCH-04.ps1 - Documentation:
tests/ad/schema/Test.AD-SCH-04.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Schema
- Area
- Infrastructure hardening
- Suite
- Active Directory