Article PS3 Toolset by bguerville: A powerful collection of tools fueled by new PS3 exploit

NordCFW

IT Specialist/Security Enthusiast
Messages
110
Reaction score
20
Points
888
"The PS3 Toolset is a repository project for tools built upon a new ps3 exploitation framework I have been working on for a while. More tools should be added to this repository with time.
I hope you enjoy using them as much as I enjoy making them :wink:"
-
You do not have permission to view link Log in or register now.


Project Timeline:
  • End 2018, Sony patches one of the bugs the ps3xploit tools exploited to gain ROP execution. (4.83 OFW release)
  • Beginning 2019, I begin to look for a replacement exploit & the release of ps3xploit tools 3.0 is postponed.
  • Spring 2019, I rewrite most of the 3.0 framework to leverage the new capabilities gained with the new exploits.
  • Summer 2019, realizing the potential of the newly written 4.0 framework to create flexible & powerful tools, I decide to cancel the 3.0 release altogether & scrap the 3.0 framework.
  • Beginning 2020, I am releasing this "Toolset" project, as a repository for the tools created around my 4.0 framework that I deem release worthy, each tool being accessible in a toolset tab. This project is the fruit of many sleepless hours during many months, it showcases only part of the 4.0 framework capabilities though, there is still room for more surprises later... :wink:
    The initial release, contains a couple userland tools, a fully featured Flash Memory Manager & a Memory Editor (mostly for development & research purposes). A file explorer tool should be added to the repository soon, it will be the last userland tool I write for the foreseeable future
General Information about the PS3 Toolset
  • Toolset supports all ps3 models & official firmware versions from 4.82 to 4.86 (cex & dex) *some ps3 models have exclusive features/tools (note: toolset tools will also work from CFW)
  • PS3 Toolset is executed from the PS3's Web-Browser by visiting the following URL (SSL):
    You do not have permission to view link Log in or register now.

  • PS3 Browser Requirements
    • JavaScript (Enabled from browser settings)
    • Cookies (Enabled from browser settings)
    • Flash Plugin (Enabled, but this one has a few caveats that may need explaining, the good news being that the toolset will detect the issue and let you know how to proceed (if there is an issue), see further explanations below)
      • If ever in the past, you agreed to load the Flash Player plugin when prompted and checked the checkbox "Do not show again", you should have no issue & will never even see the plugin popup.
      • If you never before checked the "Do not show again" checkbox, you will be greeted with a popup asking you to allow the Flash player plugin. If you agree to load the plugin, the PS3 toolset should continue to load. Note that if you take more than 15s to agree when prompted by the popup, you will get a PS3 Toolset warning about the plugin being disabled even if you finally agreed to load the plugin, just refresh the page when prompted.
      • If ever you got the Flash Player plugin popup in the past & selected NO and checked the checkbox "Do not show again", the Flash Player plugin will be permanently disabled, consequently the PS3 Toolset will not be able to load. Unfortunately there seems to be no official way to reset this setting in the browser. The PS3 toolset does have automatic detection of this issue and some instructions are given. Currently the easiest workaround is to create a new user profile on the XMB, when launching the toolset on the new profile, you will be greeted with the browser pop-up asking to allow the flash plugin. However it has been found that in some cases, a new user profile is not sufficient to reset the Flash Player plugin status. I hope that other devs & advanced users will look into this situation while I continue working on new tools, if nobody does, I might end up looking into the problem after the next tool release.
  • You are free to use the tools in this project at your own risk. Keep in mind that no official support is provided, if you experience any kind of problem & find yourself in need of help, I strongly recommend that you turn to the
    You do not have permission to view link Log in or register now.
    for support & guidance..
  • It is highly recommended that you adjust the console's System Time settings properly to avoid any time related issues with the browser and/or the Flash Player plugin.
  • To avoid potential crashes, you should never attempt to close the browser while toolset operations are in progress, especially when the browser exit confirmation setting is turned off.
  • PS3 Toolset only loads tools & features compatible for your console, this means no accidental use of a feature not compatible with your system.
  • No local/offline version is planned & the source code will remain closed for the time being.
Requirements and Features

Requirements

  • PS3 Console (Any Model) running 4.82 - 4.86 (CEX/DEX) Firmware
  • Internet Connection to access Toolset from PS3's Internet Browser.
  • PS3 Browser Flash Player 9 Plugin enabled (View General Information section for additional info)
  • PS3 Browser Javascript enabled
  • PS3 Browser Cookies enabled

Quick Overview of Toolset (v1.0.19) Capabilities:
All Models
  • Display console's IDPS
  • Detects Console's CFW Compatibility + Factory Installed Firmware
  • Detects Internal Flash Type of console: NOR / NAND / eMMc ect...
  • Detects console & firmware information
  • Take's a Full dump (backup purposes) of Internal Flash
  • Memory Editor tool (R&D tool)
Custom Firmware (CFW) compatible Models Only
  • Patching of OFW Flash (Flash Memory Patch) for Custom Firmware Installations.
Userland Tools
1.The Memory Editor tool v1.1
upload_2020-2-21_22-23-34-png.24178

  • The tool maps up all the currently loaded sprx modules segments (text & data) & allows you to browse them as well as the 2 vsh segments and the browser memory container. Users can also edit the memory as they see fit in all writable memory segments. This is mostly a R&D tool.
  • - Notice- issues caused by RAM synchronisation. The memory editor is not a live debugger, it cannot pause lv2 or userland threads execution. Consequently, the RAM can be modified by the various threads executing in userland between the moment the memory editor tool takes a snapshot of a ram range to create the hex table to display on screen & the moment the table is actually displayed on screen.This means that on rare occasions the values displayed on screen might be different from those actually in RAM. This is especially true for specific memory areas such as the browser container memory.
    • There is no easy way to solve this issue, even the debugging deci3 syscalls available only in DEX would not help us much because while it would enable us to take properly synchronised snapshots of the RAM, displaying the data on screen would still require running js code in the browser, which would modify the RAM & lead to the same synchronisation problem we currently face without using the deci3 syscalls.
    • I implemented code to color out the detected table cells found to be unsynced with RAM so there is as little ambiguity as possible. The text of such detected table cells is set to 'undefined'.
2. Flash Memory Manager v1.2 tool
upload_2020-2-21_22-24-9-png.24179

  • Compatible with all PS3 models (patching flash options exclusive to CFW compatible models)
  • FMM displays basic Flash Memory data in a tree.
  • Clicking on appropriate tree nodes reveals context menu entries to launch the tool's features.
  • Among other things, the manager can dump the Flash memory to file on any natively writable partition mounted on the console.
  • To patch (for cfw installation) a console using the no-fsm method, users must first load a patch file in memory. That file will be checked first & if found valid, the context menu entry to apply the patch will be enabled.
There are 2 ways to acquire the correct patch file to flash.
1.
it can be downloaded to disk first then loaded into memory from file & finally applied to the system
- or -
2. it can be loaded via https directly to memory without using disk storage, the data is checked in RAM then if found valid, users can decide to apply it (from the unlocked menu, once file is validated by the toolset automatically).
  • After applying a patch, the FMM automatically dumps the 2 ROS regions it just overwrote to double check that patching was properly done.
  • Progress dialogs keep the user informed of current operations & outcomes. User logs are provided in the various progress dialogs.
3. Logs v1.0 Tool
ps-png.24323

Technically the log section is also a tool of this Toolset. Its tab contains all the logs, warnings, errors & debug output of the toolset & its different tools.

  • Whenever something goes wrong, it's the first place to look & screenshots can be used to identify problems.
  • I also included a UDP broadcast similar to Cobra's. Users can use socat to listen on UDP to the Toolset broadcast. However for the moment, only some data gets broadcasted but not the entire contents of the log tab because of the performance impact. With the file explorer release, I plan implement a few changes to this feature as well, the UDP broadcast will be done in a separate thread & all logged data should be broadcasted to UDP.

From the PS3 web browser you can access the toolset @: (SSL only)
You do not have permission to view link Log in or register now.

Update (4) - Issues has been resolved and FMM has been updated to
v1.0.22. A fix for the handful of ppl with NAND consoles who are stuck unable to install another firmware at
You do not have permission to view link Log in or register now.

Instructions here for NAND ISSUE:

You do not have permission to view link Log in or register now.

Source:
You do not have permission to view link Log in or register now.
 
Top