Category PS4 Jailbreaking       Thread starter PSXHAX       Start date Aug 14, 2016 at 7:47 PM       17,192       24            
Just over a week back we reported on the 3.55 PS4 HENkaku Exploit, and since then PlayStation 4 developer Fire30 has been updating Github with FireKaku PS4 ports for both 3.15 and 3.50 Firmware as well. :D

Download: PS4-3.55-Code-Execution-PoC-master.zip / GIT / WhiteOverfl0w GIT

From the ReadMe file: PS4 3.55 Code Execution:

This repo contains a PoC for getting code execution on ps4's with firmware version 3.55 (Now with support for 3.15 and 3.50).

It uses the same webkit vulnerability as the henkaku project. So far there is basic ROP working and returning to normal execution is included.

I have also included some helper methods to make researching a tad easier. Currently the documentation is pretty poor but I will be updating it over time.

Usage:

You need to edit the dns.conf to point to the ip address of your machine, and modify your consoles dns settings to point to it as well. Then run:
Code:
python fakedns.py -c dns.conf
then
Code:
python server.py
Debug output will come from this process.

Navigate to the User's Guide page on the PS4 and information about the exploit and all loaded modules should be printed out. This is an example of what running it will look like: https://gist.github.com/Fire30/2e0ea2d73d3a1f6f95d80aea77b75df8

If you want to try the socket test to work. Change the IP address at the bottom of ps4sploit.html to your computers and run a command such as netcat -l 0.0.0.0 8989 -v. You should see something like:
Code:
Listening on [0.0.0.0] (family 0, port 8989)
Connection from [192.168.1.72] port 8989 [tcp/sunwebadmins] accepted (family 2, sport 59389)
Hello From a PS4!
There are a few notes:
  • The exploit is not 100% reliable currently. It is more like 80% which is good enough for our purposes. So if it does not work on first try, try a few more times. Also doing to much allocating after the sort() is called can make it more unstable.
  • The process will crash after the rop is done executing.
  • This is really only useful for researchers. There are many many more steps needed before this will be useful to normal users.
Acknowledgements:

xyz - Much of the code is based off of his code used for the henkaku project
Anonymous contributor - WebKit vulnerability PoC
CTurt - I basically copied his JuSt-ROP idea
xerpi - Used his idea for the socket code
rck`d - Finding bugs such as not allocating any space for a stack on function calls Maxton - 3.50 support and various cleanup Thunder07 - 3.15 support

Contributing:

The code currently is a bit of a mess, so if you have any improvements feel free to send a pull request or make an issue. Also I am perfectly fine if you want to fork and create your own project.

Thanks to @Jeff in the PSXHAX.COM Shoutbox for the heads-up! :)
HENkaku PS4 Exploit.jpg

FireKaku PS4.jpg
 

Comments

STLcardsWS

Member
Contributor
LOL, not really anything i would consider exciting.

3.55 its already ported and it needs a kernel exploit to go along with it to be useful. So porting the HENkaku portion to lower firmwares makes little sense if any. Considering there nothing useful on those newly ported firmwares. Then, if an kernel exploit arises it would be for all current firmwares as Sony has no way of patching the unknown. So 3.55 would be the firmware to then exploit. Would make no sense to port to a lower firmware ...
 

PSXHAX

Staff Member
Moderator
Contributor
Verified
Most likely they are trying to get it working on as low of PS4 Firmware as possible, so those (including devs) who do update from their PS4 1.76 (or below) OFW to use it won't have to go all the way to Sony's latest 3.55 that includes more stability (aka security) fixes than previous versions. ;)
 

STLcardsWS

Member
Contributor
Most likely they are trying to get it working on as low of PS4 Firmware as possible, so those (including devs) who do update from their PS4 1.76 (or below) OFW to use it won't have to go all the way to Sony's latest 3.55 that includes more stability (aka security) fixes than previous versions. ;)
LOL, not likely that is the case at all.
 

PSXHAX

Staff Member
Moderator
Contributor
Verified
LOL, not likely that is the case at all.
Why else are developers backporting the HENkaku exploit?

They're investing time and effort for a reason (DUH)... so what is your opinion on why, if not the reason I gave? :p

Then, if an kernel exploit arises it would be for all current firmwares as Sony has no way of patching the unknown. So 3.55 would be the firmware to then exploit. Would make no sense to port to a lower firmware ...
This isn't completely accurate either, as PlayStation 4 kernel and user level exploits have been found, reported and patched internally at Sony throughout PS4 Firmware revisions... not only public exploits get patched, the majority discovered never even make it to the public's eyes before Sony puts the kibosh on them :D

So, for example, if Sony patched a kernel exploit in 3.50 then it would still be present in 3.15 for devs or anyone else who hasn't been tempted to update beyond 3.15 yet since HENkaku can be ran from it :)
 
Recent Articles
IG Tools: Insomniac Games Reversing and Modding PS4 Tools
Following recent Spiderman PS4 Decryption and PS4 Remote Play Protocol Reverse-Engineering development comes IG Tools this weekend by doesthisusername, which are a collection of Kaitai Struct /...
FFVII Dreamake: Final Fantasy 7 Remake in Dreams by Sosetsuken5360
Last month we saw a Metal Gear Solid HD Remake playable in Dreams on PS4, and this weekend another noteworthy creation dubbed FFVII Dreamake (a fan-made Final Fantasy 7 Remake) by Sosetsuken5360...
PlayStation Store Flash Sale Offers Up to 75% Off PSN Games
Summer is heating up with record high temperatures and some hot PSN deals on select PlayStation Store titles featuring PS4, PS3 and PS Vita games in the mix! ☀ 🔥 🥵 🍹 Below is the full lineup of...
The Diamond Casino & Resort Hits GTA Online on PS4 July 23rd
Proceeding the opening of the GTA Online PS4 After Hours Nightclub and GTA V PS4 Glitches discovered, today RockStar announced that the Diamond Casino & Resort grand opening will be on July 23rd...
Top