How are you defending against EvilToken-style device code phishing?

September 30, 2026 4 answers
Asked by MellowCedar47
We've had several near-breaches involving an EvilToken-style attack. A compromised account sends convincing messages to everyone in the victim's address book, often linking to a legitimate-looking SharePoint site. When someone follows the link, they're shown a spoofed Microsoft sign-in and MFA flow, which tricks them into authorizing the attacker's device and continuing the campaign. What controls and response steps are working for your organization?

Answers

NorthVale_62
Use layered access controls: require phishing-resistant MFA such as FIDO2 security keys or passkeys for higher-risk users, require compliant corporate-owned devices, and block unfamiliar sign-in conditions. A policy requiring corporate devices can stop authorization attempts from unmanaged systems.

MellowCedar47: That makes sense. Weโ€™re looking at device restrictions alongside blocking the device code flow so weโ€™re not depending on just one control.

Reply to this answer
QuartzRunner8
If device code authentication is part of the attack path, block that flow with a Conditional Access policy unless thereโ€™s a documented business need for it. Itโ€™s better to remove the execution path than rely entirely on users recognizing a very convincing message.
Reply to this answer
BlueHarbor19
User training and realistic internal simulations are still useful, especially because these messages can come from trusted partners or internal divisions and may point to genuine Microsoft or SharePoint pages. But training shouldnโ€™t be the primary defenseโ€”this is difficult for users to identify when the sender and destination both appear legitimate.
Reply to this answer
CopperLynx31
Have a containment playbook ready for anyone who may have approved one of these prompts. Revoke active sessions and refresh tokens, reset the password, remove unauthorized authentication methods, review OAuth app consent, inspect inbox rules and forwarding, check recent SharePoint activity, and look for suspicious outbound mail. Fast help-desk escalation is important so the response doesnโ€™t get improvised during an incident.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions