[Question] Why is OTP.bin so important ???

Discussion in '3DS - Homebrew Development and Emulators' started by GreaterDog, Aug 5, 2016.

  1. GreaterDog
    OP

    GreaterDog A True Warrior, A Warning 9 Warrior

    Banned
    447
    222
    Nov 12, 2015
    Trying To Hide From Raulpica's Bans
    Kinda forgot the use of it (LOL)
     
  2. Mikemk

    Mikemk GBAtemp Advanced Maniac

    Member
    1,570
    563
    Mar 26, 2015
    United States
    It's basically your master key for your console's encryption. All the other keys are encrypted with it, and one of them can be modified if you have the OTP. Thus particular key is used to determine a random panic address the cpu jumps to on boot failure, and we replace it with one which will jump to a9lh as its random address.

    — Posts automatically merged - Please don't double post! —

    I probably have some details wrong, but the general idea is correct.
     
    GreaterDog likes this.
  3. GreaterDog
    OP

    GreaterDog A True Warrior, A Warning 9 Warrior

    Banned
    447
    222
    Nov 12, 2015
    Trying To Hide From Raulpica's Bans
    thanks you to remind me why i keep my otp.bin inn my mega storage
     
  4. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,966
    3,249
    Nov 18, 2012
    United States
    Las Vegas
    Not quite accurate, the OTP is hashed and the hash is used to determine the key used to decrypt the N3DS keystore (or for o3DS, to encrypt it as it would be if it were an N3DS). The second key is used to decrypt the arm9 kernel in K9L2, and can be corrupted to gain execution in combination with the bootrom FIRM underwrite flaw. On N3DS it is possible to execute a bootstrapped k9lhax by brute forcing the existing second NAND key to gain access to the uncleared OTP hash to secure permanent k9lhax.
     
    NutymcNuty and Psi-hate like this.