Category PS4 Jailbreaking       Thread starter PSXHAX       Start date Apr 12, 2019 at 2:42 AM       29,224       27            
Status
Not open for further replies.
Last fall PS4 developers saw PS4 Aux Hax 4: Belize (Southbridge) via HDMI CEC from fail0verflow which allowed hackers to get code exec on all PS4 southbridge versions using HDMI-CEC without requiring other parts of the system to be compromised, and following his recent GhidraPS4 ELF Loader / PS4FlashTool releases PlayStation 4 developer @g991 (aka goldfitzgerald on Twitter) has been examining the PS4 southbridge and shared some reverse-engineered code today. :fire:

He states, to quote: "Here is some reversed code from the southbridge... this is where the data is read from the flash and sent over PCIe. This is the perfect place to modify the southbridge to change data for a correlation power analysis attack against the APU bootrom loading the second bootloader."

If you're a prospective PS4 developer, be sure to check out the Tweets below! (y)

Picture of the PlayStation 4 APU bootrom reading the second bootloader over PCIe, this is read from the system flash using SPI via the southbridge. The low spots are where the data is all 0xFF, where hamming distance between data lines/registers stays constant.
PS4 Southbridge Reverse-engineered Code Examination by Jogolden 2.png

PS4 Southbridge Reverse-engineered Code Examination by Jogolden 3.jpg

PS4 Southbridge Reverse-engineered Code Examination by Jogolden 4.jpg

If you look at a system flash dump, located at 0x200000 is this data. There is a main header and a header that switches between two other headers that are each associated with their own bootloader. I call these boot slots.
Here is some reversed code from the southbridge... this is where the data is read from the flash and sent over PCIe. This is the perfect place to modify the southbridge to change data for a correlation power analysis attack against the APU bootrom loading the second bootloader.
PS4 Southbridge Reverse-engineered Code Examination by Jogolden 5.png

Here is a better image of what is going on when the PlayStation 4 APU turns on. The southbridge reads the second bootloader from flash then sends it over PCIe to the APU bootrom, which decrypts and loads it. I deleted my old post because of some inaccuracies I discovered.
Also in the image, yellow is power consumption, green is APU reset, and the pink/mosi/miso is data on the SPI system flash lines.

Also making rounds on Twitter today for those interested in PS4 game mods:

PS4 FF7 BGM Texture Mod Test
PS4 Southbridge Reverse-engineered Code Examination by Jogolden.jpg
 

Comments

Status
Not open for further replies.

fRustra

Member
Contributor
isnt it possible with the ps4flashtool to replace some things in a firmware dump with another data ? maybe its possible then to replace the webkit exploit or the exploit in the kernel from 5.05 firmware dump into a 6.20 firmware dump ?

my thinking can not be so wrong because it was so synonymous with the PS4 HFW / HAN made the flawed webkit the previous version in the current fw used
 
Status
Not open for further replies.
Recent Articles
PS4 Renesas RL78 Debug Protocol Implementation by Fail0verflow
Following the PS4 SysCon Renesas Chip Image and updates by droogie, PS4 Glitch Pinout research via @juansbeck and their PS4 Aux Hax Parts 1-4 today fail0verflow shared with PlayStation 4 scene...
PS Store Big in Japan Sale Live with Deals on Over 500 PSN Titles
PS Store's latest Big in Japan flash sale features discounts on over 500 PSN titles including Kingdom Hearts All-In-One Package, NieR: Automata Game of the YoRHa Edition, Code Vein and more! šŸŽŽ šŸ—¾...
Hello Games Releases No Man's Sky Living Ship Update for PS4 / PS VR
Since the No Man's Sky initial release and No Man's Sky Beyond Update developer Hello Games released a new Living Ship Update for PS4 and PS VR gamers. :cool: Check out their latest PlayStation 4...
PlayStation Store Essential Picks PSN Sale with Savings Up to 70% Off
PlayStation fans can save up to 70% off critically acclaimed must-have games during the PS Store Essential Picks sale beginning today on select PSN titles including Star Wars Jedi: Fallen Order...
Top