QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

more on the libungif insecurity..

This is a discussion on more on the libungif insecurity.. within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; This was posted on psp-hacks in reference to progress of the work being done with the libungif insecurity. Due to ...

Reply
 
LinkBack Thread Tools
Old 12-27-2005, 11:43 PM   #1
 
Gossamer's Avatar
 
Join Date: Oct 2005
Location: Wandering.....
Posts: 20
Trader Feedback: 0
Default more on the libungif insecurity..

This was posted on psp-hacks in reference to progress of the work being done with the libungif insecurity.

Quote:
Due to the nature of the vulnerability the progress is not as straightforward and fast as with a typical buffer overflow.

However, progress is made and for now it is sure that the libungif vulnerability allows writing of any number of bytes to specific offsets in memory with data that has to pass a certain mask limitation which is relative to the targeted offset.

It is currently being tested with carefully crafted GIF files injecting self-modifing code.

If it works, we have a way to run code on 2.0 - 2.5 FW using this (vsh user mode).
If that will fail, all research and tools made so far will be released to the greater public.
I hope that the testing proves successful. This would lead to a more convenient way to run code, than the GTA method.

Last edited by NeilR-X; 01-02-2006 at 01:53 PM..
Gossamer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 12:45 AM   #2
 
torrobinson's Avatar
 
Join Date: Aug 2005
Location: Edmonton, Canada
Posts: 2,938
Trader Feedback: 0
Default

What.
About.
2.6?
__________________
[CENTER][img]http://img357.imageshack.us/img357/5953/torro5mb.gif[/img][/CENTER]
[CENTER][img]http://img98.imageshack.us/img98/9213/xbox360owner1nb.jpg[/img][/CENTER]
[CENTER][img]http://img98.imageshack.us/img98/6253/luminesaddict3bb.jpg[/img][/CENTER]
[center][img]http://f10.putfile.com/7/18321220157.jpg[/img][/CENTER]
[CENTER][URL=http://forums.qj.net/showthread.php?t=19128][COLOR=Magenta]¸,ø¤º°`¦°º¤ø,¸ Become premium! Support QJ.net! ¸,ø¤º°`¦°º¤ø,¸[/COLOR][/URL][/CENTER]
torrobinson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 03:24 AM   #3
 
Drusenija's Avatar
 
Join Date: Dec 2005
Posts: 111
Trader Feedback: 0
Default

The assumption so far with the libungif exploit has been that the version Sony used up until v2.5 had this exploit in it. Between v2.5 and v2.6 being released, the libungif authors had fixed this bug, so it's my understanding that this particular exploit won't work in v2.6 (that assumption is based on Sony using the new version of libungif when they upgraded the firmware, which is a reasonably safe assumption to make).
Drusenija is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 10:33 AM   #4
 
Join Date: Nov 2005
Location: Baltimore, MD, USA
Posts: 504
Trader Feedback: 0
Default

I'll believe it when I see Hello World.
__________________
1.52US New => 2.0JP => 1.5US => 2.0US => 1.5US => 2.0US => 1.5US => 2.0US => 2.6US => 1.5US! THANK YOU DARK_ALEX AND THE REST OF THE GANG!

My retro headset for cellphone:
[URL]http://www.i-hacked.com/images/stories/retrophone/m91sao.jpg[/URL]

Infected, Madden 06, Burnout: Legends, Lumines, Kingdom of Paradise, etc etc.

Favorite homebrew:
NesterJ, PSPGenesis, PSPRadio, and PSPSone
fyrehart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 11:02 AM   #5

Mindless Self Indulgence
 
Realn0whereman's Avatar
 
Join Date: Oct 2005
Location: afk
Posts: 7,212
Trader Feedback: 0
Default

http://psp-news.dc------------------...io1frsmall.JPG

you guys i got mario on 2.6 !!!!!!!
__________________
PSN:realn0whereman
NEW MSI ALBUM APRIL 29TH: IF
*orgasm*
Realn0whereman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 11:41 AM   #6
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

That link doesnt work i was hoping to see the pic you got
It was funny though
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 11:43 AM   #7
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

Nevermind i got the pic nice photoshop job there.lol
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 12:38 PM   #8
 
DaWaN's Avatar
 
Join Date: Nov 2005
Posts: 60
Trader Feedback: 0
Default

Atleast the libungif got an update on v2.60
DaWaN is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 12:41 PM   #9
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

Thats what I say if they fixed it in 2.6 then there must be something to it. Something good I hope.
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2005, 04:42 PM   #10
 
Peroxide's Avatar
 
Join Date: Jun 2005
Location: Ontario, Canada
Posts: 121
Trader Feedback: 0
Default

They are obviously onto something, only a matter of time until they or someone else nails it.
Peroxide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 10:30 AM   #11

Developer
 
PSP250's Avatar
 
Join Date: Nov 2005
Location: PSPPlanet
Posts: 62
Trader Feedback: 0
Default

Unfortunate news.

The libungif vulnerability is not usable to create a working exploit out of it.

It allows writing any number of bytes with any data you want that has to pass two limitations (mask and maximum uint size) to specific offsets between 0x08a7xxxx and 0x09FFFFFF on 2.0 - 2.5 FW PSP's. This did prove as not sufficient.

Code:
Offsetlist:

Struct Offset: 0x08a7c0e0
Suffix Offset: 0x08a7d223
Prefix Offset: 0x08a7e224

BPP:  VUL  Suffix Off Prefix Off Mask       ClearCode 
0x0c: OOB  0x08a7e225 0x08a8222c 0x00000001 0x00001000
0x0d: OOB  0x08a7f225 0x08a8622c 0x00000010 0x00002000
0x0e: OOB  0x08a81225 0x08a8e22c 0x00000002 0x00004000
0x0f: OOB  0x08a85225 0x08a9e22c 0x00000040 0x00008000
0x10: OOB  0x08a8d225 0x08abe22c 0x00000003 0x00010000
0x11: OOB  0x08a9d225 0x08afe22c 0x00000080 0x00020000
0x12: OOB  0x08abd225 0x08b7e22c 0x00000004 0x00040000
0x13: OOB  0x08afd225 0x08c7e22c 0x00000020 0x00080000
0x14: OOB  0x08b7d225 0x08e7e22c 0x0000001b 0x00100000
0x15: OOB  0x08c7d225 0x0927e22c 0x00002000 0x00200000
0x16: OOB  0x08e7d225 0x09a7e22c 0x0000001a 0x00400000
0x17: OOB  0x0927d225 0x0aa7e22c 0x00004000 0x00800000
0x18: OOB  0x09a7d225 0x0ca7e22c 0x0000001c 0x01000000
0x19: OOB  0x0aa7d225 0x10a7e22c 0x00001000 0x02000000
0x1a: OOB  0x0ca7d225 0x18a7e22c 0x0000001d 0x04000000
0x1b: OOB  0x10a7d225 0x28a7e22c 0x00008000 0x08000000
0x1c: OOB  0x18a7d225 0x48a7e22c 0x0000001e 0x10000000
...
(other values cycle through the same offsets with a different mask)
The code injection worked in theory, however fails as the libungif vuln. is writing using two buffers (Suffix, Prefix in the list) into memory.

Unfortunately picking an offset (by picking a BPP value, like 0x18) for the first buffer which would overwrite code to be executed, results in the other buffer attempting to write off-memory thus resulting in an immediate crash which makes this not usable.

Please notice that you should not post any "proposals" as I can guarantee almost 90% of what can be done has been attempted by experts in the past weeks and fails due to the exotic and highly complex nature of this vulnerability.

Also notice that we have understood the inner workings of the vulnerability by 100% and created appropriate tools to allow generation of anykind of crafted GIF files to work with this vulnerability.

Some people are looking into the research at the moment however it is not likely that it will have success.

Thanks go out to all those who helped in the research, you know who you are, thanks a LOT.

The research material and tools can be freely requested by PM if you have a serious idea how to use it.

Last edited by PSP250; 01-02-2006 at 10:36 AM..
PSP250 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 11:02 AM   #12

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

It's a big shame, I was hoping something could still be done with this, but it looks impossible.

I know how hard you've worked on this, without any public recognition - it's a pity that all that work didn't pay off in the end.

This was a perfect example of the right way to go about exploiting a vulnerability, too - hard work, thought, analysis and understanding, with the bulk of the experimentation at the end, rather than the beginning.

Ah well, happier hunting next time!
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 11:18 AM   #13
 
Join Date: Dec 2005
Posts: 144
Trader Feedback: 0
Default

Quote:
Originally Posted by torrobinson
What.
About.
2.6?
Why do you always say that ?
dougal22 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 02:03 PM   #14
 
Join Date: Dec 2005
Posts: 61
Trader Feedback: 0
Default

Quote:
Originally Posted by dougal22
Why do you always say that ?
because he is ****ed cus he upgraded to 2.6 ..
M0rph3v5 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 03:07 PM   #15
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

Sorry to hear this psp250, However you folks worked hard at this and quietly as well. I hope you all continue your work with potential exploits like the ones noted I am sure you will be successful in the future. Keep up the good work!!!
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2006, 03:18 PM   #16
 
cgroux202's Avatar
 
Join Date: May 2005
Location: Boston Area
Posts: 221
Trader Feedback: 0
Default

Yeah good work man. Don't worry an exploit will be found soon enough I can assure you that! Don't forget we still have that GTA savegame hack that still needs a little bit of developing into. Don't let this get you down. It seems we have a lot of intellegent people on this site that know what they're doing! :icon_smil
cgroux202 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2006, 11:04 AM   #17
 
Join Date: Nov 2006
Posts: 1
Trader Feedback: 0
Default

Is it possible to get the research materials from someone that worked on this vulnerability? I tried pm'ing PSP250, but no answer.
sheep22 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2006, 11:08 AM   #18
Wii owns Poo
 
~Ellen~'s Avatar
 
Join Date: Jul 2006
Location: ) wouldnt you like to know
Posts: 695
Trader Feedback: 0
Default

zomg uber old thread
__________________
[LEFT][FONT=Comic Sans MS][SIZE=1]My sig................[/SIZE][/FONT]
[/LEFT]
~Ellen~ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2006, 11:31 AM   #19
 
wseyller's Avatar
 
Join Date: Feb 2006
Posts: 441
Trader Feedback: 0
Default

Necropost - this thread is nearly a year old, lol.
wseyller is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2006, 11:32 AM   #20
 
Join Date: May 2006
Location: Detroit, MI! Bia Bia!!
Posts: 1,391
Trader Feedback: 0
Default

Quote:
Originally Posted by ~Ellen~
zomg uber old thread
lol
CA$HMON3Y is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
insecurity , libungif

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 09:13 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us