MadApe phishing kit steals Microsoft 365 access without ever asking for a password
A credential leak at MadApe phishing kit is now a trust-relationship problem between its systems and connected services, not just a contained internal issue.

A credential leak at MadApe phishing kit is now a trust-relationship problem between its systems and connected services, not just a contained internal issue.
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.
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.
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.
Anyone connected to MadApe phishing kit through the compromised trust relationship is potentially affected, not just MadApe phishing kit itself.
The attack begins with a phishing email containing a PDF attachment presented as a business-related document.
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 trust mechanism involved here is an OAuth or access token, which is what let access move between otherwise unrelated systems.
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.
Meanwhile, the kit’s backend keeps polling Microsoft’s token endpoint, waiting to collect the tokens issued after sign-in.
MadApe phishing kit says the credential has been revoked, and no exploitation has been confirmed so far.
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.
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.
Why it matters
A leaked key doesn't need an exploit to be dangerous -- it just needs to still work before someone notices and revokes it.
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.
What security teams should do
- If you have any integration or dependency involving MadApe phishing kit, rotate any credentials shared with it as a precaution, even without confirmation you were directly affected.
- 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.