Windows XP source code leaked online

The source, going by the name billgates3, claimed that the source code has been circulating privately for many years

The source code for Microsoft's long-lived operating system Windows XP has leaked online.

A user named 'billgates3' published the code last week as a 42.9 GB torrent file on bulletin board website 4chan and file sharing site Mega.

Apart from containing the source code for Windows XP, the torrent file posted on 4chan also included the source code for several other operating systems from Microsoft, including Windows 2000, Windows Server 2003, Windows NT (3.5 and 4) and Embedded (CE 3, CE 4, CE 5, CE, 7).

Other files with source code for MS-DOS (3.30 and 6), the first Xbox OS and various Windows 10 components were also published online last week.

The leaker said that the code for Windows XP had been circulating privately for many years, but this is the first time that the files have become publically available.

"I created this torrent for the community, as I believe information should be free and available to everyone, and hoarding information for oneself and keeping it secret is an evil act in my opinion," they said.

The code for XP appears to be legitimate, according to The Verge, and includes several unreleased themes from the initial development phase of the operating system. One such theme appears to have imitated parts of Apple's Aqua design language from OS X.

Several security researchers have said that the many files that surfaced on internet last week actually leaked years before. The only new items this time are the source code for Windows 2000, Windows XP and Server 2003.

In a statement, Microsoft said that it was "investigating the matter."

Microsoft's Windows XP, which still powers more than one per cent of all desktops and laptops worldwide, was released in October 2001. The software giant ended regular support for the OS in 2014, limiting it to customers with special licenses.

Windows XP has been vulnerable for many years, and the latest leak is unlikely to make the situation any better. Hackers can examine the code to identify weakpoints, making it easier for them to create malware to attack systems running the 19-year-old operating system.

Because operating systems may also share code, hackers may try to target newer versions of Windows after discovering exploitable bugs in the XP source code.