Entra ID WS-Trust Endpoint Can Enable Password Spraying Beyond Smart Lockout

· Original article ↗

Summary

Testing found that Entra ID’s legacy WS-Trust autologon endpoint can bypass expected Smart Lockout and standard sign-in logging while revealing valid passwords, including on accounts where MFA or Conditional Access blocks sign-in.

Key points

  • The WS-Trust usernamemixed endpoint accepts username and password requests over the internet as part of a legacy Entra Seamless SSO flow.
  • In testing, more than 1,000 failed attempts against one account did not trigger the expected Smart Lockout response or obvious throttling.
  • Failed attempts were absent from standard Entra ID sign-in logs; the article says the Unified Audit Log can capture requests to the endpoint.
  • AADSTS responses can distinguish invalid credentials from valid passwords blocked later by MFA, Conditional Access, or password expiration.
  • The article outlines a spray workflow that first enumerates users, then filters accounts and interprets endpoint responses.
  • Recommended mitigations include disabling usernamemixed, blocking legacy authentication with Conditional Access, monitoring the Unified Audit Log, and moving users to passwordless authentication.

Article Details

Attack Vectors
  • Password spraying against the WS-Trust autologon usernamemixed endpoint can bypass the expected Smart Lockout response and leave failed attempts out of standard Entra ID sign-in logs.
  • AADSTS response codes can reveal whether a username exists and whether a password is valid, including when MFA or Conditional Access blocks completion of sign-in.
Defensive Notes
  • Disable the usernamemixed endpoint if it is not required for older Office 2013 clients.
  • Block legacy authentication, including WS-Trust, through Conditional Access.
  • If the endpoint cannot be disabled immediately, enable Unified Audit Log alerts for requests to autologon.microsoftazuread-sso.com; the article says standard sign-in logs do not capture its failed authentications.
  • Move accounts to passwordless authentication, such as FIDO2 keys or Windows Hello, to remove passwords that can be sprayed.

MITRE ATT&CK

People

Vendors

Products

Tools

Related Articles