Jump to content
  • Announcements

    • GregoryRasputin

      Say Hello, Make An Introduction Thread :)   11/20/2015

      We love having new members join the forum, what we like more is them being productive people and contributing a little bit to the forum. So if you are a new member, let us know who you are by saying hi in an introduction thread, you can find the forum section here: https://playstationhax.xyz/forums/forum/15-member-introduction/
zecoxao

[Tutorial] How to decrypt and dump Games (eboot,prx and sprx)

Recommended Posts

Requirements:
* ps4sdk precompiled
* elf loader precompiled or extreme-modding's elf loader
* the payload source
* 1.76 console
* usb pendrive or external hdd (fat32 or exfat, exfat recommended)
* A preactivated online game or a purchased disc game
* The TITLE ID of the disc or online game

Steps:
1. Compile the payload with the correct commands.
Specifically for The Playroom (CUSA00001):

decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/eboot.bin", "/mnt/usb0/eboot.bin");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libc.prx", "/mnt/usb0/libc.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libSceFios2.prx", "/mnt/usb0/libSceFios2.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_sys/about/right.sprx", "/mnt/usb0/right.sprx");

2. Start the game.
3. Minimize the game (PS Button)
4. Access elf loader
5. Let it load all the way until stage 5 and stabilize
6. Plug the usb stick or hdd on the rightmost port, near PS4 logo
7. Load the payload:
 

#listener
socat - TCP:my.ps4.ip:5052
#sender
socat -u FILE:path/to/DumpFile TCP:my.ps4.ip:5053

8. when it finishes loading (user return 0) unplug the stick or hdd and check inside. you should have the files in elf format on the root

PS: This is a continuation to the previous tutorial "dump and decrypt usermodules"
PPS: do not forget that the games decryption require ABSOLUTE PATH due to rif management.

Edited by zecoxao
  • Like 1
  • Upvote 5

Share this post


Link to post
Share on other sites

Good shit Zeco (:

Share this post


Link to post
Share on other sites

Great Tut Zec

Share this post


Link to post
Share on other sites

If any of you has any difficulty in running this tutorial, just use this payload instead and follow these steps on 1.76:
https://www.sendspace.com/file/v81sn4

 

1. load wb and start code execution, wait till its waiting for payload

2. press ps button

3. run the game

4. send the payload containing the path to the eboot inside the mounted folder in pfsmnt

5. collect your modules/eboot on usb0/any other output path

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
On 24/09/2017 at 1:38 AM, zecoxao said:

If any of you has any difficulty in running this tutorial, just use this payload instead and follow these steps on 1.76:
https://www.sendspace.com/file/v81sn4

 

1. load wb and start code execution, wait till its waiting for payload

2. press ps button

3. run the game

4. send the payload containing the path to the eboot inside the mounted folder in pfsmnt

5. collect your modules/eboot on usb0/any other output path

Hi, Noobie here. First time trying to build a payload and I'm getting an error when trying to build the payload from the source you provided.

I followed this tutorial: https://www.psxhax.com/threads/setting-up-building-payload-bin-for-ps4-playground-guide-by-kke_rw.1649/ and I can build the example payloads without issue.

 

I'm not a coder so I have no idea what any of these messages mean.

.ywdltsN.png

 

Share this post


Link to post
Share on other sites
12 minutes ago, Clovus said:

Hi, Noobie here. First time trying to build a payload and I'm getting an error when trying to build the payload from the source you provided.

I followed this tutorial: https://www.psxhax.com/threads/setting-up-building-payload-bin-for-ps4-playground-guide-by-kke_rw.1649/ and I can build the example payloads without issue.

 

I'm not a coder so I have no idea what any of these messages mean.

.ywdltsN.png

 

use https://github.com/idc/PS4-SDK

  • Like 1

Share this post


Link to post
Share on other sites
59 minutes ago, zecoxao said:

That version of the SDK gives me even more error's can't even build the libps4.

 

source/syscall.s: Assembler messages:
source/syscall.s:7: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
Makefile:24: recipe for target 'build/syscall.o' failed

Share this post


Link to post
Share on other sites
18 hours ago, Clovus said:

That version of the SDK gives me even more error's can't even build the libps4.

 

source/syscall.s: Assembler messages:
source/syscall.s:7: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
Makefile:24: recipe for target 'build/syscall.o' failed

go to that line and follow the instructions there.

Share this post


Link to post
Share on other sites
On 29/09/2017 at 3:22 PM, zecoxao said:

go to that line and follow the instructions there.

Thanks that worked but the code execution gives out of memory errors when ever a game is running in the background even if the website data has been cleared.

So it looks like the elf loader method might be my only option. So could you give me some more details on that? Like these lines

decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/eboot.bin", "/mnt/usb0/eboot.bin");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libc.prx", "/mnt/usb0/libc.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libSceFios2.prx", "/mnt/usb0/libSceFios2.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_sys/about/right.sprx", "/mnt/usb0/right.sprx");

I take it I add them to main.c along side this:

chwDxNf.png

Also when trying to make the elf payload I get an error stating /home/user/Desktop/PS4-SDK-master/make/ps4sdk.mk: No such file or directory

The sdk you linked doesn't come with a make folder containing a file called ps4sdk.mk.

Share this post


Link to post
Share on other sites
On 01/10/2017 at 8:27 AM, Clovus said:

Thanks that worked but the code execution gives out of memory errors when ever a game is running in the background even if the website data has been cleared.

So it looks like the elf loader method might be my only option. So could you give me some more details on that? Like these lines


decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/eboot.bin", "/mnt/usb0/eboot.bin");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libc.prx", "/mnt/usb0/libc.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_module/libSceFios2.prx", "/mnt/usb0/libSceFios2.prx");
decrypt_and_dump_self("/mnt/sandbox/pfsmnt/CUSA00001-app0/sce_sys/about/right.sprx", "/mnt/usb0/right.sprx");

I take it I add them to main.c along side this:

chwDxNf.png

Also when trying to make the elf payload I get an error stating /home/user/Desktop/PS4-SDK-master/make/ps4sdk.mk: No such file or directory

The sdk you linked doesn't come with a make folder containing a file called ps4sdk.mk.

read the instructions again please:
 

1. load wb and start code execution, wait till its waiting for payload 
2. press ps button 
3. run the game 
4. send the payload containing the path to the eboot inside the mounted folder in pfsmnt 
5. collect your modules/eboot on usb0/any other output path

that's how you prevent out of memory errors (this also happens with elfs)

Share this post


Link to post
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


×