HaxxStation: DS Download Station exploit



13 years.

The original DS was released in 2004, and to this day, no hax for Download Play had been made.

Until now.

Gericom found an exploit in DS Download Station, allowing us to run any homebrew we'd like over DS download play.

Source code for dspatch: https://github.com/Gericom/dspatch

Enjoy!

Credits:
Exploit: shutterbug2000, Gericom, and Apache Thunder
Graphics: Jaames, Robz8

And if you want to load unsupported flashcarts on a DSi:

Yes.
Here's Apache Thunder's flashcard launchers edited for HaxxStation. @shutterbug2000 should put this in the first post.
https://www.odrive.com/s/23b9f39c-ae15-4c1b-8ff7-64344fa6f2d2-5939fc7f
 

Attachments

  • dspatch.zip
    19.4 KB · Views: 2,275
  • dspatchv1.1.zip
    19.8 KB · Views: 1,717
Last edited by shutterbug2000,

megahunter

Well-Known Member
Newcomer
Joined
Mar 10, 2008
Messages
56
Trophies
0
Age
32
Location
sweden
XP
266
Country
So judging from the video this seems to be something in the style of how you could use the wifi usb connector and linux to send game demos to the ds back in the day or am i way off?
 
  • Like
Reactions: tozevleal

Oleboy555

Well-Known Member
Member
Joined
Feb 8, 2017
Messages
907
Trophies
0
Location
Amsterdam
Website
3ds.guide
XP
2,303
Country
Netherlands
b9ecea11-2f43-42ef-b2ab-bcbdc2d9bdc1.jpg
Its stuck at 0%

does it not support full game roms?
 

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,381
Trophies
2
Age
25
XP
4,685
Country
Netherlands
Nice.
I shall await a writeup on how this works for a thought things were RSA signed and only flashme would bypass it.

Other than chain loading I am not sure what use this will be for most, at least pending some means of launching from a PC, but still very cool to see.
Well, tbh, there is not very much to say about it.

I first researched the firmware and dsi downloader and I found a semi-exploit there regarding the arm9 size. It checks the start and start + size, so you can overflow the second one with a very big value. I first thought we could overwrite memory that way, but that turned out not to be the case because each chunk of data is checked individually too. It however caused a crash during the sha1 calculation which for unknown reasons lead to code execution on dsi and 3ds (in ntr mode of course), but not on dslite. So that was not a good way to do it.

I then checked out the download station. By disassembling I found out barely any checks are done on load addresses and stuff, allowing to overwrite arbitrary memory. The best thing was that it loaded the arm9 to the right place before doing the rsa stuff, so by changing the arm9 load address to the rsa check function, I could overwrite it with my code that did the actual arm9 loading and jumped over the rsa checks. This yielded a very small payload that could be patched into every rom I'd like to run it though that download station client.

Its stuck at 0%

does it not support full game roms?
No, it does not work. Those games use NitroFS; files on the ds cartridge. This is not possible by simply sending over the rom (would need patches and a special parent on the other ds to send over the data when needed). Besides the ds only has 4 MB of ram, which it uses to execute code too.
Its because of the NDS ram ... its only 8mb of ram!
*4 MB
 
  • Like
Reactions: tozevleal

tozevleal

Probably the last VinsCool lonk clone :P
Member
Joined
Jul 14, 2011
Messages
305
Trophies
1
Location
Somewhere
Website
www.tozeleal.orgfree.pt
XP
1,380
Country
Portugal
Could you send over a GBA ROM dumper that dumps over wifi is there one?

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


Did you try the bootstrap 0.2.0
Thanks for the protip!
I selected the unoficial bootstrap and now it works! (with the bonus Rainbow notification LED ^_^)
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,920
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,784
Country
United States
Only works with small NDS files (like homebrew games like textris, or this grand dad remake )
So if I get a legit demo or game ROM under 8 MB, I can use it with HaxxStation? Cool!

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

Thanks for the protip!
I selected the unoficial bootstrap and now it works! (with the bonus Rainbow notification LED ^_^)
So does it work with TWLoader or not? I'm confused now. :wacko:
 

tozevleal

Probably the last VinsCool lonk clone :P
Member
Joined
Jul 14, 2011
Messages
305
Trophies
1
Location
Somewhere
Website
www.tozeleal.orgfree.pt
XP
1,380
Country
Portugal
So if I get a legit demo or game ROM under 8 MB, I can use it with HaxxStation? Cool!
Its 4Mb (my mistake)
But yeah... probably you can boot any NDS rom with 4mb or less (most of them is homebrew and demos)

Edit: YES IT WORKS! But remember go to the settings menu (on twloader) and set the bootstrap has unofficial
 
  • Like
Reactions: PrincessLillie

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr