Hacking [WIP] KARL3DS - Kernel access on N3DS via Ninjhax + Loadcode

Status
Not open for further replies.

pedrobarca

Banned!
Banned
Joined
Jun 17, 2013
Messages
445
Trophies
0
Age
30
XP
195
Country
[...] but it does pretty much cripple nintendo's "ADD MOARR KEYS!" mentality for blocking emunand etc on the n3DS
Just make sure: This hardware hack is not fixable for nintendo, is it? So this means there is no way for nintendo to stop emuNAND for newer firmwares (at least their "we-just-add-new-keys"-method won't work anymore in the future)?
 
  • Like
Reactions: Margen67

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
So our only chance would be to have some haxx to automatically launch itself once the 3DS is totally booted?
only chance would be if there is some major flaw in bootrom, or as motezazer said, if the private signing key is leaked
Just make sure: This hardware hack is not fixable for nintendo, is it? So this means there is no way for nintendo to stop emuNAND for newer firmwares (at least their "we-just-add-new-keys"-method won't work anymore in the future)?
well as im not in any way an expert in this stuff, assuming it does all it sounds to do it wouldn't really be fixable except AP checks etc built into the FW/Games
 

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
Just make sure: This hardware hack is not fixable for nintendo, is it? So this means there is no way for nintendo to stop emuNAND for newer firmwares (at least their "we-just-add-new-keys"-method won't work anymore in the future)?

It can be fixed with newer hardware revisions, but if the keys are dumped, they are dumped : fixing the flaw doesn't affect that.
 
  • Like
Reactions: Margen67

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,750
Trophies
1
XP
3,426
Country
United States
Well looks like KARL3DS has beat GW to N3DS emunand support again. (Though not released.) KARL3DS has found tons of new ways to optimize the 3DS. Still can't wait for this! :P
 
  • Like
Reactions: Margen67

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,446
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,822
Country
United States
Long story short, someone like Gateway only has to do a hardware mod to a n3DS and thus they will always win the cat and mouse game of updating when keys are changed. They can just allow their modified n3DS to update to latest firmware and use the bootrom flaw to dump the new keys. (Assuming it's also NAND modded, they can flash back to a exploitable firmware when done if it's also their test unit) That's from what I understand. For the rest of us, this flaw isn't of much use because it requires hardware modification to execute.

I suppose some kind of mod chip could get released from this for people who want to dump their console unique key. But I can't immediately think of any use that would have. :P

EDIT:

Well one use is for those stuck on newer firmwares. One could exploit this flaw to get access to console unique keys, then take a decrypted image of older firmware and encrypt it to the console using that key.

Downgrade via special modchip anyone? I can see a market for that. :D

This pretty much means the entire 3DS ecosystem as it is now is flawed and can't be fixed. Even if Nintendo releases a hardware revision that fixes the bootrom flaw, there will always be a lot of exploitable consoles and once Gateway gets their hands on this, it's game over. The n3DS just came out, so it's out of the question that Nintendo could release another significant hardware revision that would use an encryption scheme not compatible with the last generation (like a n3DSi or something else crazy like that).
 
  • Like
Reactions: Margen67

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
Long story short, someone like Gateway only has to do a hardware mod to a n3DS and thus they will always win the cat and mouse game of updating when keys are changed. They can just allow their modified n3DS to update to latest firmware and use the bootrom flaw to dump the new keys. (Assuming it's also NAND modded, they can flash back to a exploitable firmware when done if it's also their test unit) That's from what I understand. For the rest of us, this flaw isn't of much use because it requires hardware modification to execute.

I suppose some kind of mod chip could get released from this for people who want to dump their console unique key. But I can't immediately think of any use that would have. :P

EDIT:

Well one use is for those stuck on newer firmwares. One could exploit this flaw to get access to console unique keys, then take a decrypted image of older firmware and encrypt it to the console using that key.

Downgrade via special modchip anyone? I can see a market for that. :D

This pretty much means the entire 3DS ecosystem as it is now is flawed and can't be fixed. Even if Nintendo releases a hardware revision that fixes the bootrom flaw, there will always be a lot of exploitable consoles and once Gateway gets their hands on this, it's game over. The n3DS just came out, so it's out of the question that Nintendo could release another significant hardware revision that would use an encryption scheme not compatible with the last generation (like a n3DSi or something else crazy like that).

I think you forgot a little thing...
You need an ARM9 exploit before to inject your payload.
 
  • Like
Reactions: Margen67

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,446
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,822
Country
United States
I think you forgot a little thing...
You need an ARM9 exploit before to inject your payload.

I assumed the payload was injected via ram mod? Why does one need a Arm9 exploit if the fault injection is done via a hardware mod? I guess that just rules out people on 9.5+ consoles downgrading.

Though firmlaunchhax still works on 9.4. One could still downgrade quite a few n3DSes out on the market now.
 
  • Like
Reactions: Margen67

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
I assumed the payload was injected via ram mod? Why does one need a Arm9 exploit if the fault injection is done via a hardware mod? I guess that just rules out people on 9.5+ consoles downgrading.

Though firmlaunchhax still works on 9.4. One could still downgrade quite a few n3DSes out on the market now.

Yes, and you have a magic ARM11 kernel exploit to make firmlaunchhax working on 9.4... :rolleyes:
The fault injection is done via a hardware mod, but the payload is not magically in ARM9 internal memory : you must copy it prior your hard reboot with an ARM9 exploit.

PS : the hard mod to inject a fault is not a RAM mod...

EDIT : It's not possible to do a RAM mod to a CPU's internal memory.
 
  • Like
Reactions: Margen67

kactusss

Well-Known Member
Member
Joined
Dec 10, 2012
Messages
225
Trophies
0
XP
183
Country
France
Well looks like KARL3DS has beat GW to N3DS emunand support again. (Though not released.) KARL3DS has found tons of new ways to optimize the 3DS. Still can't wait for this! :P


Am I the only one to have see the WulfyStylez post about abandoning the release of Karl3ds ?
I have not seen her in the thread for a long time...

Dazzozo, shinyquagsire23, WulfyStylez, Relys, StapleButter. Nobody has a word to says on what WulfyStylez said about the release ?

Anyway that new exploit is a great news, thanks for your works and your help for the 3DS scene :)
 
  • Like
Reactions: Margen67

proruskii

Member
Newcomer
Joined
May 14, 2015
Messages
15
Trophies
0
Age
42
XP
79
Country
Serbia, Republic of
I know it was done, because some N3DS-only 9.6 titles were decrypted.
And this exploit was discovered more than a year ago!


I think these N3DS-only 9.6 titles were decrypted by using HW NAND swap on softreboot (because no key clear). This is different flaw from bootrom fault glitch.
 
  • Like
Reactions: Margen67

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
I think these N3DS-only 9.6 titles were decrypted by using HW NAND swap on softreboot (because no key clear). This is different flaw from bootrom fault glitch.

If you want, I know that the bootrom was dumped (it was indicated on 3dbrew). Happy?

Anyway, whenever you disable the NAND, it freezes, so NAND swap is impossible...
 

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,750
Trophies
1
XP
3,426
Country
United States
Am I the only one to have see the WulfyStylez post about abandoning the release of Karl3ds ?
I have not seen her in the thread for a long time...

Dazzozo, shinyquagsire23, WulfyStylez, Relys, StapleButter. Nobody has a word to says on what WulfyStylez said about the release ?

Anyway that new exploit is a great news, thanks for your works and your help for the 3DS scene :)
I would like to believe that this is still to be released. Karl is several steps above GW and RXTOOLS in terms of features and knowledge. There's so much that they can't throw away.
 
  • Like
Reactions: Margen67

proruskii

Member
Newcomer
Joined
May 14, 2015
Messages
15
Trophies
0
Age
42
XP
79
Country
Serbia, Republic of
If you want, I know that the bootrom was dumped (it was indicated on 3dbrew). Happy?

Anyway, whenever you disable the NAND, it freezes, so NAND swap is impossible...


1. My friend, 3dbrew says:


The ARM9 bootrom does the following at reset: reset vector branches to another instruction, then branches to bootrom+0x8000. Hence, there's no way to know for certain when exactly the ARM9 exception-vector data stored in memory gets initialized.

If bootrom was dumped, they would know exactly when ARM9 memory get initialized -> this means bootrom is not dumped?

2. I not talking about disable NAND, I talking 2 physical NAND which can be switched by HW mod. Maybe there are other ways to do it, but this is my simple idea
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://gfuel.com/products/goth-gf-collectors-box?utm_source=Klaviyo_campaign&utm_medium=email&ut...