Behind the Xbox Boot Code
NiteStar writes "The Xbox-Linux team has up a new article about The Hidden Boot Code of the Xbox. The Xbox console contains a 'chain of trust' to allow only legit Microsoft signed code to run on the Xbox. The hidden 'MCP' boot ROM (just 512bytes) is the link between hardware and software in this chain of trust." From the wiki article: "The Xbox, having an external (reprogrammable) 1 MB Flash ROM chip (models since 2003 have only 256 KB), would normally start running code there as well, since this megabyte is also mapped into the uppermost area of the address space. But this would make it too easy for someone who wants to either replace the ROM image with a self-written one or patch it to break the chain of trust ("modchips"). The ROM image could be fully accessed, it would be easy to reverse-engineer the code; encryption and obfuscation would only slow down the hacking process a bit."
best tech. description of the XBOX startup process I have ever seen.
The code will also include an automatic call to the local SWAT team if any pirate-related activity is detected.
I am a viral sig. Please copy me and help me spread. Thank you.
OH NOES! This article contains a description of how one might circumvent a copyright protection mechanism. WHOOP WHOOP WHOOP! DANGER WILL ROBINSON! DANGER!
:)
It's funny, I've seen patently illegal topics discussed on Slashdot before but I'm not sure I've seen federal law violated within an article's content. Even the times I've seen DeCSS implementations posted (like the famous one in PERL) it was in comments.
This really raises the bar in audacity.
In Microsoft's case, their 512 bytes are incredibly high-profile. And based on the extensive nature of the hacks, they had to find a couple of VERY experienced security people to inspect their code, and who they trusted 100% to not disclose inside information. My bet is they didn't choose the right people to inspect their code, and after the inspection, any other employees who showed an interest in making sure the code was secure were treated more with suspicion than anything.
Does this mean I have to start at my X-Box?
My god, man! You've been here more or less since the beginning and have only posted 41 times? And one of those is something as absurdly moronic as the one above?
A brilliant, brilliant piece of stand-up hacking. Perhaps the best that has *ever* appeared in /. I stand in awe...
"Eve of Destruction", it's not just for old hippies anymore...
chink in their chain (of trust)
My Xbox Live Gamer Card
Nice attempt at a TCPA-like architecture, though. And cheers to the xbox-linux guys for their amazing achievements and enlightening write-up.
All they did was digitize themselves into the XBox and destroy the MCP with a Data Disc.
....write up. Two years ago.
Y'know, when the first Xbox modchips were coming out and the code had already been hacked. What next? "Sony Playstation able to run unofficial code via use of incredibly complex 'swap trick'! Exclusive!"
Richard Feynman was one of the people who investigated the first shuttle disaster, and as a pain in the ass cantankerous old coot, really didn't care about standard Washington procedures and really got to the core of the matter. He cronicles a lot of it in What Do You Care What Other People Think?, ISBN: 0393320928 (get it from wherever, no Amazon kickbacks here). A very interesting read, I ended up reading it right after the second shuttle disaster, and thought that a lot of the human problems that caused the first blow up could be fingered in the second.
If you haven't read Feynman before, you'll probably like him. Funny guy, pretty damn smart, and managed with luck, brains, skill and stubbornness to get in the middle of some of the biggest science in the last century.
His point is absurd, but it is a point. As much as we all value freedom of speech, there have been cases here when ISPs and Children (yes, children) have lost in court cases becase a web page belonging to said children contains links to pages (belonging to someone else) that linked to a few copyrighted MP3s.
The GACs (Greedy-Ass Cu..s) are making legitimite technology harder to develop, deploy and use; write a program that can easily share files and someone will load his entire CD collection into it for all to download... then the GACs will come along and take you to court for "developing software with the specific intent to violate copyright" or somesuch.
The world is in a sad state of affairs when it comes to matters like this. The (in the US and all countries that entered into free trade agreements with it) DMCA makes it illegal to circumvent any form of encryption, copy protection, etc.
Slashdot linking to an article that clearly describes the flaws in a copy protection implementation and how to get around it is becoming shaky ground. Gone are the days of free information... the GACs that run the world are making sure of that.
Be afraid, be very afraid.
I drink to make other people interesting!
Execution just happily continues at 0000_0000 - in RAM! Apparently the i386 CPU family throws no exception in this case, Microsoft's engineers only assumed it or misread the documentation and never tested it.
The article says that they assumed or misread the documentation . This is so easy to test I find it hard to believe they wouldn't knew about this. I think they knew it and just accepted it. Too bad the article doesn't mention what code there is at address 0000, if there's an halt or illegal instruction then they knew it.
The Nintendo 64 had something similar. There was a 4K boot ROM hidden in the periperal I/O chip. It would checksum the boot code in the cartridge and compare it with a few bytes from the lockout chip. If it matched then it would run it. Like the Xbox, the N64 would disable its boot rom after boot, so you couldn't just run a program to read the data.
However Nintendo didn't use a cryptographically-strong signature so it got hacked pretty easily.
Despite some of the smart-aleck replies, this wiki article is a very good history of how the xbox was hacked. I remember when Bunnie was keeping us up-to-date on a day to day basis back in the heyday of xboxhacker.net. When he pulled the bios off the board and posted it on his website, he immediately got a phone call from Macroshaft which he recorded and put on his site. Funny stuff.
But, the whole point of the article is to prove that you can never lock anything completely down, from cd's to xboxen--they have to be used somehow don't they? And hey, DMCA, you're a menace to the greatest minds of the US (and no, not the minds at Macroshaft).
Just when Bungie managed to kick the majority of the cheaters off Halo 2, this comes around and makes it almost impossible to catch them using a modded Xbox.
I give it about a month before the modders ruin it for everyone again.
What does this have to do with Live? Isn't everything in the article stuff that has been in use for ages?
Modified data files are only a vulnerability if the game doesn't attempt to verify them. When running on live, the executable code is still verified, so the chain of trust is in place. Extending that chain of trust beyond the executable is the developer's responsibility, and really not that difficult.
read the book about how he blew up a guys engine and killed someone
Comment removed based on user account deletion