Skip to content

An ELF loader for jailbroken PS5s that accepts payloads on port 9021

License

Notifications You must be signed in to change notification settings

ps5-payload-dev/elfldr

Repository files navigation

ps5-payload-elfldr

This is an ELF loader for PS5 systems that have been jailbroken using either the BD-J ps5-payload-loader, or the webkit approached from Specter. Unlike the ELF loaders bundled with those exploits, this one uses the ptrace syscall to bootstrap itself into the SceRedisServer process, and then launches itself into a new process that keeps running in the background, even when playing games. Furthermore, this ELF loader will also resume its execution when the PS5 returns from rest mode. Since payloads are executed in induvidual processes, this ELF loader keeps on running even if a payload crashes.

Quick-start

To deploy ps5-payload-elfldr, first launch a kernel exploit that provides a rudimentary ELF loader on port 9020, e.g., BD-J ps5-payload-loader, or the webkit approached from Specter. Then, run the following:

john@localhost:~$ export PS5_HOST=ps5
john@localhost:~$ wget -q -O - https://github.com/ps5-payload-dev/elfldr/releases/latest/download/Payload.zip | gunzip -c -d | nc -q0 $PS5_HOST 9020

Building

Assuming you have the ps5-payload-sdk installed on a Debian-flavored operating system, ps5-payload-elfldr can be compiled using the following set of commands:

john@localhost:ps5-payload-elfldr$ sudo apt-get install xxd
john@localhost:ps5-payload-elfldr$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-elfldr$ make

Reporting Bugs

If you encounter problems with ps5-payload-elfldr, please file a github issue. If you plan on sending pull requests which affect more than a few lines of code, please file an issue before you start to work on you changes. This will allow us to discuss the solution properly before you commit time and effort.

License

ps5-payload-elfldr is licensed under the GPLv3+.

About

An ELF loader for jailbroken PS5s that accepts payloads on port 9021

Resources

License

Stars

Watchers

Forks

Packages

No packages published