Changed your password? They're still in.
That can be the outcome when a Microsoft 365 phishing incident ends with a password reset and an attacker’s device remains connected to the account.
Huntress reports observing 468 rogue device registrations across 326 identities in 305 organizations during November 2026. Its investigation describes attackers using device-code phishing to gain access and register their own devices in Microsoft Entra ID, the identity service behind Microsoft 365. Huntress investigation
For business owners and IT leaders, the practical lesson is straightforward: account recovery must address devices and sessions alongside passwords. Ask whoever handles your Microsoft 365 security whether their phishing response includes all three.
How a real Microsoft sign-in page becomes the trap
Device-code authentication serves a legitimate purpose. A device that cannot easily accept a username and password displays a code. The user enters that code and authenticates through a browser on another device, allowing the requesting device to receive authentication tokens. Microsoft documents this process for equipment such as smart TVs and printers. Microsoft’s device authorization flow
In a phishing attack, the criminal initiates the request and persuades someone else to approve it. The victim can complete the process on a genuine Microsoft page while authorizing access for the attacker. A familiar domain therefore does not establish that the request is safe. Microsoft’s explanation of device-code phishing
The employee may believe they are opening a document or joining a meeting. The important question is who initiated the sign-in and which application or device receives access.
Why changing the password can leave access intact
Microsoft 365 uses tokens to let authenticated users continue working without entering their password for every action. One especially important credential is a Primary Refresh Token, or PRT, which supports single sign-on and the acquisition of application tokens. Microsoft’s PRT documentation
Microsoft previously documented an attack chain in which phished Microsoft Authentication Broker tokens enabled an attacker to register a device and obtain a PRT. That establishes a further access mechanism beyond the initial stolen session. Microsoft’s February 2025 investigation
Microsoft explains that password changes invalidate a PRT when it was obtained using the password. That condition matters here: a password reset alone is insufficient for the token-based persistence Huntress describes. Microsoft also states that disabling or deleting the associated device invalidates its PRT. How Microsoft invalidates PRTs
For your response process, “password changed” should record one completed action. It should never serve as the sole evidence that access has ended.
What to do if someone approved an unexpected code
Treat the report as a potential account compromise. Have an authorized administrator or your IT provider coordinate containment and investigation.
Block the compromised account and preserve evidence
Microsoft recommends disabling a compromised account during investigation. Contact the employee through a trusted channel, record what they approved and when, and preserve the message, relevant sign-in logs, and device details. Capture evidence while containment proceeds; avoid leaving access open merely to finish collecting screenshots. Microsoft’s compromised-account response guidance
Give the incident an owner. For a small business, that might be your managed IT provider working with an internal manager who can make decisions about interrupted access and business communications.
Find and disable the rogue devices
In the Microsoft Entra admin center, go to Entra ID > Devices > All devices. Correlate suspicious registrations with the affected account and sign-in timeline. Validate unfamiliar entries against your device inventory and the employee’s actual equipment.
Disable identified rogue devices promptly. Microsoft states that disabling a device revokes its PRT and refresh tokens. Preserve its identifiers and relevant records before deleting a confirmed malicious entry: deletion is irreversible and removes associated information. Microsoft’s device management guidance
Check for multiple unauthorized devices associated with the affected identity. Finding one suspicious entry is a starting point for investigation.
Revoke sessions and recover credentials
Revoke the affected user’s sign-in sessions and refresh tokens, then reset credentials through your approved recovery process. Verify the employee’s identity before restoring access, and deliver recovery information through a trusted channel outside the affected mailbox. Review registered authentication methods and remove unauthorized additions. Microsoft’s account recovery steps
Coordinate these actions with device containment. Completing them together reduces the chance that one remaining access mechanism undermines the others.
Check what happened inside the account
Review application consent, administrative roles, mailbox forwarding, and inbox rules, including hidden rules. Remove unauthorized changes and investigate suspicious messages and activity. These checks form part of Microsoft’s broader compromised-account guidance. Microsoft’s investigation checklist
Separately, determine whether sensitive files or business conversations were exposed. For finance or executive accounts, prioritize payment instructions and communications with customers or suppliers. Those are investigation priorities, not claims about what happened in every Huntress case.
Verify containment before closing the incident
Access revocation can take time, and applications can maintain their own sessions. Microsoft cautions that Entra cannot directly revoke every application-issued session cookie. Check affected applications and subsequent activity before declaring containment complete. Microsoft’s emergency access revocation guidance
Keep a record of which accounts, devices, sessions, and applications were addressed, along with any gaps in available evidence.
What your IT team should look for
Huntress identified devices named MH- followed by 16 uppercase hexadecimal characters, reporting Windows build 10.0.19041.928, with missing hardware identifiers. These are useful investigation leads from this campaign. Huntress’s device indicators
Use them to prioritize review, then confirm ownership and surrounding activity. A matching name alone should not trigger indiscriminate deletion, and an absence of matches should not close an investigation into an employee’s report.
Review device-code sign-ins alongside device registration events. Microsoft provides an Authentication Protocol filter for identifying device-code activity in sign-in logs. Microsoft’s authentication-flow logging guidance
Reduce the chance of another approval becoming persistent access
Block device-code authentication where it is unnecessary
Microsoft recommends getting as close as possible to a complete block on device-code flow. First identify legitimate uses, then test a Conditional Access policy in report-only mode and enable enforcement after reviewing its impact. Document and regularly review necessary exceptions. Microsoft’s blocking policy guidance
Policy scope matters. Microsoft says authentication-flow policy enforcement against the Device Registration Service applies only to policies targeting All resources. Have your administrator verify coverage and exclusions. Microsoft’s Device Registration Service enforcement guidance
Conditional Access requires appropriate licensing; Microsoft lists Entra ID P1 and Microsoft 365 Business Premium among the options. Check what your users actually have before planning changes. Microsoft’s Conditional Access licensing requirements
Review who can add devices
Examine device join permissions, registration settings, and per-user device limits. Join and registration are distinct controls, and Intune enrollment can affect available registration settings. Match restrictions to your actual onboarding and personal-device requirements. Microsoft’s device settings
Configure MFA for registration or joining through Microsoft’s documented Conditional Access approach. If using that policy, follow its instructions for the separate device-settings MFA toggle. Microsoft’s device registration policy
Teach employees to question the request
Keep MFA enabled and strengthen authentication where appropriate. Microsoft recommends phishing-resistant methods such as FIDO security keys and passkeys as part of broader identity protection. Pair that work with restrictions on unnecessary authentication flows. Microsoft’s protection recommendations
Give employees a specific instruction: Only approve a device-code sign-in you initiated for an approved application or device. If a document or meeting message unexpectedly supplies a code, stop and verify through your normal IT channel. If already approved, report it immediately.
Make your next Microsoft 365 review answer this question
Can your team demonstrate that attacker access ended after a phishing incident?
Ask Prometheus Cybersecurity for a Microsoft 365 and Entra security review focused on device registration, Conditional Access coverage, authentication methods, monitoring, and account recovery procedures.
Start with your most recent phishing ticket. Confirm that someone reviewed registered devices and revoked sessions before closing it. That gives your business a concrete place to improve today.



