Join our Newsletter — 33% off our NHI Course
Home› Guides› The Microsoft Midnight Blizzard Breach for Beginners: How…
Guide Threat Intelligence & Threat Actors

The Microsoft Midnight Blizzard Breach for Beginners: How a Forgotten Test Account Exposed Executive Email

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 3 December 2026 11 min read
On this page

In the Midnight Blizzard breach, attackers used an old Microsoft test account to reach some corporate email.

This guide is for anyone who wants a plain account of a famous case and its lessons. You do not need to run a big network to learn from it: most organisations have old test accounts and connected apps that nobody checks.

In short

  • Microsoft said a group it calls Midnight Blizzard guessed its way into an old test account that had no second check turned on [1][2].
  • From there, the group took over an old test app with wide access, and used apps to read a small share of corporate mailboxes [2].
  • Microsoft said the attack was not caused by a flaw in its products or services [1].
  • The lesson for everyone: find old test accounts and apps, switch off what is not needed, and give the rest only the access they use.

What you will learn

  • Explain what happened in the Midnight Blizzard case in a few sentences.
  • Describe why an old test account and a connected app mattered so much.
  • Spot forgotten accounts and apps in your own setup.
  • Ask the right questions about who and what can read your email.
Practice area (test tenant)
a separate copy of an organisation's cloud setup, used for trying things out.
Connected app (OAuth app)
a piece of software that has been given permission to use data in another service.
Second check (MFA)
an extra step after a password, such as a code or an approval on a phone.

What is the Midnight Blizzard breach?

Think of a shared works van with its own keys. Nobody owns it, so nobody notices when it sits unused for years. If a stranger gets the keys, the van still drives.

The Midnight Blizzard breach is a 2023 to 2024 attack on Microsoft's own corporate systems. Microsoft said the attack began in late November 2023 and that it spotted it on 12 January 2024 [1]. Midnight Blizzard is Microsoft's name for the group. UK and allied agencies link the group to Russia's foreign intelligence service [3].

The way in was not clever code. It was an old test account and an old test app that still had real access [2].

Where the comparison stops working: a van sits in one car park. A test account or app can sit in the cloud, reachable from anywhere, and its access may link to live systems.

Why does it matter?

If a well-funded security company can have a forgotten test account, most organisations can too. The fix is mostly housekeeping, not expensive tools.

If you look after IT for a small firm

What could happen: an old trial account with a simple password is guessed, and it opens a path to your email.

Check this: list every account and connected app, and switch off the ones nobody uses.

Next: Service Accounts for Beginners

If you manage a team

What could happen: private messages about staff, deals or legal matters are copied without anyone noticing for weeks.

Check this: ask who reviews which apps can read company email.

Next: Consent Phishing for Beginners

If you are new to security work

What could happen: you treat test areas as harmless, when they can be linked to live systems.

Check this: apply the same rules to test accounts and apps as to live ones.

Next: Non-Human Identities for Beginners

What does it look like?

Here is a made-up list of connected apps, like one a small firm might pull from its email system. It shows the warning signs.

Example only. All values are made up.

Connected apps report: example.com (FAKE)
App name:     test-sync-OLD-0000                (1)
Owner:        (none recorded)                   (2)
Last used:    0000 days ago                     (3)
Access:       read ALL mailboxes                (4)
Created by:   [email protected]       (5)
  1. A test app that was never removed.
  2. No owner, so nobody is asked whether it is still needed.
  3. In a real file, this line would show when the app was last active.
  4. Access to every mailbox is far more than a test app is likely to need.
  5. An old trial account set it up, so that account also needs a check.

Why this is risky: if anyone takes over the old account, they may be able to use the app's wide access too.

The safer way: every app has an owner, only the access it uses, and a review date. Apps nobody needs are removed.

How does it work?

These steps follow Microsoft's own account. They describe what happened, not how to repeat it.

  1. Guessing passwords. The group used password spraying (trying a few common passwords against many accounts) on an old test account [1]. Microsoft said that account did not have multi-factor authentication turned on [2].
  2. Finding an old app. Microsoft said the group then took over a legacy test OAuth app that had raised access to Microsoft's corporate setup [2].
  3. Making new apps. Microsoft reported that the group created harmful apps. It used the test app to give them a role that can read mailboxes [2].
  4. Reading email. Microsoft said the group reached a very small share of corporate email accounts. These included senior leaders and security and legal staff. Some emails and files were taken [1].
  5. Hiding in normal traffic. Microsoft said the group sent its traffic through many internet addresses that ordinary users also use. That makes simple blocklists less useful [2].
Diagram titled How one old test account led to email, in two panels. The top panel, Risky, shows four boxes joined by numbered arrows: 1, password guesses reach an old test account with no second check; 2, the account controls an old test app with wide access; 3, new apps are given a role that can read mailboxes; 4, some corporate emails are copied. The bottom panel, Safer, shows four green boxes: second check turned on, unused test apps removed, app access kept small and reviewed, unusual app activity watched. A note says the steps follow Microsoft's published account.
Figure 1. The path Microsoft described, and the checks that can break each step.

The connected apps in this story are non-human identities: software that has its own identity and permissions, separate from any person. That is why they need owners and reviews, just like staff accounts.

Microsoft said it would apply its current security standards to its own older systems, even where that causes disruption [1].

A worked example

This story is made up to show the idea.

Amara Ellis looks after IT for Beech Interiors, a design firm with twenty staff. She reads about the Midnight Blizzard case and wonders if her firm has the same gap.

She starts with accounts. She finds a trial account made two years ago to test a booking tool. It still works, it has a simple password, and it has no second check.

Next she looks at connected apps in the email system. One old app, set up by that trial account, can read every mailbox. Nobody at the firm remembers it.

Amara asks the director, Rafe Jensen, whether anyone still needs the booking test. He says no. She removes the old app and switches off the trial account.

She then turns on a second check for every remaining staff account. For the two apps the firm still uses, she writes down an owner and a review date. She also cuts one app's access from all mailboxes to a single shared one, which is all it needs.

Finally, she checks the email system's records for unusual activity by the old app. She finds nothing suspicious in the records available to her, but she keeps a note in case more turns up.

Amara learned that the risk was not a single weak password. It was an old account and an app with wide access that nobody owned.

Myths and mistakes

What people thinkWhat is true
Test accounts do not matter because they hold no real data.In this case, Microsoft said a test account and a test app led to corporate email [2].
Big breaches always need clever hacking.Microsoft said this one started with password spraying, not a product flaw [1].
Once staff accounts have a second check, we are done.Connected apps act on their own. Review their access too.
Blocking known bad internet addresses will catch this kind of attack.Microsoft said the group used addresses that ordinary users also use [2].
An app nobody uses is harmless.Unused does not mean switched off. Remove apps that are no longer needed.

What can I do this week?

  • List every test, trial or demo account your organisation has, and switch off the ones nobody needs.
  • Turn on a second check for every account that people use.
  • Pull the list of connected apps from your email system and give each one an owner.
  • Cut any app's access that is wider than its job, such as access to all mailboxes.
  • Read Non-Human Identities for Beginners to see why apps need the same care as staff.

Checklist

  • I know which test and trial accounts exist, and who owns them.
  • Accounts that are no longer needed are switched off.
  • Every account used by a person has a second check turned on.
  • Every connected app has a named owner and a review date.
  • No app has more access than its job needs.
  • Test areas follow the same security rules as live ones.
  • Someone watches for unusual activity by apps, not just by people.

Common questions

Who is Midnight Blizzard?

Midnight Blizzard is Microsoft's name for a hacking group also called APT29. The UK's cyber security centre and its partners say the group is part of Russia's foreign spy service. They say it often goes after cloud accounts [3].

Was this caused by a bug in Microsoft products?

No, according to Microsoft. It said the attack was not the result of a weakness in its products or services [1]. It described a password guessing attack on an old test account, then misuse of an old test app's access [2].

What is an OAuth app, in plain words?

It is software that someone has allowed to use data in another service. No password is shared. The permission can be small or very wide. In this case, Microsoft said a test app had raised access to its corporate setup [2].

Why are old accounts such a common target?

Old accounts are often forgotten. They keep weak settings, and nobody watches them. A joint advisory from the UK's cyber security centre says this group targets unused accounts. It advises turning off accounts that are no longer needed [3].

Would a second check have helped?

It is likely to have made the first step harder. Microsoft said the test account had no second check turned on [2]. A second check does not cover apps, though, so removing unused apps and limiting their access matters as well.

Where next?

Ready for the detail? Read the full case analysis: Microsoft Midnight Blizzard Breach 2024. It goes further into the timeline, the permissions involved and Microsoft's later updates [1].

Also useful:

Related NHI Mgmt Group resources: Non-Human Identities for Beginners, Service Accounts for Beginners and Consent Phishing and Illicit OAuth Grants Guide.

Key terms

Password spraying
Trying a few common passwords against many accounts, to avoid lockouts.
Multi-factor authentication
Needing two or more separate checks before access is given.
Non-production tenant
A test or development copy of a cloud setup that is not meant for live business use.
OAuth application
Software that has been given permission to use data or services on behalf of a user or organisation.
Non-human identity
An identity used by software, such as an app, service account or AI agent, rather than a person.
Least privilege
Giving each person or program only the access it needs for its job.
Threat actor
A person or group that carries out attacks.

Sources and further reading

  1. Microsoft Security Response Center, "Microsoft Actions Following Attack by Nation State Actor Midnight Blizzard", 19 January 2024. https://www.microsoft.com/en-us/msrc/blog/2024/01/microsoft-actions-following-attack-by-nation-state-actor-midnight-blizzard (accessed 3 Dec 2026).
  2. Microsoft Threat Intelligence, "Midnight Blizzard: Guidance for responders on nation-state attack", 25 January 2024. https://www.microsoft.com/en-us/security/blog/2024/01/25/midnight-blizzard-guidance-for-responders-on-nation-state-attack/ (accessed 3 Dec 2026).
  3. National Cyber Security Centre and partners, "SVR cyber actors adapt tactics for initial cloud access", 26 February 2024. https://www.ncsc.gov.uk/news/svr-cyber-actors-adapt-tactics-for-initial-cloud-access (accessed 3 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.