Midnight Blizzard stole Microsoft corporate email, including secrets customers had shared
Russian hackers stole Microsoft email that held customers' secrets.
Are you affected?
The free scanner that answers this opens soon. Until then, the steps below work by hand.
What happened
Russian hackers stole Microsoft email holding secrets. Microsoft says that, beginning in late November 2023, Midnight Blizzard used a password spray to compromise a legacy, non-production test tenant account without MFA, then compromised a legacy test OAuth application with elevated access to the Microsoft corporate environment, created malicious OAuth applications, and granted itself the Office 365 Exchange Online full_access_as_app role to read mailboxes. It exfiltrated emails and attachments from a very small percentage of corporate email accounts; Microsoft detected the attack on 2024-01-12. On 2024-03-08 Microsoft said the actor was using information from the stolen email, including secrets of different types, to try to gain further access, had reached some source code repositories and internal systems, and had increased password sprays as much as 10-fold in February. Some of those secrets had been shared between customers and Microsoft in email, and Microsoft said it was contacting those customers. In January Microsoft said there was no evidence of access to customer environments.
- Exposure starts
- Not known yet (Microsoft says only that the activity began in late November 2023)
- Exposure ends
- Not known yet (Microsoft has not said when the actor's access ended)
- Confidence
- low
- Scope
- any secret a customer shared with Microsoft by email, and OAuth applications with app-only mailbox permissions in your own Microsoft 365 tenant
What to do, in this order
- Any credential or secret you sent to Microsoft by email, such as in a support case
Microsoft says the actor used secrets found in exfiltrated email and that some were shared between customers and Microsoft. Advisory inference: rotate even if Microsoft has not contacted you.
anything else stored there
- Audit OAuth apps and service principals; remove unused apps holding EWS.full_access_as_app or EWS.AccessAsUser.All and review ApplicationImpersonation rights
Microsoft's guidance for responders; the actor reached mailboxes through an over-privileged legacy OAuth app.
- Enforce MFA on every account, including test and legacy tenants
The initial password-spray foothold was a test tenant account without MFA.
Notes
- Microsoft says it is reaching out to customers whose secrets were in the stolen email to help them take mitigating measures.
- Advisory inference: rotating every secret ever emailed to Microsoft goes beyond Microsoft's notice, which covers only the customers it contacts.
How to tell if you’re affected
- New OAuth applications granted the Office 365 Exchange Online full_access_as_app role
- Password-spray logins routed through residential proxy addresses also used by legitimate users
Sources
- MSRC: Microsoft actions following attack by nation state actor Midnight Blizzard
- MSRC: Update on Microsoft actions following attack by Midnight Blizzard
- Microsoft Security: Midnight Blizzard guidance for responders
Rotating the keys
Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.
By hand, free: the steps above.