Slashdot Mirror


The Hidden Boot Code of the Xbox

Device666 writes "In order to lock out both copied games as well as homebrew software, including the GNU/Linux operating system, Microsoft built a chain of trust on the Xbox reaching from the hardware to the execution of game code, in order to avoid the infiltration of code that has not been authorized by Microsoft. The link between hardware and software in this chain of trust is the hidden "MCPX" boot ROM. The principles, the implementations and the security vulnerabilities of this 512 bytes ROM will be discussed in this wikipedia article entitled How to fit three bugs in 512 bytes of security code."

49 of 284 comments (clear)

  1. Dupe by dkf · · Score: 5, Informative

    Thanks for not reading your own site, CmdrTaco

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  2. Sounds like.... by wgray8231 · · Score: 3, Funny

    The title of a seminar held on the Redmond, WA campus.

  3. Not Wikipedia by c0l0 · · Score: 5, Informative

    Just because some text is available on a Wiki, it's not automatically so on Wikipedia, y'know?

    --
    :%s/Open Source/Free Software/g

    YTARY!
    1. Re:Not Wikipedia by Zeinfeld · · Score: 4, Insightful
      The article is completely wrong when it says that the article is on Wikipedia, it is in a Wiki. Which is probably why a lot of people will do what I did and visit the site thinking 'massive NPVO violation'.

      Of course what is really going on here is a massive competence violation on the part of Commander Buritto

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    2. Re:Not Wikipedia by maxwell+demon · · Score: 2, Insightful

      I guess he just got confused because the Wiki is a MediaWiki, which is the Wiki developed and used for Wikipedia (and all other Wikimedia Wikis), and it's obviously also using the default stylesheets (or an only slightly modified version of them), and therefore has the same look and feel as Wikipedia (which is clearly different from the look and feel of most other Wikis).

      --
      The Tao of math: The numbers you can count are not the real numbers.
  4. Deja Vu is just... by SynapseLapse · · Score: 5, Funny

    the slashdotrix adjusting itself... Pay no attention to that cat.

  5. Wikipedia by mnemonic_ · · Score: 5, Funny

    The principles, the implementations and the security vulnerabilities of this 512 bytes ROM will be discussed in this wikipedia article entitled How to fit three bugs in 512 bytes of security code.

    So it seems someone doesn't know the difference between a page with wiki technology and Wikipedia.

  6. This is not a wikipedia article... by afabbro · · Score: 3, Interesting
    ...otherwise, the domain would be wikipedia.org. Not every site that runs MediaWiki is the Wikipedia.

    You'd expect "editing" to catch something like that...

    --
    Advice: on VPS providers
    1. Re:This is not a wikipedia article... by Philmeeh · · Score: 5, Funny

      Ahh yes but I wouldn't expect editing to occur on Slashdot

  7. Shouldn't the editors at least RTFA? by hunterx11 · · Score: 2, Insightful

    Not only is this a dupe, but the summary claims that the link is a Wikipedia article. Guess what--not every site running MediaWiki is WIkipedia. In fact, I'm pretty sure that only Wikipedia is Wikipedia.

    --
    English is easier said than done.
    1. Re:Shouldn't the editors at least RTFA? by someonewhois · · Score: 3, Funny

      You know the irony? Browsing at +3 threshold right now shows two posts in a row:

      1. http://hardware.slashdot.org/comments.pl?sid=15882 1&cid=13303204
      2. http://hardware.slashdot.org/comments.pl?sid=15882 1&cid=13303209

      I love how they have the EXACT same sentence of "not every site running mediawki is wikipedia".

  8. Howto fit 2 stories in the same by bigdady92 · · Score: 5, Funny

    512b of space. NExT ON SLASHDOT!

    --
    Wheel of Time: Book by Book and Sumview (summary review) Bigdady92 style: http://bigdady92.blogspot.com/
  9. Ah, slashdot by EvilMonkeySlayer · · Score: 4, Funny

    The thing everyone needs to remember is that slashdot is akin to Norman Bates, a lot of them are confused, a lot of them crossdress and are very often psychotic.

    So, the next time you see a dupe.. remember, be quiet.. or you could be murdered by a crossdressing psychopath.

    1. Re:Ah, slashdot by doublem · · Score: 2, Informative

      It depends on the state. It's discrimination of the first order, but sexual orientation isn't consistently protected across the board. The company's habit of tossing resumes based on "foreign sounding names" was highly illegal, but doing so because the applicant was gay, bisexual or androgynous may not have been.

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
  10. So that's six bugs per kilobyte? by mikeophile · · Score: 5, Funny

    Is that over or under Microsoft's par?

    1. Re:So that's six bugs per kilobyte? by MrHanky · · Score: 2, Funny

      Neither, really. 3840 bugs should be enough for everyone.

  11. Re:dupe by moonbender · · Score: 2, Informative

    Not only that, it's also certainly not a Wikipedia article. Not every Wiki is Wikipedia, for crying out loud.

    --
    Switch back to Slashdot's D1 system.
  12. Re:Hey now... by FireFlie · · Score: 2, Informative

    It would seem that this article has nothing to do with wikipedia either (except mentioning the name). Correct me if I'm wrong, but wiki != wikipedia.

  13. Re:chain of trust? by WhatAmIDoingHere · · Score: 2, Funny

    Maybe the chain of Anti-Trust?

    --
    Not a Twitter sockpuppet... but I wish I was.
  14. How to fit 3 bugs in 512 bytes of security code by CSHARP123 · · Score: 4, Funny

    Easy. Just put one bug in every 170.666666666666667 bytes and you will be done.

  15. Re:Why?! by Agret · · Score: 4, Insightful

    Spoken like a true person who hasn't seen a modded xbox.

    --
    Have you metaroderated recently?
  16. Microsoft Consistency by Blindman · · Score: 4, Funny

    At least Microsoft provides the same level of security to it own hardware as its does yours. You can't accuse Microsoft of playing favorites.

    --
    I don't practice what I preach because I'm not the kind of person that I'm preaching to.
  17. Re:Why?! by brokenarmsgordon · · Score: 5, Insightful

    What is morally wrong about doing whatever you want with something you paid for and own?

    What's morally wrong is anyone arbitrarily dictating what you can and cannot do with your personal property.

  18. Re:Hey now... by 1u3hr · · Score: 2, Informative
    In all fairness, the previous posting of this had NOTHING about Wikipedia in it. Perhaps that was the intended news to spread?

    Duplicate story, duplicate link.

    The previous article linked to the same page on xbox-linux.org, which is a wiki; not part of "The" wikipedia. Taco is asleep at the switch again.

  19. Sensationalist trash. by AceJohnny · · Score: 4, Insightful

    Wow. Was it something in the coffee this morning?

    First of all, it a dupe with another article in the games section.

    Then it's wrong. The article isn't from wikipedia.

    Finally, nice sensationalist terms:
    - Oh noes, this code locked out GNU/Linux! Bad Microsoft!
    - Hah, Microsoft can't even write 512 bytes of code without bugs!

    Oh, and that last part was only the subtitle of the article, not the real title. But no thanks for pointing it out.

    Read the interesting linked article, or the comments on the original post on games.slashdot, but this article here is exactly what I don't like seeing on Slashdot.

    --
    Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
  20. Re:Why?! by rindeee · · Score: 4, Interesting

    Are you serious? Put down the kool-aid for a sec and consider this. If I buy something (a physical something), I own it. It's mine. If I buy and X-Box and am of the ilk that likes to know what makes things tick, it's my prerogative (and certainly within the bounds of morality) to tear it apart and put it back together. If I can make my X-Box boot Linux (which, contrary to your implication can have a very significant and useful purpose) then more power to me. I will certainly share my knowledge with others who wish to do the same. When it comes to stealing games (copyrighted works of "art"), you are dealing with an entirely different issue. That is akin to me being able to throw my buddy's X-Box into a replicator, push a few buttons and voi lah! 2 X-Boxen. Don't confuse the two concepts. Now, commence kool-aid drinking.

  21. Re:Dupe by nitio · · Score: 5, Funny

    Posted by CmdrTaco on Friday August 12, @10:32AM
    from the stuff-to-read dept.


    Oh the irony...

    --
    http://stoploudness.org/
  22. MOD PARENT UP INSIGHTFUL by th0mas.sixbit.org · · Score: 2, Informative

    If I had the points, I would. Precisely what I thought when I read the GP's comments.

    Until you see xbox media center play media off a remote samba share, or you sit down and enjoy playing all your old console games in similiar environment (tv/couch).. you would say things like the GP. Afterwards you would shut your mouth and learn to mod your xbox.

    --
    twitter.com/gravitronic
  23. Re:3 bugs? by chrismcdirty · · Score: 2, Informative

    Please show me where they trounced Nintendo in the market place. And when I say market place, I consider the entire world where Nintendo and Microsoft have basically been neck and neck in hardware sales since their respective releases. Sure, Microsoft is doing surprisingly well in NA, but Japan is a different story.

    --
    It's like sex, except I'm having it!
  24. Re:Why?! by Intron · · Score: 5, Funny

    That's why I always rub bacon on the shrink-wrap and let my dog open it. Then he's bound by the EULA, not me.

    --
    Intron: the portion of DNA which expresses nothing useful.
  25. Re:Why?! by LWATCDR · · Score: 4, Insightful

    "But damn can't we at least brand the people who are breaking the EULA's and such for these "hacks." "
    What EULA? When I bought my XBox I did not sign anything?

    "At least I am not the unscrupulous individual who is taking the time and effort into doing something that is morally wrong."

    Okay why is it unscrupulous to hack a product I own to do what I want to do with it? If I guy a house is it immoral to add on a room or to tile the floor? If I buy a book is it wrong for me to make notes in the margin? If I buy a CD is it wrong to skip the tracks I really do not like? If I buy a model kit and us those parts to make a different model is that evil? If I buy a car and then put in a new stereo system and better shocks am I dammed to hell? Just how is any of this unscrupulous or immoral?
    If their is a bug in that boot code that has security issues then how bringing it to light any more immoral than reporting that flaw in a car publicly?

    Your concept of what is moral and what is not is odd at best. If you just want to play games on your XBox then to play some games.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  26. Re:Why?! by Lumpy · · Score: 2, Insightful

    Why cant people cook over fire like ogg instead of hacking it?

    I build fire, I cook over fire. But Ugg over there has to mess up fire by changing it and adding stone cover over fire and slate door in front of fire to make fire do things it was not intended to.

    now Ugg is spreading this evil change to fire and giving away this really evil "bread" he cooks in his "oven" that is against the EULA of fire.

    Cooking over fire is quite simple and those chaging fire are only making it more difficult for others wanting fire.

    others should do as OGG does and stick head in sand to avoid change and innovation.

    Hmm, sounds ALOT like what you just said. if we all had the silly attitude you did, we would not have computers now. HACKING and hackers brought you everything you have and enjoy now from your house to your car to your food to your precious Xbox.

    --
    Do not look at laser with remaining good eye.
  27. Re:Dupe by ari_j · · Score: 3, Funny

    I suspect that they spend most of their time finding all the non-duplicate, insightful articles that have been submitted so that they can reject them.

  28. Re:Why?! by Have+Blue · · Score: 2, Interesting

    The Xbox lockdown was always about pirated games. MS knows that only a small fraction of the audience cares about homebrew or Linux.

  29. I wonder by bornyesterday · · Score: 3, Insightful

    how many times slashdotters can say both "dupe" and "just because it's wiki doesn't mean it's wikipedia" for the same article.

    1. Re:I wonder by jpetts · · Score: 3, Funny

      Meta-whining: coming soon to a Slashlog near you...

      --
      Call me old fashioned, but I like a dump to be as memorable as it is devastating - Bender
  30. *frwooomp* by Akardam · · Score: 3, Funny

    Neeeeeeoooooobody expects the Slashdot editors! Our chief weapons are laziness, laziness and corporate shilling, our *two* weapons are laziness and corporate shilling...

    oh, I give up.

  31. Re:Why?! by mrRay720 · · Score: 2, Insightful

    Well you may have a valid point about your ability to turn the XBox into a better media player, but your describing this this as "hacking out of necessity" is completely laughable. You need a media modded XBox to live or something?

  32. Re:Why?! by Eivind+Eklund · · Score: 2, Insightful
    Why can't people just play the XBox instead of hacking it? I mean seriously, you don't see me hacking my XBox. I buy a game, I play a game. It is quite simple. [...] If they had three freaking bugs, whoopy do. At least I am not the unscrupulous individual who is taking the time and effort into doing something that is morally wrong.

    That's debatable. By buying XBox games, you're giving financial support a convicted monopolist. To me, there are some moral issues with that. I resolve them by using neither the XBox nor other Microsoft products[1].

    Eivind.

    [1] Exception: An inherited Windows PC at work. It runs putty, Firefox, Acrobat Reader, Eudora and Open Office. I see no point in doing a reinstall for a box that works and where the license has already been paid.

    --
    Doubting the existence of evolution is like doubting the existence of China: It just shows that you're uninformed.
  33. Re:Why?! by b1t+r0t · · Score: 2

    Or you could just rub Beggin' Strips on the shrink wrap, and your dog would still open it because he can't tell it isn't bacon!

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  34. Re:Why?! by Hoplite3 · · Score: 4, Interesting

    I see no philosophical problem with Microsoft locking their BIOS down, using trusted computing to prevent unauthorized code.

    What I have a problem with is the law that says I can't try to break the lock on something I own. I have a problem with the law that says I can't talk about this activity.

    Now, I prefer to buy robust, user-modifiable devices. I will spend my dollars on my preference. I worry about the marketplace being dominated by TCPA devices, but I don't have a philosophical objection to those things existing.

    The DMCA is just beginning to effect our lives. Give it another ten years to poison "intellectual property". If people own ideas, enforcement can only come in the form of thought control.

    --
    Use the Firehose to mod down Second Life stories!
  35. Re:Pointless by Nightspirit · · Score: 2, Informative

    What are you talking about? The security stops everyone who does not have a modded xbox from playing copied games. Infact, the security is decent enough that you can't copy Xbox DVDs on your computer, you have to ftp from the DVD drive on the Xbox (which you can only do on a modded xbox). Sure, with a modchip you can bypass the protection, but what percent of xbox owners have a modchip or softmod? Likely the number is low enough to be insignificant. So it accomplishes exactly what they want it to do: stop the majority of users from copying games. By the way, anyone with a modded Xbox should check out the OSS (I believe) Xbox Media Center. It takes the Xbox to a whole new level.

  36. Re:Why?! by TorKlingberg · · Score: 2, Insightful
    Killing people is wrong. If you do it with a gun or not doesn't matter.

    Playing with electronics is not wrong. And as long as it is your there is no problem.

  37. Re:Dupe by Metasquares · · Score: 2, Informative

    "Alter Relationship" is the alt text for those buttons. The image might not have loaded :)

  38. Re:Why?! by FurryFeet · · Score: 2, Funny

    If I guy a house is it immoral to add on a room or to tile the floor?

    Dude, I don't know what "guying a house" is, but I'm quite sure it should be immoral.

  39. An actual on-topic comment by kurtkilgor · · Score: 4, Interesting

    So, I have a question actually relevant to this article. The article says that the CPU was supposed to jump to address FFFF_FFFF, turn off the ROM, then roll over to 0000_0000, where the CPU would throw an exception thus halting the CPU. However, says the article, the CPU does not in fact throw an exception in this case.

    So my question is, how did the hackers who reverse engineered this code conclude that it was supposed to trigger an exception? It seems hard for me to believe that the MS engineers would base their entire security mechanism on a feature of the CPU that didn't actually exist.

    1. Re:An actual on-topic comment by Geoffreyerffoeg · · Score: 3, Insightful

      Just a theory...IIRC, the Xbox processor is slightly customized, right? It's not the generic off-the-shelf Celeron? So I suppose that when MS was asking Intel to make Xbox processors, Intel asked the MS guys, "Do you need it to throw an exception when the instructioon pointer overflows? We can make the chip slightly cheaper by removing that feature." MS thought for a second and said, "We're putting security on all the code that goes in, so we can watch for that feature. Besides, the users can't do anything if the CPU halts in a commercial game; it may as well overflow and crash that way. So no, we don't need that feature." And they forgot to ask their security team itself, who was relying on that feature, which was present in the development systems only.

      From the article:
      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.

      Does anyone know which CPUs actually throw exceptions? I have a feeling the security team tested their code on one that did.

  40. Re:Why?! by Locke2005 · · Score: 2, Insightful

    WTF? It's "morally wrong" to try to figure out how things actually work, then tell other people? So science is morally wrong then, we should just beleive what are leaders tell us, and never question anything? Well, at least you and Al Queda agree on something! Man, people making assinine statements like that about things being "morally wrong" is the best argument I've seen yet why creationism should NOT be taught in the schools... you've got it backwards; intentionally remaining ignorant is the most morally wrong thing a person can do... but that is apparently the path you have choosen.

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  41. obfuscation engineering by fdisk3hs · · Score: 2, Insightful

    Well, this is the first time I saw this article. I can't believe they made a virtual machine to handle cpu init only! I found this very insightful into Microsoft.

    I used to have conspiracy theories that when MS was going to release a build, they ran an obfuscation script to inject random code. Like copying values around in memory, values that were never used for anything, etcetera, as reverse engineering-quelling techniques.

    After using Unixes for a while I began to think that it would be just too much work to reverse engineer Windows, so such techniques were just unnecessary. If you can't buy Windows or run CE for your platform, just use another toolkit and OS.

    Reading the amount of work they did to break running normal x86 binaries on their custom PC, the conspiracy theories are coming back.

    I also think it's insightful that, instead of say more OpenGL optimizations or more security work, they paid engineers to develop these obfuscation techniques. What does that tell you about them?

    Their still grudgingly trying to sell black boxes, whether software or hardware, that buyers will be helpless to work with without them. How can you still think that will work?

    When people are using Nokia devices with Linux or whatever the future holds, Bill 'Monty Burns' Gates will still be refusing to get entangled in building or selling anything that he doesn't have total lock-in on. And the tar pit will swell up around him, and he'll join the other dinosaurs.