LAN.ST  

Go Back   LAN.ST > Forum > Console Hacking & Development > Sony PlayStation Portable

Sony PlayStation Portable Sony PlayStation Portable related development discussion.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2009, 11:33 PM
MaTiAz MaTiAz is offline
Malloc Staff
 
Join Date: Jan 2007
Posts: 12
Default GripShift savegame exploit Hello World + SDK

Ok, binary loader, hello world and SDK finished, get it here. Read the readme for the imporant stuff.
It's encrypted and works on the US version only.
Get the SDK here.

Old post for nostalgia:
Quote:
So, happy new year. I think presenting a new usermode exploit on the PSP is a good way to start 2009

GripShift has a buffer overflow vulnerability when loading savegames. The savegame contains the profile name which can be easily used to overwrite .
The savegame file is pretty big (25kB) so you have lots of space to put your code there. I wrote a simple blob of code to paint the framebuffer completely white (to just indicate that arbitrary code is running ).
The return address is located at offset 0xA9 in the file. In this poc it points to 0x08E4CD50 (which is only a few bytes after the return address), and the code starts at 0xCC in the file.

It was tested on 4.01M33-2 with US version of GripShift (ULUS10040), and psplink.prx, usbhostfs.prx and deemerh.prx loaded (also without psplink and usbhostfs). The decrypted savegame (sorry, couldn't [be bothered to] get Shine's savegame tool working so it's in plaintext form) is in the SDDATA.BIN form which Hellcat's Savegame-Deemer produces (thanks to him, if the program didn't exist I wouldn't have bothered with this. ). Just copy the ULUS10040SAVE00 directory to /PSP/SAVEPLAIN/ and run the game. EDIT: yeah, don't forget to have Savegame-Deemer working, duh.

Credits go to those who deserve them.

Last edited by MaTiAz; 01-04-2009 at 09:50 PM. Reason: news.
Reply With Quote
  #2  
Old 01-01-2009, 11:43 PM
Neo1607 Neo1607 is offline
Member
 
Join Date: Jan 2007
Posts: 69
Send a message via MSN to Neo1607
Default

Nice job Matiaz, i will test it on my PSP. Lets just hope this works on the new ta88v3 and PSP 3000's
__________________
<EvilSeph> I conduct lessons for Microsoft
<Rabbit> No wonder Microsoft sucks
Reply With Quote
  #3  
Old 01-02-2009, 12:55 AM
Jachra Jachra is offline
Senior Member
 
Join Date: Oct 2007
Posts: 190
Default

Indeed, a very nice job, MaTiAz. If this exploit is usable to run at kernel-level, then it should give the scene the edge it needs.
Reply With Quote
  #4  
Old 01-02-2009, 01:21 AM
arnold arnold is offline
Senior Member
 
Join Date: Feb 2007
Location: Where Specter lives.
Posts: 255
Default

Wait, it needs savegame-deemer running?

How are you going to get that running to get the exploit running?
hmmm...

Good job!

-Arnold
__________________
[FONT="Arial Black"][COLOR="DarkRed"]irc.malloc.us[/COLOR][/FONT]
[COLOR="Blue"]#Arnold[/COLOR]

[B]Come and chat with Arnie [/B]
[COLOR="SeaGreen"]
UTOPIA Project Awesomeness[/COLOR]

[URL="http://arnold.hyperphp.com/forums"]My Forums[/URL]

Reply With Quote
  #5  
Old 01-02-2009, 01:43 AM
MaTiAz MaTiAz is offline
Malloc Staff
 
Join Date: Jan 2007
Posts: 12
Default

Quote:
Originally Posted by arnold View Post
Wait, it needs savegame-deemer running?

How are you going to get that running to get the exploit running?
hmmm...

Good job!

-Arnold
It's just the poc which is unencrypted, and savegame-deemer loads decrypted savegames, that's why you need it. You need to fiddle around with the SCE apis 'n such to encrypt savegames, which I haven't done. Besides, it's more convenient to test stuff this way.
Reply With Quote
  #6  
Old 01-02-2009, 01:54 AM
cory1492 cory1492 is offline
Administrator
 
Join Date: Dec 2006
Location: At home, duh...
Posts: 654
Default

Happy New Year right back at ya MaATiAz Nice find!

Isn't deemer capable of re-crypting saves on it's own? Never used it so... dunno.

Out of curiosity, what kind of time did you invest in poking yet another hole in the "code ship" known as PSP? Certainly makes me believe there is no way the PS3 is secure xD
__________________
don't quote me <- you can quote me on that.
Reply With Quote
  #7  
Old 01-02-2009, 02:23 AM
MaTiAz MaTiAz is offline
Malloc Staff
 
Join Date: Jan 2007
Posts: 12
Default

Quote:
Originally Posted by cory1492 View Post
Happy New Year right back at ya MaATiAz Nice find!

Isn't deemer capable of re-crypting saves on it's own? Never used it so... dunno.

Out of curiosity, what kind of time did you invest in poking yet another hole in the "code ship" known as PSP? Certainly makes me believe there is no way the PS3 is secure xD
The poc didn't take longer than a few hours to complete

I'm not sure how savegame-deemer would re-encrypt the files since all it does is just dump the data passed to the save functions. I did try writing the modified savegame data back to RAM but that didn't work out as planned.
Reply With Quote
  #8  
Old 01-02-2009, 03:06 AM
FreePlay FreePlay is offline
Senior Member
 
Join Date: Dec 2006
Location: Schenectady, NY, USA
Posts: 104
Send a message via ICQ to FreePlay Send a message via AIM to FreePlay Send a message via Skype™ to FreePlay
Default

Just encrypted the file and passed it back to MaTiAz... it works as expected, with no plugins or anything
__________________
boinggggg.
Reply With Quote
  #9  
Old 01-02-2009, 04:03 AM
impulse impulse is offline
Junior Member
 
Join Date: Aug 2008
Location: Minneapolis,MN
Posts: 13
Send a message via AIM to impulse Send a message via Skype™ to impulse
Smile Exciting..

This is nice, a happy new year it is.

Good find!

Impulse / npt
Reply With Quote
  #10  
Old 01-02-2009, 05:42 AM
arnold arnold is offline
Senior Member
 
Join Date: Feb 2007
Location: Where Specter lives.
Posts: 255
Default

Quote:
Originally Posted by FreePlay View Post
Just encrypted the file and passed it back to MaTiAz... it works as expected, with no plugins or anything
Thanks FreePlay, but then, I don't have GripShift.

Oh well.

Good job MaTiAz!

-Arnold
__________________
[FONT="Arial Black"][COLOR="DarkRed"]irc.malloc.us[/COLOR][/FONT]
[COLOR="Blue"]#Arnold[/COLOR]

[B]Come and chat with Arnie [/B]
[COLOR="SeaGreen"]
UTOPIA Project Awesomeness[/COLOR]

[URL="http://arnold.hyperphp.com/forums"]My Forums[/URL]

Reply With Quote
Reply

  LAN.ST > Console Hacking & Development > Sony PlayStation Portable

Tags
exploit, psp3000

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Exploit Kwastie Sony PlayStation Portable 10 06-14-2007 07:13 PM
3.10 Possible Exploit. Mentality Sony PlayStation Portable 1 02-03-2007 06:22 PM
new exploit found! SpectroPlasm Sony PlayStation Portable 4 12-22-2006 03:00 AM


All times are GMT +1. The time now is 11:13 PM.

Design Developed by CompleteGFX
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.