MadApe Kit Abuses Microsoft 365 Device Code Login to Steal Tokens

Moyen · Help Net Security ·

En bref

  • Group-IB documented MadApe operators using a kit that targets Microsoft 365 device-code sign-in.
  • The campaign relies on phishing and authentication abuse rather than a software vulnerability.
  • Stolen access and refresh tokens can expose accounts, mailboxes, and files.
  • No CVE is associated; defenses should focus on token and device-code controls.

Group-IB researchers have connected a phishing campaign run by MadApe operators to a toolkit aimed at Microsoft 365 tenants. In findings dated November 30, 2026, the team describes abuse of the device-code sign-in flow rather than exploitation of a software bug. No CVE is tied to the activity.

The MadApe kit lures users through phishing and then manipulates the authentication process to collect access tokens and refresh tokens. Those credentials can open the door to account access, mailbox access, and file access. Because tokens function as reusable proof of identity, token theft can outlast the initial phishing session and may not be stopped by a password change alone.

The issue matters for any organization relying on Microsoft 365, including K-12 districts and government agencies that handle sensitive student and staff data. Device-code authentication exists to help devices with limited input, but the same flow can be turned against users who are tricked into approving a sign-in.

Group-IB's report adds to a broader shift toward identity-focused attacks that avoid malware and vulnerabilities. Defenders should treat unusual token issuance as a high-signal event and review whether device-code sign-in is needed for all users.

Watch for user reports of unexpected code prompts, sign-ins that do not match normal patterns, and sessions that persist after remediation. Rapid token revocation and tighter device-code controls are the main containment levers.

À faire maintenant

  1. Block or restrict device-code sign-in for users who do not need it, starting with privileged and high-risk accounts.
  2. Review Microsoft 365 sign-in and audit logs for device-code authentication events, then revoke suspicious sessions and refresh tokens.
  3. Force credential resets and reauthentication for any account with confirmed or suspected token exposure.
  4. Apply Conditional Access policies that require compliant devices and phishing-resistant MFA for Microsoft 365 access.
  5. Brief help desks and staff to report unsolicited device-code prompts instead of approving them.
  6. Limit high-value mailbox and file permissions, and review recent consent or access changes for anomalies.
  7. Track Group-IB guidance and Microsoft advisories for updated detection and mitigation details.

Source originale

Help Net Security

Analyse originale assistée par IA, sources citées. Vérifiez auprès de l'avis du fournisseur avant d'agir.

← Toute la veille cyber