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.
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)
Replies (1)
But these technologies and techniques can be used for pro-consumer stuff as well, f.ex protecting you stuff if you lose your phone