Hacking Possible Switch Arbitrary R/W Through Web Browser

zurgeg

Member
OP
Newcomer
Joined
Sep 2, 2020
Messages
8
Trophies
0
Age
40
XP
177
Country
United Kingdom
Hello!

I recently decided "I wonder what would happened if I ran a PS4 exploit on my Switch?".

Now, you might be thinking "Well, it would either not work or crash". Well, it did crash, but the kind of crash interested me.

I ran the exploit, and saw 2168-0002 and I thought "Oh, probably some 'go away script kiddie
( ͡° ͜ʖ ͡°)' error" but no.


It was a "Data Abort" error. Now, some of the less technical of you won't know what this is, but it's basically the Switch blocking a read (or write, but read in this case) from RAM.

What does this mean for me, or my patched Switch?
Well, nothing really yet. It is still required to
1. Find the address at which we can write to
2. Find the address that is being executed
3. Manage to obtain root level access and/or more RAM (optional)


tl;dr: This doesn't mean anything yet

EDIT: Turns out, the Nintendo Switch has no kernel bugs according to people much better at this then me. This means that not only does it not mean anything, but it probably never will.
 
Last edited by zurgeg,

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,781
Trophies
1
Location
42*South
XP
4,547
Country
Australia
from switchbrew

'2168-0002 - Userland ARM data abort. Also caused by abnormal process termination via svcExitProcess. Note: directly jumping to nnMain()-retaddr from non-main-thread has the same result.'

It's more than likely already been thought about, in addition pegaswitch uses a web exploit which was patched in later firmware versions
 

zurgeg

Member
OP
Newcomer
Joined
Sep 2, 2020
Messages
8
Trophies
0
Age
40
XP
177
Country
United Kingdom
I definitely think it's been thought about. Although I haven't seen it yet, someone more inclined probably knows how to use something like this.

However I did some more research and there is no set place we can write to. Like I said, someone more inclined can probably use this.
 

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,781
Trophies
1
Location
42*South
XP
4,547
Country
Australia
I definitely think it's been thought about. Although I haven't seen it yet, someone more inclined probably knows how to use something like this.

However I did some more research and there is no set place we can write to. Like I said, someone more inclined can probably use this.

again pegaswitched used a web browser exploit so

*shrug*

only time will tell
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
Hello!

I recently decided "I wonder what would happened if I ran a PS4 exploit on my Switch?".

Now, you might be thinking "Well, it would either not work or crash". Well, it did crash, but the kind of crash interested me.

I ran the exploit, and saw 2168-0002 and I thought "Oh, probably some 'go away script kiddie
( ͡° ͜ʖ ͡°)' error" but no.


It was a "Data Abort" error. Now, some of the less technical of you won't know what this is, but it's basically the Switch blocking a read (or write, but read in this case) from RAM.

What does this mean for me, or my patched Switch?
Well, nothing really yet. It is still required to
1. Find the address at which we can write to
2. Find the address that is being executed
3. Manage to obtain root level access and/or more RAM (optional)


tl;dr: This doesn't mean anything yet
Hi. First, the Switch community and its Scene would be very happy with your participation. I recommend you update yourself on the theme of the Scene.
https://switchbrew.org/wiki/Main_Page

Good luck!
 
  • Like
Reactions: zurgeg

zurgeg

Member
OP
Newcomer
Joined
Sep 2, 2020
Messages
8
Trophies
0
Age
40
XP
177
Country
United Kingdom
Please check the post, I've edited it to include info on how the Switch's kernel has no bugs, and probably never will, I will be watching the switchbrew flaws page though.
 

Aheago

Well-Known Member
Member
Joined
Jan 4, 2021
Messages
505
Trophies
0
Age
33
XP
1,222
Country
United States
Hello!

I recently decided "I wonder what would happened if I ran a PS4 exploit on my Switch?".

Now, you might be thinking "Well, it would either not work or crash". Well, it did crash, but the kind of crash interested me.

I ran the exploit, and saw 2168-0002 and I thought "Oh, probably some 'go away script kiddie
( ͡° ͜ʖ ͡°)' error" but no.


It was a "Data Abort" error. Now, some of the less technical of you won't know what this is, but it's basically the Switch blocking a read (or write, but read in this case) from RAM.

What does this mean for me, or my patched Switch?
Well, nothing really yet. It is still required to
1. Find the address at which we can write to
2. Find the address that is being executed
3. Manage to obtain root level access and/or more RAM (optional)


tl;dr: This doesn't mean anything yet

EDIT: Turns out, the Nintendo Switch has no kernel bugs according to people much better at this then me. This means that not only does it not mean anything, but it probably never will.
I was able to make a connector that allows me to read/write memory from my pc while my switch lite is in use
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,243
Trophies
4
Location
Space
XP
13,793
Country
Norway
Browser exploits are relatively easy to come by, as the Switch's webkit version is quite outdated. But that on its own doesn't get you very far. You need several stages of privilege escalation to eventually get kernel access. But a userland exploit is the first step, so you could say it's the most important one.
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
not even injecting Fake News gives the possibility to Firmware after 4.x.x PegaSwitch / PegaScape. Maybe the one that you find as Downgrade and use it without checking fuses and without using Hekate, it could be used.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,005
Trophies
2
Age
29
Location
New York City
XP
13,369
Country
United States
not even injecting Fake News gives the possibility to Firmware after 4.x.x PegaSwitch / PegaScape. Maybe the one that you find as Downgrade and use it without checking fuses and without using Hekate, it could be used.
To bypass the fuse check, you would need a coldboot exploit because a fuse check is one of the first actions the console performs. So you can't really bypass the fuses with a warmboot exploit like Fake News or PegaSwitch.
 
  • Like
Reactions: Imancol

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
To bypass the fuse check, you would need a coldboot exploit because a fuse check is one of the first actions the console performs. So you can't really bypass the fuses with a warmboot exploit like Fake News or PegaSwitch.
So the verifier is at the hardware level and cannot be rewritten? How about redirecting blown fuses to an external "fuse emulator". Of course this would already require cutting some pins and feeding it to the verifier with false information.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,005
Trophies
2
Age
29
Location
New York City
XP
13,369
Country
United States
So the verifier is at the hardware level and cannot be rewritten? How about redirecting blown fuses to an external "fuse emulator". Of course this would already require cutting some pins and feeding it to the verifier with false information.
If the bootrom wasn't read-only, we would have modified it when the Switch was released. As for what you're suggesting, I don't even know if that is practical let alone possible. You potentially would have to reverse engineer the hardware which I don't think has been accomplished with the Switch and that might not be enough. In terms of a hardmod, it would just be easier to replace the motherboard.
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
If the bootrom wasn't read-only, we would have modified it when the Switch was released. As for what you're suggesting, I don't even know if that is practical let alone possible. You potentially would have to reverse engineer the hardware which I don't think has been accomplished with the Switch and that might not be enough. In terms of a hardmod, it would just be easier to replace the motherboard.
So there is nothing from JTAG, just RGH, from Xecuter.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,852
Trophies
2
XP
28,827
Country
United Kingdom
So the verifier is at the hardware level and cannot be rewritten? How about redirecting blown fuses to an external "fuse emulator". Of course this would already require cutting some pins and feeding it to the verifier with false information.
The fuses are inside the chip with the CPU.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,269
Trophies
2
XP
18,074
Country
Sweden
@zurgeg since you wrote this in February. There been a couple of improvements for a new exploit on the PS4, that exploits the FreeBSD kernel/network part. Guess what the Switch uses?
 

zurgeg

Member
OP
Newcomer
Joined
Sep 2, 2020
Messages
8
Trophies
0
Age
40
XP
177
Country
United Kingdom
Last edited by zurgeg,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: