Search LA24X

Keyboard shortcut: Ctrl / ⌘ + K

Type two characters to search, or explore the library.

Open the topic library →

Privacy choices

Choose what suits you. Reading and tools work without analytics or optional saving.

Necessary — always active

Page delivery, language and privacy preferences.

Advertising

Storage details ↗

Device-code phishing can use a real sign-in page for a false request

Understand the EvilTokens report, check who initiated the device sign-in and revoke suspicious sessions and tokens after exposure.

Illustration for Device-code phishing can use a real sign-in page for a false request
✓ A genuine login domain does not legitimize an attacker-initiated authorization.✓ A password reset may need accompanying session and token revocation.

In brief

Microsoft’s EvilTokens analysis describes abuse of device-code authentication. The victim can sign in on a genuine provider page while approving a code belonging to an attacker’s request.

The key question is whether you initiated the device connection and recognize the application requesting access, not only whether the login domain is real.

Check the origin of the code

A smart device or supported application can legitimately display a device code. An unexpected message asking you to enter one to view a file is a different context. Stop and verify the requesting service independently rather than following the sender’s reassurance.

Read what you are authorizing

Check the named application and requested access. If you did not start that app’s connection, do not approve. Never send the code or a sign-in confirmation to an unsolicited helper who claims it is only a verification step.

Remove the resulting access

Use the provider’s compromised-account route and inspect authorized apps and active sessions. Microsoft’s report notes that access can persist when associated tokens and sessions remain valid. Follow the account’s actual revocation controls; changing a password alone is not a complete guarantee.

Before you act

Legitimate device-code flows exist. Do not approve a code from an unsolicited document or caller merely because the authentication page looks official.

What to do next

  1. Only begin a device sign-in from a connection you intentionally started.
  2. Read the requesting app and permissions before approving a code.
  3. If you approved a suspicious flow, use official account recovery to review grants, sessions and tokens, involving IT for managed accounts.
You’ve reached the end. Save this guide for later.Back to top ↑