Actively exploited Security news

MadApe phishing kit hijacks Microsoft 365 accounts through device codes – no password needed, MFA no obstacle

On 25 November 2026 Group-IB documented MadApe, a previously unreported phishing kit. Victims never type a password: they paste a code on Microsoft's genuine sign-in page, complete multifactor authentication, and the attacker receives tokens for their Microsoft 365 account. The kit runs on 155 domains with lures in nine languages. Here is how the attack works, what to look for in Entra ID sign-in logs and how to block device code flow.

Kyberkit editorial team · · event date · reading time 3 minutes · For admins and analysts

Actively exploited: Group-IB MadApe

Key points

  • Group-IB, 25 Nov 2026: the new MadApe kit takes victims from a SharePoint-style file-share PDF through a fake human-verification check to a page showing a device code, which they enter on the real microsoft.com/devicelogin.
  • The kit never collects a password. If the victim completes the sign-in, MFA included, the attacker receives an access token and, where supported, a refresh token.
  • Infrastructure: 155 root domains (phishing seen on 97), 133 registered through Dynadot, most between mid-June and late August 2026; the operator panel is titled “Mad Ape”.
  • Group-IB's advice: block device code flow with Conditional Access (report-only first) and, if compromise is suspected, revoke sessions and tokens and review devices, app consents and mailbox rules.

Group-IB's threat intelligence team published its analysis of the MadApe phishing kit on 25 November 2026. The kit abuses device code flow, a legitimate way to sign in to Microsoft 365 on devices without a keyboard. Group-IB found no earlier public reporting on the kit or its infrastructure and assesses it as distinct and previously undocumented. The name comes from the login page of the operator's panel ("Mad Ape").

What happened

  • The first lures Group-IB spotted were Hebrew-language emails aimed at recipients in Israel. It later found PDFs in nine languages, including German, Polish and French, with file names about invoices, payments, contracts and statements.
  • Templates impersonate SharePoint, OneDrive, Teams (a German voicemail lure), Adobe Acrobat, DocuSign and Microsoft sign-in, all built on one shared framework.
  • Infrastructure: 155 root domains, with phishing observed on 97. 154 were registered in 2026, 117 of them between mid-June and late August, and 133 through the registrar Dynadot. Root domains show a decoy business called "C2S Logistics". Redirect pages also sit on nine legitimate websites that were likely compromised.
  • Group-IB does not report victim counts or confirmed compromises. Names in subdomains are treated as intended targets, not victims.

How the attack works

How the MadApe phishing attack works according to Group-IB1. PDF styled as a SharePoint file share with a button to an intermediary page; 2. Fake human-verification check that hides the next stage from scanners; 3. Page showing a device code the attacker's server has just requested from Microsoft; 4. Victim enters the code on the real microsoft.com/devicelogin and completes MFA; 5. Attacker's server collects an access token and refresh token for the account1PDF styled as a SharePoint file sharewith a button to an intermediary page2Fake human-verification check thathides the next stage from scanners3Page showing a device code theattacker's server has just requestedfrom Microsoft4Victim enters the code on the realmicrosoft.com/devicelogin andcompletes MFA5Attacker's server collects an accesstoken and refresh token for theaccount
Simplified from Group-IB, 25 Nov 2026

No password is entered on any phishing page, so filters looking for fake login forms do not help. What the attacker can then do depends on the permissions granted – typically mailbox and file access, and further phishing sent from the compromised account.

How to tell if you were hit

  • In Entra ID sign-in logs, filter on Authentication protocol = Device code; sign-ins from hosting networks or shortly after a PDF or link click are suspicious.
  • In proxy and DNS logs, look for URLs with the paths /api/code/entered and /api/code/status/, pages titled "Secure Document Access – SharePoint" and "C2S Logistics" content.
  • After sign-in: newly registered devices, new OAuth consent grants, inbox rules and forwarding, MailItemsAccessed events, bulk downloads from SharePoint and OneDrive.

A selection of indicators from the report (defanged; the full list is on Group-IB's site):

5.230.194[.]87          first operator panel (AS12586, ASGHOSTNET, Germany)
householdwares[.]co     first operator panel (19 Aug 2026)
swisstowerant[.]com
durakdisplay[.]com
neottdesign[.]com
lvborses[.]com
nxinet[.]com
itencrypted[.]co
uouso[.]net
wbconnecticut[.]net
liva-fit[.]net
c2slogistics[.]online
securelogin.qimmxn[.]icu
e9621f90091b56c712858a27d3a775cde21c6463  SHA1
f5e9d8ed0a057fbb168bc17ad2ed1faeecae184b  SHA1
79b46af742a2f263b76d0fdff59b795b95ba0fbe  SHA1

Our IOC extractor pulls domains out of emails and logs, and the link checker vets a suspicious URL.

What to do

  1. Block device code flow with Conditional Access (Entra ID → Conditional Access → Authentication flows → Device code flow → Block access). Run it in report-only mode first to see who genuinely needs it. Our guide Device code phishing in Microsoft 365: how to block it walks through every step.
  2. Turn on Continuous Access Evaluation and sign-in frequency controls. Group-IB warns that blocking does not immediately kill tokens that were already issued.
  3. If you suspect compromise, revoke sessions and refresh tokens, remove unknown devices, app consents and mailbox rules, and review what the account read and downloaded.
  4. Tell your users: a device code that arrives via a PDF, invoice, voicemail or e-signature page is always suspicious. Anyone who entered one should report it, even if nothing seems wrong.

FAQ

Does multifactor authentication stop this?

No. The victim authenticates on Microsoft's real page and completes MFA themselves. The tokens, however, go to whichever device requested the code – the attacker's server.

How do I tell whether someone entered a code?

Filter Entra ID sign-in logs on Authentication protocol = Device code and look for sign-ins that do not match known devices such as meeting-room screens or CLI tools. Then check newly registered devices, app consent grants, inbox rules and forwarding, and bulk downloads from SharePoint or OneDrive.

Is this related to earlier device code phishing campaigns?

The technique is not new and has been used by several groups and kits before. Group-IB found no public reporting on MadApe or its infrastructure and treats it as a distinct kit.

Sources

  1. Group-IB – MadApe: Microsoft Device Code phishing kit (25 Nov 2026)
  2. Microsoft Learn – Block authentication flows with Conditional Access policy
  3. Microsoft Learn – OAuth 2.0 device authorization grant flow
  4. Help Net Security – MadApe phishing kit steals Microsoft 365 access without ever asking for a password (30 Nov 2026)

Spotted a mistake? Let us know and we will correct it openly.