Search I’ve been hacked Advice Menu

Device code phishing: a code on the real Microsoft page opens the company account to fraudsters

Published 3 min read 1 Sources

Key points

  • Warning: According to its weekly review of 1 December 2026, the National Cyber Security Centre (NCSC) has observed several cases of "device code phishing".
  • Method: The attackers start a device sign-in with Microsoft themselves and send the code to the victim. If the victim enters it on the real Microsoft page, they allow the attackers' device to access their account.
  • Result: The attackers read mail, calendar and files without knowing the password. According to the NCSC, this also gets them round two-factor sign-in.
One more point
  • Chain: In one case the same message went from the hijacked account to more than a thousand contacts.
Attack type
Device code phishing

As of

On this page
  1. Does insurance pay?
  2. What happened
  3. What this means for insurance
  4. What businesses can do now
  5. Sources

Does insurance pay?

limited

A hijacked company account is a break-in to your own IT: immediate help with IT forensics is included in most of the business cyber policies we read. If the business then transfers money to an account held by the fraudsters, the policy usually pays only with an add-on for social engineering. If a business partner pays, it is their money: Mobiliar and Zurich only replace the insured's own money.

For businesses

Key facts

  • Warning: According to its weekly review of 1 December 2026, the National Cyber Security Centre (NCSC) has observed several cases of “device code phishing”.
  • Method: The attackers start a device sign-in with Microsoft themselves and send the code to the victim. If the victim enters it on the real Microsoft page, they allow the attackers’ device to access their account.
  • Result: The attackers read mail, calendar and files without knowing the password. According to the NCSC, this also gets them round two-factor sign-in.
  • Chain: In one case the same message went from the hijacked account to more than a thousand contacts.

What happened

Device sign-in (“device code”) is meant for devices without a keyboard, such as printers. The device shows a code, and the user confirms it on their office computer. By default the code is valid for 15 minutes.

In one case described by the NCSC, an employee received a genuine-looking email from an external business contact. He was asked to download a PDF via a link. The link led to a page run by the attackers. It showed a code that he was to enter on an official Microsoft page. The attackers had generated the code themselves beforehand.

If the victim is already signed in with Microsoft, the page asks for neither user name nor password. The process therefore seems harmless.

The attackers then send the same message from the hijacked account to its contacts. The recipients know the sender and hardly become suspicious. According to the NCSC, such an attack spreads quickly within companies and among their partners.

What this means for insurance

  • Account hijacked: This is a break-in to your own IT. Immediate help with IT forensics is included in most of the business cyber policies we read: Immediate help in an emergency.
  • Money transferred: If the attackers use the account for a fake invoice or new bank details and the business pays, the policy usually covers this only with an add-on for social engineering: Fraud with fake instructions.
  • A business partner pays: If a customer or partner pays the fraudsters because of an email from your account, it is their money. Mobiliar and Zurich only replace the insured’s own money. More under Customer pays into the wrong account.
  • Data in the mailbox: If the attackers read customers’ personal data, a duty to inform those affected may arise. Most of the business cyber policies we read cover these costs and third-party claims.

What businesses can do now

The NCSC recommends:

  1. Only enter a device code if you started the sign-in yourself.
  2. Check unusual requests through a second channel, for example by phone. This also applies to senders you know.
  3. Switch off device sign-in (“device code flow”) for your organisation if you do not need it. Otherwise restrict it to certain IP addresses or regions.
  4. If an account has been hijacked: end active sessions, revoke access tokens, reset the password.
  5. Warn all recipients of the suspicious message at once, so that the chain breaks.
  6. Check the sign-in logs regularly for suspicious logins.

Sources

Overview based on public policy terms, as of 04.12.2026. Only your policy and its general terms and conditions (GTC) are binding. No confirmation of cover.