Most people have heard the advice: always check that a website is genuine before entering your login details.
It remains an important security habit. However, cyber criminals are finding new ways to bypass the usual warning signs, including attacks that direct victims to a real Microsoft sign-in page.
Instead of creating a convincing fake website, attackers can misuse Microsoft's legitimate device sign-in process to trick people into granting access to their accounts.
For businesses that rely on Microsoft 365 for email, file sharing and communication, understanding this technique is increasingly important.
How can a genuine Microsoft login be used in a phishing attack?
Traditional phishing attacks often rely on fake websites designed to look like familiar services. The aim is to persuade someone to enter their username and password, handing those details directly to a criminal.
This newer approach works differently.
Attackers can abuse a legitimate feature called device code authentication. It was designed to help devices with limited input options, such as certain smart TVs or meeting room equipment, connect to an account.
Instead of entering a password on the device itself, the user visits a Microsoft website on another device and enters a short code displayed by the device requesting access.
When used legitimately, this makes signing in more convenient. But if a criminal tricks someone into entering a code generated for the attacker's session, the person may unknowingly approve access to the criminal's device.
The sign-in page can be completely genuine. The danger lies in what the user is being asked to authorise.
What does the attack look like?
The process often begins with an unexpected email designed to encourage someone to act quickly.
It might appear to contain a legal notification, a shared document or an urgent business request. The message may instruct the recipient to follow a series of steps, visit Microsoft's website and enter a code.
Because the website is real, the process may seem perfectly safe.
However, the code is associated with a sign-in request that the attacker has initiated. Entering it can authorise the attacker's session, potentially giving them access to the victim's Microsoft 365 account.
Depending on the permissions granted, this could expose business emails, shared files, Teams conversations and other sensitive information.
The attacker may not need to discover the victim's password at all.
Why traditional security checks may not be enough
Many employees have been trained to look for misspelled website addresses, suspicious links and login pages that do not look quite right.
Those checks are still useful, but they do not cover every type of phishing attack.
With device code phishing, the website may be genuine and the sign-in process may look normal. Multi-factor authentication, which adds an extra verification step when signing in, may also fail to prevent the attack if the victim completes the approval process for the attacker's session.
This does not mean multi-factor authentication is ineffective. It remains a valuable security measure. It means businesses need to combine technical protection with employee awareness and appropriate controls over how accounts can be accessed.
The key lesson is that a genuine website does not automatically make every sign-in request trustworthy.
Four ways to reduce the risk to your business
Businesses can take practical steps to make this type of attack less likely to succeed.
1. Never enter a code you didn't request
Employees should be cautious about unexpected instructions to visit a Microsoft website and enter a device sign-in code.
If they did not deliberately begin the sign-in process for a device they recognise and trust, they should stop rather than continue.
2. Be wary of unexpected requests
Emails asking people to review documents, respond to legal notices or complete urgent tasks can create pressure to act without thinking.
Encourage staff to verify unusual requests through a separate, trusted communication channel, particularly when a message asks them to follow unfamiliar sign-in instructions.
3. Strengthen Microsoft 365 account protection
Businesses should review their Microsoft 365 security settings and access controls. Depending on the organisation's requirements and licensing, administrators may be able to restrict device code authentication or apply policies that limit where and how users can sign in.
Security monitoring can also help identify unusual sign-in activity that requires investigation.
The right configuration depends on how your business uses Microsoft 365, so changes should be assessed before implementation.
4. Keep cyber security awareness up to date
Employees need to understand that phishing is no longer limited to fake websites and obvious spelling mistakes.
Regular training should cover newer techniques, including suspicious sign-in requests, unexpected verification codes and attempts to persuade users to approve access they did not initiate.
Staff should also know how to report a suspicious request quickly, without worrying about being blamed for asking questions.
What if someone has already entered a code?
If an employee has entered an unexpected device code or believes they have approved a suspicious sign-in, treat it as a potential security incident.
Contact your IT support provider or security team immediately. They can investigate the account, revoke suspicious sessions and access permissions, review sign-in activity and take further steps to secure the account.
Changing a password alone may not be sufficient if an attacker has already obtained an active session or authorised access through another mechanism.
A prompt response can help limit the potential impact.
Is your business prepared for newer phishing techniques?
Cyber criminals continually adapt their methods, often by exploiting legitimate tools and familiar processes rather than relying on obviously fraudulent websites.
For businesses using Microsoft 365, protecting against these threats means looking beyond passwords and suspicious links. It requires appropriate security settings, effective monitoring and employees who know when to stop and question an unexpected request.
At Affinity IT Services, we help businesses strengthen their IT security, review Microsoft 365 protection and improve staff awareness of evolving cyber threats.
If you would like to review your business's defences against modern phishing attacks, get in touch with Affinity IT Services.