PSX-SCENE Forum Discussion for Sony PlayStation/PsOne/PS2/PS3/PSP/PS VITA
  • Status Update on the PS3 4.0 HEN by KaKaRoTo

    As you all know Kakaroto famous PS3 Scene dev who first got around to making CFW for the 3.55 has yet again astounded us by jailbreaking "Kind Of" firmware 4.00. However, this is not a full jailbreak but a HEN of sorts that would enable homebrew on systems running firmware 4.00. Kakaroto had discovered this exploit on firmware 3.73 only days before Sony releasing update 4.00 in regards to the PS Vita. Today we get information from Kakaroto's blog stating the current update of his feat. However, there has been some conflict between a former scene dev who had claimed that he had access to lv0. Due to further findings from Kakaroto and his team, and following the "fake riddles" that were provided by mathieulh led to an argument. More information about the latest update on Kakaroto's HEN can be found on his website.


    Here’s a “quick” status update on the 4.00 HEN (Homebrew ENabler) for PS3.

    Following my clarifications from almost 2 months ago here, there has been a lot of progress. We have not been slacking off, we’re a group of about 10 developers working together for the last 2 months, for sometimes 15 hours everyday in order to bring back homebrew support to the latest version of the PS3.

    There are three major parts to the HEN, first, getting the packages to install on the PS3, that part is done, completed, tested, debugged, etc.. the second part is to get the apps to run, that one still has major issues… the last part is something I will not discuss for now (it’s a surprise) but it’s about 60% to 70% done (and it has nothing to do with peek&poke and has nothing to do with backup managers or anything like that. This is and will stay a piracy-free solution for the PS3).

    Now, running apps is the biggest challenge that we’ve been working on for the past 2 months. As some of you know, if you’ve been following me on Twitter, we originally had hoped for Mathieulh to give us the “npdrm hash algorithm” that was necessary to run the apps, but he was reluctant, he kept doing his usual whore so people would kiss his feet (or something else) so he’d feel good about himself. But in the end, he said that he refuses to give us the needed “npdrm hash algorithm” to make it work… So what I initially thought would be “this will be released next week” ended up taking a lot more time than expected, and we’re still nowhere near ready to make it work.

    Mathieulh kept tossing his usual “riddles” which he thinks are “very helpful for those who have a brain”, and which pisses off anyone who actually does… so he told us that the solution to all our problems was to look in appldr of the 3.56 firmware.. and that it was something lv1 was sending appldr which made the “hash check” verified or not… so we spent one month and a lot of sweat and after killing a few of our brain cells out of exhaustion, we finally concluded that it was all bullshit. After one month of reading assembly code and checking and double-checking our results, we finally were able to confirm that that hash algorithm was NOT in the 3.56 firmware like he told us (at all).

    He said that it was an AES OMAC hash, but after tracking all the uses of the OMAC functions in appldr, we found that it was not used for the “hash”… he then said “oh, I meant HMAC“, so we do that again and again come up with the same conclusion, then we’re sure it’s not in appldr, and then he says “ah no, it’s in lv1“.. have a look for yourself to what he decided to write : ps3devwiki.com/index.php?title=Talk:KaKaRoTo_Kind_of_%C2%B4Jailbr eak%C2%B4

    That happened after the huge twitter fight I had with him for being his usual arrogant ass and claiming that he “shared” something (For your information, the code that he shared was not his own, I have proof of that too (can’t show you the proof because even if I don’t respect him, I gave him my word to not share what he gave me, and I respect my word) since he forgot to remove the name of the original developer from one of the files… also it was completely useless and was not used at all, just made me waste a day reading the crappy undocumented code. So why is he still trying to force his “advice” through these riddles even after we had that fight? Well to sabotage us and make us lose all those months of hard work!

    So anyways, we had all accepted that Mathieulh was full of shit (we knew before, but we gave him the benefit of the doubt) and decided to continue working without considering any of his useless riddles. So we then tried to exploit/decrypt the 3.60+ firmware in order to get the algorithm from there.

    Now, a few more weeks later, we finally have succeeded in fully understanding that missing piece from the “npdrm hash algorithm”, and here it is for everyone’s pleasure with some prerequisite explanation :

    A game on the PS3 is an executable file in a format called a “SELF“file (kind of like .exe on windows), those “self” files are cryptographically signed and encrypted.. For PSN games (games that do not run from a bluray disc), they need to have an additional security layer called “NPDRM”. So a “npdrm self” is basically an executable that is encrypted and signed, then re-encrypetd again with some additional information. On 3.55 and lower, we were able to encrypt and sign our own self files so they would look like original (made by sony) “npdrm self” files, and the PS3 would run them without problem. However, it wasn’t really like an original file.. a real NPDRM self file had some additional information that the PS3 simply ignored, it did not check for that information, so we could put anything in it, and it worked. Since the 3.60 version, the PS3 now also validates this additional information, so it can now differentiate between NPDRM self files created by sony and the ones that we create ourselves for homebrew. That’s the “npdrm hash algorithm” that we have been trying to figure out, because once we can duplicate that information in the proper manner, then the PS3 will again think that those files are authentic and will let us play them.

    Another important point to explain, I said a few times that the files are “signed”.. this means that there is an “ECDSA signature” in the file which the PS3 can verify. The ECDSA signature is something that allows the PS3 to verify if the file has been modified or not.. it is easy to validate the signature, but impossible to create one without having access to the “private keys” (think of it like a real signature, you can see your dad’s signature and recognize it, but you can’t sign it exactly like him, and you can recognize if your brother tried to forge his signature). So how were we able to sign the self files that were properly authenticated on 3.55? That’s because this “ECDSA signature” is just a very complicated mathematical equation (my head still hurts trying to fully understand it, but I might blog about it in the future and try to explain it in simple terms if people are interested), and one very important part of this mathematical equation is that you need to use a random number to generate the signature, but Sony had failed and used the same number every time.. by doing that, it was easy to just find the private key (which allows us to forge perfectly the signature) by doing some mathematical equation on it. So to summarize, a “signed file” is a file which is digitally signed with an “ECDSA signature” that cannot be forged, unless you have the “private key” for it, which is impossible to obtain usually, but we were able to obtain it because Sony failed in implementing it properly.

    Now, back on topic.. so what is this missing “npdrm hash algorithm” that we need? well it turns out that the “npdrm self” has a second signature, so it’s a “encrypted and signed self file” with an additional layer of security (the NPDRM layer) which re-encrypts it and re-signs it again. That second signature was not verified in 3.55 and is now verified since the 3.60 version of the PS3 firmware.

    One important thing to note is that Sony did NOT make the same mistake with this signature, they always used a random number, so it it technically impossible to figure out the private key for it. To be more exact, this is the exact same case as the .pkg packages you install on the PS3, you need to patch the firmware (making it cfw) so that those .pkg files can be installed, and that’s because the .pkg files are signed with an ECDSA signature for which no one was able to get the private key. That’s why we call them “pseudo-retail packages” or “unsigned packages”.

    The signature on the NPDRM self file uses the exact same ECDSA curve and the same key as the one used in PS3 .pkg files, so no one has (or could have) the private key for it. What this means is that, even though we finally figured out the missing piece and we now know how the NPDRM self is built, we simply cannot duplicate it.

    The reason we wasted 2 months on this is because Mathieulh lied by saying that he can do it.. remember when the 4.0 was out and I said “I can confirm that my method still works” then he also confirmed that his “npdrm hash algorithm” still works too? well he didn’t do anything to confirm, he just lied about it because there is no way that he could have verified it because he doesn’t have the private key.

    I said I will provide proof of the lies that Mathieulh gave us, so here they are : he said it’s in 3.56, that was a lie, he said it’s an AES OMAC, that was a lie, he said it’s an HMAC, that was a lie, he said it’s in appldr, that was a lie, he said it’s in lv1, that was a lie, he said that he can do it, that was a lie, he said that “it takes one hour to figure it out if you have a brain”, that was a lie, he said that he verified it to work on 4.0, that was a lie, he said that he had the algorithm/keys, that was a lie, he said that once we know the algorithm used, we can reproduce it, that was a lie, he kept referring to it as “the hash”, that was wrong. The proof ? It’s an ECDSA signature, it’s not a hash (two very different terms for different things), it was verified by vsh.self, it was not in lv2, or lv1, or appldr, and the private key is unaccessible, so there is no way he could build his own npdrm self files. Now you know the real reason why he refused to “share” what he had.. it’s because he didn’t have it…

    So why do all this? was it because his arrogance didn’t allow him to admit not knowing something? or was it because he wanted to make us lose all this time? To me, it looks like pure sabotage, it was misleading information to steer us away from the real part of the code that holds the solution…. That is of course, if we are kind enough to assume that he knew what/where it was in the first place. In the end, he wasn’t smart enough to only lie about things that we could not verify.. now we know (we always knew, but now we have proof to back it) that he’s a liar, and I do not think that anyone will believe his lies anymore.

    ...

    Enough talking about liars and drama queens, back to the 4.0 HEN solution… so what next? well, we now know that we can’t sign the file, so we can’t run our apps on 3.60+ (it can work on 3.56 though). What we will do is look for a different way, a completely new exploit that would allow the files we install to actual run on the PS3. We will also be looking for possible “signature collisions” and for that we will need the help of the community, hopefully there is a collision (same random number used twice) which will allow us to calculate the private key, and if that happens, then we can move forward with a release.

    When will the “jailbreak” be released? If I knew, I’d tell you, but I don’t know.. I would have said in last november, then december, then before christmas, then before new year, etc… but as you can see, it’s impossible to predict what we will find.. we might get lucky and have it ready in a couple of days, or we may not and it will not be ready for another couple of months.. so all you need to do is : BE PATIENT (and please stop asking me about an estimated release date)!

    I would like to thank the team who helped on this task for all this time and who never got discouraged, and I’d like to thank an anonymous contributor who recently joined us and who was instrumental in figuring it all out. We all believe that freedom starts with knowledge, and that knowledge should be open and available to all, that is why we are sharing this information with the world. We got the confirmation (by finding the public key used and verifying the signatures) yesterday and since sharing this information will not help Sony in any way to block our efforts in a future release, we have decided to share it with you. We believe in transparency, we believe in openness, we believe in a free world, and we want you to be part of it.

    If you want to know more about this ECDSA signature algorithm, read this interesting paper that explains it in detail, and you can also watch Team Fail0verflow’s youtube.com/watch?v=5E0DkoQjCmI that first explained Sony’s mistake in their implementation, which made custom firmwares possible.

    Thanks for reading,

    KaKaRoTo
    Source: Status update on the PS3 4.0 HEN

    [Report Your Own PSX-Scene Related Topics, Member News Submissions!]
    RUT Dark Ronin likes this.
    Comments 52 Comments
    1. LGGHero's Avatar
      LGGHero -
      I can't believe I just sat here and read all of that. My brain hurts, haha.
      Nice find though. I hope him and his team the best.
    1. Nickdude911's Avatar
      Nickdude911 -
      My guess for the "surprise" is linux's triumphant return, since the only other thing I can think of is PS2 compatibility, but since that may be considered piracy I doubt it, unless it's only disc-based PS2 compatibility.
    1. Abol_Fa's Avatar
      Abol_Fa -
      so Mathieulh was lying this whole the time???
    1. payat924's Avatar
      payat924 -
      thanks for that info
    1. RUT Dark Ronin's Avatar
      RUT Dark Ronin -
      Math, can't believe you still full of it... I thought time, experience and knowledge changes personality, making you wiser, smarter, kinder than you are. Too bad you were so square all the time.
      Kakaroto, man, just want to say that I hope you enjoying the fact you make it all so far by yourselves. Thumbs up for you, guys. This kind of persons, who brings knowledge and progress into peoples minds should be praised with honor. Keep it up, we all know you''ll achieve your goal, one way or another.
    1. Kragoth26's Avatar
      Kragoth26 -
      I quite impressed. I just really hope SOPA doesn't pass as to try and keep a lid on it...Raise awareness! Stop SOPA!
    1. Nightimares's Avatar
      Nightimares -
      I see what you did there KaKaRoTo :]
    1. Hollywood's Avatar
      Hollywood -
      Doesn't sound like much info at all, other than Math bashing (which I don't mind). They are still looking for the keys, like everyone has been since after 3.55. They've come to the conclusion they might need another method, that shouldn't have taken that long to figure out.

      So basically, "We tried this, not working, help us if you can, might have to come up with another plan". I appreciate the trying, but reading stuff like this just gets you more impatient. Just make progress first, then update.
    1. kite21's Avatar
      kite21 -
      Quote Originally Posted by RUT Dark Ronin View Post
      Math, can't believe you still full of it... I thought time, experience and knowledge changes personality, making you wiser, smarter, kinder than you are. Too bad you were so square all the time.
      Kakaroto, man, just want to say that I hope you enjoying the fact you make it all so far by yourselves. Thumbs up for you, guys. This kind of persons, who brings knowledge and progress into peoples minds should be praised with honor. Keep it up, we all know you''ll achieve your goal, one way or another.
      Too bad being smart sometimes makes you kind of a jerk, you may be wiser and all that but arrogance never disapears, not really, anyway, thank you KaKaRoTo for sharing this information with us, very informative and well explained (I for once understood the general idea) and you are right, the solution will come in due time, keep up the good work pal!
    1. Tiranny's Avatar
      Tiranny -
      mathieull exposed. But we knew all along he was a huge fraud. What a fking loser.

      [Edited]
    1. yoshi314's Avatar
      yoshi314 -
      let's not get into personal insults.

      i wonder about lv0 decryption math bragged about back in the day. that still remains unverified.
    1. xfri123's Avatar
      xfri123 -
      KaKaRoTo FTW =) Mathieulh Sucks.
    1. ccfman2004's Avatar
      ccfman2004 -
      There are legitimate uses for having and using a backup manager. Not everyone uses it for piracy, I don't. I buy the games I want to play which are only PS3 exclusives.

      In case anyone doesn't know what he means by a "signature collision" it's when the same random number is used, which while not impossible, is extremely unlikely. This is similar a hash collision where 2 files have the same hash value. Again, not impossible, just highly unlikely. If the random number is as random as it's supposed to be, finding 2 files that use the same random number will probably never happen in my lifetime. Hopefully Sony will make yet another mistake that allows us access.

      Too bad security algorithms is not my forte. It all gives me one big headache, just like glasses free 3D.

      This is an interesting read after all.
    1. dualshock1992's Avatar
      dualshock1992 -
      Quote Originally Posted by uZer View Post
      Go suck Kaka's anti-piracy ballz...
      So... That would mean we won't be able to play 3.56 games ?

      As for me I'm only interested in this, nothing else... If he and his eam is able to make Jailbreak then I will be more then just really happy.
    1. Thor107's Avatar
      Thor107 -
      Mathieulh,
      You are the biggest tool in the world. Leading people on with half truth's and cryptic clues makes you look like a fake. I know You are a bright developer but your also an arrogant prick that is hurting the whole scene.
      If you don't want to help anymore fine, but don't say your out of the game then put a post up saying you successfully decrypted 3.73 in the same breath you also said you won't release any of your work but will lead a breadcrumb trail for "smart people" to find on their own. You led many other good hackers on a wild goose chase for what? So you can say ha ha I'm smarter then you?
      Crawl back under your rock and stay there unless you are going to help. Stop hurting the legion we do know you're talented but your arrogance and bad attitude isn't helping anyone...
    1. nerke's Avatar
      nerke -
      It was exactly the Same with the 3.55. Geohot released an 3.55 CFW Not with piracy support and a fews dass later waninkoko and kmeaw released His CFW and piracy whas Wirkung now. I think it is possible that the piracy Support comes in a few days or not. When will he realere this hen?
    1. dualshock1992's Avatar
      dualshock1992 -
      Quote Originally Posted by nerke View Post
      It was exactly the Same with the 3.55. Geohot released an 3.55 CFW Not with piracy support and a fews dass later waninkoko and kmeaw released His CFW and piracy whas Wirkung now. I think it is possible that the piracy Support comes in a few days or not. When will he realere this hen?
      Read the article. He doesn't know himself. Now that Math' method became a fraud we no longer can know for sure...
    1. BahumatLord's Avatar
      BahumatLord -
      so all you need to do is : BE PATIENT (and please stop asking me about an estimated release date)!
      So..... next week then? Anyway, I think we all knew Math was full of s*** and didn't need any confirmation. I think he just likes to be the center of attention and likes to make everyone think that he's smarter than them which in reality only applies to maybe about 20% of the people out there - that hardly makes him the super genius that he puts himself out there to be

      @Tiranny - The pictures I've seen of him have NEVER been with a woman. They've always been with another man. Beside the point and I couldn't care either way, but you probably never will see him with a girl whether it's because of being a fat slob or not
    1. DeadPixel99's Avatar
      DeadPixel99 -
      HAHAHAHA we all knew Math was a crying,lying little bitc*h!
    1. metalheart25's Avatar
      metalheart25 -
      well i guess this will help consoles up to 4.00 to be jb
      but still its stuck at 3.55 cfw that means no new games nada!
      i like how every1 was bad mouthing TB when right now its the
      only way you can actually play them...
  • Daily Digest


    Want to receive the latest PSX info in your email?

    Sign up for our Daily Digest!



    Want to learn more about the team keeping you up to date with the latest scene news?

    Read about them now!

    Check out our Developer bios, too!

  • Recent Threads

    smokie1313

    serious issue here PLZ HELP

    Thread Starter: smokie1313

    okay here it goes
    i got 4 ps3 cech-3001a/b that shut off 2 secs after trying to power up
    red green then no lights at all

    Last Post By: atreyu187 Today, 03:29 AM Go to last post
    sparker781

    Sleeping Dogs Add-Ons

    Thread Starter: sparker781

    Hey All

    Thanks for stopping by. Essentially I can get the add-ons with no problem...But am not sure if I am doing something wrong cause

    Last Post By: BahumatLord Yesterday, 11:17 PM Go to last post
    rvuy9645

    Looking for: PS2 network adapter [EUR]

    Thread Starter: rvuy9645

    Hello,

    Looking for a network adaptor in Europe.
    I'm living in Belgium.
    Want to upgrade my fat PS2 with a HDD.
    Anybody

    Last Post By: rvuy9645 Yesterday, 06:18 PM Go to last post
    SonyUSA

    iPod Touch 5th Gen Digitizer Replacement Guide !

    Thread Starter: SonyUSA

    Welcome to SonyUSA's Totally Amazing Digitizer Only iPod Touch 5th Generation Replacement Guide! V. 1.2!
    *trumpets!*

    Guide made for

    Last Post By: wartutor Today, 12:32 AM Go to last post
    PS456

    Weird Fragmentation problem

    Thread Starter: PS456

    Okay, a couple months ago i used Opl for my backups constantly. Eventually i grew bored, and got rid of all the backups and formatted my usb. Now i tried

    Last Post By: SP193 Today, 03:01 AM Go to last post
    ANTZ7

    About fight night champion

    Thread Starter: ANTZ7

    Has anybody managed to successfully resisgn
    Fight night champ I can't resign the save file to another user name I done a few games but just can

    Last Post By: worrorfight Yesterday, 05:50 PM Go to last post
  • Recent Comments

    alzaabi

    BwE NOR Validator v1.30

    thank you very much but does this really patch Nor Dumps ?
    or just validate it ? Go to last post

    alzaabi Today 04:03 AM
    TheShadowRunner

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Woah totally awesome app, pelvicthrustman!
    A suggestion, could you extend the functionality for... Go to last post

    TheShadowRunner Today 02:32 AM
    coldlm

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    how about making the PS2 controller vibrate on PS3! Go to last post

    coldlm Today 12:43 AM
    worrorfight

    Comedy on Demand: Laugh Factory on PS3 Updated

    Should be free service. :) Go to last post

    worrorfight Yesterday 09:54 PM
    worrorfight

    BwE NOR Validator v1.30

    Great update BwE I like this a lot! Go to last post

    worrorfight Yesterday 09:48 PM
    worrorfight

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Very cool indeed. Go to last post

    worrorfight Yesterday 09:47 PM
    atreyu187

    3K3Y -- PS3 Blu Ray ODD Emulator

    It was done by checksums when people use the on screen display to load games instead of manually... Go to last post

    atreyu187 Yesterday 09:39 PM
    FrogDR

    3K3Y -- PS3 Blu Ray ODD Emulator

    could you show a links to the info with M$ and way to detect x360key users ? Go to last post

    FrogDR Yesterday 07:40 PM
    diegsmoran

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Wow, this is way cool. Definatly useful for JP games using the X button to select! or changing some... Go to last post

    diegsmoran Yesterday 05:21 PM
    elmaki

    [GTA IV] Major Distribution Mod Loader by ICECOLDKILLAH

    good gooodddd Go to last post

    elmaki Yesterday 04:34 PM