B-roll, Books, and Bytes

Why does Microsoft host the tools used to pirate its own software? I asked the developers.

Software piracy and Microsoft have a long and complicated history. Yet one of the more peculiar developments in that relationship is that one of the world's most popular tools for pirating Microsoft software is distributed through a platform owned by Microsoft itself. What's more, the company seems perfectly content to let it happen.

Microsoft Activation Scripts (MAS), developed by a group known as Massgrave, is an open-source project that allows users to circumvent activation requirements for Windows and Microsoft Office. It's publicly maintained, extensively documented and readily accessible through GitHub.

GitHub, of course, is owned by Microsoft.

image

I find it fascinating that a trillion-dollar technology company is hosting the very tools people use to avoid paying for its products.

This isn't an obscure project operating in some dodgy, forgotten corner of the internet. At the time of writing, Massgrave has amassed 201,700 stars on GitHub. The actual number of people who have used the activation method is likely to be considerably higher, given that users don't even need to visit GitHub or manually download anything from the repository to use it.

There are even reports of Microsoft Support agents using the tool to solve authentication-related issues. No, seriously.

So why does Microsoft allow it? I put that question to the Massgrave team on their Discord server, where two team members shared their perspectives.

The economics of software piracy

It's easy to understand why Microsoft doesn't go after individual users who pirate its software. The time, resources and legal costs involved would make pursuing those cases commercially impractical.

But there is also considerable commercial value in keeping people within the Windows ecosystem, regardless of how they acquired the operating system. An unlicensed Windows user might still subscribe to Microsoft 365, purchase games, pay for cloud storage or use any number of other Microsoft products and services.

More importantly, the ubiquity of Windows helps preserve its position as the "default" operating system for personal computing. Every additional user contributes to the commercial incentive for developers, hardware manufacturers and businesses to continue supporting it.

This is the explanation favoured by one of the Massgrave team members I spoke to:

We assume it's because we help their consumer market share a lot.

It's a theory that has some grounding in Microsoft history. In 1998, discussing software piracy in China, Bill Gates famously remarked: "As long as they're going to steal it, we want them to steal ours."

The logic was simple: establishing dependency on Microsoft's software could prove more valuable in the long term than enforcing payment for it in the short term.

Nearly three decades later, it seems that logic remains relevant. It could be that, from Microsoft's perspective, running an unlicensed copy of Windows is preferable to someone running a competing operating system.

But tolerating piracy is one thing. Surely hosting it is another?

While there may be a commercial argument for turning a blind eye to consumer software piracy, I still find it odd that Microsoft allows Massgrave to continue their work right under its nose.

Microsoft doesn't need to track down millions of users or spend vast sums on legal action. It could simply remove a repository from a platform it already owns - and GitHub's own acceptable use policies explicitly prohibit tools designed to bypass software licensing checks, so Microsoft wouldn't even need to change the rules to do it.

So, what gives? For one member of the Massgrave team, the response was straightforward:

Why would they take it down? If they really wanted MAS gone, it's more effective to just patch the methods [we use].

You might reasonably expect the people behind such a project to regard its continued presence on a Microsoft-owned platform as somewhat precarious. Yet the response gave the impression that a takedown wasn't considered a particularly credible threat.

Is Microsoft really so indifferent to the project's existence that those behind it see little reason to be concerned?

There's no disputing that patching the underlying activation methods would be a more decisive blow to Massgrave. It would undermine the functionality of the software rather than momentarily disrupting its distribution. But removing a GitHub repository would presumably be a considerably simpler undertaking, and the two approaches aren't mutually exclusive... so, why not do both?

The fact that Microsoft apparently sees little value in disrupting the accessibility of MAS is what I find particularly curious.

Massgrave doesn't seem particularly worried

I asked the team whether they had a contingency plan in the event that Microsoft ever decided to intervene. Were they prepared for the possibility of waking up one morning to find their GitHub repository had been removed?

Their response was perhaps the most surprising of our conversation:

We would just stop working on the project if Microsoft ever threatened us. I don't think any of us joined the team to be at risk of legal retaliation.

I also asked whether the team had ever encountered updates to Windows or Office that appeared to be specifically targeted at their activation methods. The response, offered with classic warez scene bravado:

They have either never targeted us, or they are very good at pretending that they write buggy code.

That isn't to say that Microsoft hasn't patched vulnerabilities used by Massgrave, or that its engineers haven't worked to prevent unauthorised activation. But that the team doesn't feel there have been any deliberate attempts to disrupt their project is interesting in itself.

There's a remarkable dynamic at play here. The people behind one of the world's most popular software piracy tools openly admit they would abandon the project if Microsoft threatened legal action. Yet they continue to operate in plain sight on Microsoft's own infrastructure, and the company appears to have little interest in making them leave.

The value of GitHub's independence

One possible explanation for this apparent complacency lies in the circumstances surrounding Microsoft's acquisition of GitHub in 2018.

When Microsoft purchased the platform for $7.5 billion, it committed to preserving GitHub's independence and its developer-first approach. Maintaining the confidence of the open-source community was an important part of the acquisition.

So there could be reputational risks associated with Microsoft using its ownership of GitHub to suppress projects that conflict with its commercial interests.

However, Microsoft could still pursue the removal of activation tools through the same mechanisms available to other rights holders. The promise of GitHub's operational independence doesn't render Microsoft incapable of protecting its intellectual property.

The Massgrave team did also share an interesting anecdote suggesting they had once attracted some attention from GitHub itself:

We were on the trending tab on GitHub once, and someone at GitHub manually hid us from the trending list after some time.

While I've been unable to fully verify this account, a message in the public Massgrave Discord dated 08/05/2024 does indeed seem to show the project trending #1 on Github:

image

If accurate, it suggests that someone at GitHub was uncomfortable with the platform actively promoting Massgrave, but not sufficiently uncomfortable with the project's existence to remove it.

Perhaps Massgrave occupies something of a middle ground: a project that Microsoft is willing to tolerate but would rather not draw attention to.

A more manageable form of piracy

There is also an interesting, albeit purely speculative, security argument for allowing a prominent, publicly auditable activation tool to exist.

Historically, software piracy has been an effective distribution mechanism for malware. Users searching for cracked software frequently encounter malicious executables, fraudulent websites and compromised installers.

For Microsoft, a compromised Windows installation represents a potential security, reputational and support problem regardless of whether its owner has paid for a licence.

From their perspective, Massgrave could represent the lesser of two evils. If people are going to pirate Windows anyway, there may be some value in them using a well-known, publicly scrutinised open-source tool rather than downloading potentially malicious software from questionable websites.

That doesn't mean Massgrave is inherently safe, nor is there any evidence that Microsoft actually subscribes to this reasoning. But removing the project might simply drive users towards less trustworthy alternatives, creating a bigger security problem for Microsoft in the process.

We'll likely never know, as they'll obviously never speak on the matter in public.

A curious contradiction

From my conversation with the Massgrave team it was clear that even those involved in the project appear to have no definitive explanation for Microsoft's approach:

Nobody knows for sure, [but] Microsoft has on purpose tried to just ignore our existence.

Whether Microsoft is deliberately ignoring Massgrave or simply considers it too insignificant a commercial threat to warrant intervention remains unclear.

Nevertheless, it is difficult to imagine that a project with more than 200,000 GitHub stars has escaped Microsoft's attention. If the team's account of its removal from GitHub's trending page is accurate, someone at GitHub has already made a conscious decision about how visible the project should be.

What makes the situation all the more peculiar is that those involved in its development don't present themselves as being engaged in some ideological battle with Microsoft. At least according to the individuals I exchanged messages with, they're not prepared to risk legal retaliation to keep the project alive.

Yet Microsoft continues to provide the infrastructure through which the project is distributed.

For decades, Microsoft has invested in increasingly sophisticated mechanisms to ensure that users pay for its software. Perhaps the greatest irony is that, in its efforts to become indispensable to both consumers and developers, Microsoft has built an ecosystem in which even the people circumventing its licensing requirements are relying on its services.

And perhaps, from Microsoft's perspective, that is not an entirely undesirable outcome.

image