Random Homebrew: PSP Bassline
PSP Bassline is a simple TB-303 synthesizer
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

PS3 packages and how it leads to PSP signing

Forum rules
Any post not directly related to programming will be moderated.
Do not request people to code something for you.
Avoid posting messages that do not bring anything to the conversation. We want the threads in this subforum to stay focused.

Re: PS3 packages and how it leads to PSP signing

Postby Kirby115 » Tue Jan 04, 2011 12:38 am

I don't know if this would be of any help, but I was on YouTube, and I saw the fail0verfl0w team at a conference explaining it.

http://www.youtube.com/watch?v=GPjd6gHY6A4

Sorry if that doesn't help =/ I'm not a programmer, lol.
User avatar
Kirby115
 
Posts: 36
Joined: Mon Jan 03, 2011 2:49 am

Re: PS3 packages and how it leads to PSP signing

Postby boodee » Tue Jan 04, 2011 12:41 am

Wololo wrote:
cold-zero wrote:Well it's just a matter of time until the psp keys will be released.

True, but in this thread I'm not interested in the keys themselves rather than the process to discover them and the algorithm

Well there could be several ways as to how Sony signs the PSP eboots. Think of the PSX games. Any can be bought from the PSN store and they work on both the PS3 and PSP (i think, don't own ps3). Maybe there is a shared key between PSX games and PSP games which could also mean they sign both the same way? During the presentation at that hacking conference, they showed the structure of a PS3 app. Perhaps PSP also has a similar structure and that they also sign the keys the same way (random number is constant for each) which in this case, all you have to do is a math formula with 2 PSP signatures to be able to solve for the private key. Just my thoughts :P
boodee
 
Posts: 1
Joined: Tue Jan 04, 2011 12:36 am

Re: PS3 packages and how it leads to PSP signing

Postby MaX_SLayeR » Tue Jan 04, 2011 2:01 am

The PS3 can run EBOOTs. The Minis on a PS3 are PSP eboots, so are the PSX games. It's why when you transfer them to a PSP, they are the same size as the file on the PS3. I also looked at the file structure of Minis and PSX games on PS3 using a FTP server. It's essentially a folder with param.sfo that tells the PS3 to run either the PSX emulation or PSP emulation (or if you can only copy games directly to a PSP), then there's your icons, background picture, ect. Then there's another folder that contains the EBOOT and the DOCUMENT.DAT file that may be with the game. There's also a very small file with, IIRC, a .edat extension or something similar.

The pspemu files in the PS3's dev_flash are the files for emulating Minis, the PSX emu files run the PSX EBOOTs. As far as I'm concerned, the PSX emulation on the PS3 is just a modified pops. You may want to look at the pspemu.

That's all I know, hope it helped.

@wololo: you may want to take a look around psx-scene.com. There are some explanations on how to find the keys and tools that can help. You may also be able to ask the devs there for help or information.
Hacking & getting homebrew on your 3.55 PS3
sonnyz wrote: I paid $500 for my PS3 and if I decide I want to use it to play pong then I'm gonna play some motherfuckin pong. Understand?
MaX_SLayeR
 
Posts: 321
Joined: Sat Oct 02, 2010 12:20 am
Location: California

Re: PS3 packages and how it leads to PSP signing

Postby wololo » Tue Jan 04, 2011 3:40 am

MaX_SLayeR: I think I already have the tools I need... unless I can find a decompiler somewhere.
Regarding contacting other devs... well I think in the scene it's all a matter of trust. I know I can freely ask questions here because we know each other, but as far as the PS3 is concerned, I'm a nobody. I don't think anybody in the PS3 scene will answer my questions if I don't have something to show. At least that's how it works on the PSP side... people who don't already have 90% of the answers won't get a reply to their question (the principle being: 90% of your questions can be answered by google and a bit of personal research, so show us that you did your homework...)

JJS wrote:Shouldn't the IBM Cell SDK contain a version of objdump that can deal with all aspects of the Cell processor?


jigsaw wrote:
hmmm, so now I guess that from this ELF, I need to start decompiling stuff... any existing tool for that?


Standard ELF, isn't it? Does objdump work?


Ok, thanks guys, will have a look.

m0skit0 wrote:I don't think you need 500$ to disassemble IBM Cell assembly. There should be some disassemblers already available out there. Another option is writing your own disassembler (but I guess this doesn't even interest you :mrgreen: )

Actually, why not... I hate to reinvent the wheel, but it seems to me right now that nothing as convenient as prxtool exists for the PS3 yet. this would be an interesting project.
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: PS3 packages and how it leads to PSP signing

Postby MaX_SLayeR » Tue Jan 04, 2011 4:25 am

Wololo wrote:MaX_SLayeR: I think I already have the tools I need... unless I can find a decompiler somewhere.
Regarding contacting other devs... well I think in the scene it's all a matter of trust. I know I can freely ask questions here because we know each other, but as far as the PS3 is concerned, I'm a nobody. I don't think anybody in the PS3 scene will answer my questions if I don't have something to show. At least that's how it works on the PSP side... people who don't already have 90% of the answers won't get a reply to their question (the principle being: 90% of your questions can be answered by google and a bit of personal research, so show us that you did your homework...)

Ah. Well I suppose the best you can do is use documentation and your experience.

A bit off-topic: any plans on coding homebrew for PS3? Would be cool to see a Wagic port, no doubt you could do it ;)
Hacking & getting homebrew on your 3.55 PS3
sonnyz wrote: I paid $500 for my PS3 and if I decide I want to use it to play pong then I'm gonna play some motherfuckin pong. Understand?
MaX_SLayeR
 
Posts: 321
Joined: Sat Oct 02, 2010 12:20 am
Location: California

Re: PS3 packages and how it leads to PSP signing

Postby coyotebean » Tue Jan 04, 2011 5:23 am

In the release directory, there is a file "emulator_drm.sprx", after decrypt, keys D916xxF0 can be found. In side the decrypted emulator_drm.sprx, there seems to be an encrypted 32bit elf start at offset 0x8000.....
GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x6, PSP 300X x5, PSP Go x4, Wii x1
coyotebean
Guru
 
Posts: 98
Joined: Mon Sep 27, 2010 3:22 pm

Re: PS3 packages and how it leads to PSP signing

Postby Zecoxao » Tue Jan 04, 2011 9:42 am

My sig is original :D
User avatar
Zecoxao
 
Posts: 425
Joined: Mon Sep 27, 2010 7:27 pm

Re: PS3 packages and how it leads to PSP signing

Postby wololo » Tue Jan 04, 2011 9:46 am

Zecoxaco, I really appreciate the help, but if you are not sure about your answer, it's probably not the answer I'm expecting ;)
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: PS3 packages and how it leads to PSP signing

Postby JJS » Tue Jan 04, 2011 9:48 am

I don't know what he is talking about, but I can follow what coyotebean writes above. Three keys are in the outer sprx and there is an embedded sprx (this one obviously: [07:47] < @Mathieulh> they are inside an isolated module which is inside a sprx). So I tried to decrypt that, the iso key seems to kinda work, except that I get an empty output. But decrypt-self shows the file informations, so I guess the key is correct.

Edit: I am trying to figure out why the file is not written out, but for that I have to compile decrypt-self myself (heh). But it looks like I am stuck with compiling libopenssl for an hour or so :roll: .
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: PS3 packages and how it leads to PSP signing

Postby wololo » Tue Jan 04, 2011 10:04 am

JJS wrote:the iso key seems to kinda work, except that I get an empty output. But decrypt-self shows the file informations, so I guess the key is correct.

I think you're doing the same mistake I did. you're running key 3.15 on firmware 3.55, or something similar. Be sure to use the appkey matching the PS3 update you used.
your symptoms are those of an incorrect key.
I can now see the keys coyotebean is talking about in that sprx file (after decryption) (note that self-decrypt also decrypts sprx... I'm probably stating the obvious here but it wasn't obvious to me...)
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests