Homebrew ARM9Loader -- Technical Details and Discussion

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
1. Exploit ARM9
2. Prepare for the hack
  • Write the testing code to the exception vector
  • Fill FIRM0 with invalid code
  • Write arm9loader v2 to FIRM1
  • Destroy the special NAND sector
3. Reboot
4. The FIRM1 decrypted with the corrupted key causes an exception
5. Testing code will be executed
  • If the LR indicates FIRM0, proceed to the next step.
  • If the LR doesn't indicate FIRM0, modify the special NAND sector and reboot again.
6. Installing code will be executed
  • Relocate the primary payload
  • Write the primary payload to FIRM0 for the next boot
  • Execute the primary payload
7. The primary payload will be executed
  • Load the secondary payload from the rest of FIRM0
  • Execute the secondary payload
8. The secondary payload will be executed
  • Initialize SDMMC
  • Initialize FAT
  • Load the binary
  • Execute it

Hmm, it should work. But isn't it too difficult?
 
Last edited by 173210,

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
Thanks for your tips regarding this. ARM9 access is required for at least generations for keyslot 0x11 related keys.
However i don't know if arm9 access can be reached that easy from ARM11 memchunkhax2 without ntrcardhax.
Once that is done, you may need the original FIRM and keys to perform a firmlaunch and also you may need to relocate the position where FIRM is duing system updates.
There is at least one system version required to get keyslot 0x11 uncleared, and a <10.3 for the actual trick.
BTW, good to see you again, here.

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

My question: isn't homemenuhax enough?
IIRC that is a good user-land exploit. Don't mean you can downgrade or get the kernel access, as Memchunkhax2.

Sorry i'm ill now and may forget some important points. Thus my expression may sounds weird.
Once that is implemented fully on one console you can port that to another, if Key#2 and FIRM is correct.
 
Last edited by Syphurith, , Reason: Orz.

Ekaitz

Redhead Believer
Member
Joined
Jun 13, 2010
Messages
608
Trophies
0
XP
441
Country
France
First arm9Loaderhax gives you pre arm 9 Kernel(on latest firmware). Second it´s boot time is likely instant after boot

In my opinion, its much better

I think the same, it would be a great progress for n3DS.

I don't need a hard mod and arm9loaderhax is great but I won't use it if it requires me to hard mod my n3DS, I'll just keep menuhax.
But anyways, for people who have hard mod, it would be really great.
 

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
arm9loaderhax is actually ARM9 exploit, but it doesn't have keys to decrypt FIRMs, so you CANNOT launch any FIRM with unknown keys, such as 9.6+.
I don't think it has advantage on downgraded 9.2 + homemenuhax + firmlaunchax.
 
Last edited by 173210,

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
arm9loaderhax is actually ARM9 exploit, but it doesn't have keys to decrypt FIRMs, so you CANNOT launch any FIRM with unknown keys, such as 9.6+.
I don't think it has advantage on downgraded 9.2 + homemenuhax + firmlaunchax.
Hi 173210 try contact reisyukaku please, OTP for N3DS has been dumped and some keys were calculated.
Maybe you can learn about how to do that. Good luck to you.
Rei said:
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
And maybe, counting the actual level of that exploit is useless currently since it hasn't be publicly done and described.
 
  • Like
Reactions: [Truth] and 173210

AHP_person

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
364
Trophies
0
XP
518
Country
United States
Hi 173210 try contact reisyukaku please, OTP for N3DS has been dumped and some keys were calculated.
Maybe you can learn about how to do that. Good luck to you.

And maybe, counting the actual level of that exploit is useless currently since it hasn't be publicly done and described.
OTP has been dumped by multiple people on n3ds now. That itself makes arm9loaderhax way easier to pull off (not to mention gives you access to firmlaunching 9.6+). My testing procedure was just to power off the 3ds so it'd be apparent when/if code execution happened. The only downside is the lack of execution space to do much else...
 
  • Like
Reactions: Syphurith and Vappy

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
Hi 173210 try contact reisyukaku please, OTP for N3DS has been dumped and some keys were calculated.
Maybe you can learn about how to do that. Good luck to you.

And maybe, counting the actual level of that exploit is useless currently since it hasn't be publicly done and described.
It's very interesting. Yes, I'll do so.
Anyway, it will allow emuNAND 9.6+, so I think homemenuhax + ARM9 exploit + emuNAND 9.6+ is enough. No need of arm9loaderhax.
 
  • Like
Reactions: Syphurith

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
It's very interesting. Yes, I'll do so.
Anyway, it will allow emuNAND 9.6+, so I think homemenuhax + ARM9 exploit + emuNAND 9.6+ is enough. No need of arm9loaderhax.
And please, try use google to find a spreadsheet named as "3ds aes keys" on docs.google.com. Quite plenty of interesting things, thanks Rei for that.
BTW arm9loaderhax would enable you to use direct SysNAND, once the update procedure is modified correctly, so "no need for EmuNAND".
Still ill myself. Already have a master degree and preparing for leave.
Hope you glory school experience!
 

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
And please, try use google to find a spreadsheet named as "3ds aes keys" on docs.google.com. Quite plenty of interesting things, thanks Rei for that.
I couldn't find anything with '3ds aes keys site:docs.google.com'. How can I find?
BTW arm9loaderhax would enable you to use direct SysNAND, once the update procedure is modified correctly, so "no need for EmuNAND".
Still ill myself. Already have a master degree and preparing for leave.
Hope you glory school experience!
It may be nice or not. homemenuhax and emuNAND is really safe. arm9loaderhax is not worth implementing for me. I have other things to do.
Congratulations on the degree! I'm considering even dropping out my university. LOL
 
  • Like
Reactions: Syphurith and Vappy

Syphurith

Beginner
Member
Joined
Mar 8, 2013
Messages
641
Trophies
0
Location
Xi'an, Shaanxi Province
XP
364
Country
Switzerland
I couldn't find anything with '3ds aes keys site:docs.google.com'. How can I find?
It may be nice or not. homemenuhax and emuNAND is really safe. arm9loaderhax is not worth implementing for me. I have other things to do.
Congratulations on the degree! I'm considering even dropping out my university. LOL
On Rei pastebin: ucqXGq6E. If you can access that. Well you might not need that much if you've learned how to extract those, yup. Yeah EmuNAND is super safe.
 
  • Like
Reactions: 173210

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
Rei told me he keeps the hack secret for the future use. It's a right decision, I think.

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

On Rei pastebin: ucqXGq6E. If you can access that. Well you might not need that much if you've learned how to extract those, yup. Yeah EmuNAND is super safe.
Hmm, so he really did that. Thanks.
 
  • Like
Reactions: Syphurith

Vappy

Well-Known Member
Member
Joined
May 23, 2012
Messages
1,508
Trophies
2
XP
2,613
Country
How was the OTP dumped on n3ds?
N3DS downgraded to 1.0 allegedly.
Rei told me he keeps the hack secret for the future use. It's a right decision, I think.
Once the OTP has been dumped, is there any other use for it?
EDIT: Especially since multiple people have publicly pulled it off, the information isn't exactly a closely guarded secret at this point.
 
Last edited by Vappy,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Damn that's cheap.
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
    Veho @ Veho: Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages...