Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




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!

 


User Tag List

Thread: PUP file HMAC key?
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1 PUP file HMAC key? 
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Now we can decrypt SPRX/SELF files, can't we get the HMAC key used to verify PUPs?

    The patched 3.41 PUP uses different HMAC-SHA1 hashes, so the PSJB team must of found the HMAC key in order to make those hashes. That means those hashes must be important for custom PUP files.

    AFAIK PUP files are handled by software_updater_plugin.sprx, surely the key would be inside there?

    (looking for somebody more knowledgeable about this to pitch in here and tell me if i'm heading the right way )
    Reply With Quote  

  2. #2  
    iCEQB is online now Member
    Join Date
    Apr 2010
    Posts
    295
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    19
    Yep, you are...key and algo are in one of those sprx, can't remember which one it was.

    EDIT: Just did a quick check again.....the sprx which holds the HMAC Key to resign PUPs is in "software_update_plugin.sprx" ... good luck
    Reply With Quote  

  3. #3  
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Quote Originally Posted by iCEQB View Post
    Yep, you are...key and algo are in one of those sprx, can't remember which one it was.

    EDIT: Just did a quick check again.....the sprx which holds the HMAC Key to resign PUPs is in "software_update_plugin.sprx" ... good luck
    Nice, thanks for the confirmation

    Unfortunately DeLiGhT's decrypter dies on that sprx... Does anyone know if graf's decrypter works with sprx's?
    Reply With Quote  

  4. #4  
    ikariya is offline Registered User
    Join Date
    Nov 2010
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I don't think you need it with the JIG/service mode.
    Wanted to try a simple repack using g_85_g method but thought it would be a better idea to first start playing around with these tar.aa files missing header.
    Reply With Quote  

  5. #5  
    iCEQB is online now Member
    Join Date
    Apr 2010
    Posts
    295
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    19
    Quote Originally Posted by stoker25 View Post
    Nice, thanks for the confirmation

    Unfortunately DeLiGhT's decrypter dies on that sprx... Does anyone know if graf's decrypter works with sprx's?
    It should work fine with graf's payload, I didn't tested it though.
    Afaik Team DeLiGhT said in their readme, that there are some problems with specific files.
    Reply With Quote  

  6. #6  
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Well... managed to compile the payload.bin and bootstrap.bin, having a problem with compiling sendfile though:
    root@evil-Box:/home/evilsperm/Desktop/graf/payload/tools# make
    gcc -O2 -Wall -c sendfile.c
    sendfile.c:20: fatal error: libnet.h: No such file or directory
    compilation terminated.
    make: *** [sendfile.o] Error 1
    root@evil-Box:/home/evilsperm/Desktop/graf/payload/tools#
    Using evilsperm's Multi SDK. Tried using "apt-get install libnet" but it still doesn't compile
    Reply With Quote  

  7. #7  
    chocobo is offline Member
    Join Date
    Sep 2010
    Posts
    198
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I've spent quite some time trying to get bootstrap running and payloads executed, but eventually I managed to do it.

    Is there actually interest, from more people, in this thing (even when you get it running, it's anything but intuitive or easy )?

    I was thinking about posting a small HOWTO on how to get bootstrap/payload up and running, but I am kind of waiting for graf's answer to see if he will mind me posting working HEX. Hmm, don't see why he'd mind, if he publicly made the code available...
    Reply With Quote  

  8. #8  
    chocobo is offline Member
    Join Date
    Sep 2010
    Posts
    198
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by stoker25 View Post
    Well... managed to compile the payload.bin and bootstrap.bin, having a problem with compiling sendfile though:

    Using evilsperm's Multi SDK. Tried using "apt-get install libnet" but it still doesn't compile
    apt-get install libnet-dev
    Reply With Quote  

  9. #9  
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Quote Originally Posted by chocobo View Post
    apt-get install libnet-dev
    THANKS! Could not figure out how to fix that, seriously, thank you

    Another problem now...

    root@evil-Box:/home/evilsperm/Desktop/graf/payload/tools# make
    gcc -O2 -Wall -c sendfile.c
    sendfile.c:21: fatal error: pcap.h: No such file or directory
    compilation terminated.
    make: *** [sendfile.o] Error 1
    Managed to fix with "apt-get install libpcap-dev", and sendfile compiled sadly, other tools didn't:

    root@evil-Box:/home/evilsperm/Desktop/graf/payload/tools# make
    gcc -O2 -Wall -c sendfile.c
    gcc sendfile.o -o sendfile -lnet -lpcap
    gcc -O2 -Wall -c inflate.c
    inflate.c:20: fatal error: zlib.h: No such file or directory
    compilation terminated.
    make: *** [inflate.o] Error 1
    Fixed with "apt-get install zlib1g-dev".

    EDIT: Damn, I thought my debug-update-bricked ps3 would still run payloads. Now I have to wait until new USB stick arrives so that I can unbrick before I continue :/ Maybe somebody who can run it (like chocobo ) could try decrypting the software_update_plugin.sprx and then PM me the decrypted segments?
    Reply With Quote  

  10. #10  
    chocobo is offline Member
    Join Date
    Sep 2010
    Posts
    198
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    EDIT: Damn, I thought my debug-update-bricked ps3 would still run payloads. Now I have to wait until new USB stick arrives so that I can unbrick before I continue :/ Maybe somebody who can run it (like chocobo ) could try decrypting the software_update_plugin.sprx and then PM me the decrypted segments?
    1) I've posted a small howto, that should/could help people get this up and running: http://psx-scene.com/forums/f149/[wi...d-howto-72715/

    2) I can not decrypt anything, since I've just got to the point where I am able to run payloads, I yet have to figure out if my flash dump is correct, then to extract data needed to be able to decrypt stuff (will require reading sources I guess).

    I also don't have much free time, and that's the reason why I posted the howto - it's better that people take over where I stopped and hopefully they'll make progress, than everyone trying same thing all over again
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •