Skip to content
Cyber Security

Device code phishing: how a real Microsoft sign-in gives access away

How device code phishing tricks staff into approving an attacker's Microsoft 365 sign-in on the real Microsoft page, and the policy that blocks it.

Geidi Security Operations Team6 min read

In brief

What it is
Device code phishing gets staff to enter a code on the real Microsoft sign-in page, which approves an attacker's session in their mailbox.
Who it affects
Any Microsoft 365 organisation: the page, the padlock and the MFA prompt are all genuine, so the usual checks pass.
What to do
Find who genuinely uses device code sign-in, then block it for everyone else with a Conditional Access policy.
On this page
  1. How it works
  2. Are you affected?
  3. How to fix it
  4. If you think it already happened
  5. Where Geidi fits
  6. Sources

More on Cyber Security

One partner for the whole environment.

Tell us about your existing IT. We would be pleased to review your current system and give you an overview as to how Geidi may be able to deliver and enhance your IT operations.