Toutes les vulnérabilités
CRITICALOpSeccurated

OPSEC-MIDNIGHT-BLIZZARD-2024

Identity · Microsoft 365 / Entra ID

Résumé

In January 2024, Microsoft revealed that Russia's foreign-intelligence service, the same APT29 behind SolarWinds, had been reading the email of its senior leadership. The way in was almost insulting in its simplicity: a forgotten, non-production test account with a weak password and no MFA. The attackers guessed the password by spraying common ones across many accounts, then pivoted through a forgotten over-privileged application to grant themselves access to corporate mailboxes, including those of executives and the security and legal teams. It is the lesson that your security is only as strong as the account you forgot about, and that even Microsoft's perimeter fell to a missing MFA checkbox.

How it happened

The Russian SVR-linked actor Midnight Blizzard (APT29, also called Nobelium) used password spraying against Microsoft's corporate tenant, trying a few common passwords across many accounts, low and slow, and routing through residential proxies to blend in. It worked on a legacy, non-production test account that had a weak password and, critically, no MFA. The spray had begun in late November 2023 and went unnoticed until 12 January 2024, roughly seven weeks of quiet access.

That account should not have mattered, but the attackers used it to reach a second forgotten asset: a legacy OAuth application that already held elevated access to Microsoft's corporate environment. Through that app they created additional malicious OAuth apps and granted themselves the Exchange Online full_access_as_app role, which opens every mailbox in the organisation. They read a small percentage of corporate email accounts, including senior leadership and members of the cybersecurity and legal teams, exfiltrating emails and attachments, in part to learn what Microsoft knew about them. Microsoft was explicit that this was not the result of any vulnerability in its products. A later update, in March 2024, disclosed a further escalation: using secrets found in the stolen email, the actor accessed some of Microsoft's source-code repositories and internal systems.

The damage

Russian intelligence read the email of Microsoft's senior executives and its security and legal staff over a period of weeks, and in a later phase some secrets and source code were exposed. For the company that secures much of the world's computing, being breached through a forgotten test account without MFA was deeply embarrassing, and coming after the separate Storm-0558 incident, it triggered serious external scrutiny and Microsoft's company-wide Secure Future Initiative. The blast radius reached past Microsoft: in April 2024 CISA issued Emergency Directive 24-02 after the SVR used secrets stolen from Microsoft's email to target US federal agencies, and the same actor was found to have separately breached Hewlett Packard Enterprise's cloud email months earlier.

Why Midnight Blizzard still matters

It is the forgotten-account, missing-MFA lesson at the highest possible level. A non-production test account with a weak password and no MFA became a full path into executive email, because it could reach a legacy application that carried standing permissions nobody had removed. The defences are unglamorous and absolute: enforce MFA on every account with no exceptions, including legacy, test, and service accounts (the very lesson of Colonial Pipeline); inventory and deprovision dormant accounts and applications and strip their standing permissions; tightly govern OAuth application consents, which were the privilege-escalation vector here; and detect password spraying. It was carried out by the same APT29 behind the SolarWinds compromise.

Comment le corriger

  • Disable the compromised test account and every other dormant or non-MFA account, and revoke the malicious OAuth applications and their granted permissions.
  • Reset credentials and review mailbox access; assume any mailbox the app could reach was read.
  • Audit all OAuth app consents and standing permissions for other abuse, and rotate exposed secrets, especially any found in email.

Comment l’éviter

  • Enforce MFA on every account without exception, including legacy, test, and service accounts; the breach turned on one account that lacked it.
  • Inventory and deprovision dormant accounts and applications and strip standing permissions, so a forgotten asset is not a standing door.
  • Audit and tightly govern OAuth application consents; the privilege escalation here ran through a forgotten app and malicious app grants.
  • Detect password spraying (distributed low-rate failed logins across many accounts) and block residential-proxy login patterns.

Références

Vulnérabilités liées

Tout OpSec →