Homebrew Downgrading 11.0/11.1 3DSs without DSiWareHax is possible

Salamencizer

Cute Hot Whatever
OP
Member
Joined
Oct 3, 2015
Messages
802
Trophies
0
Age
24
Location
In your heart
Website
gbatemp.net
XP
728
Country
India
Now that waithax is here, a reminder:
If you remember back in 11.0, Nintendo added an anti downgrade patch. When installing a title, the 3ds would check against a hardcoded version list stored in process9, and if the version was too low, it would fail. However, this method was imperfect, and is vulnerable to a type of race condition known as a TOCTTOU, or Time Of Check To Time Of Use. A TOCTTOU is an exploit where the data is changed after the validity of the data is checked, but before the data is used. In short, the way the process should work is:

Application manager is asked to install newer version -> Version is checked against the process9 minimum version list -> Version is higher than minimum version -> Install

or

Application manager is asked to install older version -> Version is checked against the process9 minimum version list -> Version is lower than minimum version -> Abort

The way it can end up working though is:

Application manager is asked to install newer version -> Version is checked against the process9 minimum version list -> Version is higher than the minimum version -> Data is swapped out with older title -> Install older title

This would basically allow us to downgrade NATIVE_FIRM to 10.4 (kind of like a hardmod downgrade) using software only and no secondary 3ds and no DSiWare.

The reason I'm saying we only downgrade NATIVE_FIRM is because of the nature of the exploit. Although it would be perfectly possible to downgrade the entire system, the race condition would need to work for every single title you install, and due to the inherently unreliable nature of race conditions, it would be easier to downgrade NFIRM only and then downgrade normally.

As far as I know, no code has been written for this yet.

What happened in 11.2 was Nintendo prevented this race by doing a second version check. This effectively prevents the race
If Someone manages to combine this vuln and waithax into a new version of sysUpdater, it would first be used to downgrade the NFirm, and then the whole console. BAM.
This will not require any special DSiWare.
Someone start working on this imo
 
Last edited by Salamencizer,

Arubaro

Soulspace Guardian
Member
Joined
Sep 4, 2015
Messages
1,669
Trophies
0
Age
32
XP
586
Country
I'm not sure if this is entirely needed, because once you downgrade your NATIVE_FIRM to the 10.4's one, you can downgrade to 9.2 "just as if you were on 10.4"
using sysDowngrader etc
 
  • Like
Reactions: GilgameshArcher

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,976
Trophies
4
Location
Making a non-binary fuss
XP
39,435
Country
Antarctica

Salamencizer

Cute Hot Whatever
OP
Member
Joined
Oct 3, 2015
Messages
802
Trophies
0
Age
24
Location
In your heart
Website
gbatemp.net
XP
728
Country
India
Last edited by Salamencizer,

Tenshi_Okami

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,490
Trophies
0
Age
25
XP
1,616
Country
Puerto Rico

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,976
Trophies
4
Location
Making a non-binary fuss
XP
39,435
Country
Antarctica
No, it's an overdose of Nintendo's stability™

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

This thread is about how a NFirm downgrade is possible without DSiWareHax
Wait, really?
tumblr_md60lpAnDj1rsyw8g.gif
 
Last edited by The Catboy,

Raugo

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
630
Trophies
0
XP
2,451
Country
Spain
When kids still haven't learned from the early builds of sysdowngrader back in the memechunkhax2 days...

Is not the same case, you can't downgrade the native_firm to 9.2 first because the rest of the system isn't compatible with it but you can downgrade the native_firm to 9.6-10.7 without problem.
 

Somebody Whoisbored

it's all okeydokey
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
I believe that wait/slowhax only gives ARM11 kernel privileges, which would not have the sufficient permissions to install titles (or updates as they are the same thing)
 

maikeh

New Member
Newbie
Joined
Dec 15, 2014
Messages
2
Trophies
0
Age
33
Location
In your house
XP
86
Country
Cote d'Ivoire
And I just bought Rytmik Rock Edition to downgrade 2 3DSes... $1.99 wasted, fuck. (I know it isn't a lot so I shouldn't care about it)

Aside from that, this downgrade method looks interesting. Hope somebody releases this soon.
 
Last edited by maikeh,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
I believe that wait/slowhax only gives ARM11 kernel privileges, which would not have the sufficient permissions to install titles (or updates as they are the same thing)
ARM11 is all we've ever had when downgrading to 9.2 (if we had ARM9 then we could install CFW and A9LH without downgrading).
 
  • Like
Reactions: Mazamin and PRAGMA

N7Kopper

Lest we forget... what Nazi stood for.
Member
Joined
Aug 24, 2014
Messages
977
Trophies
0
Age
30
XP
1,298
Country
United Kingdom
I believe that wait/slowhax only gives ARM11 kernel privileges, which would not have the sufficient permissions to install titles (or updates as they are the same thing)
ARM11 kernel handles all installations after they pass an ARM9 security check. ARM9 actually can't install stuff at all. This is why Decrypt9 can't install a game direct from cartridge.

The problem with 11.0 and up is that ARM9 checks the version information in a way not easily bypassable just by deleting the "old" data before installing the "new". And worse, 11.2 fixed the TOCTTOU. But for 11.2 to fix it means that 11.0 and 11.1 had it, and are therefore vulnerable outside of TWL_FIRM. The only reason that TWL_FIRM is still vulnerable is that FIRMs need to remain unencrypted in order to load, and the essential software that NATIVE_FIRM loads doesn't check for a version above the one that came with 9.6 yet. So don't update all willy-nilly even if you have everything ready. But why would you? Shouldn't you be downgrading if you do?
 
  • Like
Reactions: Salamencizer

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/Hn-gx9VjRt8?t=153