CIS.M365.5.1.8.1 - (L1) Ensure that password hash sync is enabled for hybrid deployments
Overviewโ
5.1.8.1 (L1) Ensure that password hash sync is enabled for hybrid deployments
Password Hash Synchronization is one of the sign-in methods used to enable hybrid identity authentication. With this method, Microsoft Entra Connect synchronizes a cryptographically derived representation of a user's on-premises Active Directory password to Microsoft Entra ID.
The original NT password hash (MD4) is never transmitted to Entra ID. Instead, Entra Connect computes a SHA-256 hash of the original MD4 hash and synchronizes that value. Because only this secondary hash is stored in the cloud, the credential material in Entra ID cannot be reused for on-premises pass-the-hash attacks, even if compromised.
Note: This recommendation applies only to Microsoft 365 tenants operating in a hybrid identity configuration using Microsoft Entra Connect. It does not apply to federated or cloud-only deployments.
Rationaleโ
Password hash synchronization helps by reducing the number of passwords your users need to maintain to just one and enables leaked credential detection for your hybrid accounts. Leaked credential protection is leveraged through Entra ID Protection and is a subset of that feature which can help identify if an organization's user account passwords have appeared on the dark web or public spaces.
Using other options for your directory synchronization may be less resilient as Microsoft can still process sign-ins to 365 with Hash Sync even if a network connection to your on-premises environment is not available. This minimizes downtime and ensures business continuity.
Impactโ
Compliance or regulatory restrictions may exist, depending on the organization's business sector, that preclude hashed versions of passwords from being securely transmitted to cloud data centers.
Remediation actionโ
To remediate using the on-premises Microsoft Entra Connect tool:
- Log in to the on-premises server that hosts the Microsoft Entra Connect tool.
- Double-click the Azure AD Connect icon that was created on the desktop.
- Click Configure.
- On the Additional tasks page, select Customize synchronization options and click Next.
- Enter the username and password for your global administrator.
- On the Connect your directories screen, click Next.
- On the Domain and OU filtering screen, click Next.
- On the Optional features screen, check Password hash synchronization and click Next.
- On the Ready to configure screen, click Configure.
- Once the configuration completes, click Exit.
Note: Microsoft Entra Connect sync is disabled by default. Password Hash Sync is Microsoft's recommended setting for new deployments.
Related linksโ
- Microsoft Entra admin center
- What is password hash synchronization with Microsoft Entra ID?
- Implement password hash synchronization with Microsoft Entra Connect Sync
- Microsoft Entra Connect Sync: Staging server and disaster recovery
- onPremisesDirectorySynchronizationFeature resource type
- Download Microsoft Entra Connect
- CIS Microsoft 365 Foundations Benchmark - Page 278
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | CIS.M365.5.1.8.1 |
| Severity | Medium |
| Suite | CIS |
| Product | Entra ID |
| Feature | Hybrid identity |
| Area | Authentication |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1078.004 Cloud Accounts |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.1.8.1 |
| Benchmark level | L1 |
| Benchmark profiles | E3 Level 1 |
| Supports controls | cis-m365:5.1.8.1, nist-800-53-r5:IA-5 |
| PowerShell test | Test-MtCisPasswordHashSyncEnabled |
| Services | Graph |
Sourceโ
- Test:
tests/cis/Test.CIS.M365.5.1.8.1.ps1 - Documentation:
tests/cis/Test.CIS.M365.5.1.8.1.md
