Game consoles encrypt disks these days. Pulling the drive and dumping it is not enough. You need the keys. For Switch 2 and PS5 games it was possible because of jailbreaks which got control of the system and the keys. For Xbox Series consoles there is no jailbreak and no way for users to dump games. The leak was an unencrypted build so there was no need for keys and dumping.
Not just now. XBOX consoles had a form of drive locking in 2001, although it was easily disabled altogether, if I remember correctly, with either a modchip or EEPROM flash.
Or by hot swapping the SCSI cable to a PC shortly after booting the console lol. Then hex edit the drive from a linux live disc to enable a softmod. I used an alligator clip to ground both xbox and PC chassis together, but I heard of people doing it without even that!
Way back then, the softmod I did involved splicing a MadCatz xbox extension cable to one with USB A. This allowed the controller and its memory card to be connected to a PC, which in-turn allowed for placing downloaded saved-game files onto that memory card.
One special saved-game from a dark corner of the internet and a rented copy of an exploitable version of 007 later, and the xbox booted Linux from the xbox memory card and modded itself in a jiffy.
No opening up the console at all. And as a bonus, the resulting cable allowed the controller to work with PC games. :)
I still don’t understand though. The keys must be on the console already if it has to decrypt the encrypted drive and at the end of the day you need the decrypted compiled binary to actually run the game so it’s in there atleast at runtime.
Imagine you're locked outside your house, the keys are inside but you have your Xbox controller. You can still play your Xbox through the window but you don't have access to your fridge unless you break in. The Xbox is a locked house, they let you do certain things without the keys but to copy games off the drive is not one of them.
But what is the house in this analogy is the house the encryption? Because I don’t think this analogy fits. Because encryption to me would be more like I’m inside the house, but the key is a rubber ducky and at runtime, the rubber ducky gets turned into the actual key again, and I have access to it.
Put it this way: you assert the keys are inside the console so it's problem solved, right? Ok, go get them; I'll wait.
The longer answer is that it is not that simple. They aren't "just" in the console. They are probably encrypted at rest, then loaded at runtime into a secure enclave etc. etc. etc. It's complicated.
You'd need specialized lab equipment and a lot of effort to extract them. A better option is to somehow get it to run unsigned code and dump the decrypted binaries but there’s no known exploit yet
According to https://icode4.coffee/?p=1047 the xbox360 had 768 so-called eFuses. During manufacturing these eFuses can be randomly triggered, giving each Xbox basically it's own unique random key.
IDK how this slots into the whole encryption deal, but even if you'd find a key thats able to decrypt the memory, that would only work for 1 xbox.
Simplification: The data streams encrypted from the drive and/or RAM to the CPU. Keys are embedded in the CPU, so the CPU can decrypt all the data on the fly without anything ever leaving the chip.
At that point, besides finding a jailbreak, your only option is decapping the CPU and probing its internals which is exceptionally expensive and tedious on _normal_ CPUs. Console CPUs usually have intrusion detection that would nuke the keys if you decap them.
> The image above is a die shot of the Xbox 360 Xenon CPU and shows what the CPU looks like beneath the surface. Here we can see a rough layout of the different CPU cores, L2 cache, and other components that make up the CPU. You might notice there’s no block highlighting the “security engine” and that’s because its location is still unknown. The only way to find and understand exactly what the security engine is doing is to image the CPU with an electron microscope and reverse engineer the inner workings at the silicon level. This process is both extremely expensive and labor intensive, and would have been near impossible for hackers to do in the mid 2000s when the console was released. Hiding the security engine in the CPU die where it’s unable to be reverse engineered by attackers is part of what makes the memory encryption and integrity checks on the console so secure.
Perhaps now with LLMs it's likely that these chips can be reversed using CT scans or something.
Yes, the decryption keys are right there, if you could get them. They are stuffed away in secure enclaves on chips and buses that strongly resist your attempts to exfiltrate them.
It was funnier when I worked with Microsoft's Windows Media DRM in the early 2000s. The decryption keys for your audio and video were right there in the Windows folder. Encrypted with another set of keys which were also right there. It was keyception. All you could do back then was obfuscate them. Claude would break it in 30 seconds now.
I mean, I could look this up, but I think it’s better if it’s public like this what is a secure enclave and if there is a decrypted key in there, why can’t we access it?
Very insteresting technically. I feel a bit of unease though. After all this is essentially bragging about something anticonsumer. Again, I just feel uneasy.
Sure, but you just need to leak it once, right ? And presumably all the copies are encrypted by the same key, sp just dump it once and you are done I guess ?
What makes Xbox Series resistant to jailbreaks compared to PS5? Is it because they use Chromium browser that is more battletested than homegrown webkit based browser that PS5 uses?
This blog is about xbox 360 security, but I think a lot of the principles are the same. https://icode4.coffee/?p=1047
The first thing that loads on the processor is a security module that prevents any tampering of the memory during runtime. It doesn't allow running code to be modified, and checks if the machine code is signed by MS before allowing it to be loaded into memory. This basically prevents anything running on the xbox from looking into memory, or changing the instructions it is running. A browser running on the xbox will get it's own small part of memory, if you'd find an exploit you might be able to mess with that part, but you cannot break out of this 'jail'.
Also because nobody cares about the console, and it already has a dev mode that let anybody run homebrew on them for a small fee which has already been the case on why console did not get hacked in the past (see the PS3 and the OtherOS story)
What makes it resistant to jailbreaks is that, unlike Nintendo and Sony, Microsoft releases ALL Xbox games on the SAME DAY on PC so there is nothing that needs emulating or porting to PC.
Ironically, this makes this GTA6 "porting" effort to PC more difficult. While PS5 and Switch/Switch2 have had a ton of discovery and emulation work already to build on, the Xbox "scene" was a total desert.
The real answer is lack of motivation. Cracking consoles has always primarily been for piracy, and since almost every Xbox game releases on PC there's just no reason to put in the effort for it. Nintendo is always the top priority, followed by Playstation.
Replies (4)
Replies (2)
Replies (2)
Replies (1)
One special saved-game from a dark corner of the internet and a rented copy of an exploitable version of 007 later, and the xbox booted Linux from the xbox memory card and modded itself in a jiffy.
No opening up the console at all. And as a bonus, the resulting cable allowed the controller to work with PC games. :)
Replies (1)
Replies (4)
Replies (1)
Replies (1)
The longer answer is that it is not that simple. They aren't "just" in the console. They are probably encrypted at rest, then loaded at runtime into a secure enclave etc. etc. etc. It's complicated.
Replies (1)
Replies (2)
Good talk on the subject from one of the guys who designed the security model: https://www.youtube.com/watch?v=U7VwtOrwceo
IDK how this slots into the whole encryption deal, but even if you'd find a key thats able to decrypt the memory, that would only work for 1 xbox.
At that point, besides finding a jailbreak, your only option is decapping the CPU and probing its internals which is exceptionally expensive and tedious on _normal_ CPUs. Console CPUs usually have intrusion detection that would nuke the keys if you decap them.
Replies (1)
> The image above is a die shot of the Xbox 360 Xenon CPU and shows what the CPU looks like beneath the surface. Here we can see a rough layout of the different CPU cores, L2 cache, and other components that make up the CPU. You might notice there’s no block highlighting the “security engine” and that’s because its location is still unknown. The only way to find and understand exactly what the security engine is doing is to image the CPU with an electron microscope and reverse engineer the inner workings at the silicon level. This process is both extremely expensive and labor intensive, and would have been near impossible for hackers to do in the mid 2000s when the console was released. Hiding the security engine in the CPU die where it’s unable to be reverse engineered by attackers is part of what makes the memory encryption and integrity checks on the console so secure.
Perhaps now with LLMs it's likely that these chips can be reversed using CT scans or something.
It was funnier when I worked with Microsoft's Windows Media DRM in the early 2000s. The decryption keys for your audio and video were right there in the Windows folder. Encrypted with another set of keys which were also right there. It was keyception. All you could do back then was obfuscate them. Claude would break it in 30 seconds now.
Replies (1)
Replies (1)
Replies (2)
Continue this thread (1 replies) →
Replies (3)
The first thing that loads on the processor is a security module that prevents any tampering of the memory during runtime. It doesn't allow running code to be modified, and checks if the machine code is signed by MS before allowing it to be loaded into memory. This basically prevents anything running on the xbox from looking into memory, or changing the instructions it is running. A browser running on the xbox will get it's own small part of memory, if you'd find an exploit you might be able to mess with that part, but you cannot break out of this 'jail'.
Replies (1)
Ironically, this makes this GTA6 "porting" effort to PC more difficult. While PS5 and Switch/Switch2 have had a ton of discovery and emulation work already to build on, the Xbox "scene" was a total desert.