Threat level: ElevatedLatest scam alert: Scam Alert: AI Deepfake Ads Offering Free POS Machines and Grants
Cybersecurity

Microsoft 365 Phishing Survives Password Resets: Delete Rogue Devices

A device-code phishing campaign planted 468 fake devices in 305 Microsoft Entra ID tenants, keeping access even after password resets. Here is how to find and remove them.

Read in 4 countries🇺🇸🇸🇬🇭🇰🇷🇴5 views
Admin and colleague checking registered Microsoft 365 devices on a laptop
AI-generated image (Claude)
In this article
  1. Key takeaways
  2. What happened
  3. The lure
  4. How device-code phishing works
  5. Why a password reset is not enough
  6. Signs the attacker left behind
  7. Who is affected
  8. What you should do
  9. If you manage Microsoft 365 for your business
  10. For every staff member
  11. Sources

If your business runs on Microsoft 365, this one is for you and whoever manages your accounts. Security firm Huntress has found a phishing campaign that quietly adds attacker-controlled “devices” to company Microsoft Entra ID tenants. Once a fake device is in, changing the victim’s password does not lock the attacker out. Here is what happened, how the trick works and what to check today.

Key takeaways

  • Huntress found 468 rogue Windows devices registered in the Entra ID tenants of 305 organisations during November 2026, tied to 326 user accounts.
  • Victims were tricked into typing a short code on a genuine Microsoft sign-in page. No password was stolen, which is why a reset does not help.
  • The fix is to delete the rogue device first, then revoke sessions and reset credentials.
  • Limit who can register devices and, if you have Entra ID P1 or higher, block device code sign-in with Conditional Access.
Security analysts reviewing device sign-ins on a wall of monitors
AI-generated image (Claude)

What happened

In findings published this week, Huntress reported that attackers had registered hundreds of fake Windows devices inside victim organisations’ Microsoft Entra ID (formerly Azure AD) directories. Every device had a name starting with “MH-” followed by 16 uppercase hexadecimal characters. Some identical names appeared in more than one organisation; one showed up in 24 organisations over 10 days.

The attackers used that foothold to reach Outlook and Exchange mail, OneDrive, SharePoint and other Office services. Huntress has not linked the activity to a known group. It noted similarities with a campaign Microsoft described in February 2025 under the name Storm-2372, but said that overlap does not confirm who is behind it.

The lure

The phishing message posed as a non-disclosure agreement “protected by Adobe”. Instead of a fake login page, it gave the victim a code and pointed them to Microsoft’s real device sign-in page. Because the page is genuine, the usual advice to “check the web address” does not catch it.

How device-code phishing works

Device code sign-in exists for gadgets that cannot easily show a password box, such as smart TVs and printers. You see a short code on the device, enter it on a Microsoft page from your phone or laptop, approve the sign-in, and the device is logged in. Attackers abuse this in four steps:

  1. The attacker requests a code from Microsoft and sends it to the victim inside the phishing email.
  2. The victim enters the code and approves it, often completing multi-factor authentication (MFA) as normal. The attacker, not the victim, receives the resulting access and refresh tokens, linked to the Microsoft Authentication Broker app.
  3. An automated script registers a new device in the victim’s tenant using those tokens, from a different IP address.
  4. The fake device receives a Primary Refresh Token (PRT), the credential Windows uses for single sign-on to Microsoft services. That PRT can even satisfy Conditional Access rules that only allow registered devices.

Why a password reset is not enough

According to Huntress, Microsoft cancels a PRT on a password change only when that token was originally obtained with the password. In this attack the victim never typed a password into the attacker’s flow, so the token survives the reset. Huntress’s advice is blunt: the rogue device has to be deleted.

Signs the attacker left behind

Huntress found several clues that help defenders hunt for this activity:

  • Every rogue device reported Windows build 10.0.19041.928, the default value hardcoded in ROADtools, an open-source Entra ID testing toolkit. That build belongs to a Windows 10 release Microsoft stopped supporting in 2021.
  • The devices carried no hardware identifiers.
  • Sign-ins came through residential proxy networks, mostly US and UK broadband, with no single IP used against more than two victims. A separate set of scripted sign-ins came from datacenter addresses that changed every few days; five of them targeted 361 accounts at 337 organisations, with 197 successful sign-ins.
  • Sign-in logs may show device code authentications, and a user agent that switches from a normal browser to a script.

Detection was patchy. Of the affected organisations, only 36 had Microsoft Defender connected to Huntress, and Defender raised incidents for 25 of the 47 victims in those organisations.

Who is affected

Any organisation using Microsoft 365 with Entra ID can be targeted, from a five-person agency in Lagos to a multinational. Small businesses are particularly exposed because device registration is often left at default settings, few have someone reviewing sign-in logs, and staff are rarely warned that a genuine Microsoft page can still be part of a scam. Many Nigerian and African SMEs also rely on an outside IT provider who may only act when a password problem is reported, which is exactly the response this attack is built to survive.

What you should do

If you manage Microsoft 365 for your business

  1. Review registered devices now. In the Microsoft Entra admin centre, open the list of devices and look for names beginning “MH-“, devices reporting OS version 10.0.19041.928 and devices with no hardware details. Huntress also listed names such as “DESKTOP-” plus eight characters and “GraphSpy-Device” from related activity.
  2. For any account with a suspicious device, act in this order: delete the rogue device, revoke the user’s sessions, reset the password, then check the account’s MFA methods and mailbox rules for anything new.
  3. Restrict device registration. Limit who can register or join devices, cap how many devices each user can add, and require MFA to register a device. These settings are available on every tenant.
  4. Block device code sign-in with a Conditional Access policy if you have Entra ID P1 or higher. Most offices never need it; allow exceptions only for specific meeting-room or shared devices.
  5. Turn on Security Defaults if you do not have Entra ID P1, so every account at least has MFA.

For every staff member

  • Never type a code you received in an email, chat or call into a Microsoft “enter code” page unless you personally started the sign-in on a TV, printer or similar device seconds earlier.
  • Treat unexpected “secure document” or NDA notifications as suspicious, even when the link goes to a real Microsoft or Adobe page.
  • Report anything odd to IT immediately. Quick reporting lets an administrator remove a rogue device before mail and files are taken.

Sources

Featured image: Photo: “UF Norman Office Laptop Desk Workstation” by cdsessums, CC BY 2.0, via Openverse — source

Was this article helpful?

Embed this on your website

Run a website, school, church or company intranet? Paste this code to show this article as a card. It stays up to date automatically.

Or show your visitors the latest scam alerts, updated automatically:

Written by

Verified expert

Cybersecurity Analyst

Federal Capital Territory (Abuja)

  • Phising
  • Fraud Prevention
  • Cybersecurity Awareness and Training
  • Cloud Security
  • IT Risk Management

Credentials: MCPN, MNCS, IAENG | System Analyst · Web Developer · CEH · CC · CDST

Got expertise to share? Write for us →

Leave a Reply

Your email address will not be published. Required fields are marked *