SecureNet MSP · Phishing awareness
No fake site. No stolen password. Still hacked.
A shared document or account alert asks you to enter a code on a real Microsoft page. Everything looks familiar—but your approval may give an attacker access instead.
Kali365: a real example
The FBI’s May 21, 2026 alert describes Kali365, a phishing kit criminals rent to obtain Microsoft 365 access through attacker-supplied codes—not stolen passwords. Read the FBI alert
This is device-code phishing. Other attacks copy login pages, steal sessions, or disguise application permissions. Checking the URL matters, but so does checking what you are authorizing and who will receive access. [1] [3]
THE ATTACK AT A GLANCE
Real page. Wrong device.
- 1
The message
An unexpected document or alert supplies a code.
- 2
The real page
You open Microsoft’s genuine verification page.
- 3
The approval
You sign in and enter the attacker’s supplied code.
- 4
The access
Tokens go to the attacker’s requesting device or app.
The page can be real. The request can still be unsafe. Read the FBI alert
WATCH & LEARN
A closer look at Kali365
For another explanation of the threat, watch Kali365 Explained: The New Microsoft 365 Phishing Attack That Bypasses MFA by Mysterious Immature.
Video by Mysterious Immature · Watch on YouTube
Familiar names can hide misleading links
A message may impersonate a coworker or trusted organization. If it unexpectedly asks you to sign in, open the service through your usual app or bookmark and verify the request separately. A familiar sender is not proof that a request is safe. [1]
Training examples only: These invented addresses use the reserved .example domain. They are not live threat indicators or links to visit.
| Illustrative address or tactic | What it hides |
|---|---|
login.microsoftonline.com.security-check.example | The address belongs under security-check.example, not microsoftonline.com. |
accounts.google.com.document-review.example | Google’s name appears in a subdomain of document-review.example. |
micros0ft-login.example | A zero replaces the letter “o.” Brand resemblance does not establish ownership. |
files.example/https://accounts.google.com | The Google address is text in the path. The actual host is files.example. |
| “Open in Microsoft 365” link text | The visible button or link text can differ from its actual destination. |
Read the actual hostname in the browser address bar. A logo, a familiar name inside a long URL, or HTTPS does not prove that a request is legitimate. HTTPS protects the connection to that host; it does not certify the sender’s purpose.
Why even a clean-looking first link is not enough
Attackers also redirect users through legitimate or compromised services. Microsoft documented this in an April 2026 campaign: a clean-looking first link or initial scan result cannot establish that the final interaction is safe. [2]
Three attacks that are easy to confuse
Fake login pages and stolen verification codes
A fake page steals your password or MFA code. More advanced attacks can also steal an authenticated session.
What to do: Keep MFA enabled. Never share codes or approve an unexpected sign-in.
How this works
A counterfeit sign-in page collects your password and one-time MFA code, which an attacker may immediately relay into a real sign-in attempt. Someone impersonating support may instead ask you to read out a code or approve an unexpected prompt.
More advanced adversary-in-the-middle (AiTM) attacks capture authenticated session cookies. You may complete MFA successfully while an attacker obtains a usable session. Keep MFA enabled, but never share a code with someone who contacts you or approve a sign-in you did not initiate. [4]
Device-code phishing on a real sign-in page
A genuine sign-in page can connect your approval to an attacker’s device. Your password may never be stolen.
What to do: Only enter a device-flow code from an app or device you intentionally started and recognize.
How this works
Device authorization is a legitimate process for devices such as TVs: a code from one device is entered in a browser on another. Approval gives access to the requesting device or application. In an attack, that request originates with the attacker. [3] [5]
A lure might say, “To view this document, open Microsoft’s device sign-in page and enter this code.” You reach a real Microsoft page and authenticate normally, but the supplied code connects your approval to the attacker’s request. The attacker can receive access tokens without learning your password, as documented in the Storm-2372 campaign. [3]
The code you type is the user code; a separate device code operates behind the scenes. Neither is an MFA code sent to you. Did you start the request, and do you recognize the device or app? Only enter a device-flow code when both answers are yes. [12]
Deceptive OAuth consent requests
A real consent screen can give an unwanted application access to account data.
What to do: Check the app, requested permissions, and business purpose before approving.
How this works
A real provider’s consent screen can grant an unwanted app access to account data. An attacker may misrepresent the application or why access is needed. Check the app, its requested permissions, and the business purpose before approving. OAuth allows applications to access specified data without receiving your password. [5] [6]
An OAuth authorization code is another distinct, short-lived protocol value normally passed between an app and the provider. It is not an SMS verification code or the device-flow user code in an invitation. These differences help IT understand what happened. [7]
Does MFA protect me? And what about Google?
Google also supports device authorization for limited-input devices, with a limited set of supported permissions, or scopes. An unwanted app could receive the access a user approves within those limits. This is an inference from Google’s documented protocol—not evidence that the Microsoft campaigns described above compromised Google accounts. Do not assume this flow grants unrestricted Gmail or full account access. [5]
Passkeys and FIDO security keys provide phishing-resistant authentication. They reduce exposure to fake login pages, but do not establish that a device authorization or application permission request is wanted. Strong authentication still needs careful approval decisions. [3] [5] [8]
What employees should watch for
- A document, invoice, voicemail, or meeting invitation unexpectedly asks you to enter a supplied device code.
- Someone requests a verification or recovery code, or asks you to approve a sign-in you did not start.
- An app’s name, purpose, or requested permissions do not match the task.
- A message creates urgency, redirects through unfamiliar pages, or brings an unusual request from a known contact.
Pause. Verify. Then approve.
For IT administrators: controls and monitoring
Microsoft 365
Audit device-code use and block it where unnecessary, allowing only documented, secured exceptions. Microsoft’s Conditional Access procedure uses Authentication flows → Device code flow → Block access, starting in Report-only before enforcement. Protect emergency access accounts, review exclusions, and confirm licensing and operational impact before rollout. [9]
Investigate unexpected apps, users, locations, token activity, and mailbox behavior together. A successful MFA result does not close an investigation; Microsoft’s reporting describes token-based access and follow-on email abuse. [2] [3]
Additional Microsoft safeguards
Use phishing-resistant MFA, such as FIDO2 security keys or passkeys, alongside authorization controls. Evaluate device-compliance requirements and Token Protection for supported apps to reduce token replay risk. Continuous Access Evaluation (CAE) can enforce certain security events near real time in compatible services; it does not instantly detect or stop every attack. Confirm support and test policies before rollout. [8] [14] [15]
Google Workspace
Review authorized applications under Security → Access and data control → API controls. Restrict unwanted apps and sensitive scopes. Check OAuth client IDs and permissions rather than relying only on an app’s display name or verified status. These controls differ from Microsoft’s device-flow Conditional Access policy. [6]
Incident containment and cleanup
IT should contain access, revoke sessions and refresh tokens, remove unauthorized app permissions, and reset exposed passwords. A password reset alone may not remove token or application access. Revocation can take time depending on token and app behavior. [10]
Follow the provider’s incident checklist and review security and email activity before restoring access. For Google Workspace, include OAuth token revocation. For affected Microsoft mailboxes, investigate unauthorized inbox rules and follow-on phishing sent to others. [11] [2] [3]
Already entered a code or approved access?
Stop and report it immediately—even if you did not enter a password. Tell IT what you supplied or approved: a password, MFA code, device-flow code, sign-in prompt, or app permissions.
Preserve the original message, destination URL, app name, and approximate time. Do not circulate live codes or tokens for troubleshooting.
Unsure about a request?
A familiar domain tells you where your browser is connected. Before approving, also check which device or application will receive access—and why. Contact SecureNet for help reviewing a suspicious request.
Contact our Help Desk