When a Real Microsoft Login Becomes the Trap
A phishing service built around OAuth device code flow shows how attackers can turn a legitimate sign-in path into token theft, session hijacking, and MFA bypass.
Some of the most dangerous phishing campaigns do not rely on fake pages anymore. They exploit a real login flow that users already trust. In this case, the lure is not a stolen password. It is a legitimate-looking Microsoft authorization step that can end with an attacker holding tokens strong enough to stay inside a Microsoft 365 session.
Fast Facts
- Kali365 is described as a phishing-as-a-service platform aimed at Microsoft 365 accounts.
- The technique centers on OAuth device code authentication, a standards-based flow for devices with limited input or no browser.
- The goal is to capture tokens that can be used to maintain access and sidestep traditional MFA prompts.
- Microsoft treats device code flow as a high-risk authentication path and allows organizations to block or tightly scope it.
- The provided reporting does not specify the scale of affected organizations or the number of compromised accounts.
Why this matters technically
OAuth device code flow is legitimate. It exists for constrained devices such as TVs and printers, where typing a password is awkward or impossible. The user approves access on a separate device, and the identity platform then issues tokens for the session. That convenience is exactly what makes the flow attractive to attackers.
In a phishing scenario, the victim is persuaded to complete a real sign-in that looks routine. Once the authorization succeeds, the attacker may be able to obtain access-related tokens tied to the session. That changes the problem from stolen credentials to stolen session trust. From a defensive perspective, that is more serious than a simple password reuse issue, because token-based access can remain valid until it expires or is revoked.
The practical risk is that MFA can be satisfied during the initial approval step, yet the resulting session still becomes attacker-usable. In other words, the attack is not about breaking MFA in the abstract. It is about tricking a person into authorizing a flow that was designed to be trusted.
Defensive signals to watch
Microsoft Entra ID provides the policy surface defenders need. Device code flow can be blocked broadly, or limited to narrowly defined exceptions where it is truly required. Sign-in logs are important here, because they can reveal unusual device-code activity that would not look suspicious in a password-only phishing review.
Conditional Access is the key control layer. If an organization still needs device code flow for a small number of legitimate cases, exceptions should be deliberate and tested. If not, the safer posture is to block it and enforce phishing-resistant authentication for sensitive users and actions. Token revocation and session review matter as much as password changes, because the threat is often the session itself.
At the time of writing, public information does not fully establish the complete scope of affected users or whether every reported session resulted in lasting compromise. That uncertainty is exactly why defenders should focus on detection, token hygiene, and policy enforcement rather than assuming traditional MFA has already done enough.
Conclusion
The bigger lesson is that modern phishing increasingly targets authorization, not just authentication. When attackers can convert a real login flow into a token-grab, the best defense is to control the flow itself, watch for abnormal sign-in patterns, and treat bearer tokens as high-value assets. In cloud security, convenience is never neutral - every shortcut has an attack path.
TECHCROOK
hardware security key: A physical security key is a practical option for phishing-resistant sign-ins on supported accounts. It can reduce reliance on passwords, codes, and approval prompts in everyday use.
WIKICROOK
- OAuth: An authorization framework that lets apps obtain limited access to a user's account without sharing the password.
- Device Code Flow: An OAuth method for devices with limited input, where a user approves access on a separate device.
- Conditional Access: A policy system that controls when and how users can sign in based on risk, device, and authentication method.
- Bearer Token: A credential that grants access to whoever possesses it, which makes token theft especially dangerous.
- Phishing-as-a-Service (PhaaS): A criminal service model that packages phishing infrastructure for other operators to use.



