Homebrew AES key scrambler

perkel

Well-Known Member
Member
Joined
Dec 28, 2015
Messages
240
Trophies
0
Age
37
XP
299
Country
Poland
OTP can't be dumped. Those registers (or whatever they are) are locked down before arm9 even loads. And if I understand correctly, the OTP would be a per-console thing... no?

here:

[URL='http://gbatemp.net/members/reisyukaku.344848/' said:
Reisyukaku[/URL]]
I dumped OTP registers on N3DS, which gave me access to 0x200 bytes of NAND keys , which let me generate all the keys from 0x15, 0x16 and all keyXs for 0x18, 0x19..0x1F so i can decrypt 9.6+. I honestly dont think nintendo would be able to lock us out again. lol
Took me longer than I expected to get this done because my n3ds was acting weird from downgrade. So SciresM was my beta tester
 
  • Like
Reactions: Xenon Hacks

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
OTP can't be dumped. Those registers (or whatever they are) are locked down before arm9 even loads. And if I understand correctly, the OTP would be a per-console thing... no?
OTP for O3DS can be dumped, when your console is <3.0, and have the correct payload for CN/SKY.
However it seems you don't need the whole OTP dumped to get 0x11 keyslot.
That's quite good. Even i don't know about the clues about how that is done. Congrats to him/her.
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,810
Trophies
2
Age
48
Location
Japan
XP
3,717
Country
United States
:huh:
:O
:wtf:

Just... wow...

OTP for O3DS can be dumped, when your console is <3.0, and have the correct payload for CN/SKY.

Wait. He said he did this with an N3DS. No way he downgraded to 3.0. I guess I should just nod and pretend I understand what just happened :P.

Edit: ok... he had someone else help him do it because his N3DS was messing up. My eyes must be crossed.
 
Last edited by urherenow,

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
30
XP
4,687
Country
United States
OTP for O3DS can be dumped, when your console is <3.0, and have the correct payload for CN/SKY.
However it seems you don't need the whole OTP dumped to get 0x11 keyslot.

That's quite good. Even i don't know about the clues about how that is done. Congrats to him/her.
Glad it was Rei and not Wulf who figured it out.
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,810
Trophies
2
Age
48
Location
Japan
XP
3,717
Country
United States
OTP for O3DS can be dumped, when your console is <3.0, and have the correct payload for CN/SKY.
However it seems you don't need the whole OTP dumped to get 0x11 keyslot.

That's quite good. Even i don't know about the clues about how that is done. Congrats to him/her.
Yessiree you can. Read up on it!
A little late on that one... :rolleyes:
 
  • Like
Reactions: Syphurith

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,907
Country
United States
Code:
julians-MacBook-Pro:~ julian$ openssl md2 /Users/julian/Documents/key_slot\ part.bin 
MD5(/Users/julian/Documents/key_slot part.bin)= 97eb0410ed2002a49ba221c0915d3f58
julians-MacBook-Pro:~ julian$ openssl md5 /Users/julian/Documents/key_slot\ part.bin 
MD5(/Users/julian/Documents/key_slot part.bin)= 97eb0410ed2002a49ba221c0915d3f58
julians-MacBook-Pro:~ julian$ openssl mdc2 /Users/julian/Documents/key_slot\ part.bin 
MDC2(/Users/julian/Documents/key_slot part.bin)= 1608e7783962dbac2d7a2803abd5bf71
julians-MacBook-Pro:~ julian$ openssl rmd160 /Users/julian/Documents/key_slot\ part.bin 
RIPEMD160(/Users/julian/Documents/key_slot part.bin)= a09afdd153b3f82889bfe613efd529af68e0159d
julians-MacBook-Pro:~ julian$ openssl sha /Users/julian/Documents/key_slot\ part.bin 
SHA(/Users/julian/Documents/key_slot part.bin)= 2ded8f66bfee9b764fec60516d9d26f3fc6f6537
julians-MacBook-Pro:~ julian$ openssl sha1 /Users/julian/Documents/key_slot\ part.bin 
SHA1(/Users/julian/Documents/key_slot part.bin)= b9cfa84916a930d272250130d67ceb822141177d
julians-MacBook-Pro:~ julian$ shasum -a 224 /Users/julian/Documents/key_slot\ part.bin 
b59ffab75b012ac520a1e065fa069668edd8fb493b1bdf893af1f4d7  /Users/julian/Documents/key_slot part.bin
julians-MacBook-Pro:~ julian$ shasum -a 256 /Users/julian/Documents/key_slot\ part.bin 
82f2730d2c2da3f30165f987fdccac5cbab24b4e5f65c981cd7be6f438e6d9d3  /Users/julian/Documents/key_slot part.bin
julians-MacBook-Pro:~ julian$ shasum -a 384 /Users/julian/Documents/key_slot\ part.bin 
28c0d77a51ac757fcfdbdafeb6021bb7c1993cee6c5e69d9cd7f462550aca4c99964836450e7d7121f86f8475be6b0a2  /Users/julian/Documents/key_slot part.bin
julians-MacBook-Pro:~ julian$ shasum -a 512 /Users/julian/Documents/key_slot\ part.bin 
87d0ab58e794b2d89101de40bee944a205cc48badb24c60e121ba9ac61a4eea68bed2bd2720fc74b5763ecc00b81f054892fb65ca19b0be27cbaeda1c442bd94  /Users/julian/Documents/key_slot part.bin
julians-MacBook-Pro:~ julian$
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Why dump the OTP area when you can use the kernel9 loader hack to dump the content of the SHA_HASH register (which the kernel9 loader does not clear) to attain the same result ?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BigOnYa @ BigOnYa: I'm starting to sound like a Tck Gonna cut myself off.