MadApe phishing kit steals Microsoft 365 access without ever asking for a password
A previously undocumented phishing kit called MadApe is giving its operators access to Microsoft 365 accounts without collecting a password on any of its phishing pages, Group-IB’s threat intelligence team has revealed.
The kit abuses Microsoft’s Device Code authentication. If the sign-in completes and access controls allow it, the operators can receive an access token and, where supported, a refresh token, opening a path to the victim’s mailbox and files.
Group-IB researchers Mansour Alhmoud and Faraz Ali warn that a successful authentication of this kind may also satisfy MFA requirements.
“The attack begins with a phishing email containing a PDF attachment presented as a business-related document. The PDF contains an embedded link that directs the recipient to an intermediary page,” researchers explained.
“In the observed deployments this is either a SharePoint-themed document-access page that redirects the browser after a click, or a human-verification challenge that serves the next stage once completed. Both lead to the same downstream phishing page,” they added.
Some of the emails carry the target organization’s branding, email signatures or forwarded content, and the attachments are disguised as SharePoint file-sharing notifications. The redirect destination can be swapped from one sample to the next, while the verification challenge, picked at random from a custom CAPTCHA, text entry, image selection or a press-and-hold button, is there to keep security scanners out.
Once through, the victim is shown a device code the kit obtained from Microsoft. Clicking it copies the code to the clipboard and logs the interaction, and an “Open File” button takes 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,” Alhmoud and Ali noted.
Meanwhile, the kit’s backend keeps polling Microsoft’s token endpoint, waiting to collect the tokens issued after sign-in.

Source: Group-IB
Same code under different branding
The templates pose as SharePoint, OneDrive, Microsoft Teams, Adobe Acrobat, DocuSign and Microsoft sign-in pages, and one German-language Teams lure is built around a voicemail notification.
The lures come in at least nine languages, including English, French, Hebrew, Finnish and Icelandic, and the attachment names mostly refer to payments, invoices, contracts and account statements. Emails written in Hebrew were aimed at recipients in Israel.
Because the templates call the same JavaScript functions and backend API endpoints, the company considers them “frontend variations of the same phishing framework.”
The panel that named the kit
The kit’s operator panel login page turned up on at least five domains, the earliest instance on August 19, 2026, on a server hosted in Germany. Among the decoy business websites tied to the campaign is one made to look like a logistics firm called C2S Logistics.
“Because the panel sits on the same hosts as the phishing pages and the decoy sites, we assess that all three are run as one deployment. The panel is also where the kit’s name comes from, and its page title turns out to be a useful pivot, since searching for it has surfaced hosts that the decoy template alone would not have led us to,” Alhmoud and Ali wrote.
Domains registered in batches
Group-IB mapped 155 root domains and found the kit deployed on subdomains or URL paths tied to 97 of them, with the rest apparently staged and unused.
Most were registered between mid-June and late August 2026, with domain registrar Dynadot handling 86.4% of the registrations analyzed. Batch creation was common, and 69% share a creation timestamp, down to the second, with at least one other domain. The largest batch, ten domains, was registered on August 18, 2026. Nine legitimate third-party websites hosting redirect pages were likely compromised.
Group-IB did not attribute the campaign to a known threat actor, and tied the infrastructure together through overlapping traits such as the registrar, naming conventions, templates and kit code.
“Each of these traits is a weak signal in isolation. Their repeated co-occurrence across the dataset is what establishes that the infrastructure was provisioned and operated as one campaign,” the researchers concluded.
To help defenders spot the campaign, the company has published YARA rules and indicators of compromise, including URLs, domains and file hashes of the PDF lures.
Organizations that don’t need the Device Code flow are advised to block it with Conditional Access, and users should be wary of any device code request they didn’t expect.