PS4 pup_decrypt: Decrypt and unpack PS4 Update files
Developer idc released some scripts to decrypt the PS4 Update files (PS4UPDATE.PUP). The scripts rely on PS4 Kernel functions and (obviously?) will require a hacked PS4 for you to run them.
In the old days of the PSP, decrypting a new firmware update allowed CFW creators to inject some of the “new” files from the latest official update into their CFW, giving a console running on a somewhat old firmware, access to the latest features of the new firmware.
Decrypting firmware updates would also be useful to investigate changes between firmwares. This can help security researchers and hackers to find what was patched in a recent firmware, and through the diff, understand where a vulnerability used to be in older firmwares.
Idc mentions that the PS4 will sometimes refuse to decrypt a given PUP file, in particular:
- 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).
The full description from the readme:
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 unpacked using pup_unpack.
Download pup_decrypt
You can download pup_decrypt from the developer’s github here. As a reminder, you will need a hacked PS4 in order to run those scripts. At the time of this writing, only PS4s running on firmware 1.76 are publicly hacked.
Source: via @notzecoxao
first
N O B O D Y cares
…..it begins. Well done dev
-DS
Im first
No, you don’t
cool, I got a 1.76 ps4, although I dont really have interest or time to mess with decrypted stuff, but I might be able to help someone who needs any decrypyted files
cool story brah
Hey, how to do that? What it give to me after do that?
could you decrypt 4.07 firmware and up the files?
Decrypting new 4.70 update pup would be tremendously helpful
Wake me up when there’s an actual jailbreak available to the public with firmware spoofing
Enjoy a very long uninterrupted sleep
If takes like 5 yrs like vita ill wait all time+
dont wory i will wake you up when its happend
^^^My sentiments exactly. I don’t want to hear about this stuff when the hackers have a private exploit debacle going on, and it’s based on 4.05 fw when sony themselves are constantly patching things, and going beyond that fw. People aren’t going to wait for a linux project they wont be able to use, or care to use when the newest games release.
Bunch of pussies they are these so called “hackers”
2040
Hey, this is a neat feature, although, why cant someone take the original file, compare it to the other file(s) and then figure out the encryption/decryption code and be able to reconstruct the original, allowing for us to make custom .pup files the ps4 can read. We need what the ps4 does to reconstruct it.