Skip to content
Breach OAuth / SSO

Microsoft Teams booking lure used in device code phishing attack

Huntress reports a device code phishing campaign that disguised the authorisation flow as a Microsoft Teams meeting booking process.

Reported by Huntress

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Yes
Severity
Not rated

What happened

In mid-October, Huntress observed a device code phishing attack that used a Microsoft Teams calendar invite booking flow to target a construction sector company.1

The attack began with a spear-phishing email impersonating a senior vice president at a real construction company, sent from a typosquatted domain.1

A link in the email led through redirects to a phishing site that presented a Microsoft Teams Meeting Scheduler workflow, which behind the scenes initiated a device code sign-in request and generated a user code.1

When the victim clicked Confirm Meeting, the site copied the code to the clipboard and directed them to Microsoft's legitimate device login page, where entering the code would authorise the attacker's session.1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Yes Huntress observed the attack in mid-October targeting a construction sector company.1

Indicators of compromise

As the sources state them. Domains and URLs are defanged ([.] and hxxp) so they are never a link; copy a block to search your logs.

Domains · 1
nam12[.]safelinks[.]protection[.]outlook[.]com
What each indicator is
  • nam12[.]safelinks[.]protection[.]outlook[.]com Microsoft safe links wrapper domain1

For bug hunters

This event abuses the OAuth device authorisation flow, a class of access-control weakness where a user is tricked into granting a token to an attacker's session. In bug bounty programmes, look at any flow that issues device or user codes, especially those tied to meeting schedulers, file-sharing lures or support portals. Test whether codes can be pre-generated, reused, or bound to a different client or user than intended. Check if the consent screen or code entry page can be framed or disguised to lower user suspicion.

What to test

  • Try to reuse a device code after it has been redeemed or after it expires.
  • Attempt to bind a device code to a different client ID or tenant than the one that requested it.
  • Check if the device authorisation page can be embedded in an iframe or visually spoofed.
  • See whether a user code can be generated without an authenticated session or rate limit.

The OAuth / SSO lesson Every OAuth / SSO report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

Reports about OAuth / SSO

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, OAuth / SSO first.