Ps3 Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 4 February 2011

Intrusion Prevention: PS3 Re-Secured?

Posted on 00:26 by Unknown
It was only a few months ago when the PS3’s heralded security system dramatically failed them, thus resulting in hackers being able to sign their own homebrew code on the system.

The exploit, for those who don’t know, was based upon the discovery of the software and hardware keys Sony use for signing and authorising PS3 software. The company uses many keys to sign code, ranging from games to system updates, all of which are supposed to be locked away by a strong numerical encryption. However, a fatal blunder on the part of Sony meant that this didn’t happen.

All anyone needed to do in order to extract the various keys, was simply to find the random number used to encrypt them in the first place. Like with any encryption cipher worth its salt, it is encrypted using a different random number each time. Thus, preventing its discovery. Each file is signed using a different number each time. But, and somewhat foolishly for Sony, this wasn’t the case. Instead, the number responsible for signing every file was the same. In which case it is possible, by using two signatures and a mathematical equation, to reveal the key used to sign the code.

Doing this led to the discovery of all the main keys used to sign off code for use on the PS3; the firmware, the games, and the entire system security was, in a single moment, cracked wide open. Just a few days later, the posting of the system’s master key effectively made a solution to the problem almost unworkable… at the time.

Now, it appears that, via firmware update 3.56, Sony has been able to actively find a resolve to this problem. But it’s far from being a permanent one. And how long it actually holds up for, remains to be seen.

A detailed post on PSX-Scene, by RMS, a PS3 software/homebrew developer, explains it clearly.

“Well, I’ve been on EFnet for a while now, and I’ve seen many people asking about PS3 Custom Firmware 3.56, well, let me put it in a simple manner, it’s not possible thanks to what Sony did with their ECDSA (Elliptic Curve DSA) cryptography, and the new PUP format along with Cell-OS Lv2 having some extra checks on SELF files now."

"See, when we used to get private keys for earlier fail ECDSA keyset revisions, a variable, r, in the ECDSA signature was static, thus allowing us to get the keys using the signature itself, now, Sony fixed this by making that variable random, so we can no longer use simple algebra to get the private key like before. Do note that to retrieve the older private keys, one needed to use 2 signatures, and simply compare them to get the private key. Now, for those who do not know about private keys and public keys and ERK/RIV, here’s a simple explanation: Private keys are used to create signatures, public keys are used to verify the signature’s authenticity. ERK/RIV is used to decrypt the encrypted SELF data."

"The new PUP format has 2 extra files, one consists of a new tarball with spkg_hdr1 files, ensuring package integrity, so one can no longer create rehashed pups anymore. Until the spkg format is deciphered, and they can be resigned, one’s pretty much stuck with Official Firmware. Core OS also has some new additions, appldr now checks your SELF revision for NPDRM, and Lv2 selfs, they either must be whitelisted or use the new revision 0x0D keyset in 3.56. Lv2 now will also refuse to load older updater or Lv2diag.self files that do not use the 0x0D keyset. Core OS also has two new revoke lists, prog_srvk and pkg_srvk. They have yet to be fully inspected yet."

"So, in the end, Sony pretty much fixed most of the fail, some’s still around though, go look for it. =)”

In more simple terms, as it turns out, while both the old public and private keys were revealed, with the 3.56 update, Sony has replaced the old private keys with new ones. These new keys are apparently known to only the highest-ranking individuals at Sony. And, it’s using these new private keys, in combination with a proper random number generator that has allowed it to finally able to plug the whole.

Effectively, as long as the random number encryption holds – and it should do without another human error – then the all systems with this latest update will be mostly secure without hardware modification – the flashing of the console’s NOR/NAND chips. Of course, without doing that hackers could try and decrypt new games, which require the update using the old hack, before patching and re-encrpting them to run, but only on older firmwares. Although, this won’t work after the new public key comes into effect, nor will the games work on FW 3.56 or later.

That just leaves existing releases, which as the public keys are freely available, they are still susceptible to being run without proper authentication. However, there is no doubt that Sony are compiling a white list solution of sorts to the problem, seeing as changing this key will break compatibility with most, if not all older games. As a result, it will still be possible to run unsigned code on PS3’s that don’t have the 3.56 update. But on all consoles with the update, eventually, only white listed and new code will be able to run. It won’t be possible to sign new code with the old keys.

However, even then, there is still a sting in the tail. It will still be possible to get around these new security measures by flashing the internal AND/NOR chips, thus allowing the latest firmware to be downgraded and new custom firmware installed.

Talking to next-gen.biz, Mathieu Hervais, a respected homebrew developer elaborated on the issue.

“New keys were introduced in the 3.56 Firmware and code that is not whitelisted is now forced to use those keys. However, since the boot chain integrity is compromised it’s always possible to reprogram externally the NAND/NOR chips (where the firmware code is written to) to run unsigned code again."

“No matter what they do, a 3.56 (and onward) custom firmware is possible on all PlayStation 3 consoles manufactured so far,"

What this effectively means, is that Sony will have to make additional changes to the internals of the PS3 to stop the exploit from taking place. But at the same time, the 40+ million PS3’s that are already on sale are fully susceptible to being hacked, and cannot be completely patched against this. However, now getting access after the 3.56 firmware has been installed is in itself is no easy task. The flashing of the system’s NAND/NOR chips is no trivial matter for the everyday user, although it could open up a route for the pirates to start selling already flashed PS3’s, thus enabling the end user to run unsigned code and copied games until another flash is required later on.

But, for now at least, in terms of stopping an easy way into the system that anyone could exploit – the jailbreak for example - it appears that Sony have found a way of re-securing the PS3. And, with yet more firmware updates coming in the near future, even more of the system’s internals will be flashed with other changes to the security mechanism.

So long as the private keys are never revealed, nor the random number generator botched in its implementation, there’s no reason why newer PS3’s cannot re-maintain it’s once ‘solidly secure’ status. Although, from what recent events have shown, is that no system – no matter how strong the security – is ever immune to being cracked. Instead, it’s all about keeping one step ahead, making sure you have as many holes plugged as possible while trying to discover just where the next break with come from.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)
Economy Hosting just Rs. 109/month for 12 months!

Popular Posts

  • Kinect Gets Hacked: More Hardware Info Surfaces
    Getting console peripherals fully up and running on the PC has been pretty much commonplace over the last few years. In that time we have se...
  • Kinect Components Cost Just $56
    Many people have indeed doubted Kinect’s initial launch price of £130, sighting that the core components – such as the cameras and depth sen...
  • BioWare Confident About PS3 Mass Effect 2 Port
    There seems to be a recent trend occurring with developers commenting on the state of less than stellar PS3 conversions. First we had Ubisof...
  • Editorial: Having Space To Kinect
    Given the nature of how Sony's Move operates in small, enclosed environments so admirably, I never had any large concerns about having e...
  • NVIDIA Shows Off New Tessellation Tech
    The underlying tech behind 3D graphics rendering is constantly evolving, moving forward, whilst also delivering a better environment in whic...
  • PSP Phone Specs Revealed
    The PSP Phone may have been a no-show at Sony’s CES press conference, but that didn’t prevent further details surrounding the machine being ...
  • Tech Analysis: RE: Revelations Gameplay Video
    Nintendo showcased a small variety of software at its recent World Event in Japan. However, it was the first time that Capcom demonstrated R...
  • Ninja Gaiden Sigma 2 - Tech Analysis
    The original Ninja Gaiden Sigma (NGS) represented one of the first wave of 1080p enabled games to hit the PS3, which showed that despite the...
  • Retro Tech Analysis: Virtua Racing (MD vs 32X)
    Well, here’s the final part of our Christmas/New Year holiday coverage. Having mostly been put together after hours outside of a busy period...
  • Uncharted 3 Tech Update
    We’ve already taken an in-depth technical look at Uncharted 3, analysing both the original teaser trailer and subsequent gameplay demo . Ho...

Categories

  • 1152x640
  • 1280x1080
  • 2D displacement
  • 32X
  • 360
  • 360 slim
  • 360 vs ps3
  • 3d
  • 3D conversion
  • 3d gaming
  • 3DS
  • 3DS ssfiv
  • 45nm
  • 4gb
  • 60fps
  • a2c
  • after burner climax
  • alan wake
  • alpha coverage
  • alpha to coverage
  • ambient occlusion
  • anisotropic
  • anti-aliasing
  • aou 2010
  • apple
  • arc system works
  • Arcade Hits Pack
  • assassin's creed brotherhood
  • BBC iPlayer
  • blazblue
  • bungie
  • calamity trigger
  • call of duty black ops
  • capcom
  • castlevania rondo of blood
  • cell
  • cod black ops
  • comparison
  • crackdown 2
  • crazy taxi
  • criterion
  • cryengine 3
  • crysis 2
  • dante's inferno
  • david cage
  • david coombes playstation 3
  • dead or alive dimensions
  • dead rising 2
  • demo impresions
  • demo impressions
  • digital distribution
  • digital instructions
  • Directionally Localized Anti-Aliasing
  • dkcr
  • dlaa
  • dlc
  • dmp
  • doa
  • donkey kong country returns
  • DQIX
  • dragon age 2
  • Dragon Quest IX
  • DS
  • DSi LL
  • DSi XL
  • ea
  • ea sports
  • earthworm jim hd
  • editorial
  • enslaved
  • epic citadel
  • epic citadel demo
  • epic games
  • Feature
  • fight night champion
  • final fantasy xiii
  • final fight double impact
  • framebuffer
  • GDC10
  • gears of war 3
  • gmg
  • god of war 3
  • gow3
  • gran turismo 5
  • green man gaming
  • greenmangaming.com
  • gt5
  • Guerrilla Games
  • Gunblade NY
  • halo reach
  • halo reach beta
  • handheld
  • Hands-On
  • HDMI 1.4
  • hdr
  • head to head
  • heavy rain
  • ico
  • image based lighting
  • imagination technologies
  • infamous 2
  • instruction booklet
  • ios4
  • ipad
  • iphone
  • iphone 4
  • iphone os4
  • iPlayer 3
  • kane and lynch 2
  • killzone 3
  • Kinect
  • King Of Fighters XIII
  • Kirby's Epic Yarn
  • KOFXIII
  • L.A Machineguns
  • la noire
  • lag
  • Lair of the Shadow Broker
  • latency
  • LBP2
  • little big planet 2
  • lost planet 2
  • madden
  • mafia 2
  • mafia ii
  • marvel
  • marvel vs capcom 3
  • mass effect 2
  • md
  • mega man
  • mega man 10
  • megadrive
  • microconsole
  • Microsoft
  • MLAA
  • morphological anti-aliasing
  • mortal kombat
  • movie
  • msaa
  • mt framework lite
  • mt framework mobile
  • namco
  • naughty dog
  • NDS
  • need for speed hot pursuit
  • Neo Geo
  • nes
  • netherrealm studios
  • nfs hot pursuit
  • ninja theory
  • Nintendo
  • nintendo entertainment system
  • online pass
  • onlive
  • PC
  • pc engine
  • pce
  • perfect dark
  • peter moore
  • PICA200
  • platinum games
  • play tv
  • PlayStation Eye
  • PlayStation Move
  • polyphony digital
  • power vr
  • preowned
  • prince of persia
  • Project Natal
  • project ten dollar
  • PS Eye
  • PS Move
  • ps3
  • ps3 slim
  • ps3 vs 360
  • psn
  • psp
  • publishers
  • QAA
  • quantic dream
  • quincunx
  • quincunx anti-aliasing
  • rage hd
  • rdr
  • re5
  • red dead redemption
  • remedy
  • resident evil 5 gold edition
  • resident evil revelations
  • retail
  • review
  • rockstar
  • rsx
  • samurai shodown sen
  • santa monica studio
  • second hand
  • sega
  • SGX535
  • shadow of the colossus
  • shinkiro
  • sin and punishment
  • sin and punishment successor of the skies
  • singularity
  • smartphone
  • smg2
  • SNK Playmore
  • SNKP
  • sonic
  • sonic 4
  • sonic adventure
  • sonic and knuckles
  • sonic and knuckles 3d video
  • sonic and sega all-stars racing
  • Sonic Classic Collection
  • sonic team
  • sonic the hedgehog 4
  • sony
  • Sony Ericsson
  • splinter cell conviction
  • split second
  • ssao
  • SSFIV
  • star wars the force unleashed II
  • Subcontroller
  • sucker punch
  • sumo digital
  • super mario all stars
  • super mario bros
  • super mario galaxy 2
  • super stardust hd
  • Super Street Fighter IV
  • swfu2
  • TAA
  • Taito Type X2
  • team bondi
  • team ico
  • team ico collection
  • tech analysis
  • tech report
  • tecmo
  • the last guardian
  • the sands of time
  • time crisis razing storm
  • tom clancy
  • treasure
  • treyarch
  • turbografx
  • ubisoft
  • ubisoft montreal
  • uncharted 3
  • unreal engine 3
  • Valhalla
  • vanquish
  • vc
  • vf5fs
  • virtua fighter 5 final showdown
  • virtua racing
  • virtual console
  • visceral games
  • wii
  • wiiware
  • xbla
  • Xbox 360
  • Xbox 360 s
  • xdr
  • Xperia
  • yakuza 3

Blog Archive

  • ►  2012 (5)
    • ►  April (2)
    • ►  March (2)
    • ►  February (1)
  • ▼  2011 (48)
    • ►  December (1)
    • ►  November (3)
    • ►  October (2)
    • ►  September (2)
    • ►  July (2)
    • ►  May (2)
    • ►  April (2)
    • ►  March (8)
    • ▼  February (9)
      • Updates At IQGamer
      • Microsoft Opens Up Kinect SDK
      • Tech Report: Killzone 3 MLAA Update
      • Sony Locks Out Hacked PS3 Users From PSN
      • More Crysis 2 Console Info Surfaces
      • Crysis 2 Leaked, Specced Up
      • Tech Analysis: Fight Night: Champion: Back To 30fps
      • Tech Analysis: Bulletstorm Demo (360)
      • Intrusion Prevention: PS3 Re-Secured?
    • ►  January (17)
  • ►  2010 (191)
    • ►  December (15)
    • ►  November (15)
    • ►  October (16)
    • ►  September (17)
    • ►  August (19)
    • ►  July (16)
    • ►  June (21)
    • ►  May (16)
    • ►  April (15)
    • ►  March (17)
    • ►  February (17)
    • ►  January (7)
Powered by Blogger.

About Me

Unknown
View my complete profile