CyberPlay

Session and device-code phishing: why a real login page is not enough

Compare session-cookie theft, device-code phishing and OAuth consent. Learn the safe employee action with CyberPlay Courses and Find the Fake Login.

CyberPlay editorial team · Published · Updated · 8 min read

Guide and exercises in English

A staged sign-in page and authentication approval prompt in CyberPlay’s session-phishing course.

Expand image · Course video frame · English interface

Actual frame from Do not finish it there, with English on-screen text. This fictional sign-in scene introduces the risk of authorising a session through an attacker-controlled route.

MFA remains valuable, but completing an extra sign-in check does not prove that the surrounding request is safe. Session phishing targets an authenticated session; device-code phishing tricks you into authorising a sign-in started elsewhere; consent phishing asks you to grant an application access. The employee decision is to verify the destination, who started the request and what the approval will permit.

This guide uses CyberPlay Courses to separate those three mechanisms, then connects them to Find the Fake Login. It is a practical lesson for people receiving document links, meeting invitations and support messages. The course videos are narrated in English or Romanian; the platform and selected game support all nine site languages.

What you’ll take away

  • A real identity-provider page can display an unsafe device or application request.
  • Enter a device code only for an approved flow you initiated and can verify.
  • Read the application, publisher and requested permissions before granting consent.
  • Report what you approved; changing a password alone may leave other access in place.

1. Teach the approval, not just the password box

Microsoft's September 2026 EvilTokens research describes device-code phishing in which a person enters an attacker-supplied code on Microsoft's real sign-in service. The legitimate page is part of the deception. In September 2026, the FBI also warned about OAuth consent phishing that redirects targets to a real provider permission screen. These are documented attack patterns, not reasons to abandon MFA.

For training, ask the learner to finish this sentence before clicking: “I am approving access for…”. An answer such as “the document told me to” leaves the central question unresolved. A useful lesson makes the device, application or session visible enough for the learner to explain the decision.

Section sources: Unmasking EvilTokens: Getting to the root of device code phishing · Malicious Cyber Actors Gain Access to Victim Accounts Through Consent Phishing

2. Compare the three mechanisms

The terms describe different ways of obtaining access. Do not teach them as three names for a fake password page. Use this compact comparison first, then work through a separate example of each. The table is a training aid; actual containment depends on the service and the response team's findings.

2. Compare the three mechanisms
MechanismWhat the attacker seeksQuestion before proceeding
Session-cookie phishing, often through an adversary in the middleThe authenticated session created during a relayed sign-in.Did I reach the expected service through a trusted route?
Device-code phishingAuthorisation for a sign-in the attacker initiated.Did I start this device connection, and can I verify its code and purpose?
OAuth consent phishingPermissions for an attacker-controlled application.Did I choose this approved app, and do these permissions match its task?

Section sources: Resurgence of a multi-stage AiTM phishing and BEC campaign abusing SharePoint · Unmasking EvilTokens: Getting to the root of device code phishing · Protect against consent phishing

3. Session phishing: the extra check can be relayed

In an adversary-in-the-middle sign-in, a malicious intermediary relays the interaction with the real service and captures the resulting session material. A January 2026 Microsoft investigation describes an AiTM campaign followed by mailbox manipulation and further phishing. Its remediation guidance goes beyond resetting a password to include session revocation and checks for persistence.

For the employee, rehearse trusted navigation. If an unexpected document or message demands a sign-in, stop and open the approved application or saved portal independently. Confirm the item there or ask through a known contact. Do not keep completing a suspicious flow because an MFA prompt appeared, and do not override a passkey or password-manager mismatch merely to make the page work.

Section sources: Resurgence of a multi-stage AiTM phishing and BEC campaign abusing SharePoint

4. Device-code phishing: check who started the connection

Device-code sign-in has legitimate uses, including devices with limited input. In the abusive flow described by Microsoft, the attacker starts the request and passes its code to the target. Entering and confirming that code can authorise the attacker's session without handing them the password. Inspecting only the provider's web address misses that difference.

Use two fictional cards in a discussion. On one, a learner has just started connecting an approved meeting-room device and can see its code. On the other, a chat contact provides a code to “unlock a document”. Ask what initiated each action and which device or application will receive access. An unsolicited code is not a document password. Cancel and verify the request through support; do not enter it experimentally.

A staged device sign-in page asks for a masked code and explains the account access it grants.

Expand image · Course video frame · English interface

  1. A real domain is only one check

    The provider’s genuine page does not prove that you initiated the device authorisation.

  2. Check where the code came from

    Only continue with a device flow you started for your own known app or device.

Actual frame from A real page can still be the wrong request, with English on-screen text. The code is masked and the scene is a teaching example.

Section sources: Unmasking EvilTokens: Getting to the root of device code phishing

6. Explain what stronger authentication changes

Passkeys and FIDO2 security keys use credentials bound to the intended service, providing resistance to phishing that relays a password or code through a lookalike site. Microsoft describes this as origin-bound public-key authentication. Encourage employees to use the method approved by their organisation and to contact support if an unexpected page asks them to downgrade to another method.

Keep the lesson's boundaries clear: stronger authentication does not decide whether a requested app permission serves a legitimate business purpose. Administrators also need suitable device-flow, application-consent and session controls. Employees should not change those policies during an awareness exercise. Their job is to recognise the unresolved approval, stop and provide useful information to the person responsible.

Comparison of three approval questions: verify the route for a session, the initiating device for a device code, and the app and permissions for OAuth consent.

Expand image

Original CyberPlay teaching comparison. Technical controls and incident response depend on the organisation's identity service.

Section sources: Authentication methods in Microsoft Entra ID: passkeys (FIDO2) · Protect against consent phishing

7. Connect the Courses with Find the Fake Login

Use Do not finish it there for session phishing, A real page can still be the wrong request for device codes, and Do not allow an app you did not choose for consent. Each course pauses at five answer checkpoints before the explanation. Review the reason behind an answer, especially when a learner uses “the page was real” as the only justification. Videos are available in English and Romanian, with access governed by the account and plan.

Then open Find the Fake Login. Its actual scenarios include a helpdesk chat supplying a device code, an unexpected application requesting mail and file access, and a legitimate internal calendar application. Compare the malicious and legitimate consent examples so the learner practises a considered decision. These are fictional, browser-only scenarios; the game does not inspect a real account or test your organisation's identity configuration.

8. Explain the safe decision in a new scenario

Use the case below after the course and game. Keep it as a tabletop discussion with fictional services; no real device code, application consent or account is needed. Ask each learner to identify the missing evidence before reading the answer.

9. Report the action you took, then let responders scope it

Report promptly if you completed a suspicious sign-in, entered a supplied device code or approved an unexpected app. State the time, account, starting message and action you took. For an app, include its displayed name and permissions if already available. Preserve the message through the approved reporting route; do not reopen the request to collect more evidence.

Tell responders whether you entered credentials, approved a device connection or granted application permissions. Those differences affect which sessions, tokens, apps and account changes need investigation. Do not assume that closing the browser or changing the password completes recovery. The response owner should confirm the relevant containment and follow-up under the service's procedures.

For the next practice session, change the lure but keep the approval mechanism. Compare explanations across attempts and record unresolved questions for coaching. Course completion and game decisions show participation and performance in those exercises; they do not prove that a real account is secure or that future phishing will fail.

Section sources: Resurgence of a multi-stage AiTM phishing and BEC campaign abusing SharePoint · Malicious Cyber Actors Gain Access to Victim Accounts Through Consent Phishing

Practice account-access approvals

Use Find the Fake Login to investigate a device-code request and compare legitimate and malicious app permissions after the Courses.

Play Find the Fake Login

Sources and further reading

  1. Unmasking EvilTokens: Getting to the root of device code phishing — Microsoft Security. Accessed 2026-10-03
  2. Resurgence of a multi-stage AiTM phishing and BEC campaign abusing SharePoint — Microsoft Security. Accessed 2026-10-03
  3. Authentication methods in Microsoft Entra ID: passkeys (FIDO2) — Microsoft Learn. Accessed 2026-10-03

Keep exploring

All articles

Contact · About