---
title: "Device-code phishing plants rogue devices in 305 Microsoft Entra tenants | Coding Delta"
description: "[Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange."
canonical_url: "https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan"
last_updated: "2026-12-04T06:08:26+01:00"
locale: en
meta:
  "og:description": "[Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange."
  "og:image": "https://codingdelta.com/og-image.png"
  "og:image:alt": "Turn your ideas into reality with Coding Delta, your boutique software development agency"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Device-code phishing plants rogue devices in 305 Microsoft Entra tenants"
  "twitter:image": "https://codingdelta.com/og-image.png"
  "twitter:image:alt": "Turn your ideas into reality with Coding Delta, your boutique software development agency"
---

> Index of every page on this site: [llms.txt](https://codingdelta.com/llms.txt)

[Security · 4 December 2026](https://codingdelta.com/news)

# **Device-code phishing plants rogue devices in 305 Microsoft Entra tenants**

[How this briefing is made](https://codingdelta.com/news/about)

[Covered in edition 4 December 2026](https://codingdelta.com/news/editions/2026-12-04#item-142)

[Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange.

**Why it matters:** Block device-code sign-ins with Conditional Access if you don't need them, and look in Entra ID for unknown devices named 'MH-' followed by hex characters. Delete such devices before resetting passwords, because the token survives a reset.

[Source: Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) [#Phishing & fraud](https://codingdelta.com/news/topics/phishing-fraud) [#Cloud](https://codingdelta.com/news/topics/cloud)

## Also covered by

- [**BleepingComputer**: Device-code phishing campaign plants rogue devices in 305 Entra tenants](https://www.bleepingcomputer.com/news/security/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants/)

## **How the story developed**

1. 22 November 2026 [Microsoft: attackers exploited Entra Connect Health flaw to read tenant admin data](https://codingdelta.com/news/stories/39-microsoft-attackers-exploited-entra-connect-health-flaw-to-read-tenant)
2. 22 November 2026 [Rackspace Spot breach let attackers read customer Kubernetes secrets](https://codingdelta.com/news/stories/41-rackspace-spot-breach-let-attackers-read-customer-kubernetes-secrets)
3. 24 November 2026 [Azure API Management flaw exploited to steal customer secrets, rotate keys now](https://codingdelta.com/news/stories/66-azure-api-management-flaw-exploited-to-steal-customer-secrets-rotate-k)
4. 4 December 2026

   **Device-code phishing plants rogue devices in 305 Microsoft Entra tenants**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://codingdelta.com/#website","@type":"WebSite","description":"Boutique software studio in Amsterdam for web apps, platforms, mobile apps and AI agents.","inLanguage":"en-US","name":"Coding Delta","url":"https://codingdelta.com/","publisher":{"@id":"https://codingdelta.com/#identity"},"workTranslation":{"@id":"https://codingdelta.com/nl#website"}},{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#webpage","@type":"WebPage","dateModified":"2026-12-04T06:08:26+01:00","datePublished":"2026-12-04T06:08:26+01:00","description":"[Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange.","name":"Device-code phishing plants rogue devices in 305 Microsoft Entra tenants","url":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan","breadcrumb":{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#breadcrumb"},"isPartOf":{"@id":"https://codingdelta.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan"]}],"primaryImageOfPage":{"@id":"https://codingdelta.com/#logo"}},{"@id":"https://codingdelta.com/#identity","description":"Boutique software studio in Amsterdam: strategy and scoping, product design, engineering (web apps, platforms, mobile) and AI & automation.","iso6523Code":"0106:77615999","legalName":"Coding Delta B.V.","name":"Coding Delta","url":"https://codingdelta.com","@type":["Organization","LocalBusiness","ProfessionalService"],"address":{"@type":"PostalAddress","streetAddress":"Keizersgracht 241","postalCode":"1016 EA","addressLocality":"Amsterdam","addressCountry":"NL"},"brand":[{"@type":"Brand","name":"Chatsome","url":"https://chatsome.co/","description":"AI agents for customer service and sales"},{"@type":"Brand","name":"Delta Security","url":"https://delta.codingdelta.com/","description":"Website security scans"},{"@type":"Brand","name":"RoundE","url":"https://rounde.nl/","description":"Employee participation for startups"}],"identifier":{"@type":"PropertyValue","propertyID":"KVK","value":"77615999"},"image":{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#/schema/image/1"},"knowsAbout":["Software development","Web application development","Product design","Mobile app development","AI agents","Business process automation"],"knowsLanguage":["en","nl"],"logo":{"@id":"https://codingdelta.com/#logo"},"sameAs":["https://www.linkedin.com/company/codingdelta/"]},{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://codingdelta.com","position":1},{"@type":"ListItem","name":"Coding Delta News","item":"https://codingdelta.com/news","position":2},{"@type":"ListItem","name":"Device-code phishing plants rogue devices in 305 Microsoft Entra tenants","position":3}]},{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#article","dateModified":"2026-12-04T06:08:26+01:00","datePublished":"2026-12-04T06:08:26+01:00","description":"[Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations) found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange.","headline":"Device-code phishing plants rogue devices in 305 Microsoft Entra tenants","inLanguage":"en-US","isBasedOn":"https://www.huntress.com/blog/device-code-phishing-m365-registrations?utm_source=console.codingdelta.com&utm_medium=web","thumbnailUrl":"og-image.png","@type":["Article","NewsArticle"],"articleSection":["Security"],"author":{"@id":"https://codingdelta.com/#identity"},"image":{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#/schema/image/2"},"isPartOf":{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#webpage"},"keywords":["Phishing & fraud","Cloud"],"mainEntityOfPage":{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#webpage"},"publisher":{"@id":"https://codingdelta.com/#identity"}},{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#/schema/image/1","@type":"ImageObject","contentUrl":"https://codingdelta.com/og-image.png","inLanguage":"en-US","url":"https://codingdelta.com/og-image.png"},{"@id":"https://codingdelta.com/#logo","@type":"ImageObject","caption":"Coding Delta","contentUrl":"https://codingdelta.com/logo.png","inLanguage":"en-US","url":"https://codingdelta.com/logo.png"},{"@id":"https://codingdelta.com/news/stories/142-device-code-phishing-plants-rogue-devices-in-305-microsoft-entra-tenan#/schema/image/2","@type":"ImageObject","contentUrl":"og-image.png","inLanguage":"en-US","url":"og-image.png"}]}
```

## Sitemap

See the full [sitemap](https://codingdelta.com/sitemap.md) for all pages.
