Homebrew safefirmraunchhax - new Arm9 exploit discussion

Does the exploit work for you?


  • Total voters
    48

leerpsp

Well-Known Member
Member
Joined
Feb 22, 2014
Messages
1,742
Trophies
0
Age
33
XP
1,871
Country
United States
  • Like
Reactions: Quantumcat

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,468
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,901
Country
United States
Sighax and ARM9LoaderHax are two different exploits with similar ends.

ARM9LoaderHax uses a secret processor password called the OTP to gain code execution extremely early in the boot process.

Sighax on the other hand, uses cryptography exploits to set up a scenario where it views code we want to execute as properly signed, simply booting it instead of a normal firmware. So we'd gain execution where we'd normally get a firmware, and then boot into the normal firmware.

This is why a Bootmii like solution is fairly likely.


Uhhm...no. OTP is used only once to allow altering the secret sector on NAND that stores the n3DS keys for the arm9 encryption of NATIVE_FIRM. (for o3DS it installs the secret sector since it doesn't exist on o3DS). This allows altering a key in the secret sector keystore to intentionally corrupt decryption of arm9 of NATIVE_FIRM. This results in a controlled jump to a payload elsewhere on NAND because Kernel9Loader (the section of NATIVE_FIRM that handles the decryption process among other things) has a flaw where it doesn't check that the key slot in question is valid. (hence why I among others like to call it Kernel9LoaderHax instead of Arm9Loaderhax since the exploit involves a flaw in Kernel9Loader) OTP is not used after the key is installed. I could go into detail on how the payload in question is created and where it's placed, but that is not necessary in this instance :P

So long story short....OTP isn't directly used as an exploit. It's used only once to gain access to something. After that it serves no further use.
 
Last edited by Apache Thunder,

TheOverseer

Well-Known Member
Newcomer
Joined
Sep 23, 2016
Messages
59
Trophies
0
Age
30
XP
153
Country
United States
Please only test with hardmods or arm9loaderhax for now

...How exactly would one test with ARM9LoaderHax? lol

Like...doesn't it already grant ARM 9 Access? So how would I know if I get ARM 9 Access or not?

--------------------- MERGED ---------------------------

Uhhm...no. OTP is used only once to allow altering the secret sector on NAND that stores the n3DS keys for the arm9 encryption of NATIVE_FIRM. (for o3DS it installs the secret sector since it doesn't exist on o3DS). This allows altering a key in the secret sector keystore to intentionally corrupt decryption of arm9 of NATIVE_FIRM. This results in a controlled jump to a payload elsewhere on NAND. OTP is not used after the key is installed.

So long story short....OTP isn't directly used as an exploit. It's used only once to gain access to something. After that it serves no further use.

I am corrected by someone who knows much more than I do. That being said, the rest of my post has validity. lol. Thank you for the lesson though, I'll describe it more accurately next time.
 
Last edited by TheOverseer,

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,915
Country
United States
I checked out commit one from HEAD.
Here's the result: https://u.nya.is/tsqfxn.zip
I had to run 3dsxtool in lldb for the 3dsx to build e_e
 

dkabot

Better With Others' Systems Than Their Own
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
I checked out commit one from HEAD.
Here's the result: https://u.nya.is/tsqfxn.zip
I had to run 3dsxtool in lldb for the 3dsx to build e_e
Since it looks like this includes waithax, I'll throw an arm9 payload on my card and try it.
I have A9LH, but if I turn off the SVC check patches I should be able to run it, theoretically.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Xdqwerty
    what are you looking at?
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
    K3Nv2 @ K3Nv2: I don't forgive you