PS4 PS4-PUP_Decrypter and Unpacker

Charles_n_town

Senior Member
I was able to compile the ps4 pup decrypter and unpacker. I can't test the decrypter, since you need to load the bin on the system, and I don't own a ps4. I had to commit out one line to compile it iirc (found it in my debian builds). the unpacker works fine. it's tied to msys, so I took the .dll from it to make it work outside of msys' /usr/bin. it's not a big deal being able to decrypt and unpack a pup as it's just the first layer, but it should work for any update as long as it's higher than what you're on, and it's not like debug on retail or something. it's not much, but it's kinda neat. you can do this with the ps5 as well, but it needs its own unpacker and decrypter.

upload_2024-9-5_14-18-46.png


upload_2024-9-5_14-19-25.png
 

Attachments

Hi! Where did you get the unpacker code? I can't find a working one so much so that I created one myself but it still has some problems in decryption, can you let me know how to use the software you left, it only works via command line? As said before I'm writing a decrypter, I leave you the name of the repository: seregonwar/PFU-PupFileUnpacker
 
Hi! Where did you get the unpacker code? I can't find a working one so much so that I created one myself but it still has some problems in decryption, can you let me know how to use the software you left, it only works via command line? As said before I'm writing a decrypter, I leave you the name of the repository: seregonwar/PFU-PupFileUnpacker

sorry for the double post, but I tested your unpacker in linux. it wouldn't work on decrypted firmwares, and normal updates resulted in a dec file and an extracted update folder with blob files of 0KBs each inside. the dec update wasn't compatible with the unpacker exe either. I'm assuming this is still a wip or maybe I did something wrong, but I couldn't get it to work correctly. I even tried doing both dec pups to see if it needed to read them as one, considering ps4 pups are actually two pups inside of one. the exe unpacker can unpack either, but like I said in the op, there's not much you can do with this outer layer of encryption. I'm assuming it decrypts the second layer after the system restarts, when you're actually installing an update officially. I know there's an outer and inner layer of pfs, but I don't really know the difference. I just remember this from open orbis. I was able to build these as well as the ps5 equivalent. the ps4 is more a pita though, because the decrypter uses that weird sdk that can cause problems with compilers. the ps5 imo is easier to work with than some of this old ps4 stuff. anyway, I built the ps4 and ps5 unpackers in msys and the decrypters in linux. unfortunately, the ps4 version of the unpacker heavily relies on msys'.dll files while the ps5 one can be standalone afaik. it might be different if using cygwin, but I don't like cygwin personally.
 

Similar threads

Back
Top