|
|
#181 |
|
Member
![]() Join Date: Jan 2008
Posts: 245
Likes: 27
Liked 127 Times in 72 Posts
Mentioned: 69 Post(s)
Tagged: 0 Thread(s)
|
I got some usefull info. As we know the eboot.bin loads the sprx/self files. For example, EBOOT.BIN from Rage patch, loads patch.self. As i've been told, the patch.self is encrypted with a klicensee key, which is used by EBOOT.BIN when it loads patch.self & decrypts it.
So, our needed key is unique, and in EBOOT.BIN once we decrypt it. We can use the decrypted EBOOT.BIN as source to bruteforce decryption of patch.self. I've made another batch file to try just this, if it works, i'll share it as well. It's using some tools from cygwin to get 16 byte chunks, and feeds them to scetool untill it detects a file exists. (our decrypted patch.self). It's testing with the portal eboot/sprx now to see what happens. |
|
|
|
|
Likes: (2) |
|
|
#182 | |
|
Member
![]() Join Date: Oct 2008
Posts: 183
Likes: 16
Liked 15 Times in 10 Posts
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
|
just one question, are you sure that this klicense is decrypted after you decode a self? |
|
|
|
|
|
|
#183 | |
|
Member
![]() Join Date: Jan 2008
Posts: 245
Likes: 27
Liked 127 Times in 72 Posts
Mentioned: 69 Post(s)
Tagged: 0 Thread(s)
|
I've been told the value for klicensee is inside the decrypted eboot, yes. This is what's running now: http://pastie.org/4402268 (Didn't decrypt anything yet, no key found so far, can take some time to complete!) I'm off for tonight.. need my 8hrs sleep
|
|
|
|
|
|
|
#184 |
|
Member
![]() Join Date: May 2008
Posts: 99
Likes: 0
Liked 5 Times in 5 Posts
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
|
Need help with EBOOT/SFO or just EBOOT tot play the BLES01548 (DiRT 3 Complete Edition).
Who can help me? I can provide the original sfo and eboot from this version of the game so i can test it if somebody knows how to fix it. Contact me if you want these files!!! Email: jackson_latino2002 @hotmail .com Peaceout man |
|
|
|
|
|
#185 | |
|
Apprentice
![]() Join Date: Sep 2011
Posts: 16
Likes: 20
Liked 5 Times in 4 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Dirt 3 (not complete EDITION) = BLES01287 and use fw3.60 |
|
|
|
|
|
|
#186 |
|
Member
![]() Join Date: Oct 2008
Posts: 183
Likes: 16
Liked 15 Times in 10 Posts
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
|
@Asure
, thats what I'm talking about :D
I bet that klincense have some common prefix in every self, so its possible to speedup this process, I don't have any game which requeries a self, could you tell me the one you tested? and thanks for your wip sharing
|
|
|
|
|
|
#187 | |
|
Member
![]() Join Date: Jan 2008
Posts: 245
Likes: 27
Liked 127 Times in 72 Posts
Mentioned: 69 Post(s)
Tagged: 0 Thread(s)
|
I started calculating how long things will take. Currently my pc does ~10 key/sec from eboot.elf, and there's ~700000KBytes in the file. I'm shifting one byte at a time, so that's roughly 20 hours we're looking at to try all the possible options. (It can do ~600keys / minute. For a 700KB file, shifting one byte at a time, that's 700.000/600=roughly 20 hours) There must be better ways. Perhaps once we get a few decrypted samples. I'm testing with a SPRX and ELF (portal2) now, since the eboot.elf is only ~700kb. You can do the math for the 33MB elf/self combination for Rage if you want
|
|
|
|
|
|
|
#188 | |
![]() ![]() Join Date: Mar 2012
Posts: 9,286
Likes: 6,506
Liked 4,043 Times in 2,627 Posts
Mentioned: 1006 Post(s)
Tagged: 0 Thread(s)
|
What are you saying: they keys used on portal 2 are different, or the method of patching those pesky self/sprx's is different?
__________________
|
|
|
|
|
|
|
#189 | |
|
Member
![]() Join Date: Jan 2008
Posts: 245
Likes: 27
Liked 127 Times in 72 Posts
Mentioned: 69 Post(s)
Tagged: 0 Thread(s)
|
This klicensee key is used to decrypt sprx/self's that this eboot loads dynamically. Which means, we need a lot of time. 20 hours for 700KB eboot. That means 3300/700 = 4.7*20= 94 hours to brute force the self for Rage. Once the key is correct, the header of the self/sprx will be decodable, and scetool will decrypt it into the current folder. Look at the pastie code ![]() And once the batch detects it decrypted (file exists) it will stop. Just takes ages. |
|
|
|
|
|
Likes: (1) |
|
|
#190 | |
|
Apprentice
![]() Join Date: Aug 2012
Posts: 26
Likes: 1
Liked 2 Times in 2 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
|
Im also trying your pastie bat to see what will happen. I get the following error . od does not recognised, it think this is a typo and must be do, but it will still not work. Maybe something wrong with the quotes ? |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|