Skip to main content
Mallory
← Back to News
credential-access-methodidentity-authentication-vulnerabilitycloud-service-vulnerabilityinitial-access-method

Azure CLI Password Spray Bypassed Conditional Access in Microsoft 365 Accounts

Attack Tradecraft · 12 sources · Updated 4mo ago · First seen Jul 1, 2026

Azure CLI Password Spray Bypassed Conditional Access in Microsoft 365 Accounts

A large-scale password spray campaign targeted Microsoft 365 environments through Azure CLI logins, generating more than 81 million authentication attempts and compromising at least 78 accounts across 64 organizations, according to Huntress. The attackers abused the deprecated OAuth Resource Owner Password Credentials (ROPC) flow to validate stolen username-password pairs and obtain user-delegated tokens, relying on previously breached credentials that had not been rotated.

The activity was observed between mid and late June and in some cases succeeded even where MFA and Conditional Access were enabled, because policies were misconfigured or did not fully cover Azure CLI ROPC authentication. Huntress said most attempts originated from the IPv6 range 2a0a:d683::/32, associated with LSHIY LLC (AS32167), and reported a more than 155-fold increase in credential-spray volume across its customer base over six months. Defenders were urged to enforce MFA for all users, cloud apps, and client app types, and to restrict Azure CLI access for non-admin users.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Jun 12, 2026 – Jul 1, 2026
  1. Jul 1, 20265mo ago

    Huntress reports malicious activity to LSHIY

    Huntress reported the observed login activity to hosting provider LSHIY LLC, which was linked to most of the attack traffic via AS32167. According to the report, Huntress received no response.

    Massive Password Spray Campaign Targeting Azure CLI - SecurityWeek
  2. Jun 26, 20265mo ago

    Password spray activity continues through late June

    Huntress said the campaign activity continued through June 26, 2026. Across that broader window, most observed activity came from the IPv6 range 2a0a:d683::/32 associated with LSHIY LLC (AS32167).

    Azure CLI Password Spray Hits at Least 78 Microsoft Accounts in 81M+ Attempts
  3. Jun 22, 20265mo ago

    Password spray spike compromises 30 accounts across 23 businesses

    On 2026-06-22, the Azure CLI password spray campaign surged, compromising 30 user accounts across 23 businesses in a single day. Huntress said 15 of those organizations believed Conditional Access policies enforcing MFA would protect them, highlighting policy gaps around the ROPC flow.

    Azure CLI Targeted in LSHIY Password Spray Campaign Across 64 Orgs - Security Affairs
  4. Jun 21, 20265mo ago

    Huntress observes 81M+ login attempts and 78 account compromises

    During the observed campaign window, attackers made more than 81 million login attempts against Microsoft 365 environments through Azure CLI and compromised at least 78 Microsoft accounts across 64 organizations. The campaign succeeded in some environments with MFA and Conditional Access enabled because policies were misconfigured or did not fully cover the ROPC flow.

    Massive Password Spray Campaign Targeting Azure CLI - SecurityWeek
  5. Jun 12, 20265mo ago

    Azure CLI password spray campaign begins

    Huntress observed the start of a large-scale automated password spray campaign targeting Microsoft Azure CLI logins and abusing the deprecated OAuth Resource Owner Password Credentials (ROPC) flow. The activity relied on previously breached username/password combinations to validate credentials and obtain user-delegated tokens.

    Azure CLI Password Spray Hits at Least 78 Microsoft Accounts in 81M+ Attempts
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Azure CLIMicrosoft 365

Organizations

1 linked
Microsoft Corporation
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.