PS4 PS4 5.05 Kernel Exploit released by @SpecterDev - including Homebrew Payloads !!!

After the first announcement for a Kernel Exploit incoming for System Firmware 5.05, Developer @SpecterDev "has been true to one's word" by releasing the announced Kernel Exploit (PS4 Hack) for System Firmware 5.05 (& 5.07). This is some Great News not because of a newer System Firmware is now exploitable, but it could be a giant stride towards great evolution for getting more and more Homebrew Applications available - as already previewed before. Those mentioned "Tools" weren't fully released yet by the time of this writing but a full release should be available in the near future. This Release however also includes several Payloads and other useful Patches, as you can check them down below.

5.05 Kernel Exploit.jpg
Screenshot from the 5.05 Kernel Exploit in Action - including some funny "Warning" Notes (Picture Credits by @qwertyoruiopz)


  • PS4 5.05 / 5.07 Kernel Exploit
    Summary
    • In this project you will find a full implementation of the second "bpf" kernel exploit for the PlayStation 4 on 5.05. It will allow you to run arbitrary code as kernel, to allow jailbreaking and kernel-level modifications to the system. This exploit also contains autolaunching code for Mira and Vortex's HEN payload. Subsequent loads will launch the usual payload launcher. This bug was discovered by qwertyoruiopz, and can be found hosted on his website here.

    Patches Included
    • The following patches are made by default in the kernel ROP chain:
    1. Disable kernel write protection
    2. Allow RWX (read-write-execute) memory mapping
    3. Syscall instruction allowed anywhere
    4. Dynamic Resolving (sys_dynlib_dlsym) allowed from any process
    5. Custom system call #11 (kexec()) to execute arbitrary code in kernel mode
    6. Allow unprivileged users to call setuid(0) successfully. Works as a status check, doubles as a privilege escalation.
    Payloads included
    1. Vortex's HEN (Homebrew Enabler)
    2. Mira

    Note:
    The page will crash on successful kernel exploitation, this is normal

    Contributors -
    Massive credits to the following:

  • item_XL_8608470_16936945.jpg
    @SpecterDev Tweet
    The 5.05 kernel exploit stack is now released! It includes the kexploit and autolaunches homebrew patches and mira. On subsequent page loads it listens for payloads. Source is up here https://t.co/lUqveOs46A

    @SpecterDev Tweet
    A few notes on the 5.05 exploit:
    1) The page will crash after the kernel exploit successfully runs, this is normal
    2) First load after successful exploitation will autoload HEN and Mira (can get klog by nc [ps4 ip] 9998
    3) Subsequent loads go to the usual payload launcher.​

    ‏@qwertyoruiopz - Tweet
    ps4 5.05 kernel exploit (BPF setf double free) implementation by @SpecterDev: http://crack.bargains/505k (incl. Mira + XVortexHEN)

    @SpecterDev Tweet
    From what I'm seeing it seems 5.05 and 5.07 (a rare firmware) webkit and kernel binaries may be identical, so release should work on both :)

    @SpecterDev Tweet
    Just to put this out there - I know some are having issues with the system black screening when rebooting out of sleep mode, though I believe this is an issue with Mira, not the exploit itself. It's on the to-do list. Hold power button down for ~10s to force shutdown and reboot.

    @SpecterDev Tweet (July 13)
    Took me a bit longer than I'd hoped - but the PS4 5.05 Kernel Exploit writeup has now been published :). If you have any suggestions for clarity or corrections, please add the issue to the GitHub repo or reply them to this tweet:
    https://github.com/Cryptogenic/Exploit-Writeups/blob/master/FreeBSD/PS4 5.05 BPF Double Free Kernel Exploit Writeup.md


  • Various Demonstration from around the Scene.

  • @SpecterDev Tweet
    Here's a roadmap on projected tools and such for homebrew development on the PS4. Green = done, Yellow = in progress, Red = not started >>> Ps4 Homebrew Toolchain Roadmap.

    Tools
    • Oni Auto Installer
    • Oni Framework
    • Mira Framework
    • Console Output Viewer
    • Mira Companion App
    • Debugger
    • Remote Viewer
    • Screenshot Capture
    • FTP Explorer
    • Theme Editor

    Building

    • LLVM Linker
    • Fake PKG Generator
    • PARAM.SFO Editor

    Polish/End User Friendliness

    • 5.05 Exploit Page W/ Mira Autoload
    • Built-In App Auto-jailbreak / Auto-unsandboxing via Mira
    • Remote PKG Installing
    • Homebrew Store
    • Persistence

    Bugs

    • MKDIR Mira Bug
    • Mira crashes system rebooting from sleep mode
    • Notification Code (Not Working)

    Suggestions





  • Homebrew Enabler (External-HDD Support) (by xvortex)
    • For firmware v5.05 - Make fpkg installer working with external HDD (kudos to flatz for ShellCore offset)

    Psxitarch Linux: (by PSXITA Team)
    • Psxitarch is a linux distribution for PS4 based on Arch Linux, developed to be light, with low resource usage and easy to install. It includes the graphics drivers (radeon drm, radeonsi) needed to use 3D hardware video acceleration, kernel 4.14.14, support for * bluetooth, * wi-fi, ethernet and USB sound cards. INSTALLED APPLICATIONS, Window manager: jwm, Terminals: lxterminal, xterm, Web Browser: midori, Network Manager: wicd, File manager: pcmanfm, Emulators/Games: steam, retroarch (MULTI EMU), mupen64plus (N64), snes9x (SNES), epsxe (PSX), ppsspp (PSP), Utilities: playonlinux (Gui for wine), leafpad (Text editor), htop (System monitor), xreader (PDF viewer), xarchiver (Archive manager), blueman (Bluetooth manager), Multimedia: gpicview (Img viewer), xnoise (Audio/video player) ADDITIONAL DETAILS & DOWNOADS @ OFFICIAL WEBSITE >>> LINK

    PS4 Linux Loader Payload (by valentinbreiz)
    • Updated support for the newest System Firmware 5.05 Kernel Exploit that let you run Linux on your PS4.

    reactPSPLUS Payload (by Zer0xFF)

    • Have a PS Plus Subscription? but can't access your game collection being on a lower firmware and games have reach its expiration for signing into PSN for re-activation, Well, hopefully with this payload it will help you play those games once again. May need a few updates to make all games play as some reports did surface but to early to tell if user error or a issue with the tool that an update will fix.

    UI Mod 0.3 Custom Home Menu for 5.05 (by e✘treme)

    • Transparent Content Icons / Title Names changed / Location changed for fPKGs / Removed some Icons / Custom User Avatar / Custom Background Music

    PS2 Classic GUI (Tool) (by TheDarkProgrammer)

    • This utility did not need an update for 5.05 Support, but is a useful tool for preparing a PS2 (Classic) PKG on your exploited PS4, Play your PS2 Collection by preparing your own PS2 PKGs.

    PS4 Exploit Host (by Al-Azif)

    • A great solution for hosting the exploit on your own LAN connection, no need to rely on a 3rd party site hosting the exploit this handy utility has alot of great features . UPDATE @eXtreme has created a custom playground based on this release (hosting on his website and adding new visuals (and all payloads from Al-Azif's collection) take a look >>> LINK to PS4Brew 5.05 Playground

    PS4 Trainer By TylerM
    • Here is a trainer for PS4 that I have been working on and it is not 100% just like PS4 modding isn't. I will NOT be adding GTA or COD to this tool. I hope everyone likes it and finds it helpful.YOU MUST ENABLE MIRA+HEN FIRST TO INJECT THE PAYLOAD It is possible these cheats work for different CUSA's. Just have to try and see. If you make a working .cht file. (Pointers preferred) I will add them. I just need you to provide CUSA and game version

    X-PROJECT (XMB SELF HOST PROJECT) 5.05 by KiiWii (aka defaultdnb

    • Aims to be the AIO customizable toolbox for all your PS4 payload needs on FW 5.05



    Development Releases

    PS4Debug (Dev Use) (by Xemio)
    • A debugger with support for the PlayStation 4! Have a look at blank for a little example! I hope someone will come along and make a full featured debugger with this framework. Currently supports firmware 5.05 only!
    liborbis (by OrbisDev)
    PS4SDK (bypsxdev)
    • via ReadMe" ps4sdk is a modular open source SDK for the PS4 with userland and kernel support.The SDK currently supports most of the standard C library, various FreeBSD 9.0 userland and kernel, as well as some SCE functions. It is designed to be adaptable to new firmwares and entry points and new reverse engineered functions can be integrated into the SDK, by adding headers, function signatures and their names to the list of function stubs. Currently, running user and kernel code on firmwares ~5.05 is supported"

    Are we missing something???? let us know in the comments below.


Direct Link to the 5.05 Kernel Exploit (visit from PS4): >>> Click Here <<<

or

for an unofficial version with added payloads / eye candy checkout this link

Source Code:
GitHub

Ps4 Homebrew Toolchain Roadmap >>> Check it out <<<<
Source(s): twitter.com/SpecterDev /(2)/qwertyoruiop

Update: PS4 Write-Up of the 5.05 by SpecterDev
 
Last edited by a moderator:
So, if the payload can bypass this, cfw can be installed.
Console reboots during update process, so exploit will be cleared from RAM, even if you could get it to actually install, the console would not boot up with custom files as they are not signed correctly, so you would not get chance to exploit again.
 
Any chance this payload can be stored localy to the console, so after reboot cached "user guide" (payload) can just be run without network ?
 
Any chance this payload can be stored localy to the console, so after reboot cached "user guide" (payload) can just be run without network ?
I don't think so. afaik there would be no way to redirect to a local file unless it was already hacked, so its chicken and egg situation.

Something like this might suit you http://www.psx-place.com/threads/remember-about-modchips-the-ps4-might-get-kind-of-one.17392/ , its a small USB powered chip that acts like a wifi router for hosting the exploit.
 
got ps4 wiped it becase it download update still on 470 but no activation or user account cant usb web browwers no more with out updating would this work with this flasher esp8266 with no account
 
There's a page specifically for getting the browser to work WITHOUT SIGNING INTO PSN which I believe is the problem. I haven't signed in either and my browser doesn't work
The ps4 request sign in psn to use the browser. I avoided it but how conect to xploit page without the browser?​
 
The ps4 request sign in psn to use the browser. I avoided it but how conect to xploit page without the browser?
got ps4 wiped it becase it download update still on 470 but no activation or user account cant usb web browwers no more with out updating would this work with this flasher esp8266 with no account
You can use custom DNS (or proxy) to redirect the manuals.playstation.net URL to the exploit page, so you don't need the browser to be working or any account on there.

Im not sure of the required DNS settings for 5.05 though.

If your PS4 downloads the latest update, you can still update to 5.05 by putting the PUP on USB and doing it manually from recovery mode (safe mode), then once on 5.05 and exploited you can delete the latest PUP and block further updates.
 
I don't think so. afaik there would be no way to redirect to a local file unless it was already hacked, so its chicken and egg situation.

Something like this might suit you, its a small USB powered chip that acts like a wifi router for hosting the exploit.

This is must! First Offline JB, 2nd no automatic updates.
 
This is must! First Offline JB, 2nd no automatic updates.
1. Most people already have a smart phone or PC to host the exploit, you just need a device on local network, internet not required.

2. Blocking updates is as easy as creating 2 folders on the PS4 once exploited, already availble.
 
after hacking my 5.05 ps4 can i play games like : fifa18 and pes18 ?or if the games on a hacked 4.55 ps4 works on 5.05 ?
i wanna know more about which games playable with : 5.05
 
Hi, just some quick questions: Will installing this void my PS4's warranty?
And secondly, suppose after installation of this exploit, I decided to go back and install Official firmware again and sign in to PSN, will my PS4/PSN account get banned since the system was previously hacked/installed with a modded firmware?
 
Hi, just some quick questions: Will installing this void my PS4's warranty?
And secondly, suppose after installation of this exploit, I decided to go back and install Official firmware again and sign in to PSN, will my PS4/PSN account get banned since the system was previously hacked/installed with a modded firmware?
No it wont void the warranty. And if you are careful and don't ever go online with it exploited you can then format the system to remove all traces of the exploit, and then install latest OFW and you should be fine to sign in without any ban.
 
No it wont void the warranty. And if you are careful and don't ever go online with it exploited you can then format the system to remove all traces of the exploit, and then install latest OFW and you should be fine to sign in without any ban.
Thanks for the quick response. So to be safe, I just need to disable internet in the PS4's settings (just uncheck the "connect to the internet") and that is enough?
Regarding the formatting of the system, do you mean just doing the "Initialize" option under the PS4's settings, or is the "Initialize (reinstall system software)" the one that must be done in order to remove all traces of the exploit?
 
Thanks for the quick response. So to be safe, I just need to disable internet in the PS4's settings (just uncheck the "connect to the internet") and that is enough?
Regarding the formatting of the system, do you mean just doing the "Initialize" option under the PS4's settings, or is the "Initialize (reinstall system software)" the one that must be done in order to remove all traces of the exploit?
Well if it was me I would remove all trace of the account I wanted to keep safe first, just incase, so I would do the Initialize option before and after exploiting. reinstalling FW will not hurt either.

Of course we don't know what Sony can check, so there are no guarantees you wont get a ban.
 
Well if it was me I would remove all trace of the account I wanted to keep safe first, just incase, so I would do the Initialize option before and after exploiting. reinstalling FW will not hurt either.

Of course we don't know what Sony can check, so there are no guarantees you wont get a ban.

Ok thank you very much for the info!
 
after hacking my 5.05 ps4 can i play games like : fifa18 and pes18 ?or if the games on a hacked 4.55 ps4 works on 5.05 ?
i wanna know more about which games playable with : 5.05
5.05 came out in January, So an games released before then will be playable, that includes Fifa 18 and PEs 18 afaik. Of course games that worked on 4.55 will be playable on 5.05 too as 4.55 is lower.
 
Back
Top