Sponsored Links

Sponsored Links

PS3 LV2_Kernel Exploit Sample Implementation By Naehrwert


Sponsored Links
96w ago - Following up on his PS3 SCETool update and PS3 Dump_Rootkey code, today Sony PlayStation 3 hacker Naehrwert has posted some details on exploiting the PlayStation 3 lv2_kernel and has made available a sample 3.41 implementation below.

To quote from his blog: Exploiting (?) lv2

A long while ago KaKaRoTo pointed me to a stack overflow he found while reversing lv2_kernel. But there are two problems:

1. The vulnerability is in a protected syscall (the SELF calling it got to have the 0x40... control flags set). So you’d first need to find a suitable usermode exploit (don’t ask us), that gives you code execution with the right privileges.

2. The payload data is copied to lv2 heap first and the function will do a free call on it before the payload has any chance to get executed. This might not sound like a problem but it looks like lv2′s heap implementation will overwrite the free’ed space with 0xABADCAFE and thus destroy the payload.

Here (pastie.org/4755699) is my sample implementation for 3.41 lv2_kernel (although the vulnerability should be present in all versions of lv2 up to the latest firmware), maybe someone of you will find a way to overcome problem (2.) and can get something nice out of it because right now it’s only good to crash lv2.

From Mathieulh (via pastebin.com/naxXkv3M):

The footer signature is still not checked upon npdrm self files execution as of 4.21.

Because kakaroto says something that doesn't make it true. Basically he found a check in 3.55 that was not even called and assumed they used it in 3.60+.

Of course they do whitelist npdrm now so even if the footer isn't checked you cannot run your own npdrm selfs signed with keyset lower than 0x0D making the whole debate rather pointless. Aditional checks are now performed on the actual file format as well such as the segment counter flag that needs to be set to 0x01 except for the very last segment.

Finally, from KDSBest (via twitlonger.com/show/jcmh80): Since naehrwert posted an lv2 exploit I will do so too . The stack pointer points to lv2 and if we do a syscall, the syscall saves register to the stack HAHA.

Btw. It just crashes the console for now, since I totally overwrite dump the lv2 or some memory addresses I don't know. Feel free to try around, adjust the address of the stackpointer and so on. If you managed to get the panic payload executed. Tell me!!! ^^

I didn't managed to make it work on 4.21 so I just did on 4.20






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 234 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

PS3 News's Avatar
#224 - PS3 News - 39w ago
Following up on the previous updates and SCETool Script, today PlayStation 3 developer Habib (aka smhabib) who recently released Habib CEX 4.50 V1.03 PS3 CFW unofficially updated PS3 SCETool to version 0.3.1 followed by v0.3.2 for Custom Firmware users with the changes below.

Download: [Register or Login to view links] / [Register or Login to view links] (with changes added) by zecoxao / [Register or Login to view links] by zecoxao / [Register or Login to view links] by deroad

To quote: Basically what it does is,it encrypts iso modules (needed for cfw creation!) with its respective indiv seeds of eid.now normal people can do amazing things.i first posted this on psx-scene but with not much details.SO HERE IT GOES WITH SRC!!!!

A short NOTE:the keys should be only edited with notepad++ to save its formating or you might get errors(latest keyset included!)

FOR N00BS: you can also use scetool --template spu_token_processor.self(original self) --sce-type=SELF --encrypt spu_token_processor.elf(modified elf) spu_token_processor.self(output modified self)

THANKS:

1. naehrwert
2. my friend anonymous dev

I SALUTE YOU BOTH!!!!!!!!!

CHANGELOG:

1. Fixed makefile
2. Added indiv seed options for creaters of cfw or for some testers

From zecoxao: Here is the tool on github (github.com/zecoxao/scetool) with all the added "changes" (which was commenting one line and uncommenting two, bravo...)

And here's an example of the new features being used: pastebin.com/Cw6uPiaJ

Check the label [Optional Header] for more information.

Finally, Habib has made available a proof-of-concept (PoC) for running syscalls based app without porting it to newer firmware with details below.

Download: [Register or Login to view links] (2.18 MB)

To quote: Now I'll give you example of a Fan Control Utility being ran with my kernel and not with any other 4.50 cfw.if you try you'll simply get an error showing bad temp reading and sys_sm_get_fan_policy error. Currently source code is a lot a mess but ill be sharing it too.

Current Syscalls Added are: 386,389,409,383.

More PlayStation 3 News...

qwe123123's Avatar
#223 - qwe123123 - 46w ago
how to decrypt compressed edat? need what tools?

compressed edat: killer is dead, gundam exvs

franzes80's Avatar
#222 - franzes80 - 53w ago
Hi, new update for 4.46 eboot resigner by acid burn1 in version 0.2 (inside the archive new folder for 4.46 keys update)

Download: [Register or Login to view links]

Changelog:

  • Added pkg View
  • Added inside archive folder Root for 4.46 keys update
  • Fixed and added more Keys in Keys file!
  • Fixed all MFW keys file format!

PS3 News's Avatar
#221 - PS3 News - 53w ago
Following up on the previous updates, today Italian PlayStation 3 developer Acid Burn1 has released a modified version of JjKkYu's PS3 EBOOT.BIN Resigner incorporating the PS3 Firmware 4.46 keys that were recently released.

Also below is a version of BlackBox FTP Resigned to work with 4.46 PS3 Firmware and 4.46 EBOOT Resigner v0.2.

Download: [Register or Login to view links] (Final) / [Register or Login to view links] / [Register or Login to view links]

This application released by Acid Burn1 makes all homebrew resigned, eboot with all cfw 4.46 including Habib v1.13. Thanks jykkyu.

Changelog:

  • Bug fixed
  • Added keys 4.46
  • Work for all CFW 4.46

v0.2 Changelog:

  • Added pkg View
  • Added inside archive folder Root for 4.46 keys update
  • Fixed and added more Keys in Keys file!
  • Fixed all MFW keys file format!

More PlayStation 3 News...

kaito kid's Avatar
#220 - kaito kid - 54w ago
actually I used it but it show me

  • Loaded keysets.
  • Loaded loader curves.
  • Loaded vsh curves.
  • Using keyset [lv0ldr 0x0000 00.00]
  • Error: Could not decrypt header.

why ??

Thank you I decrypt Lv0 ^_^

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News