Windows XP Leak Confirmed After User Compiles the Leaked Code Into a Working OS (zdnet.com) 89
An anonymous reader writes: The Windows XP and Windows Server 2003 source code that was leaked online last week on 4chan has been confirmed to be authentic after a YouTube user compiled the code into working operating systems. Shortly after the leak occurred last week, ZDNet reached out to multiple current and former Microsoft software engineers to confirm the validity of the leaked files. At the time, sources told ZDNet that from a summary review, the code appeared to be incomplete, but from the components they analyzed, the code appeared to be authentic. NTDEV, a US-based IT technician behind the eponymous Twitter and YouTube accounts, was one of the millions of users who downloaded the code last week. But rather than wait for an official statement from Microsoft that is likely to never come, NTDEV decided to compile the code and find out for themselves. According to videos shared online, the amateur IT technician was successful in compiling the Windows XP code over the weekend, and Windows Server 2003 yesterday. "Well, the reports were indeed true. It seems that there are some components missing, such as winlogon.exe and lots of drivers," NTDEV told ZDNet in an interview today, describing his work on XP.
Comment removed (Score:3)
Re: (Score:3)
Re:Doesn't include any proprietary code however (Score:5, Funny)
30 September 2020, 11:37:05: Finished binary of re-XP completes boot on spare PC.
30 September 2020, 11:37:06: System is infected by five different pieces of malware.
Yup, it's genuine XP all right.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
What about DOS 6.22 ? (Score:4, Interesting)
What we really need are some new DOS 6.22 binaries. Maybe patch in FAT32 and NTFS support. Add 36-bit page tables to EMM386 and HIMEM.SYS. And of course multicore VM86 mode (that would probably make it tough to add 64-bit page tables).
Re:What about DOS 6.22 ? (Score:4, Insightful)
Re:What about DOS 6.22 ? (Score:5, Informative)
Might be better to start from scratch then. Does sounds like a fun project, share a link if you find someone doing this already or want to start it yourself.
I've done like "hello world" type stuff using a 64-bit kernel tutorial [osdev.org] and a UEFI tutorial [osdev.org]. Interrupts as system calls in 16-bit real mode is quite a bit easier to set up than system calls in protected long mode.
That crazy TempleOS [templeos.org] is already pretty close to limited 64-bit OS that could be a platform for some light-weight applications, demos, emulators retro games, etc. I'm not necessarily sure it's the best starting place, but it is the closest in spirit to what I believe you're thinking of.
Where things start to get tough on modern PCs (64-bit mode implies that). Is that drivers are a chore. There are some things you can access through EFI calls and that helps. But audio support for on-board chipsets, USB, and BlueTooth is probably a minimum. Maybe you can get away with setting a VESA mode, but a lot of modern displays have no VESA mode set with a matching resolution. I assume you'd leave network support out entirely, a TCP/IP stack is the easy part, getting all the WiFi options out there to work correctly is a real pain in the neck.
Stuff that works out-of-the-box today (maybe not EFI, but at least with GRUB) that is maybe close to what you suggest:
Honorable mention:
Re: (Score:2)
Re: (Score:2)
So if you combine a 64 bit kernel with a way to create a DOS interface to existing Linux device drivers, since there is no support for modern hardware in DOS, don't you basically end up with dosemu or dosbox?
Re:What about DOS 6.22 ? (Score:5, Informative)
There have been distros that boot Linux straight into DOSbox or QEMU. I think that's pretty reasonable for those wanting to emulate 16-bit DOS as if you had a much older computer. There was an article [slashdot.org] posted last week that is sort of the opposite of that idea, letting you run Linux commands from inside DOS [github.com].
Closer to the idea of a native DOS would be FreeDOS-32 [sourceforge.net] and pdos/386 [sourceforge.net]. Those are 32-bit protected mode and not 64-bit long mode, but had to solve some of the same problems one would face doing a "64-bit DOS".
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
You could somewhat easily write a DOS-like so long as you can code up a boot loader in assembler. The only "difficulty" is really in how esoteric low level 16-bit programming info has become, but once you find Ralf Browns interr
Re: (Score:3)
Re: (Score:2)
Thanks for putting me up on that. I've been looking for an affordable way to get a reliable Amiga :)
Re: (Score:2)
Re: (Score:2)
Re: What about DOS 6.22 ? (Score:2)
old hardware is getting scarce.
Really? I have a literal ton of it in my garage... I'm rich!
Re: (Score:3)
Re: (Score:2)
It would be only moderately useful as many of those programs would require patches just to work properly on a modern CPU. You're better off emulating, which has a number of other advantages including the ability to control speed of emulation for all that software that runs too fast without slowdown.
Re: (Score:1)
Re: (Score:2)
I do too many captchas to stop DOS.
On the other hand.
Kill DOS use Bash.
Silly users.
Re: (Score:2)
Re: (Score:3)
Who needs it... (Score:4, Funny)
Re:Who needs it... (Score:5, Funny)
Who needs winlogon.exe anyways? Definitely a major opening for trouble on a Windows machine.
Things were so much easier back in the old days when you could just hit the help button at the winlogin screen, open up the help tooltip, click print, open the printer properties, open the printer help, do a search, double click a search result to open the full windows help application, click file -> open, navigate to the windows directory, right click explorer.exe and click run, and get crashed to a functioning desktop logged in under the system account.
Re: (Score:2)
Re: (Score:2)
Seems like a long way round, when on XP, you could simply cancel the login screen and get a functioning desktop.
Update: apparently too many periods triggers the lameness filter.
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
Perhaps.
Re:Who needs it... (Score:5, Interesting)
That was 95/98/ME. That login dialog wasn't actually a login prompt, it logged you into Microsoft Networking so you can access file shares and other stuff. Cancelling merely let you use Windows without the file sharing stuff.
I think it was basically you logged in there to have Windows remember the credentials for the session, while if you didn't, attempting to access shares would have you enter the credentials then and possibly every time.
Of course, at the same time, most home users had little in the way of a home network and never really needed file sharing.
Re: (Score:2)
Ah y that's a nice trick too. At the time i used another method to get administrator privs (being logged on as user): open a shell, use the 'at' command, tell it to run a cmd.exe job in 1 minute. Wait a minute and enjoy your shell under system account from which you could do pretty much everything.
Iirc that even worked with the latest XP service pack. Only with Vista and later it was fixed.
Re: (Score:2)
Oh lol I hadn't heard that one.
Working already? Beats MS! (Score:5, Funny)
"compiled the code into working operating systems."
Wow only been at it less than a year and it's already more than Microsoft ever did.
*cue rimshot*
--
Hey where did the anonymous coward button go?
Re:Working already? Beats MS! (Score:4, Funny)
And with only 1 person doing QA, it's already a more serious project than Windows 10.
Re: (Score:1)
Well at least with AC they started out at "0" and were easily filtered out.
Now the trolls will just create a bunch of "one and done" accounts and post at "1."
I guess I'll have to crank my filter up to 11 now, or maybe just 10. This IS Slashdot, where you can filter messages from 1 less than 0 to 101.
Re: (Score:1)
Hey where did the anonymous coward button go?
Too many swastika/political coward posters shitting the place up, also likely logged in anyway and posting their vitriol as AC so they can save their mod points to silence people they don't agree with.
Re: (Score:2)
... also likely logged in anyway and posting their vitriol as AC so they can save their mod points to silence people they don't agree with.
Last I checked it would let you do that, and silently remove any moderation you had done on the story you posted AC to via a logged in account.
Re: (Score:3)
Guess they finally got sick of APK, TrueScore, swastispammer, and GNAA rep.
Re: (Score:2)
Dear God, First Time I pray, for a complete Win7 (Score:4, Funny)
Come on let's pray together:
Our start menu in windows seven,
hallowed be your name.
Your No-Ads-Kingdom come,
Your will be done
As in seven,
So on XP.
Give us today our daily grey.
And forgive us our vista,
as we forgive those who eight against us.
Lead us not into Ad-Abomination,
but deliver us from windows10.
For the seven, the speed and the glory are your source code of seven
now and forever.
Amen.
Re: (Score:3)
Why? It's not like a bunch of programmer nerds will have the ability to setup and maintain a system whereby they go through and actively issue updates or fixes to the OS. The only thing that would achieve is more eyes finding yet more security flaws making Windows 7 even less viable to run than now.
Re: (Score:3)
If somebody sneaked a trojan in to the source code, how long do you think it would take before all these eyes spotted it? I don't think I'd be trusting a build from a dubious source.
Re: (Score:2)
Why? It's not like a bunch of programmer nerds will have the ability to setup and maintain a system whereby they go through and actively issue updates or fixes to the OS.
Poe's Law biting hard here... Of all the constituencies who could do that, and do it successfully (heard of Linux?), that would be the one to do that for Windows 7.
Obviously it won't happen because Microsoft's lawyers would sprain a wrist sending the cease and desist letter so fast to whatever hosting site contains the project, but it's entirely technically feasible that such a project could exist.
Antigua and Barbuda once had a WTO settlement with the US that would have allowed them to infringe on US copyr [nytimes.com]
open source it (Score:1)
Re: (Score:3)
Re: open source it (Score:2)
Why in gods green earth would anyone want to run WinXP? It's nearly from the last century (Oct. 1st, 2001).
Beyond the thrill of compiling it, what would you do with it?
Re: (Score:2)
Winlogin... you'll need to get that from the NSA (Score:5, Funny)
Microsoft doesn't have that source code. ;-)
The jury is still out (Score:2)
has been confirmed to be authentic after a YouTube user compiled the code into working operating systems
This doesn't really prove anything.
If you have enough monkeys at enough keyboards typing enough source files, there is always a non-zero probability of randomly producing a working OS that looks like Windows XP. We can't rule that out here.
Re:The jury is still out (Score:4, Interesting)
Re: (Score:1)
Re: (Score:2)
Tell that to the ReactOS coders that have been trying for 24 YEARS now to create a fully working open source version of Windows XP.
XP? I thought the target was NT 4.
Re: (Score:2)
It was Win2000 back when I was keeping tabs on it, but I think it started at the time of NT4.
Re: The jury is still out (Score:2)
Windows XP was released on Oct. 1st, 2001 - not 24 years ago...
https://en.m.wikipedia.org/wik... [wikipedia.org]
space cadet pinball source in there? (Score:4, Insightful)
space cadet pinball source in there?
Re: (Score:2)
Re: (Score:2)
MS has there own copys
Re: (Score:2)
Why Doesn't Microsoft Release It? (Score:2)
Why doesn't Microsoft release the source code for all their products, past and present? They can still keep it under a license that prohibits use of the code without paying for a license, so it wouldn't impact their revenues. It would mean independent developers would analyze the code and find bugs for them. Over the long term, it would improve the quality and security of the code.
So what is the downside?
Re: (Score:1)
Re:Why Doesn't Microsoft Release It? (Score:4, Interesting)
Re: (Score:2)
Re: (Score:2)
They can still keep it under a license that prohibits use of the code without paying for a license
China, Russia, NK, etc. don't give 2 shits about licenses.
Re: (Score:2)
Yeah, and they're using the binaries without licenses anyway. Having the source code doesn't make much difference.
Re: Why Doesn't Microsoft Release It? (Score:5, Insightful)
It's a pain in the ass.
They don't want the criticism.
It serves no earthly purpose.
It wouldn't sell one additional license for any of their products.
What's the upside?
How is the world made better by seeing the original code for minesweeper?
Re: (Score:2)
So what is the downside?
There may still be reused code in the latest versions of Windows, for one. Trusty ol' Notepad was untouched until 2018, when they finally added some functionality.
Re: (Score:3)
Patent trolls would take them to the cleaners.
Re: (Score:2)
This is the first good reason. They would be pretty safe releasing really old code, as I expect NT 3.5 is old enough that any patents would have expired, but going back that far has little value for Microsoft or their customers.
Re: (Score:3)
So what is the downside?
Some of that code is still in their "modern" operating systems. You didn't really believe that Windows 10 is all new, did you?
Re: (Score:2)
I would suggest that they start by releasing their latest code. That's where the value for them lies--in having people better help them find bugs.
Re: (Score:2)
Those who help themselves have more help
Working code? (Score:2)
From Microsoft? Wow!
and.. (Score:1)
and double confirmed (Score:1)
this is not good for WINE and Proton (Score:3)
signing? (Score:1)
Did XP have signed binaries? On more modern versions of Windows, it will bugcheck if a boot-critical binary is not properly signed by Microsoft.
amateur IT technician (Score:2)
Who writes this stuff? If you're able to compile and run the bulk of an OS from source you're not an armchair, weekend hobbyist.
Re: (Score:1)
Re: (Score:2, Redundant)
I used to sit and create Linux distros on 3.5" floppy disks based on Slackware 3.9 that turned 386's into complete routers with firewall, network services, modem and ISDN control, etc. etc. etc. The Freesco project has my name all over it.
Was I a professional programmer? Nope. I learned my stuff in DOS debug trying to carve out CD checks on old games. Then someone got me into ZIPSLACK. From there, helping out Freesco was a natural next step.
Was I in charge of the project? Nope. It was just an amateur
Did they find it? (Score:1)
This is NOT the way to become Open Source (Score:1)
Re: (Score:3)
Make no mistake... Publishing the source code to even this early version of Windows will have dangerous ramifications that will play out for many years to come. Since Windows has become the OS behind many critical systems, they will now become much more vulnerable to attack from enemy nation states and other criminal elements.
They became vulnerable the first time XP was installed on them. Anything with XP still running on it may as well be an open system from a security point of view. This might possibly help alert us to some particularly serious bug, but in reality having XP running in your organisation is already a serious bug.
Compiled into a *working* OS? (Score:2)
Windows Drivers (Score:2)