Homebrew Is it possible to make a Download Play exploit?

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
I may be talking out of my ass, here, and I probably am, but - what if we were to exploit the stream of data sent *after* the executable rather than the executable itself? I would imagine that's handled differently, no? Sure, there are signature checks on the chunk of game code need to run the downloaded game. But, take Mario Kart for example - after the executable for the game is sent, there's a continuous stream of data sent after that. Racer positions, speeds, synchronization, etc. Could that be potentially tampered with?
You mean like highjacking the communication between the devices as the software is already running? I'm not entirely sure, but I think that data is secured as well. It still travels through an encrypted protocol. Interesting thought anyway.
 

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
Search on Google for nwm_beaconkey and yellows8's beacon data tool. Use monitor mode and capture packets sent. Have fun (that's how smashbroshax was made)
Once you decrypt beacon data you are able to decrypt the packets following those, even if it seems to be a total pain...
 
  • Like
Reactions: Mrrraou

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,032
Country
Vietnam
Oh wait it sends a CXI, not a CIA.

Wait no it's a CIA. That wiki is just hard to read some times.
 
Last edited by Duo8,

JustPingo

Well-Known Member
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
DLP sends a client that does different things depending on the game. Which means it's just a little piece of code that will download stuff from the server later in MK7. A signed piece of code. The CIA sent is that thing, and the maps are downloaded later in an unsigned format. Unless there's a buffer overflow in the game itself, you won't get anything.
 
Last edited by JustPingo,

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
I believe that the DLP-broadcasted cia is just requesting the romfs contents of the server.

Send FBI over DLP and I'll believe you.
You can't send software. That's not what I'm saying at all. What I'm saying is you would create a security flaw that could be exploited from the client itself.
DLP sends a client that does different things depending on the game. Which means it's just a little piece of code that will download stuff from the server later in MK7. A signed piece of code. The CIA sent is that thing, and the maps are downloaded later in an unsigned format. Unless there's a buffer overflow in the game itself, you won't get anything.
This is what I mean. The data sent is unsigned (aside from protocol). If the 'server' or host ds opened a connection there should be enough wiggle room through rom modding to make things unstable.

I can't argue this anymore. It'll either happen or it wont. In the meantime I'm going to explore it myself when I have freetime. This debate has been really useful though.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,032
Country
Vietnam
You can't send software. That's not what I'm saying at all. What I'm saying is you would create a security flaw that could be exploited from the client itself.

This is what I mean. The data sent is unsigned (aside from protocol). If the 'server' or host ds opened a connection there should be enough wiggle room through rom modding to make things unstable.

I can't argue this anymore. It'll either happen or it wont. In the meantime I'm going to explore it myself when I have freetime. This debate has been really useful though.
You did say "send modified CIA".
 

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
You can't send software. That's not what I'm saying at all. What I'm saying is you would create a security flaw that could be exploited from the client itself.

This is what I mean. The data sent is unsigned (aside from protocol). If the 'server' or host ds opened a connection there should be enough wiggle room through rom modding to make things unstable.

I can't argue this anymore. It'll either happen or it wont. In the meantime I'm going to explore it myself when I have freetime. This debate has been really useful though.

If you have an exploit, it would be limited to userland.

And if it requires 2 3DSes, one of which having access to homebrew, (which would almost be a certitude due to technical reasons), then OOThax is just plain better.

If you did find an exploit in the DLP service itself, then it would be a whole different story.
 
Last edited by TuxSH,

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,032
Country
Vietnam
If you have an exploit, it would be limited to userland.

And if it requires 2 3DSes, one of which having access to homebrew, (which would almost be a certitude due to technical reasons), then OOThax is just plain better.

If you did find an exploit in the DLP service itself, then it would be a whole different story.
DLP app. Which is userland.
 

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
DLP app. Which is userland.
DLP app (eur: 0004001000022100) != DLP service (0004013000002802).

The DLP service (system module) has access to AM:U, which is what sysUpdater uses to downgrade (for instance).
 

MasterLel

Cooonfusion of da highest orda
Member
Joined
Mar 14, 2015
Messages
1,244
Trophies
0
Location
France
Website
gbatemp.net
XP
587
Country
France
Just had an idea about downgrading... We can't downgrade (unless we delete the old firmware) because of the system check, right ? So what about customizing a vulnerable firmware (like 9.2) changing its sysver to 10.4 or whatever, it should bypass the check and thus install the firmware, because it is technically newer than the current console firmware

So we would have a 9.2 fimrware exploits with a 10.4 sysver...
 
Last edited by MasterLel,

MasterLel

Cooonfusion of da highest orda
Member
Joined
Mar 14, 2015
Messages
1,244
Trophies
0
Location
France
Website
gbatemp.net
XP
587
Country
France
well if i recall correctly some people here said that they could update through DLP, so we could also downgrade

edit:
If you read my post I detail why it isn't possible, technically all of the pieces are there if we could bypass that one part of the security... Basically it is possible to update through download play (and has been done) but not downgrade
 

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
well if i recall correctly some people here said that they could update through DLP, so we could also downgrade

edit:
You need to have code exec inside the DLP service.
And, well, it's possible to update with DLP because it is implemented so (I mean, if the server is on a higher fw than the client, then it sends the update data to the client).
 

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
Just had an idea about downgrading... We can't downgrade (unless we delete the old firmware) because of the system check, right ? So what about customizing a vulnerable firmware (like 9.2) changing its sysver to 10.4 or whatever, it should bypass the check and thus install the firmware, because it is technically newer than the current console firmware

So we would have a 9.2 fimrware exploits with a 10.4 sysver...
If it's modified it won't be signed properly any more.
 
  • Like
Reactions: Mrrraou and TuxSH

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://youtu.be/2byHyqiZVS8?si=Qr7te3eS9u0xQYDh