>samit_hota
Back to security news
SN-2026-150HighOpen

Attackers Spoof OAuth Client IDs to Evade Microsoft Cloud Sign-in Logs

Samit Hota·
CVE ID
N/A
Affected Products / Orgs
Microsoft Cloud Tenants, Microsoft Entra ID users
#news#vulnerability-disclosure#fake

Overview

A new evasion technique has been observed where attackers are spoofing OAuth client IDs to bypass standard sign-in logs within Microsoft cloud tenants, specifically Microsoft Entra ID (formerly Azure Active Directory). This method allows threat actors to conduct stealthy account enumeration attempts without triggering typical telemetry, making their malicious activities harder to detect. This development signifies an evolving tactic in reconnaissance phases, enabling attackers to probe user accounts more discreetly.

Technical Details

The core of this evasion technique lies in how Microsoft Entra ID processes OAuth client IDs. When an application requests an authentication token, it includes a client_id, which is a globally unique identifier assigned to that application. Microsoft Entra ID records this value as the application ID in its sign-in logs. Attackers have discovered that by spoofing this client_id with unfamiliar or invalid identifiers during account enumeration attempts, they can create a blind spot in the sign-in logs. Instead of logging the activity under a recognizable or legitimate application ID, the system records the spoofed, unknown value. This manipulation essentially allows the attackers to “slip past sign-in logs,” as Microsoft Entra ID’s handling of these unfamiliar identifiers opens a gap that operators have begun to exploit. The objective is often to identify valid usernames or email addresses within a target organization without leaving an easily traceable footprint in security monitoring systems.

Real-World Impact

The real-world impact of this technique is significant for organizations relying on Microsoft Entra ID for identity and access management. By circumventing traditional sign-in log telemetry, attackers can perform extensive account enumeration—identifying valid user accounts—with a reduced risk of detection by security information and event management (SIEM) systems or security analysts. This stealthy reconnaissance provides attackers with a crucial advantage, allowing them to gather information about potential targets without immediately alerting security teams. It increases the window of opportunity for subsequent attacks, such as brute-force attempts, credential stuffing, or targeted phishing campaigns, using the validated usernames. Organizations may face challenges in identifying the scope of such enumeration attempts, hindering their ability to proactively defend against follow-on attacks.

Threat Landscape

This new evasion technique represents an evolution in the tactics used by threat actors to remain undetected during the initial phases of an attack. It underscores a broader trend where attackers are increasingly focusing on subtle, behavioral manipulations and misconfigurations rather than relying solely on direct exploitation of vulnerabilities. As security tools and monitoring capabilities improve, so too do the methods employed by adversaries to bypass them. The targeting of identity platforms like Microsoft Entra ID is particularly concerning, as compromised identities are often the gateway to broader network access and data exfiltration. This technique highlights the constant cat-and-mouse game between defenders and attackers, where even seemingly benign data fields can be weaponized for malicious purposes.

Remediation

Addressing this evasion technique requires a multi-faceted approach, as it exploits a gap in logging rather than a traditional software vulnerability. Organizations should:

  • Enhance Log Analysis: Implement advanced log analysis rules within SIEM systems to detect unusual patterns, even from unfamiliar or invalid OAuth client IDs. This might involve looking for high volumes of sign-in failures from non-standard application IDs or unexpected client_id values.
  • Implement Conditional Access Policies: Leverage Microsoft Entra ID Conditional Access policies to enforce strict controls based on user risk, location, device compliance, and application. For instance, requiring multi-factor authentication (MFA) for all sign-in attempts, especially from unfamiliar applications or locations, can significantly reduce the success rate of enumeration followed by credential-based attacks.
  • Monitor for Account Enumeration Behavior: Focus on detecting the behavior of account enumeration rather than solely relying on specific log entries. This includes monitoring for rapid success/failure rates, attempts from suspicious IP addresses, or unusual access patterns.
  • Review and Audit Applications: Regularly audit registered applications in Microsoft Entra ID, ensuring all client_ids correspond to legitimate applications and removing any unauthorized or unknown entries.
  • Increase User Awareness: Educate users about the risks of phishing and social engineering, as validated usernames obtained through enumeration could be used for highly targeted attacks.
  • Provide Feedback to Microsoft: Organizations experiencing such evasion techniques should report their findings to Microsoft to contribute to potential platform enhancements and improved logging capabilities.

Found something similar in your stack?

Let's find out before it becomes an incident.

Book an advisory call