Homebrew The bootroms

P

PaiiNSteven

Guest
I dont have a very expansive knowledge on the 3DS software itself, but ill throw something out here.
Is there a difference between bootrom11 and bootrom9? In other words; if we had access to one of the bootroms, then what could we do?
 

Plailect

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
I have a feeling it would be perfectly feasible to do an attack within the timeframe of SYSPROT9 bit 0x00, but we'd need a good feedback loop.
I propose flashing the MCU firmware, or even completely replacing the chip with a dummy clone, just an I2C bus peripheral that does the bare minimum to initialize the system, and pull the /RESET line on the SoC at the right time.
An RGH-style core slowdown wouldn't work, simply because the SoC doesn't (as far as I know) expose the registers to control CPU clocks with such fine granularity.
As for triggering the exception, three letters: NMI.

(information: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/BABBGBEC.html it's for a different chip, but the behavior should be the same for the most part.)

MCU firmware can be found in the MCU sys-module .rodata, and can be uploaded to the MCU by writing to device 3 i2c register 0x05 for width 0x4003 (where the first 0x3 bytes are magic "jhl")
 
Last edited by Plailect,

Plailect

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
Based on a careful search and analysis by some of us on #Cakey, the (at least old 3DS) MCU appears to be a modified version of the Renesas 78K0/KE2 UPD78F0531AFC-AA1-A.

It is the only 0.5cmx0.5cm BGA 8-bit 64-pin 16kb-ROM MCU that Renesas manufactures. Documentation can be found on that page. It runs a custom ISA (which is why we failed to determine anything from IDA Pro) with opcodes available in the "78K/0 Series for Instructions" manual on the site linked.

There is a metric fuck-ton of information and docs available, including an emulator for the chip.
 
Last edited by Plailect,

Wolfy

Person That Never Was
Member
Joined
Aug 18, 2015
Messages
1,134
Trophies
0
Age
25
Location
Somewhere In The Aether...
XP
3,008
Country
United States
If theory serves right, it runs to the MCU.

I would love to try it, in the interests of science. I don't want to spill my life's story here, but suffice it to say, I don't have the equipment at the moment. I'm trying to find a job, and it's tough.
There's no well-equipped hackerspaces within 70 miles of here (central Long Island), either.
If anyone's local and willing to lend a hand, I can procure a busted 3DS for relatively cheap.

Long Island isn't really a great place for hackers, but hey, we got some Smash tournaments around so its all good :3
 
  • Like
Reactions: WeedZ

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,727
Trophies
2
XP
8,515
Country
Tuvalu
Have you even tried installing it? I have done to over 100 new 3ds systems the past 3 weeks and nothing has ever gone wrong. No bricking what so ever beside the emunand brick you're supposed to cause with 2.1.
100? you have a business doing this or something, if so cool
if not, i'm curious why so many!
 
  • Like
Reactions: Queno138

dankzegriefer

Banned!
Banned
Joined
Aug 19, 2015
Messages
896
Trophies
0
Age
40
XP
560
Country
United States
Only thing the bootrom is useful for (from a users perspective) is the game decryption key, making it possible to load encrypted games in Citra.
Other than that, I dunno, unless some vulnerability is found in there.
You forgot to add "pissing off nintendy". I think we can all agree that is the best benefit.
 

chaosrunner

Substitute Soul Reaper
Banned
Joined
Sep 27, 2015
Messages
711
Trophies
0
Location
Hueco Mundo
XP
473
Country
Canada
Only thing the bootrom is useful for (from a users perspective) is the game decryption key, making it possible to load encrypted games in Citra.
Other than that, I dunno, unless some vulnerability is found in there.
the vulnerabilities are never ending whant to know why? nintendo never stops with them stability updates
 

Aether Lion

GBATemp's Pet Lion
Member
Joined
May 1, 2016
Messages
418
Trophies
0
Age
27
Location
Penisylvania
XP
431
Country
United States
Have you even tried installing it? I have done to over 100 new 3ds systems the past 3 weeks and nothing has ever gone wrong. No bricking what so ever beside the emunand brick you're supposed to cause with 2.1.
What in the freakin' shit has given you access to over 100 New 3DS systems into which you are installing A9LH? xD Also, in just the last 3 weeks? How many overall? Over 9000?
 
Last edited by Aether Lion,

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
the vulnerabilities are never ending whant to know why? nintendo never stops with them stability updates
This is one of the few things that can't be fixed by a System Update, but rather with a whole new hardware revision.
I'm amazed at how they haven't hardened it yet against arm9loaderhax (only the new3DS, I believe the old3DS isn't manufactured anymore)
 
  • Like
Reactions: flow349

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
This is one of the few things that can't be fixed by a System Update, but rather with a whole new hardware revision.
I'm amazed at how they haven't hardened it yet against arm9loaderhax (only the new3DS, I believe the old3DS isn't manufactured anymore)

The O3DS is sill made in the form of the 2DS, but I doubt they'd bother to secure it. If they bother at all it'll probably be the N3DS (XL), of course.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: The Castlevania game was on the PS1 so that's cool +1