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
  • Xdqwerty @ Xdqwerty:
    and the morning cuz school
  • Xdqwerty @ Xdqwerty:
    Although tomorrow is Labor Day which means I won't go to class which means I'll sleep well.
  • BakerMan @ BakerMan:
    is labor day different in venezuela than in america, or did time skip that far?
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
    Sicklyboy @ Sicklyboy: I'm not familiar with the technicalities of the differences between the two versions, but I'm...