Homebrew RAM editing glitch on any 3DS, might lead to an exploit?

Roboman

Well-Known Member
Member
Joined
Jan 7, 2016
Messages
313
Trophies
0
Age
28
XP
734
Country
United States
I think we can acess arbitrary ram well outside what.this glitch directly allows. What if you change a variable pointer to ram outside the area 0x087E8CECto 0x0CAF8D20 in process 0x29? Arbitrarily writing any data anywhere in rw data is extremely powerful and I think should almost always be able to lead to rop.
 

Seriel

Doing her best
Member
Joined
Aug 18, 2015
Messages
3,298
Trophies
3
Age
24
Location
UK
XP
5,999
Country
United Kingdom
So, a program used to help people learn code, could be exploited to actually run homebrew code. lol :rofl2:
To be fair this was inevitable, they give you the power to run custom code, you just need to break out of those restrictions.
 

MartinDocNewland

Searching for the truth
Member
Joined
Jul 7, 2012
Messages
594
Trophies
0
XP
491
Country
20160630_193609-640x360.jpg
I have a EUR N3DS on Luma3DS with A9HL on latest firmware running smileBASIC 3.3.1 and it doesn't work. All I get is ok afterwards and that's it

Edit:

Here is a photo
 
Last edited by MartinDocNewland,

Trinitro21

Well-Known Member
OP
Member
Joined
Oct 14, 2015
Messages
133
Trophies
0
Location
Userland
XP
206
Country
United States
I have a EUR N3DS on Luma3DS with A9HL on latest firmware running smileBASIC 3.3.1 and it doesn't work. All I get is ok afterwards and that's it

Edit:

Here is a photo
It did work, but you can't see what it did because you didn't offset the layer.
Try these inputs:
Code:
XSCREEN 2
BGSCREEN 0,134217728,16
BGOFS 0,6400*16,0
That sets the screen up, sets the glitch up, and then shows you an interesting bit. You can try other offsets in the third command if you want to explore.
 
  • Like
Reactions: MartinDocNewland

seijinshu

...
Member
Joined
Jan 6, 2016
Messages
483
Trophies
0
Location
...
XP
248
Country
United States
It did work, but you can't see what it did because you didn't offset the layer.
Try these inputs:
Code:
XSCREEN 2
BGSCREEN 0,134217728,16
BGOFS 0,6400*16,0
That sets the screen up, sets the glitch up, and then shows you an interesting bit. You can try other offsets in the third command if you want to explore.
Definitely look promising.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Even my mum slept on that uremum