PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

March 22, 2012 // 9:04 pm - Following up on his previous revision, today PlayStation 3 developer naehrwert has updated PS3 SCETool v0.2.5 which utilizes metadata information for decryption among the changes outlined below.

Download: PS3 SCETool v0.2.5 / ZLib1.dll File (Required)

scetool 0.2.5 public build (C) 2011-2012 by naehrwert

Setup:

  • /data/keys : Keyfile.
  • /data/ldr_curves : Loader curves (7744 bytes).
  • /data/vsh_curves : VSH curves (360 bytes).

Keyfile format:

[Register or Login to view code]

Keyset example:

[Register or Login to view code]

NPDRM key(set) names:

  • [NP_tid]: Title ID OMAC1 key.
  • [NP_ci]: Control info OMAC1 key.
  • [NP_klic_free]: Free klicensee.
  • [NP_klic_key]: Klicensee key.
  • [NP_sig]: Footer signature ECDSA keyset.

Help text:

[Register or Login to view code]

History:

Version 0.2.5:

  • Added option to use provided metadata info for decryption.
  • "PS3" path environment variable will now be searched for keys/ldr_curves/vsh_curves too.
    Version 0.2.4:
  • Added option to display raw values.
  • Moved factory Auth-IDs to (as they are on ps3devwiki now).

Version 0.2.2:

  • Added options to override control/capability flags (32 bytes each).
  • Fixed where a false keyset would crash scetool when decrypting a file.
  • Some source level changes and optimizations.

Version 0.2.1:

  • zlib is required to use scetool.
  • 'sdk_type' was changed to 'revision' in data/keys.

Greetings to: you know who you are!


PS3 SCETool v0.2.5 by Naehrwert Out, Uses Metadata for Decryption

PlayStation Follow us on Twitter, Facebook and join us at our new site WWW.PSXHAX.COM!



#10 - miandad - December 27, 2011 // 1:55 pm
miandad's Avatar
thx for info , when they release it .. !

and i'm noob dont know about reverse the eid.. can you ask them about Lv2diag.self signed for 3.60 or 3.70+ for downgrade?

#9 - PS4 News - December 24, 2011 // 3:26 am
PS4 News's Avatar
Here are a few quick updates from naehrwert (twitter.com/naehrwert) for those following:

  • haha just figured the eid3 algo, nice!
  • KaKaRoToKS and I added basic NPDRM support to scetool
  • SELF generation works now for SPU and PPU, except for compressing the data and NPDRM
  • added SPU SELF generation to scetool

Also from his site: nwert.wordpress.com/2011/12/24/individual-infos/

Individual Infos

One of the PS3′s console specific cryptography works as follows:

At factory time there is a console specific key generated, probably from a private constant value and a console specific seed. Maybe that’s the key used for encrypting bootldr and metldr. Fact is, that metldr stores another console specific keyset (key/iv) to LS offset 000000. That keyset is probably calculated from the first one. At factory time the isolated root keyset (how I call it) is used to encrypt the console’s “Individual Infos”, like eEID.

But not the whole eEID is encrypted the same way, special seeds are used to calculate key/iv pairs for the different sections. And not even that is true for every eEID section, because for e.g. EID0 another step is needed to generate the final section key(set). Each of the isolated modules using such an “Individual Info” has a special section that isoldr uses to generate the derived key(set)s.

But the generation works in a way, that the section data is encrypted with aes-cbc using the isolated root keyset, so it is not possible to calculate the isolated root keyset back from the derived key(set)s, because aes shouldn’t allow a known plaintext attack. So far I can decrypt some of EID0′s sections, EID1, EID2 and EID4. EID5 encryption should be similar to EID0′s but I lack the generation keys for that one.

#8 - PS4 News - December 11, 2011 // 6:13 am
PS4 News's Avatar
Today Naehrwert has released PS3 SCETool v0.0.4 for those interested.

Download: PS3 SCETool v0.0.4

From his Tweet (twitter.com/#!/naehrwert/status/145481343411830784) the changes are as follows:

scetool 0.0.4 http://www.mediafire.com/?c10cwi77n7h4o3o

(added 32 bit ELF "unselfing")

isoldr_emulate http://pastie.org/3001424

[Register or Login to view code]


#7 - Bartholomy - December 5, 2011 // 8:04 am
Bartholomy's Avatar
Eidtool is what we need, rest is useless I think

#6 - PS4 News - December 3, 2011 // 10:19 pm
PS4 News's Avatar
Below are some more updates from naehrwert for those following..

scetool 0.0.3 http://www.mediafire.com/?ykjil6hn2xai5qw

output for vsh.self pastie.org/2958961

[Register or Login to view code]


Added ELF64 support to scetool!

but I extended eidtool by some new functions

#5 - PS4 News - November 29, 2011 // 10:56 pm
PS4 News's Avatar
Here is a follow-up from his blog today as well for those following: nwert.wordpress.com/2011/11/29/about-spu-channels-64-72-and-73/

If you are reversing the PS3′s isolated SPU modules, you will eventually notice channels 64, 72 and 73. Here are some C functions, that roughly describe how they work:

About SPU channels 64, 72 and 73


[Register or Login to view code]


It seems that lv1ldr is storing it’s version into a special storage area.

[Register or Login to view code]


And e.g. isoldr reads the version from the storage area and compares it to it’s own version. If the check fails, isoldr will just stop execution.

[Register or Login to view code]


I wonder what else is stored in the area and how long the data in it persists, so my next idea is to code an isolated elf, that allows me to specify the value written to channel 64 and then dumps the data from channel 73.

#4 - Ezio - November 29, 2011 // 7:55 am
Ezio's Avatar
Friday is a new legal application developed by naehrwert to remarry bd drive.

Quote Originally Posted by tulla2010 View Post
shame he will never release the eid tool

Yeah, unfortunately he decided to not share his eid tool when it will be ready.

#3 - tulla2010 - November 28, 2011 // 10:31 pm
tulla2010's Avatar
shame he will never release the eid tool

#2 - Bartholomy - November 28, 2011 // 6:16 pm
Bartholomy's Avatar
Yep. WE mortals don't do nothing with this stuff. But i suppose it's an advancement about a free solution...

Oh, some news: And no, I won't release eidtool. If you want the algorithms, you'll have to start reversing

Cool, we can close this chapter too

#1 - HAVOK7 - November 28, 2011 // 4:17 pm
HAVOK7's Avatar
wow i am first lol, ok so what can be actually done with this?