• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

PS3 Lv0ldr / Bootldr Exploit Reverse-Engineering Details by Naehrwert

Category: PS3 Hacks & JailBreak  By: PS3 News - (nwert.wordpress.com)
Tags: ps3 lv0ldr exploit ps3 bootldr exploit ps3 reverse-engineering naehrwert ps3 hackers

26w ago - Following up on the previous PS3 Lv0ldr / Bootldr clarifications by marcan42 and wololo, today PlayStation 3 hacker naehrwert has shared some details based on reverse-engineering the exploit used to dump it.

To quote from his blog: The Exploit

As the exploit that was used to dump lv0ldr/bootldr/howeveryouliketocallit is public now, let's have a closer look at it to understand what's going on. Here is what I have reversed from lv0 (it shares the syscon portion of the code with its SPU counterpart):

//In .data section.
static u8 tmp_pkt[0x800];

//Get size from sc packet.
#define GET_SIZE(pkt) ((pkt[4] << 8) | pkt[5])

int read_cmpl_msg(/*...*/, u8 *payload_buf /*r5*/, int min_size /*r6*/, /*...*/)
{
    u16 pkt_size;

    //Get packet header.
    memcpy_aligned_64(tmp_pkt, MMIO_SC_PKT, 0x10);

    //Check packet size.
    pkt_size = GET_SIZE(tmp_pkt);
    if(pkt_size - 4 < min_size || pkt_size + 8 > 0x800)
        return ERR;

    //Run first sc_checksum.
    if(!sc_checksum(...))
        return ERR;

    //Read packet again (plus header!).
    pkt_size = GET_SIZE(tmp_pkt);
    memcpy_aligned_64(tmp_pkt, MMIO_SC_PKT, size + 0x1B);

    //Get size again (not checked now).
    //I suspect that this is actually a compiler 'quirk' and not a
    //programmer mistake. The original source probably accesses the
    //packet size through a structure and the compiler noticed the
    //non const access of the packet and generated this read of the
    //size member because it could have changed.
    pkt_size = GET_SIZE(tmp_pkt);

    //Let's have some fun (payload_buf on caller stack).
    memcpy(payload_buf, tmp_pkt + 8, size - 4);

    //Run second sc_checksum.
    if(!sc_checksum(...))
        return ERR;

    //...
}
The syscon library implements some high level functions, e.g. to shutdown the console on panic or to read certain configuration values. Every of this functions internally uses another function to exchange packets with syscon and the exchange function uses the read_cmpl_msg one to get the answer packet. The top-level function will pass a fixed size buffer to the exchange function.

So if we are able to control syscon packets, e.g. by emulating MMIO (and thanks to IBM we are), we can change the packet size between the two packet readings and overwrite the caller stack. And if we first copy a little stub to shared LS and let the return address point to it, we can easily dump the whole 256 kB.

Nothing more left to say now, let's wait and see if this is going to be fixed in future firmware versions (we just have to check lv0 fortunately).




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 230 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
KLAYPEX's Avatar
#190 - KLAYPEX - 29w ago
Reply
PS3SCENER please upload this

hey guys these might be legitimate PS3 4.30 KEYS!!





[erk=CA7A24EC38BDB45B98CCD7D363EA2AF0C326E65081E0630CB9AB2D2�15865878A]
[riv=F9205F46F6021697E670F13DFA726212]
[pub=A8FD6DB24532D094EFA08CB41C9A72287D905C6B27B42BE4AB925AA�F4AFFF34D41EEB54DD128700D]
[priv=001AD976FCDE86F5B8FF3E63EF3A7F94E861975BA3]
[ctype=33]

Maybe we will have a 4.30 jb after all.

if found this on youtube is this a fake?

Foo's Avatar
#189 - Foo - 29w ago
Reply
I have to clear something up for the noobs... There will more than likely not be a CFW that will install above 3.55 for a very long time. That involves per_console_keys which we only know how to obtain approx 2/5 of them so if we can't get them then how do you think we could exploit them? Exactly.

d3adliner's Avatar
#188 - d3adliner - 29w ago
Reply
Haha. Yeah, that would be pretty bad. Maybe you're right and they've already been offered a nice amount for it. LoL.

PS3 News's Avatar
#187 - PS3 News - 29w ago
Reply
I'm a "glass is half full" (optimistic) kinda guy, and yeah I do believe it. Whether he ends up sharing or not remains to be seen, but here is to hoping he does do so publicly and not sell out to Max Louarn, Paul Owen or the Chinese so they can find a way to ReDRM it and cash in on the PS3 scene all over again... that's my biggest fear actually.

d3adliner's Avatar
#186 - d3adliner - 29w ago
Reply
So you guys are believing it? If the guy was so anxious to get it out there, it would have already been uploaded. Pretty sure the person knows how to upload to one of hundreds of file hosting sites, as was mentioned. It's been over an hour since they said "I have the file(s) necessary for installing CFW of 3.56+ OFW!!!" Sorry, but I don't buy it.

Page 9 of 46 «‹123456789›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Guide to Install multiMAN PS3 Themes via USB from a PKG File
• Simple PS3Updates v1.6 Build 2 Final PS3 Homebrew App Updated
• Video: Super Pixel Jumper v1.2 PS3 Homebrew Game is Released
• Video: Pointman: The Akkadian Wars PS3 Homebrew Game Arrives
• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
The Yes/No question thread - 4h ago

mm4dsc's Avatar
Quote No. Are you sad?...
By mm4dsc with
 2050 Comments »
Concerning different PS3 CFW versions help? - 4h ago

hilongo's Avatar
Quote sure mate ... if I can, I will ...
By hilongo with
 3 Comments »
Video: The Witness on PlayStation 4 / PS4: Creator Conversations - 6h ago

PS3 News's Avatar
Quote Thekla Incorporated President Jonathan Blow shared some video footage today which include conversations with the creators of upcoming title The...
By PS3 News with
 0 Comments »
Grand Theft Auto V Special & Collector's Editions - Pre-Order Today - 6h ago

PS3 News's Avatar
Quote Today RockStar invites fans to pre-order the Grand Theft Auto V Special and Collector's Editions with details of each below. To quote: We are...
By PS3 News with
 0 Comments »

Latest PlayStation 3 Trophies
Pool Nation: Mega Shot
Pool Nation: Mega Streak
Pool Nation: Super Zen
Pool Nation: Zen

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Tom Clancys H A W X EUR PS3-Googlecus - 05-23-2013
Terraria JPN PS3-HR - 05-23-2013
Kamen Rider Battlide War JPN PS3-Caravan - 05-21-2013
Fast And Furious Showdown PS3-DUPLEX - 05-21-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News