Fail on my end, I meant that there are many ELF PSP executables that are user signed. Unfortunately, I only recall those with a disc0 API encryption.Wololo wrote:You're implying that this won't be so easy to patch for Sony?Davee wrote:There are many PSP executables that are user signed. Typically with a ~PSP header though.
PS3 packages and how it leads to PSP signing
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Forum rule Nº 15 is strictly enforced in this subforum.
Re: PS3 packages and how it leads to PSP signing
Advertising
Follow me on twitter: @DaveeFTW
-
coyotebean
- Guru
- Posts: 96
- Joined: Mon Sep 27, 2010 3:22 pm
Re: PS3 packages and how it leads to PSP signing
Also, IIRC, pspbtcnfXXX.bin contains the bytes from 0x150-0x15F to validate the file being load.kgsws wrote:Of course. I was trying it on 01g, but i had to reflash FW many times.
I guess it has to be GZipped (or another compression), but i don't know how to GZip it for PSP kernel.
EDIT: just chcked, it is 0x140-014F, not 0x150-0x15F. So nothing to worry.
Advertising
GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x6, PSP 300X x5, PSP Go x4, Wii x1
Re: PS3 packages and how it leads to PSP signing
I guess it's possible to sign TN HEN since it's just another user mode homebrew, although vsh exploit and kernel exploit are used.
Actually it starts up and prints log - just one line "start...". But then it fails in different ways, either shutdown or freeze PSP.
Obviously sceUtilityHtmlViewerInitStart and sceKernelDelayThread are executed, but then search for string sceVshHV breaks sth. Looks to be caused by illegal access to some address?
So the question is: will encryption modify the memory layout of prx?
EDITED: I applied -mno-gpopt in my makefile so I think it's not relocation type related.
Actually it starts up and prints log - just one line "start...". But then it fails in different ways, either shutdown or freeze PSP.
Obviously sceUtilityHtmlViewerInitStart and sceKernelDelayThread are executed, but then search for string sceVshHV breaks sth. Looks to be caused by illegal access to some address?
So the question is: will encryption modify the memory layout of prx?
EDITED: I applied -mno-gpopt in my makefile so I think it's not relocation type related.
Re: PS3 packages and how it leads to PSP signing
I think it kills its self with a 1MB memory set, looking at the reverses around the net.
Last edited by bbtgp on Thu Jan 20, 2011 12:24 am, edited 2 times in total.
Re: PS3 packages and how it leads to PSP signing
Thanks for reply. I don't quite get it - where is the 1MB memory set? I think I'm the only source of "reverses around the net" - http://code.google.com/p/hen/bbtgp wrote:I think it kills its self with a 1MB memory set, looking at the reverses around the net.
Re: PS3 packages and how it leads to PSP signing
Sorry, i didn't see your post before i edited..... The kernel loads them around 0x08804000, HBL is much higher in memory.
EDIT: from that link its on line 215. There's also another reverse here viewtopic.php?p=11128#p11128
EDIT: from that link its on line 215. There's also another reverse here viewtopic.php?p=11128#p11128
Re: PS3 packages and how it leads to PSP signing
Just to confirm, you can still "sign" things for 6.37
---
PGP Fingerprint: DF46 8C79 5D1A 76FF 75B2 C345 4679 EDEF 1B5B B192
Public Key: https://pgp.mit.edu/pks/lookup?op=get&search=0x1B5BB192
Proof: https://keybase.io/mathieulh
PGP Fingerprint: DF46 8C79 5D1A 76FF 75B2 C345 4679 EDEF 1B5B B192
Public Key: https://pgp.mit.edu/pks/lookup?op=get&search=0x1B5BB192
Proof: https://keybase.io/mathieulh
Re: PS3 packages and how it leads to PSP signing
About signed TN HEN: maybe kernel refuses to resolve some imports, like VSH's, since it's not running from VSH mode? This doesn't happen on HBL since it's HBL who resolves the imports.
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
Re: PS3 packages and how it leads to PSP signing
I can confirm what bbtgp writes above, the TN HEN loader simply overwrites itself with zeros because it assumes to be loaded to 0x08900000 by HBL whereas it is really loaded to 0x08804000 by the firmware. Besides, wouldn't it be better to discuss the HEN in its own topic?
Edit: Corrected the address.
Edit: Corrected the address.
Re: PS3 packages and how it leads to PSP signing
Such careless programming...JJS wrote:the TN HEN loader simply overwrites itself with zeros because it assumes to be loaded to 0x08900000 by HBL whereas it is really loaded to 0x08840000 by the firmware
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
