Microsoft Entra adds channel binding for Kerberos SSO

  • Post author:
  • Post category:Microsoft Entra / News
  • Post last modified:
  • Reading time:3 mins read
  • Post published:

The Entra Kerberos service issues tickets so you can move users to modern sign-in and keep the legacy (on-premises) file shares that still rely on Kerberos. Microsoft’s new channel binding guidance covers a slightly different flow for the same service: Seamless SSO, which lets users on domain-joined PCs open Microsoft 365 without re-entering their password, providing they are not already using the PRT for Single Sign-On, which they absolutely should now be using.

The risk of Kerberos relay

With Seamless SSO, the browser presents a Kerberos ticket issued by on-premises Active Directory, and Entra ID validates it to sign the user in.

In a relay attack, the attacker tries to pass a genuine authentication exchange to Entra ID as if it came directly from the user. They don’t need to know the password. If Entra accepts the exchange, the attacker could gain access to the user’s cloud apps. Of-course, your other sign-in controls still apply and Entra can still ask for another proof such as MFA.

What is channel binding?

While HTTPS encrypts Kerberos sign-in message in transit to prevent it from being intercepted, on its own it doesn’t tie the Kerberos exchange to the server. The browser derives a channel binding token (CBT) from the certificate it sees over HTTPS and includes that information in the Kerberos exchange with Entra. Entra checks the binding against its own endpoint’s certificate. Then with enforcement enabled, Entra rejects the Kerberos attempt if the binding is missing or doesn’t match.

Should you disable Seamless SSO?

Yes, you should disable Seamless SSO once you’ve checked for Kerberos sign-ins and confirmed nobody relies on it. For user who already get SSO through a primary refresh token (PRT), nothing changes. If you actually still need Seamless SSO, test channel binding before enforcing. Otherwise, you should completely disable Seamless SSO following my guidance in the prior link, then you don’t have to worry about specifically enabling channel binding.

Enable channel binding with Graph PowerShell

First connect to Microsoft to Microsoft Graph using delegated access with the Policy.ReadWrite.AuthFeatureToggle permission. That permissions has just been added, so if that fails, you can fall back to the Directory.AccessAsUser.All permissions.

Start by validating where this feature is enabled or not.

Connect-MgGraph -Scopes 'Policy.ReadWrite.AuthFeatureToggle'
$uri = 'https://graph.microsoft.com/beta/policies/authenticationFeatureTogglePolicy
(Invoke-MgGraphRequest -Method GET -Uri $uri -ErrorAction Stop).kerberosChannelBinding

You response will likely look like the following, as Channel Binding is not enabled by default.

KerberosChannelBinding

Use the below commands to either enable ChannelBinding in reportOnly mode (which you should do first) or enabled. Start with reportOnly so you can validate if there are any legitimate binding failures so you can resolve them first. You can use the Entra Sign-in logs at Entra ID > Monitoring & health > Sign-in logs to validate if there are any failures.

$body = @{ kerberosChannelBinding = 'enabled' }
Invoke-MgGraphRequest -Method PATCH -Uri $uri -Body $body
(Invoke-MgGraphRequest -Method GET -Uri $uri -ErrorAction Stop).kerberosChannelBinding

You can recheck the with a GET request again to validate the change has applied.

Wrapping up

If you still rely on Seamless SSO, make channel binding a priority to enable today as enforcement helps protect against Kerberos relay attacks. Follow Microsoft’s report-only testing guidance to validate your browsers and network paths, then enforce as soon as those checks pass.

Daniel Bradley

Daniel Bradley is a UK-based technical architect and Microsoft MVP in Security. He specialises in Microsoft Entra, Intune, and Microsoft Graph PowerShell and is the author of Microsoft Graph PowerShell for Administrators. He writes and edits Our Cloud Network using experience gained from working with Microsoft cloud environments.

Leave a Reply