Jump to content

PS4 Pup Decrypt and Unpacker


Recommended Posts

  • Developer


58f829870c5b49f282cce103ffc5d780.png


PS4 Developer @idc released scripts that invoke the PS4 kernel to decrypt the contents of an update file and pup unpacker scripts 


PuP Decryption

 

Quote

 


pup_decrypt

A utility to invoke the PS4 kernel to decrypt the contents of an update file.
The default (hardcoded) operation is to decrypt /mnt/usb0/PS4UPDATE.PUP.
This will output a number of files (depending if a normal or a recovery update):

/mnt/usb0/PS4UPDATE1.PUP.dec
/mnt/usb0/PS4UPDATE2.PUP.dec
/mnt/usb0/PS4UPDATE3.PUP.dec
/mnt/usb0/PS4UPDATE4.PUP.dec

These decrypted updates can then be further unpacked using a tool capable of doing so.

Note
The PS4 will refuse to decrypt updates in some cases:
Versions older than the installed version (for the most part, there's exceptions for things like beta versions).
Versions for a different product code (retail cannot decrypt test or debug updates).

 



PuP Unpacker 
 

Quote


pup_unpack

A utility to unpack PS4 update blobs that have been previously decrypted using pup_decrypt.

Note This utility will not unpack the contents of nested filesystems. The filesystem images in updates are FAT32, exFAT, etc images and can be mounted or unpacked with other tools.

 



Download Pup_Decrypt

Download Pup_Unpack



Source

 

Edited by LightningMods_
Link to comment
Share on other sites

This is amazing, we are seriously close to CFW and the only thing in the way is re-encrypting it. I'm not exactly a professional at all with this type of stuff in any way but how far could we be cause wouldn't it be essentially finding out the encryption and reversing the decryption based on the output of the decrypted pup file? 

Edited by MistyVermin
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...