Skip to content

Back to the catalog

How the LSHIY Password-Spraying Attack Abuses OAuth’s ROPC Grant
huntress.comarticle

How the LSHIY Password-Spraying Attack Abuses OAuth’s ROPC Grant

Huntress blog recap of a Tradecraft Tuesday broadcast breaking down the LSHIY password-spraying campaign, which hit Microsoft Azure CLI tenants via IPv6 ranges from BYOIP provider LSHIY LLC, generating over 81 million login attempts and 78 account compromises in a two-week window. The campaign abuses OAuth's deprecated Resource Owner Password Credentials (ROPC) grant at the tenant token endpoint to mint delegated tokens that bypass MFA and Conditional Access Policies when valid credentials are entered. After LSHIY's takedown the actor pivoted to FranTech IPv6 ranges and Tor exit nodes; mitigations include disabling ROPC, restricting Azure CLI for non-admins, and enforcing unscoped Conditional Access covering all users, apps, and client types.

TL;DR A BYOIP-powered password-spraying campaign abused OAuth's deprecated ROPC grant to bypass MFA and Conditional Access on Azure CLI tenants, compromising 78 accounts across 81M+ login attempts.
Document

What it is

Huntress's Tradecraft Tuesday recap of the LSHIY password-spraying campaign against Microsoft Azure/Entra ID, which abuses the deprecated OAuth ROPC (Resource Owner Password Credentials) grant. Huntress reports a 155x increase in credential-spraying attacks in H1 2026, much of it attributable to this single campaign — which specifically targets Azure CLI as the client application.

How it works

ROPC lets a caller submit a username/password directly to a tenant's /token endpoint and receive a user-delegated token, minting it without ever triggering MFA or Conditional Access. Spike's framing: "Even though we call it an authorization method, it's technically an impersonation method." The actor rotates source IPs after each attempt via BYOIP and vast IPv6 space to evade Smart Lockout.

Preconditions / Affected

Any Entra tenant where ROPC is reachable and Conditional Access is not scoped to cover the accounts that can use it. Of 23 impacted orgs Huntress analyzed, all but eight had MFA; of those 15, roughly one third had MFA scoped to specific users, leaving groups (e.g., owners hit via ROPC) excluded. The takeaway the page stresses: MFA presence is not enough — CAP scope is the failure point, and some victims had an explicit block policy that still didn't catch this vector.

Threat-hunting specifics (net-new)

Details beyond the catalog summary, useful for blocking/hunting:

  • Original source: LSHIY LLC IPv6 range 2a0a:d683::/32 (terminated early July after Huntress contact; LSHIY confirmed it was a BYOIP customer).
  • Post-takedown: FranTech (AS53667), ranges 2605:6400::/32 and 2605:6404::/32, plus IPv4 via Tor exit nodes — at significantly lower volume.
  • Community reports of similar traffic from German ISP 3xK Tech.
  • Huntress observed no post-compromise activity after successful logins; hypothesis is the actor is validating credential lists for resale on the dark web — a "whack-a-mole" pattern as the actor hops between interchangeable BYOIP/peering providers.

What to do

The page's concrete guidance is limited: scope Conditional Access Policies to actually enforce over every account (including privileged/owner accounts reachable via ROPC) rather than assuming MFA coverage. It does not provide commands or a step to disable the ROPC grant.

Caveats

This is a webinar recap, not a technical advisory — no queries, KQL, or configuration commands are given. Geolocating the IPv6 sources is described as unreliable ("a hot mess"). The resale/validation motive is an explicitly stated hypothesis, not confirmed.

Organisations named here

  • 3xK Tech
  • BYOIP
  • FranTech
  • Smart Lockout

Technologies named here

  • Microsoft Azure CLI
  • Huntress
  • Tor
  • OAuth Resource Owner Password Credentials grant
  • Microsoft Entra/Azure AD Conditional Access Policies
  • Microsoft Smart Lockout
  • OAuth
  • Azure CLI
  • Microsoft Entra ID

Techniques named here

  • Password spraying
  • Reconnaissance for username collection
  • Password list building
  • ROPC-based MFA/CAP bypass
  • BYOIP-based IP rotation

Threat actors named here

  • LSHIY campaign
  • LSHIY LLC