PS4 PS4 PuP Decrypt and Unpacker by idc - (Good for webkit exploits?)

Discussion in 'PS4 News' started by LightningMods, Jan 31, 2017.

By LightningMods on Jan 31, 2017 at 12:43 AM
  1. 31
    32
    18
    LightningMods

    LightningMods Member

    Joined:
    Jan 16, 2017
    Messages:
    31
    Likes Received:
    32
    Trophy Points:
    18
    Gender:
    Male
    PlayStation 4 dev idc released new scripts on Github that invoke the PS4 kernel to decrypt the contents of a PS4 update file (firmware) and pup unpacker scripts, now before you ask no this release is not going to get you any steps closer to a PS4 CFW but as zecoxao outlines on his twitter this can help "porting webkit exploit everywhere, for instance. you can decrypt any usermode elfs from 1.00 to 3.55/3.70 because sony forgot to change keyset",

    PS4_PUP_Unpacker_Decrypt.jpg


    • PuP Decryption
      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)
      View attachment 8021


    • PuP Unpacker
      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.

    • via zecoxao's Twitter

      • Q (via twitter): What could this lead to ?
        • A (via zecoxao): porting webkit exploit everywhere, for instance :) . you can decrypt any usermode elfs from 1.00 to 3.55/3.70 because sony forgot to change keyset

      • Q (via Twitter): Is the first step to actual CFW, is there a way to repack and encrypt the PUP again?
        • A (via zecoxao): no and there never will be unless you own a 15 million dollar quantum computer :D


    Source Code (via Github):
     
    Last edited by a moderator: Jan 31, 2017
    Tranced, Redemp, Sdw100 and 1 other person like this.

Comments

Discussion in 'PS4 News' started by LightningMods, Jan 31, 2017.

    1. bguerville
      bguerville
      I corrected the link to pup_decrypt in OP. It pointed to the unpack repo. [emoji6]
      STLcardsWS and Sdw100 like this.
    2. LightningMods
      LightningMods
      Yeah forgot to do that after i posted to at psxhax.com Lol
    3. STLcardsWS
      STLcardsWS
      Thanks @LightningMods , made some edits on your post mods (format and a bit on the intro) & new image.
      Last edited: Jan 31, 2017
      LightningMods and bguerville like this.

Share This Page