PDA

View Full Version : Why Dark_Alex cannot hack the TA88v3



tinman
October 6th, 2008, 02:26
Dark_Alex (http://www.dark-alex.org/forum/viewtopic.php?f=44&t=1194) posed this explaining why.

This is an explanation of the security that was added in TA88v3, and which will be likely in PSP3000.

When the PSP boots, the boot code (aka pre-ipl or ipl loader) loads the ipl from either the nand or memory stick. The IPL is splitted into pieces of 0x1000 bytes.

First 0xA0 bytes of each block is a header for the kirk hardware command 1. It contains keys,
the size of the cipher data, and two hashes, one for part the header itself, and another one for the body. The 0xF60 remaining bytes are the ciphered body, which will decrypt to 0xF60 plain bytes... if the hashes, which are checked by kirk hardware itself, are OK. (Note: ciphered body can actually be less than 0xF60, in this case, remaining bytes are ignored... before TA88v3) Fir

The security of kirk hashes was destroyed by a timing attack, and the IPL became unprotected.
What has Sony added to fix this?

The answer can be found in 4.00+ slim ipl's. They decreased the size of the ciphered body to 0xF40 to leave 0x20 bytes at the end of each block (at offset 0xFE0).
As stated before, these remaining bytes are ignored... in pre-ipl's of psp's prior to TA88v3, and in fact, they can be randomized and ipl will still boot in those psp's. In newest pre-ipl's, these 0x20 bytes have a meaning.

The first 0x10 bytes is an unknown hash calculated from the decrypted block. It is deduced that is calculated from the decrypted block and not the ciphered one due to the fact that 4.01 and 4.05 have a lot of ipl blocks in common, which, when decrypted, are similar, but they are totally different in its encrypted form. In these two ipl's, this hash is same, as seen in the picture:



http://xero1.tinman.googlepages.com/3.png/3-large.png (http://xero1.tinman.googlepages.com/3.png/3-full;init:.png)




The second 0x10 bytes seem also to be dependent of the decrypted body (maybe dependent of the previous 0x10 bytes too?). In the picture it can be seen that they are different in 4.01 and 4.05, but they can actually be interchanged, you can move those 0x10 bytes from the same block in 4.05 ipl to the 4.01 ipl and it will still boot; however it cannot be randomized.

This protection also destroys any possibility of downgrading below 4.00, as these new cpu's won't be able to boot previous firmwares ipl's.

Summary: basically, all security of newest psp cpu's rely on the secrecy of the calculation of those 0x20 bytes. If pre-ipl were dumped somehow, the security would go down TOTALLY.

Graphic summary:




http://xero1.tinman.googlepages.com/20081005-cpus.png/20081005-cpus-large.png (http://xero1.tinman.googlepages.com/20081005-cpus.png/20081005-cpus-full;init:.png)

vitorgatti
October 6th, 2008, 12:40
That's... sad :(
I like homebrews

Sony should at least allow that. Damn you, Sony :)

royvedas
October 6th, 2008, 13:20
That's... sad :(
I like homebrews

Sony should at least allow that. Damn you, Sony :)

And you probably like the ability of playing illgotten isos as well. Like all the rest of us. Amen.

vitorgatti
October 6th, 2008, 13:34
And you probably like the ability of playing illgotten isos as well. Like all the rest of us. Amen.

Kinda. I like and deslikes the option to have as many games as I can download, because this becomes boring after a while.

I really rather buying an original game and finishing it with proud, as downloading a lot of games simultaneously and playing only some parts of each. You really don't enjoy the whole game when you get it easily, and for free. You just play, play and play until you get bored, and that's it. When you buy, the value becomes a lot higher!

But MAN, there are some homebrews that I really can't live without. They are so useful...! Like PSPHUD, PSP File Transfer, PDF Reader, etc etc

NightRaven
October 6th, 2008, 13:53
It says in the title in the thread you linked to..

Why TA88v3 cannot be hacked "yet"

That suggests it hasnt been done but not that it wont ever be. Id imagine it will be at some point or another. :D

vitorgatti
October 6th, 2008, 14:02
Well, somebody has to know a way to dump pre-ipl. Let's wait and see what happens...!

paladinja
October 6th, 2008, 15:08
it's funny how bad news sounds like bad news... even when you don't understand a word of it. I'd love to see the actual math on just how much money software devs are going to loose because most heads won't upgrade past a firmware that will stop them from playing emus etc, so they won't be able to play games requiring the newest firmware.... I bet they loose money in the long run.... well, maybe not.
Thanks allot rampant iso pirates.
Oh well, I won't count DAX out yet.

mcdougall57
October 6th, 2008, 16:51
And you probably like the ability of playing illgotten isos as well. Like all the rest of us. Amen.

Aye but I find I play the games less and less if I have the ability to get them for free because I feel no need to progress if I get stuck as I can just move to another game.

newb_fo_life
October 6th, 2008, 16:59
Oh well,i dont mind,its still only got 64 mb of ram.

O.o

dangee
October 6th, 2008, 18:01
it looks like Sony and their game makers could get a clear run
on the 3000 , at least for a while.

Maybe that's for the best.

But I won't be rushing to trade in my customized phat just yet.

ExcruciationX
October 6th, 2008, 18:34
Meh, PSP's pretty dead anyway.

addman999
October 6th, 2008, 19:30
That sounds bad. I think. First Dark Alex abandons the 1.50 kernel addon now this.
I wish sony would give developers and programmers a chance. If they said they were allowed to do it then sony culd boost sales and even have like competitions every month for best homebrew . it would blow DS out of the water all over the world.

Dark Alex plz dont abandon 1.50 kernel for phat . i love and need it .

jamotto
October 6th, 2008, 19:35
Probably for the best, developers might show more interest in the PSP now.

carlitx
October 6th, 2008, 20:49
yah, it has not been hacked yet. and no code is absolutely perfect, if it was it wouldn't be hacked in the first place. I'm sure DAX or some other hacker will do it some where along the line. Just look at what happened with 2.80 FW.

darkriku2000
October 6th, 2008, 20:58
I'd love to see the actual math on just how much money software devs are going to loose because most heads won't upgrade past a firmware that will stop them from playing emus etc, so they won't be able to play games requiring the newest firmware.... I bet they loose money in the long run....

Yeah, but it's not because of firmware, it's because people will stop buying the newer models

noname1
October 6th, 2008, 21:03
Ehm is it possible with a modchip?
I know you can get a modchip for your psp so is that posible with the new psp and is it possible to hack the psp with a modchip?

mike_jmg
October 7th, 2008, 04:56
Probably for the best, developers might show more interest in the PSP now.

I'm hoping so

E.J.
October 7th, 2008, 17:43
It just means well have to go an try to find exploits again ;)

maxipower90
October 8th, 2008, 00:26
this is a ploy by DA... to get us sad then hes gonna spring into action like chuck norris

andwhyisit
October 8th, 2008, 06:50
And you probably like the ability of playing illgotten isos as well. Like all the rest of us. Amen.
No. **** you pirate!