Microsoft has a subdomain hijacking problem

Spammers hijack Microsoft subdomains to advertise poker casinos. Many other subdomains have been vulnerable for years.

A security researcher has pointed out today that Microsoft has a problem in managing its thousands of subdomains, many of which can be hijacked and used for attacks against users, its employees, or for showing spammy content.

The issue has been brought up today by Michel Gaschet, a security researcher and a developer for

In an interview with ZDNet , Gaschet said that during the past three years, he’s been reporting subdomains with misconfigured DNS records to Microsoft, but the company has either been ignoring reports or silently securing some subdomains, but not all.


Gaschet says he reported 21 subdomains that were vulnerable to hijacks to Microsoft in 2017 [1, 2], and then another 142 misconfigured subdomains in 2019 [1, 2].

Further, the researcher also privately shared with ZDNet another list of 117 subdomains that he also reported to Microsoft last year.

Of all the reported misconfigured subdomains, Gaschet told ZDNet that Microsoft only addressed a few. The researcher puts the number at somewhere between 5% and 10% of all the subdomains he reported.


Gaschet told ZDNet the OS maker usually fixes big subdomains, like and , but leaves the other subdomains exposed to hijacks.

The researcher said that most of the Microsoft subdomains are vulnerable to basic misconfigurations in their respective DNS entries. The researcher says this 2014 blog post from Detectify explains the problem in depth.

“The root cause/mistake is a forgotten DNS entry pointing to something that doesn’t exist anymore, or never existed, like a typo in the DNS entry content,” Gaschet told ZDNet .


But until now, these misconfigurations have never caused Microsoft any problems or headaches, despite being an attractive attack surface.

In a hypothetical scenario, an attacker could hijack one of these subdomains and host phishing pages to harvest login credentials for Microsoft employees, business partners or even its end-users.

The scenario is not something that has not been seen before.

Luckily, no dangerous threat groups have noticed this problem.

Sadly, others have.

Today, Gaschet pointed out on Twitter that at least one spam group has figured out they could hijack Microsoft’s subdomains and boost their spammy content by hosting it on a reputable domain.

Gaschet says he spotted ads for Indonesian poker casinos on at least four legitimate Microsoft subdomains. These include,,, and

The spammy ads are still live at the time of writing.

ZDNet has reached out for comment to Microsoft and asked the company to comment on a series of issues raised by Gaschet in a Twitter thread today. We have not heard back before this article’s publication time.

On Twitter, Gaschet guessed that one of the reasons why Microsoft is not prioritizing fixing these issues is because “subdomain takeovers” are not part of the company’s bug bounty program, which means any reports are not getting prioritized, even despite the severity of the issues being reported.

Gaschet, who is a developer for, the official registrar for the Guadeloupe .gp top-level domain, urged Microsoft to revamp how it manages its DNS records, which he said are the source of most of these misconfigurations.

Source: zdnet