Passwordless authentication is a hot topic, if You have a password it can be cracked or phished. In the last parts we enabled MFA so let’s continue from there.
What is passwordless?
Passwordless means that You sign-in without a password, You really don’t have a password. Or You could have but You don’t need it to sign-in. You will use a device or biometric solution to sign-in (ex. fingerprint or Your Face)
In my last blog there was a list and passwordless covers 2 out of 3 from this list.
- Something you possess – which might be a mobile app that receives a notification or a token-generating device.
- Something you are – which typically is a biometric property, such as a fingerprint or face scan used on many mobile devices.
I will be covering the solutions that are needed for AZ-500 not the preview ones, although I really like the Temporary Access Pass but it’s still in preview and not in the test. Hopefully don’t have to wait that long for it to be GA!
Choose a passwordless method
|Windows Hello for Business||Passwordless sign-in with the Microsoft Authenticator app||FIDO2 security keys|
|Pre-requisite||Windows 10, version 1809 or later||Microsoft Authenticator app||Windows 10, version 1903 or later|
|Azure Active Directory||Phone (iOS and Android devices running Android 6.0 or above.)||Azure Active Directory|
|Systems and devices||PC with a built-in Trusted Platform Module (TPM)||PIN and biometrics recognition on phone||FIDO2 security devices that are Microsoft compatible|
|PIN and biometrics recognition|
|User experience||Sign in using a PIN or biometric recognition (facial, iris, or fingerprint) with Windows devices.||Sign in using a mobile phone with fingerprint scan, facial or iris recognition, or PIN.||Sign in using FIDO2 security device (biometrics, PIN, and NFC)|
|Windows Hello authentication is tied to the device; the user needs both the device and a sign-in component such as a PIN or biometric factor to access corporate resources.||Users sign in to work or personal account from their PC or mobile phone.||User can access device based on organization controls and authenticate based on PIN, biometrics using devices such as USB security keys and NFC-enabled smartcards, keys, or wearables.|
|Enabled scenarios||Password-less experience with Windows device.||Password-less anywhere solution using mobile phone.||Password-less experience for workers using biometrics, PIN, and NFC.|
|Applicable for dedicated work PC with ability for single sign-on to device and applications.||Applicable for accessing work or personal applications on the web from any device.||Applicable for shared PCs and where a mobile phone is not a viable option (such as for help desk personnel, public kiosk, or hospital team|
Solutions from Microsoft
So the solutions are FIDO2 and Microsoft Authenticator. Temporary pass is a also a nice feature for new users to sign-in and create their own pass, but this one will not be covered in this article.
FIDO2 (Fast IDentity Online)
So first on the list is FIDO2 (Fast IDentity Online) keys. with FIDO you can use an usb-dongle to register and then select a FIDO2 security key at the sign-in interface as their main means of authentication. These FIDO2 security keys are typically USB devices, but could also use Bluetooth or NFC. With a hardware device that handles the authentication, the security of an account is increased as there’s no password that could be exposed or guessed.
Microsoft has browser support web for FIDO usb-dongles https://docs.microsoft.com/en-us/azure/active-directory/authentication/fido2-compatibility
In Azure AD you can assign the keys to target groups, for all users or to selected users.
In the configure section
Allow self-service set up should remain set to Yes. If set to no, your users will not be able to register a FIDO key through the MySecurityInfo portal, even if enabled by Authentication Methods policy.
Enforce attestation setting to Yes requires the FIDO security key metadata to be published and verified with the FIDO Alliance Metadata Service, and also pass Microsoft’s additional set of validation testing.
Enforce key restrictions should be set to Yes only if your organization wants to only allow or disallow certain FIDO security keys, which are identified by their AAGuids. You can work with your security key provider to determine the AAGuids of their devices. If the key is already registered, AAGUID can also be found by viewing the authentication method details of the key per user.
Security key Authenticator Attestation GUID (AAGUID)
The FIDO2 specification requires each security key provider to provide an Authenticator Attestation GUID (AAGUID) during attestation. An AAGUID is a 128-bit identifier indicating the key type, such as the make and model.
The process with FIDO keys.
- The user plugs the FIDO2 security key into their computer.
- Windows detects the FIDO2 security key.
- Windows sends an authentication request.
- Azure AD sends back a nonce.
- The user completes their gesture to unlock the private key stored in the FIDO2 security key’s secure enclave.
- The FIDO2 security key signs the nonce with the private key.
- The primary refresh token (PRT) token request with signed nonce is sent to Azure AD.
- Azure AD verifies the signed nonce using the FIDO2 public key.
- Azure AD returns PRT to enable access to on-premises resources.
Sign in with passwordless credential
In the example below a user has already provisioned their FIDO2 security key. The user can choose to sign in on the web with their FIDO2 security key inside of a supported browser on Windows 10 version 1903 or higher.
Note! First you have to enable combined security information registration https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-registration-mfa-sspr-combined
You can also allow your employee’s phone to become a passwordless authentication method. You may already be using the Microsoft Authenticator App as a convenient multi-factor authentication option in addition to a password. You can also use the Authenticator App as a passwordless option.
There is the same options as with FIDO keys, but there is the configuration available under the three famous dots.
And here you can choose the authentication modes.
And the user experience after enabling passwordless
The flow for the authentication
And the process
- The user enters their username.
- Azure AD detects that the user has a strong credential and starts the Strong Credential flow.
- A notification is sent to the app via Apple Push Notification Service (APNS) on iOS devices, or via Firebase Cloud Messaging (FCM) on Android devices.
- The user receives the push notification and opens the app.
- The app calls Azure AD and receives a proof-of-presence challenge and nonce.
- The user completes the challenge by entering their biometric or PIN to unlock private key.
- The nonce is signed with the private key and sent back to Azure AD.
- Azure AD performs public/private key validation and returns a token.
If you will choose passwordless logins to your services you dont have to be concerned about password inside those services that support it. If you integrate logins to apps thru Azure AD app registrations it will be a lot easier to use them and you would have a single pane to login and only one identity to login with.
Things to remember
Something you possess – which might be a mobile app that receives a notification or a token-generating device like FIDO2 key.
Something you are – which typically is a biometric property, such as a fingerprint or face scan used on many mobile devices.
Security key Authenticator Attestation GUID (AAGUID)
Microsoft Authentication and FIDO2 are both disabled by default.