Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

The Group-IB header image for its MadApe research, showing translucent document pages titled Quarterly Operations Review with a floating sign-in card and a device code entry card above them.
Image: Group-IB (fair use), group-ib.com, "MadApe: The Code That Opens the Door," November 25, 2026.

Response

A New Phishing Kit Called MadApe Takes Over Microsoft 365 Accounts Without Ever Asking for a Password, Sending Victims to Microsoft's Real Sign-In Page Across 155 Domains, Group-IB Says

The kit walks targets from a PDF that looks like a SharePoint share to microsoft.com/devicelogin, where they paste a code that hands the attacker their tokens. Group-IB found the infrastructure registered in same-second batches and still growing, and says blocking the flow will not end access already granted.

Noah Park, ResponseNew York6 min read

NEW YORK - A phishing kit that had not been publicly documented is giving its operators access to Microsoft 365 accounts without collecting a password on any of its pages, by steering victims to Microsoft's own sign-in portal and having them type in a code the attackers already hold, according to research published by the threat intelligence team at Group-IB.

Group-IB researchers Mansour Alhmoud and Faraz Ali named the kit MadApe after the title of its operator login panel, which they found exposed on the same hosts that serve the phishing pages. They traced it to an expanded set of 155 root domains, 97 of which carried device code phishing components, and said the operation was still buying domains in September and October. "The campaign remains active and is still provisioning infrastructure in the same way," they wrote.

The technique, known as device code phishing, abuses a legitimate Microsoft flow built for devices without a keyboard, such as smart TVs. The attacker requests a code from Microsoft, persuades the victim to enter it at microsoft.com/devicelogin and sign in, and then collects the tokens Microsoft issues for that session. Because the victim signs in normally, Group-IB noted, the sign-in may also satisfy multifactor authentication requirements.

From a PDF to Microsoft's own page

A Group-IB diagram titled MadApe Kill Chain, showing six stages: a phishing email with a PDF attachment in multiple languages, a spoofed SharePoint file-share notification, either a counterfeit secure-access redirect page or a press-and-hold human verification challenge, a device code page that shows the code, copies it and notifies the backend, and finally the genuine microsoft.com/devicelogin page.
Image: Group-IB (fair use), Figure 1, MadApe kill chain.

The attack starts with an email that looks routine, sometimes carrying the target organization's branding, signatures or forwarded content, with a PDF attached. The PDF is dressed as a SharePoint notification that a contact has shared a file. Its button leads to an intermediary page, either a SharePoint-styled "Secure Document Access" page that redirects after a click and a half-second loading overlay, or a human-verification challenge.

Those challenges are custom-built, Group-IB found, chosen at random from text CAPTCHAs, text entry, image selection and press-and-hold buttons, and checked only in the browser. Their job is to keep URL scanners and sandboxes from reaching the final page, so that automated analysis records only the challenge. Lures turned up in at least nine languages, among them English, Hebrew, German, Portuguese, French, Spanish, Polish, Finnish and Icelandic, with file names about payments, invoices and contracts. The Hebrew emails targeted recipients in Israel.

A Group-IB screenshot of the SharePoint-themed MadApe phishing page, showing a Finance contact sharing a file named Payment_Advice PDF, an identity verification panel displaying the device code CTQVELFRW, numbered instructions to copy the code, click Open File and sign in with a Microsoft account, and an Open File button.
Image: Group-IB (fair use), Figure 5, SharePoint-themed phishing page.

The final page shows a device code that the kit's backend obtained from Microsoft, refreshed on each visit. Clicking the code copies it to the clipboard and reports the click to the backend at /api/code/entered. An "Open File" button then sends the victim to microsoft.com/devicelogin to paste it and sign in. "This is a key part of the phishing technique because authentication takes place on a legitimate Microsoft domain rather than an attacker-controlled login page, making the workflow appear more trustworthy than conventional credential phishing," the researchers wrote. Meanwhile the backend polls Microsoft's token endpoint, server side and out of view, waiting for the tokens.

The same JavaScript sat behind templates impersonating SharePoint, OneDrive, Microsoft Teams, Adobe Acrobat, DocuSign and Microsoft sign-in pages, including a German-language Teams voicemail lure. The pages also block right-click and keyboard shortcuts such as F12 and Ctrl+U. Six consecutive requests to one page returned backend record numbers climbing from 4024 to 4036, but Group-IB cautioned against reading them as a body count. "These identifiers count backend records, not confirmed victims," the team wrote.

Bought in bulk, parked behind a decoy

A Group-IB chart titled Same-second Registration Batches, showing the ten largest groups of root domains sharing one WHOIS creation timestamp, led by 10 domains registered on 2026-08-18 at 23:48:21 UTC, 8 on 2026-08-05 and 6 on 2026-07-26, with a note that among 152 domains registered in 2026, 105, or 69 percent, shared a creation timestamp with at least one other domain.
Image: Group-IB (fair use), Figure 15, same-second registration batches.

The infrastructure gives itself away. Several root domains served an identical decoy site for a "C2S Logistics" supply chain company while their subdomains and paths hosted the phishing pages, and other decoy sites were built from the same HTML template with different branding. Of 154 domains registered in 2026, 117 were registered between mid-June and late August, and 133, or 86.4 percent, went through the registrar Dynadot. Of 152 domains with a full WHOIS timestamp, 105 shared their creation second with at least one other, and the largest batch was 10 domains registered at 23:48:21 UTC on August 18.

A Group-IB chart titled Device Code Phishing Component Hosting, grouping 155 root domains by where phishing components were observed: subdomain only 33, or 21 percent; URL path only 54, or 35 percent; subdomain and URL path 10, or 6 percent; and decoy only with no phishing component observed 58, or 37 percent.
Image: Group-IB (fair use), Figure 16, where the device code phishing components were hosted.

Phishing components sat on subdomains only for 33 domains, on URL paths only for 54 and in both places for 10. The other 58 served only the decoy, and Group-IB treats them as staged infrastructure not yet put to use. Among 167 subdomains across 43 root domains, 109 carried labels resembling organization or personal names, a sign of lures built per recipient. Some intermediary pages were placed in folders on older, unrelated websites that the researchers judged likely compromised. The earliest operator panel they saw was on householdwares[.]co on August 19, hosted at 5.230.194[.]87 in Germany, and one sample redirected to securelogin.qimmxn[.]icu.

What a SOC should do now

  • Block the flow where nobody needs it. Use the Entra sign-in logs' authentication protocol filter to find who actually uses device code sign-in, then create a Conditional Access policy on the device code flow under Authentication flows, test it in report-only mode and enforce it, with documented exceptions.
  • Do not assume the block ends the incident. Group-IB warns: "Enabling a blocking policy should not be assumed to terminate existing access immediately." Tokens already issued can stay usable. For any user who entered a code from an untrusted page, revoke sessions and refresh tokens and contain the account.
  • Hunt the sequence, not the page. Correlate device code sign-ins with clicks from email, especially from PDF attachments, and with what follows: new device registrations, inbox rules, MailItemsAccessed spikes, OAuth consent grants, bulk SharePoint or OneDrive downloads and outbound phishing from the account. Group-IB notes that a device registration alone does not prove a Primary Refresh Token was taken.
  • Use the kit's fingerprints. Search proxy and browser telemetry for /api/code/entered and /api/code/status/, captured pages for the "Secure Document Access" SharePoint title and C2S Logistics content, and DNS logs for the published domains.
  • Detonate PDFs all the way down. Make sure sandboxing follows clicks and short delays, since MadApe's redirect pages need both before the phishing page appears.

About the Author

Noah Park

Noah Park covers incident response and blue-team operations for SOCtember from New York.

Related stories

Response desk