Skip to content
Microsoft 365

The FBI's Kali365 warning is really about the day MFA stopped being enough

John Zammit17 June 202610 min read
A dark room lit by monitors running code — evoking the attacker dashboard behind Kali365, which tracks targets in real time while they sign in to the real Microsoft login page.
Image: Tima Miroshnichenko via Pexels

For five years the standard advice from every MSP, including this one, has been some version of "turn on MFA and you've closed off most of the risk." It was good advice. It still catches the overwhelming majority of credential attacks. So it's worth sitting with the detail in the FBI's May warning about a phishing kit called Kali365: the victims it describes had MFA switched on, entered their code correctly, and got compromised anyway. Nothing failed. The attacker simply waited until after the MFA prompt to do their work.

That's the part worth understanding, because the surface coverage has mostly stopped at "FBI warns, no password needed, scary." The interesting question is how an attack walks past a control that's working exactly as designed.

The kit itself is the boring part of the story. Kali365 is Phishing-as-a-Service: a subscription product, around US$250 a month, sold through Telegram, bundling AI-generated lures, campaign templates, and a live dashboard for tracking targets. It's the same commoditisation we've watched happen to ransomware. The skill required to run a credential-harvesting campaign has dropped to roughly the skill required to run a Mailchimp campaign. That lowers the barrier and raises the volume, but it isn't the novel bit. The novel bit is the authentication flow it abuses.

How an attack walks past a control that's working

Microsoft supports something called device code flow. It exists for devices that can't easily show a login form — think a smart TV or a command-line tool — where you'd rather type a short code on your phone than a password on a remote. You start the sign-in on the constrained device, it gives you a code, you go to a genuine Microsoft page on a second device, enter the code, and authenticate normally. The token then flows back to the first device. It's a legitimate, useful mechanism. The problem is that nothing in it requires the two devices to belong to the same person.

So here is what Kali365 actually does. The attacker initiates a device code login against your Microsoft 365 tenant. Microsoft hands back a real code. The attacker drops that code into a phishing email dressed up as a document share and asks you to "verify" by entering it at microsoft.com. You do. The page is real. The address bar is right. The certificate is valid. You complete MFA because it's genuinely you signing in. And at the end of it, the token Microsoft issues flows back to the attacker's device, not yours. They now hold a live session that has already cleared MFA, because you cleared it for them. Huntress, which pulled the kit apart, clocked the gap between the victim entering the code and the attacker holding persistent access at as little as 42 seconds.

How Kali365 device-code phishing worksA five-step sequence between the attacker, Microsoft 365 and the victim. The attacker starts a device-code login, Microsoft issues a real code, the attacker phishes the victim to enter it on the genuine Microsoft page, the victim completes MFA, and the resulting session token is delivered to the attacker.AttackerMicrosoft 365You1Starts a device-code login2Microsoft issues a real code3Phishing email: “enter this code at microsoft.com”4You sign in and pass MFA — genuinely5Live session token lands on the attacker
How a Kali365 attack runs: every step uses Microsoft's genuine infrastructure. The only thing that ends up in the wrong place is the session token at step five.

This is why it's so effective and so hard to teach people to spot. Every phishing red flag we've trained users on for a decade assumes a fake. Check the URL. Look at the sender. Hover the link. None of it helps here, because there's nothing fake to catch. The user is interacting with Microsoft's own infrastructure the entire time. The theft happens at the token layer, one level below where human attention operates. What's stolen isn't your password, which means rotating it does nothing, and it isn't a second factor you can re-challenge, because the session already counts as fully authenticated.

The theft happens at the token layer, one level below where human attention operates.

Where the theft actually happens

What the attacker actually walks away with

It helps to be precise about what gets stolen, because there are two kinds of token and they behave differently. The access token is the short-lived key — good for an hour or so of API calls before it expires. The refresh token is the one that matters: long-lived, and able to quietly mint fresh access tokens without anyone signing in again. Capture the refresh token and you have standing access that survives the access token expiring, survives the user closing their laptop, and survives a password reset, because none of those touch it. That's what "persistent" means here, and it's why the usual incident response — reset the password, re-challenge MFA — doesn't end the intrusion.

The disguise runs further down than the login page, too. Kali365 requests its tokens under Microsoft's own first-party Office application ID, the same identifier that rides along with millions of legitimate Office sign-ins every day. Huntress is blunt that this ID on its own is useless as an indicator, because your real users generate it constantly. The kit then converts the stolen token into an ordinary browser session cookie, so the activity that follows reads, in the logs, as if a real person is sitting at the keyboard. There's nothing fake at the login screen and very little that looks fake afterwards.

What follows is the part that should worry a business owner more than the mechanics. Once inside, the kit doesn't wait for a human operator to get around to you. Huntress found it uses AI to read the compromised mailbox, surface the wire-transfer, invoice and payroll threads, and draft contextual replies designed to redirect a payment — then deletes the MFA prompts, sign-in alerts and password-change notices from the victim's own inbox so nobody notices. Business email compromise used to be a patient, manual con. This productises it end to end.

MFA was never the finish line

The reframe for anyone running an SMB environment is straightforward and a little uncomfortable. MFA was never the finish line. It was one control, and we let it carry more weight in our heads than it was built to hold. Authentication is a chain, and the token issued at the end of that chain is now the thing worth stealing.

If you needed proof that the technique outlives any one product, the kit provided it. Within seconds of the FBI's notice going public, the Kali365 operators announced they were shutting down — and researchers found the shutdown was theatre, the same infrastructure and customer base resurfacing under the name Octopus. The brand is disposable. The device code flow it abused is still sitting in your tenant, switched on by default.

The fix is concrete and cheap

The good news is the specific fix is concrete and cheap. Almost no small business uses device code flow for anything, which means you can block it outright with a Conditional Access policy and lose nothing. That single change closes this exact attack — and it's the same control the FBI's own advisory recommends. Past that, the direction of travel is binding sessions to identity rather than relying on a one-time check: phishing-resistant MFA, token protection that ties a session to a compliant device, and Conditional Access that refuses a token presented from an unmanaged machine in another country.

Blocking device code flow closes this specific door, but prevention is never complete. New flows get abused, policies have gaps, and the token at the end of a legitimate login is now the asset attackers want. That's the argument for watching the identity layer itself. The signal isn't the login — that part is genuine. It's a refresh-token grant with no interactive sign-in, arriving from infrastructure the account has never used, which a human skimming sign-in logs won't catch but a baseline will. This isn't theoretical: the vendors running managed identity detection caught this same pattern across hundreds of tenants earlier this year and shut it down before most businesses noticed. Prevention and detection are different jobs, and identity now needs both.

Communicat configures the Conditional Access side and runs managed identity threat detection for businesses across Victoria, but the first move costs nothing and you can check it today: find out whether device code flow is enabled in your tenant, and if you can't think of a reason it should be, turn it off.

Frequently asked questions

Does MFA stop Kali365 device code phishing?

No. Kali365 doesn't break or bypass MFA in the way the phrase implies. The victim genuinely completes MFA on Microsoft's real login page, and the attacker captures the session token issued at the end. Because the login is legitimate, MFA passing is part of the attack, not a defence against it.

What is device code flow and why is it risky?

Device code flow is a legitimate Microsoft authentication method for devices that can't easily show a login form, such as a smart TV or a command-line tool. You enter a short code on a second device and authenticate there. The risk is that nothing in the flow requires the two devices to belong to the same person, so an attacker can start the sign-in and have you complete it for them.

How do I block device code phishing in Microsoft 365?

Block device code flow with a Conditional Access policy. Almost no small business uses it, so you can disable it outright with limited exceptions and lose nothing, while closing this exact attack. The FBI's own guidance recommends the same control. Past that, move toward phishing-resistant MFA and token protection that binds a session to a managed device.

Did the Kali365 phishing kit shut down after the FBI warning?

The operators announced they were closing within seconds of the FBI's public notice, but researchers found the shutdown was performative — the same infrastructure and customer base reappeared under the name Octopus. The kit closing changes nothing about the underlying technique, which any successor can run.

John Zammit

Written by

John Zammit

Managing Director

John Zammit is Managing Director at Communicat IT, a Melbourne MSP serving Victorian SMBs since 1987. He writes about cloud economics, infrastructure strategy, and the gap between sales narratives and operational reality.

Related Topics

Kali365 phishing kitdevice code phishing Microsoft 365Microsoft 365 MFA bypasssession token theftOAuth token hijackingblock device code flow Conditional AccessFBI Kali365 warningphishing-resistant MFA Australia

Need help with your IT?

Our Melbourne team has 37+ years of experience helping businesses like yours.