Skip to content

Develop payloads that can be executed on the PlayStation 4 or PlayStation 5 through a game save file.

License

Notifications You must be signed in to change notification settings

McCaulay/mast1c0re

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mast1c0re

Overview

The "mast1c0re" project provides the necessary framework for developing payloads that can be executed on the PlayStation 4 or PlayStation 5 through a PlayStation 2 game save file by escaping the PlayStation emulator.

For additional information on the inner workings of the vulnerabilities used within this project, see the assosicated blog post "mast1c0re: Part 3 – Escaping the emulator" and the original blog post "mast1c0re: Hacking the PS4 / PS5 through the PS2 Emulator - Part 1 - Escape" by CTurt.

Installation

NOTE: It is recommended you use a linux distribution such as Ubuntu, as Windows support has not been tested.

To start developing using this mast1c0re repository, the following dependencies are required:

Clone the mast1c0re repository and add the path to the ENV variable $MAST1C0RE:

git clone [email protected]/McCaulay/mast1c0re.git /opt/mast1c0re/
echo 'export MAST1C0RE=/opt/mast1c0re/' >> ~/.bashrc
source ~/.bashrc

Project Compilation

All provided sample projects have been provided with a build.sh script which builds the project for the target systems and firmware versions.

Note that the firmware version "0.00" means that the game save file should be compatible with all firmware versions.

Compile a target sample project by changing directory to that project, then execute the build.sh script:

cd samples/ps-lightbar
./build.sh

Next Steps

Improvements

  • Arbitary native code execution (CTurtE's mast1c0re Part 2)
  • Kernel Exploits
  • EBOOT v1.0 support
  • Additional firmware version support
  • Additional PS2 game save exploits for other games. (Change "okrager" binary for another game)

Project Ideas

  • ps-psh - Primitive shell command server allowing you to telnet to the PS4/PS5
    • pwd - Print the current working directory
    • cd - Change directory
    • ls - List files in current working directory
    • cp - Copy a file
    • mv - Move a file or directory / rename
    • rm - Delete a file
    • download - Download a file from the remote console to the local system
    • upload - Upload a file from the local system to the remote console
    • play - Mount and play a PS2 ISO file
    • notification - Show a PS notification
    • root - Kernel exploit (Firmware dependent)
  • ps-ftp - FTP server
  • ps-debug-settings - Enable debug settings using a kernel exploit (Firmware dependent)
  • ps-hen - Homebrew enabler using a kernel exploit (Firmware dependent)
  • ps-cnc - Remote command and control server supporting TCP commands similar to ps-psh
  • Desktop GUI app to manage PS2 games - Using the "ps-cnc", it could upload, manage, mount and play PS2 games stored on HDD

References