124w ago - Today the BBC (linked above) has published an interview conducted with PlayStation 3 hackers
fail0verflow and
GeoHot on the recent PS3 hacks and summarizing the unveiling Sony's secret key.
Below is the interview, to quote: "The PlayStation 3's security has been broken by hackers, potentially allowing anyone to run any software - including pirated games - on the console
A collective of hackers recently showed off a method that could force the system to reveal secret keys used to load software on to the machine.
A US hacker, who gained notoriety for unlocking Apple's iPhone, has now used a similar method to extract the PS3's master key and publish it online. Sony declined to comment on the hack.
"The complete console is compromised - there is no recovery from this," said
pytey, a member of the fail0verflow group of hackers, who revealed the initial exploit at the
Chaos Communication Congress in Berlin in December.
"This is as bad as it gets - someone is getting into serious trouble at Sony right now."
The group, which has previously hacked Nintendo's Wii and says it is vehemently against games piracy, said that it had developed the hack so that it could install other operating systems and community-written software - known as homebrew - on the powerful machine.
"The details we provided and information and techniques we disclosed would have been enough to install Linux," he said. "We have no interest in piracy."
Following the presentation, US hacker
George Hotz, who has previously hacked parts of the console, used a similar technique to extract the master key. He has now published it on his blog.
"This is supposed to be the most secret of secret of secrets - it's the Crown jewels"
This formerly secret number is used to "sign" all games and software that run on the system, to authenticate that it is genuine and approved by Sony.
However, once the key is known it can be used to sign any software - including unofficial software and games.
"I hate that it enables piracy," said Mr Hotz. "The publication of the key is more academic than anything else."
The number also works for Sony's handheld console the PlayStation Portable, said Mr Hotz.
Developers have already started
releasing tools to develop new software for the PS3 using the hacks.
'Valid target'
The PS3 - once regarded as the most secure of the game's consoles, and the only one not to have been permanently cracked - has in the last 12 months come under increasingly scrutiny from hackers.
PlayStation hack (George Hotz) Mr Hotz's original hack is widely believed to have led to Sony disabling features on the console. In January 2010, Mr Hotz claimed to have cracked the console.
Following his initial announcement, Sony released an update disabling a function, called OtherOS, that allowed gamers to install a version of Linux on their machines, thought to have been exploited by Mr Hotz.
Many saw it as a pre-emptive strike to guard against games piracy.
Mr Hotz never released the exploit and publicly said that he had stopped work on the console.
But Sony's removal of OtherOS prompted other hackers to begin to look at the system more closely.
"It became a valid target," pytey told BBC News. "That was the motivation for us to hack it."
He said the team had spent "months" trying to find their way into the system.
"It was not trivial to do this," he said.
In the end, the flaw that allowed them to crack the system was a basic cryptographic error that allowed them to compute the private key, held by Sony, he said.
"Sony uses a private key, usually stored in a vault at the company's HQ, to mark firmware as valid and unmodified, and the PS3 only needs a public key to verify that the signature came from Sony.
"Applied correctly, it would take billions of years to derive the private key from the public key, or to make a signature without knowing the private key, even when you have all the computational power in the world at your disposal."
"I'm scared of being hit with a lawsuit"
But the team found that Sony had made a "critical mistake" in how it implemented the security.
"The signing recipe requires that a random number be used as part of the calculation, with the caveat that that number must be truly random and not predictable in any way," the team said.
"However, Sony wrote their own signing software, which used a constant number for each signature."
This allowed the team to use "simple algebra" to uncover Sony's secret key, without access to it.
"This is supposed to be the most secret of secret of secrets - it's the Crown jewels," said pytey.
The team decided to publish its method but not the keys.
After the team revealed their hack, Mr Hotz said that he was prompted to renew his work on the system.
"What fun is a race if no-one else is running," he said. "fail0verflow did great work - they took it up a level."
"It's my own hardware, I can run whatever I like on it"
Using a similar technique he was able to extract the entire master key for the system, which he subsequently publish online along with a demonstration of it in action.
However, he has not released the method he used to extract the key.
"There is no reason to," he said.
However, he said that he may release a piece of software that will allow people to easily sign their own pieces of software and homemade games - also known as homebrew - on to the console.
"I have a program running but am thinking of a good way to release it," he said.
Like fail0verflow, he said that he does not condone games piracy.
"I do not want it to be able to sign official Sony programs. I'd like it just to be able to sign homebrew."
fail0verflow said it "disagrees" with Mr Hotz's decision to release the key, saying that it expects them "to make piracy easier without accomplishing intrinsically useful".
Legal worry
Sony takes a dim view of people hacking its system.
Last year, a team released a USB dongle called PSjailbreak that contained software that allowed gamers to play homemade and pirated games on the PlayStation 3.
Sony updated its consoles to block the software and took legal action against distributors in many countries.
However, according to pytey, it may not be so easy to fix the problem this time.
"The only way to fix this is to issue new hardware," he said. "Sony will have to accept this."
He said that he thought his group was on safe legal ground with its work.
"I haven't stolen anything," he said. "It's my own hardware, I can run whatever I like on it.
Mr Hotz also defends his actions, although admits he is "scared of being hit with a lawsuit".
"I am confident I would win since what I released was just a number obtained by running software on the PS3 I purchased"."
ismail asks: Since you are the lead developer for aMSN, do you have any intentions on porting it to the PS3?
KaKaRoTo: No, I have no intention of porting it to the PS3, because aMSN is written in Tcl/Tk, and it would mean porting the Tcl/Tk interpreter to the PS3. I also don’t plan on doing any kind of homebrew development, it’s not challenging or motivating enough.
djp: So in other words, once you are running Linux on your PS3 you can use it with the TCL/TK interpreter
itsevilbert asks: do you think this would have ever happened in the first place if Sony enabled OtherOS on the slim to begin with?
KaKaRoTo: I honestly can’t speculate on what might have happened, but I do think that removing OtherOS was really something that pissed off the hackers and gave them the motivation to try and break the PS3′s security, but it’s also always possible that someone would have done this regardless.
JakeAnthraX asks: What is your entire goal in this project and how long do you plan on developing for this platform?
KaKaRoTo: I’ll just paste something that I tweeted today that explains my goals for doing this : My main and probably only reason for working on the PS3 was the curiosity, the challenge, the fun, and most importantly the knowledge I would gain from this experience. The satisfaction of achieving something you’ve spent hours debugging is incredible, and the knowledge you gain from it has no price.
KaKaRoTo: For how long I plan on developing… I don’t know, I don’t make any kind of plans, if something comes up that looks challenging and fun, I’ll do it, otherwise, I see no reason for me to waste my time on it.
Kacex asks: Well, my question regards homebrew… While at the moment we cannot run unsigned homebrew, when those apps are signed, PSN friends could see that I’m running these apps, therefore Sony could too, and that could potentially lead to ban… Is this correct? So basically homebrew developers would have to implement some kind of stealth way for someone to use it, could that feature be implemented on this kind of homebrew? And I don’t mean “Look I’m playing Lemmings”, something that doesn’t share the current game being played for those apps.
KaKaRoTo: obviously anything is possible when patching the right thing, so if somebody wants to do this, they probably could, but I’m not interested in doing that. I also think that Sony could find many other ways to detect a jailbroken system (like a new firmware update that actually hashes all the filesystem during boot and makes sure no file was modified in it). For now, the people who want to install custom/modified firmware, or to jailbreak their machines, should be smart enough to know that they are breaching the license agreement with Sony, and that it’s Sony’s rights to prevent them from accessing their service (PSN) if they wish to. If they want to take that risk, they have to accept the consequences. In my case, I never used my jailbroken PS3 to connect to PSN.
DiggingForFire asks: Can we expect an MFW with working PS2 emulation from you?
KaKaRoTo: PS2 emulation requires the Emotion Engine chip on the hardware, and I won’t try to make some sort of software-only emulation (that’s not my area of expertise at all). Although the psjailbreak didn’t allow people to use PS1/PS2 games even on old backward compatible machines, the MFW that I built does allow PS1/PS2 games to run when the machine supports it through hardware.
Brandon asked: You said before that you want to be responsible and not allow piracy with something that you do, yet it is known that you can use PL3, the payload you developed, with backup managers, even though it could have been made to not support it. Why is it that you were willing to allow it with the payload, but not with a firmware modification?
KaKaRoTo: Thanks a good question Brandon. The reason is simple, PL3 was an incremental modification on a payload that was already released by the psjailbreak team, which itself already allowed backups to run. I didn’t implement backup support into PL3, it was there, and I just kept it there. With this new MFW, not only is it new and there is no already available solution for backups (so I have no reason to actually spend time to add support for it) but also, allowing backups (or piracy) to run means modifying the LV2 kernel, and doing that can be dangerous because a single mistake could lead to an irreversible brick of the machine and I’m not willing to take that risk, not for my PS3 and not for the PS3 of those who would use my tool to create their own modified firmware.
hotzenplots asks: I have quite a lot of trouble with HDCP: despite all my equipment is rather new and supports even HDMI 1.4 I continue to have no picture on my TV half of the time. So my question is: is it possible to disable the HDCP protection of the Playstation now that the software is wide open? Or is that a hardware thing? And if it’s possible, are you interested in working on that?
KaKaRoTo: After googling a little, I found out that the Debug firmware has a Enable/Disable HDCP option. So it’s possible you could disable it by upgrading to a debug firmware from service mode. Or maybe wait for the Rebug PUP firmware and see if the option is available there.
Taro asks: Whats your favorite PS3 game?
KaKaRoTo: oh, I got quite a few! I usually have a favorite game until another game is released and blows my mind.. but I’d say my top favorites would be (in no particular order) : Uncharted 2, Assassin’s Creed 2, Assassin’s Creed: Brotherhood, Little Big Planet, Metal Gear Solid, Batman Arkham Asylum, inFAMOUS, Heavy Rain, Darksiders, Sam & Max: The Devil’s Playhouse and of course Braid
Rei Yano asks: Do you know how cool you are?
KaKaRoTo: euhh…. no comment…