Azure AD Interview Questions and Answers – 5

0
103

How the Password Hash Synchronisation works?

Password Hash Sync copies a hash of a user’s password hash from on-premises AD to Microsoft Entra ID. This allows users to use the same password for both on-premises and cloud-based applications (like Microsoft 365), without sending the actual password or its direct hash to the cloud.

In Active Directory, passwords are stored as NT hashes (a cryptographic representation of the password).

Azure AD Connect (installed on-premises) reads the user’s NT hash from the AD database. It never reads the actual password.

Before sending it to the cloud, Azure AD Connect applies additional hashing:

  • The NT hash is hashed again using PBKDF2 (Password-Based Key Derivation Function 2) with HMAC-SHA256.
  • This extra hashing ensures that the hash stored in Entra ID is not the same as the one in AD.
  • This prevents attackers from using the hash from the cloud to impersonate a user in AD.

Hash is sent securely to Entra ID

  • The hashed hash (double-hashed value) is sent over a secure TLS connection to Microsoft Entra ID.
  • It is then stored in Entra ID for authentication purposes.

When user sign-in to Entra ID integrated Applications,

This Content Is Only For Subscribers

Please subscribe to unlock this content. Enter your email to get access.
Your email address is 100% safe from spam!

LEAVE A REPLY

Please enter your comment!
Please enter your name here