forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ethereal and PBP file format

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
piercer



Joined: 01 Apr 2005
Posts: 21

PostPosted: Fri Apr 01, 2005 4:53 pm    Post subject: Ethereal and PBP file format Reply with quote

Delurk...

I apologize if I am teaching my grandmother to suck eggs, but I have been reading these forums for some time now and I was thinking it might be good to link together two areas of attack.

People have been

1) analysing the traffick between two PSPs. Especially interesting is the discussion of the namco game download packets.

2) analysing the PBP file format.

Has anybody tried to see if there is some similarity between the data transfered for a downloaded game (such as what happens when you share a game in the namco museum) and the PBP file formats for what are presumably the executables in a firmware update. The fact that you apparently see a key exchange in the wireless transfer may be just a little bit of extra information in cracking this nut.

Sorry if this is a nonsense question, but you never know.
Back to top
View user's profile Send private message
lmx



Joined: 01 Apr 2005
Posts: 25

PostPosted: Fri Apr 01, 2005 6:33 pm    Post subject: Reply with quote

Game share does indeed send an encrypted pbp.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Apr 02, 2005 2:25 am    Post subject: Reply with quote

I wouldn't be so quick to assume it is a PBP. The namco classics gameshare does not download to the memory stick - it stays in ram.
Back to top
View user's profile Send private message Visit poster's website
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sat Apr 02, 2005 6:58 am    Post subject: Reply with quote

Well, more likely than not the PBP is read into main memory when running software from memory stick as well, so there is no reason to assume that the format is _not_ the same either. Capturing the transmission of a gameshare should be enough to figure out if they are the same format or not.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Apr 02, 2005 8:46 am    Post subject: Reply with quote

Decrypt the capture, and get back to me. :)
Back to top
View user's profile Send private message Visit poster's website
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sat Apr 02, 2005 4:33 pm    Post subject: Reply with quote

Talking with some people with authority on the subject, GameShare never saves anything to the MS, it just stays in RAM until you power off (not suspend) the PSP. Would be interesting to see that max size gameShare you could send over before the PSP crashes decompressing/unencrypting it.
Back to top
View user's profile Send private message
beatwho



Joined: 15 Dec 2004
Posts: 28

PostPosted: Sat Apr 02, 2005 6:13 pm    Post subject: Re: Ethereal and PBP file format Reply with quote

piercer wrote:
Has anybody tried to see if there is some similarity between the data transfered for a downloaded game (such as what happens when you share a game in the namco museum) and the PBP file formats for what are presumably the executables in a firmware update.


i was thinking about this the other day, people seemed to dismiss my idea pretty quick though, but these were my thoughts:

In the thread on the game sharing stuff it mentions two things, what we think is a key exchange and the transfer of the encrypted/compressed data. What if you were able to replace the execuable code in the pbp file to get it to run, (unless there is some other way of excuting code i don't know?) which would leave the key somewhere. I had a quick look but there didn't seem to be any sort of similar data in the pbp to the key exchange.

This would be going on the assumption that it's not sending a pbp but some excutable data (encrypted), much like one of the files inside the psp, the psar or the other one, forgot which one.
Back to top
View user's profile Send private message
Awhite



Joined: 23 Feb 2005
Posts: 55

PostPosted: Sat Apr 02, 2005 7:32 pm    Post subject: Reply with quote

Maybe we are looking this the wrong way? What if we tried to replicate the data sent and try to make a psp run a game through gamesharing. I guess that we'd still need to find the key and the psp name (we could just rename ours :P) Not quite homebrew development but will certainly prove usefull?

P.S Just trying to help out here.
_________________
Ioannis KarAvas
Back to top
View user's profile Send private message
bartzilla



Joined: 13 Jan 2005
Posts: 5
Location: New York City

PostPosted: Sun Apr 03, 2005 3:22 pm    Post subject: Reply with quote

Perhaps the transferred game binary isn't encrypted?

Let's assume that the encrypted binaries that are coming from Sony via the network update and the executables on the UMD's are encrypted with Sony's carefully guarded private key, with the public key built into the flash ROM (which I'd guess is built into the system RAM to prevent bus-snooping to get said key). We've heard that in the dev process they work with unencrypted binaries on systems that can only run unencrypted binaries and the final product gets shipped to Sony for encryption and manufacturing.

Wouldn't that make developing network-sharable games somewhat difficult? Just guessing here, but considering the logistical difficulty in getting Sony to rebuild your game for you so that your game sends an encrypted binary, rather than the unencrypted one you developed with, perhaps network shared games aren't encrypted outside of the network connection itself. That would make the development process a real PITA and I wouldn't be surprised if the developers (with Sony's blessing or instruction) cut a corner there and just left the transferred binary unencrypted.

Of course, mounting a man-in-the-middle attack against two PSP's chatting it up will be a big challenge, but it might also be a way in.
Back to top
View user's profile Send private message Visit poster's website
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sun Apr 03, 2005 8:53 pm    Post subject: Reply with quote

Well, now you're assuming that the transferred game is somehow compiled into the main binary. If it's just a file on the UMD, the main application doesn't really have to care about the contents, and so it will be no difference in operation when you are using an unencryped file during development, or an encryped file during production. So no particular PITA, Sony just have to encrypt two of the files instead of one when they master the UMD in the final step.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group