MadApe uses fake document notices to trick Microsoft 365 users into granting account access
An unexpected invoice or shared file that asks for a Microsoft device code may be a MadApe lure. Even on Microsoft’s real sign-in page, approving the request can give a scammer access. Only enter a code when you started the sign-in yourself.
The full story: MadApe phishing kit gets into Microsoft 365 accounts without collecting a password
Only enter a Microsoft device code when you started the sign-in on a device or app you recognise. If you approved an unexpected code on a personal account, open your Microsoft account’s Additional security options and choose “Sign out everywhere”. For a work or school account, contact IT immediately and ask them to check recent sign-ins and revoke your sessions.
What’s happening
Group-IB found scammers sending PDFs that looked like SharePoint notices for invoices, payments and contracts. The recipient was told to enter a device code to view the document. On Microsoft’s genuine sign-in page, approving that request could give the scammer’s app access to the recipient’s Microsoft 365 account if the account’s security settings allowed it. The phishing pages never needed the password, and the recipient could complete a multi-factor check as part of the sign-in. On 30 November, ScanMalware found pages matching MadApe on three websites. The number of compromised accounts is unknown. Organisations can block device-code sign-ins where staff do not need them. There is no software update to install for this scam.
- What
- Scam
- Affects
- Microsoft 365 accounts
- Fixed in
- Nothing to patch
- Since
- 19 Aug 2026
Timeline
- Update
ScanMalware reported that MadApe was still adding domains in late November. On 30 November, its scanner found pages matching its MadApe detection rule on three websites between 19:19 and 19:50 UTC. The scans do not show how many people lost access to their accounts.
- Update
Group-IB’s own report lists 25 November as its publication date. The researchers linked 155 domains to MadApe and identified phishing components on 97 of them.
- Made public
Expert Insights reported that MadApe was using fake SharePoint file notices to target Microsoft 365 users. It attributed the findings to Group-IB and dated the research to 29 October.
- UpdateNothing to patch
Group-IB traced the earliest MadApe control panel it could identify to this date. The date of the first account compromise is unknown.
Sources
- MadApe: The Code That Opens the DoorGroup-IB · 25 Nov 2026
- New MadApe Phishing Kit Abuses Microsoft Device Code Sign-In to Steal Account TokensExpert Insights · 29 Oct 2026
- Unmasking EvilTokens: Getting to the root of device code phishingMicrosoft · 22 Sept 2026
- How to sign out of your Microsoft account everywhereMicrosoft Support
- MadApe: Microsoft device-code phishing kit behind business-document lures and a fake human-verification checkScanMalware · 30 Nov 2026

