WS-Trust Autologon Endpoint: Password Spray Without Smart Lockout Blocking
The WS-Trust usernamemixed endpoint behind Entra Seamless SSO accepts direct SOAP-based username and password authentication requests from the internet and processes them through a non-interactive legacy path. This path does not trigger Smart Lockout, does not populate standard Entra ID sign-in logs, and returns AADSTS error codes that distinguish invalid passwords from valid passwords blocked by MFA, Conditional Access, or expiration, allowing an attacker to confirm credential validity on MFA-protected accounts while evading standard detection controls.
- domainautologon[.]microsoftazuread-sso[.]comLegacy WS-Trust autologon endpoint hostname abused to perform password spraying that bypasses Smart Lockout and standard sign-in logging; defenders should monitor Unified Audit Log entries referencing this host.
- urlhxxp://login[.]microsoftonline[.]com/common/GetCredentialTypeMicrosoft API used by attackers to enumerate whether an email address corresponds to a valid tenant user prior to spraying, reducing wasted attempts against non-existent accounts.
- urlhxxps://autologon[.]microsoftazuread-sso[.]com/{tenant}/winauth/trust/2005/usernamemixedWS-Trust usernamemixed endpoint used to submit direct SOAP username/password authentication requests, the primary vector for the spray technique described.
Detection / HunterAnthropic
What Happened
A researcher found that an old Microsoft sign-in feature, kept around to support very old versions of Office, lets attackers guess passwords against Microsoft 365 accounts without triggering the automatic account lockout that is supposed to stop this kind of attack. It also does not show up in the logs that security teams normally check. Worse, the responses from this feature tell an attacker whether a guessed password was actually correct, even if extra protections like multi-factor authentication would have blocked the sign-in anyway. This affects any organization using Microsoft Entra ID (Microsoft's cloud identity service) that has not specifically disabled this legacy feature or blocked older authentication methods. Organizations should check whether this endpoint is enabled in their environment, consider disabling it or blocking legacy authentication through Conditional Access, and review their Unified Audit Log for signs of this activity.
Key Takeaways
- A legacy WS-Trust autologon endpoint used by Entra Seamless SSO accepts direct username and password requests from the internet and bypasses Smart Lockout entirely.
- Failed authentication attempts against this endpoint do not appear in standard Entra ID sign-in logs, leaving a visibility gap for defenders who rely on those logs to detect password spraying.
- The endpoint returns distinct AADSTS error codes that let an attacker distinguish a wrong password from a correct password blocked by MFA, Conditional Access, or password expiration, which confirms valid credentials even on MFA-protected accounts.
- Testing showed over 1,000 failed attempts against a single account from one unfamiliar IP with no lockout response and no throttling, and a subsequent legitimate sign-in succeeded immediately afterward.
- Microsoft has classified this behavior as by design; the practical mitigations are disabling the usernamemixed endpoint, blocking legacy authentication via Conditional Access, enabling Unified Audit Log alerting, and moving to passwordless authentication.
Affected Systems
- Microsoft Entra ID tenants with Entra Seamless SSO enabled
- Organizations that have not blocked legacy authentication via Conditional Access
- Accounts protected by MFA or Conditional Access policies that rely on Smart Lockout for spray protection
- Legacy Office 2013 clients (pre-May 2015 update) that require the WS-Trust usernamemixed endpoint
Vulnerabilities (CVEs)
None identified.
Attack Chain
- Enumeration: Attacker queries the GetCredentialType API, or the autologon endpoint itself as a fallback, to determine which email addresses correspond to existing tenant accounts.
- Filtering: Attacker discards non-existent accounts to reduce noise and avoid rate-limiting.
- Spraying: Attacker submits a common or company-themed password against each remaining account via the WS-Trust usernamemixed endpoint; Smart Lockout does not trigger and standard sign-in logs do not record the attempts.
- Response Triage: Attacker classifies each SOAP response by AADSTS code to identify accounts with valid passwords, including those blocked by MFA, Conditional Access, or password expiration.
- Post-Exploitation: Attacker gains direct access to accounts without MFA via OAuth2 or Microsoft Graph, or targets MFA-protected accounts with confirmed passwords using adversary-in-the-middle phishing, device code flow abuse, or primary refresh token theft.
Detection Availability
- YARA Rules: No
- Sigma Rules: No
- Snort/Suricata Rules: No
- KQL Queries: No
- Splunk SPL Queries: No
- EQL Queries: No
- Other Detection Logic: No
The article does not provide any YARA, Sigma, Snort/Suricata, KQL, SPL, or EQL detection logic. It recommends enabling Unified Audit Log alerting for requests to the autologon endpoint as a compensating visibility measure, but no specific query or rule syntax is included.
Detection Engineering Assessment
| Dimension | Rating | Rationale |
|---|---|---|
| EDR Visibility | None | This activity occurs entirely against a cloud identity endpoint over the internet and does not touch an endpoint agent, so EDR telemetry would not observe it. |
| Network Visibility | Medium | If your organization inspects outbound/inbound traffic to Microsoft identity endpoints or has visibility into TLS-terminated proxy logs for autologon.microsoftazuread-sso.com, spray traffic volume could be observed, though standard Entra ID sign-in logs do not capture it. |
| Detection Difficulty | Hard | The endpoint is designed to sit outside standard sign-in logging and Smart Lockout, so detection depends on non-default logging sources such as the Unified Audit Log rather than the logs most teams monitor by default. |
Required Log Sources
- Entra ID Unified Audit Log (UAL)
- Entra ID Conditional Access logs
- Network/proxy logs showing outbound requests to autologon.microsoftazuread-sso.com
- Entra ID sign-in logs (for comparison/gap analysis)
Hunting Hypotheses
| Hypothesis | Telemetry | ATT&CK Stage | FP Risk |
|---|---|---|---|
| Consider hunting for a high volume of authentication requests directed at the WS-Trust usernamemixed endpoint from a single external source over a short time window, which may indicate password spraying via this legacy path. | Unified Audit Log entries or network/proxy logs referencing autologon.microsoftazuread-sso.com | Credential Access (Password Spraying, T1110.003) | Low to Medium; legitimate domain-joined machines running Seamless SSO also generate traffic to this endpoint, so baseline volume and source IP reputation should be considered before alerting. |
| Consider hunting for repeated AADSTS50076 or AADSTS53003 responses associated with a single source IP across many distinct accounts, which may indicate an attacker confirming valid passwords on MFA- or Conditional Access-protected accounts. | Unified Audit Log or any available WS-Trust/autologon request-response telemetry | Credential Access / Discovery | Low; a legitimate device would not typically generate this pattern across many distinct user accounts from one source in a short window. |
| Consider comparing account lockout state reported by Smart Lockout against authentication attempt volume visible in the Unified Audit Log to identify accounts receiving high failed-attempt counts without a corresponding lockout event. | Entra ID sign-in logs cross-referenced with Unified Audit Log | Credential Access | Medium; discrepancies could also result from normal non-interactive service account activity, so context and account type should be reviewed. |
| Consider evaluating whether the WS-Trust usernamemixed endpoint is enabled and internet-reachable for your tenant as a proactive exposure check rather than waiting for attack telemetry. | Tenant Conditional Access policy configuration, legacy authentication settings | Reconnaissance / Initial Access preparation | N/A; this is a configuration review rather than a behavioral detection. |
Control Gaps
- Smart Lockout does not apply to authentication attempts submitted through the WS-Trust autologon endpoint.
- Standard Entra ID sign-in logs do not capture failed authentication attempts against this endpoint, creating a blind spot for teams relying solely on those logs.
- MFA and Conditional Access can still block the final sign-in but do not prevent the endpoint from confirming password validity to the attacker.
Key Behavioral Indicators
- Unusually high volume of authentication attempts from a single external source directed at Microsoft identity infrastructure over a short period
- Presence of specific AADSTS error codes (correct-password-but-blocked types) associated with the same source across multiple distinct accounts
- Discrepancy between authentication attempt volume in non-standard logs versus absence of corresponding entries in standard sign-in logs
- Legacy authentication traffic present despite an organization believing legacy authentication is fully blocked
False Positive Assessment
Medium — legitimate domain-joined devices using Entra Seamless SSO generate normal traffic to the same endpoint, so distinguishing malicious spray traffic from expected background authentication requires volume and source-based analysis rather than presence alone.
Recommendations
Immediate Mitigation
- Verify against your organization's incident response runbook and team escalation paths before acting; consider whether the WS-Trust usernamemixed endpoint is enabled for your tenant and disable it if Office 2013 clients (pre-May 2015 update) are not in use.
- Consider enabling Unified Audit Log alerting for requests to autologon.microsoftazuread-sso.com to gain visibility into attempts against this endpoint.
- Consider reviewing recent Unified Audit Log data for signs of high-volume authentication attempts against this endpoint from unfamiliar sources.
Infrastructure Hardening
- Consider applying Microsoft's standard Conditional Access template to block legacy authentication protocols, which covers WS-Trust, ROPC, and ActiveSync together.
- Evaluate whether your organization can fully disable the WS-Trust usernamemixed endpoint at the tenant level if no legacy Office clients depend on it.
- Consider auditing which non-interactive/legacy authentication paths remain enabled across your Entra ID tenant configuration.
User Protection
- Consider accelerating rollout of passwordless authentication methods such as FIDO2 security keys or Windows Hello for Business where feasible, prioritizing privileged or high-risk accounts first.
- Evaluate whether accounts flagged as having valid-but-MFA-blocked passwords should be prompted for a password reset as a precaution.
- Consider monitoring for downstream abuse of confirmed valid credentials, such as adversary-in-the-middle phishing or device code flow abuse, on accounts identified as at-risk.
Security Awareness
- Consider briefing identity and security operations teams that Entra ID sign-in logs alone may not reflect all authentication attempts against a tenant, particularly for legacy protocols.
- Consider incorporating this legacy-endpoint gap into existing threat modeling and tabletop exercises around credential-based attacks.
- Consider reviewing awareness materials to clarify that MFA does not eliminate the value of a compromised or guessed password to an attacker.
MITRE ATT&CK Mapping
Initial Access
Persistence
Credential Access
Discovery
Additional IOCs
- Domains:
autologon[.]microsoftazuread-sso[.]com- Legacy WS-Trust autologon endpoint hostname abused to perform password spraying that bypasses Smart Lockout and standard sign-in logging; defenders should monitor Unified Audit Log entries referencing this host.
- Urls:
hxxps://autologon[.]microsoftazuread-sso[.]com/{tenant}/winauth/trust/2005/usernamemixed- WS-Trust usernamemixed endpoint used to submit direct SOAP username/password authentication requests, the primary vector for the spray technique described.hxxp://login[.]microsoftonline[.]com/common/GetCredentialType- Microsoft API used by attackers to enumerate whether an email address corresponds to a valid tenant user prior to spraying, reducing wasted attempts against non-existent accounts.
- Other:
AADSTS50055 / AADSTS50076 / AADSTS53003- SOAP Fault error codes returned by the autologon endpoint that confirm a submitted password is valid even though MFA, Conditional Access, or password expiration blocked the final sign-in, allowing credential validation without full authentication.