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

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
not possible because of memory mapping: you can sure read executable memory but not write into it
you need a rop or a way to be even able to use gspwn
fucking read this
this is a bit "more educated" than most of the things i've seen (like prohax/fateshaxx/this has qrcode pls exploit), but this won't lead to anything
the op doesn't even know what part of the ram is loaded, why, and how
and it's unlikely to be code, too; it could just be sprites, music or something
anyway, this won't lead to an exploit.
 
  • Like
Reactions: zoogie

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
fucking read this
this is a bit "more educated" than most of the things i've seen (like prohax/fateshaxx/this has qrcode pls exploit), but this won't lead to anything
the op doesn't even know what part of the ram is loaded, why, and how
and it's unlikely to be code, too; it could just be sprites, music or something
anyway, this won't lead to an exploit.
If you can edit memory, the only thing you need to know is what the memory *is*. It's very well possible that there's values out there which could be useful. It's also possible that it's just VRAM allocations and not exploitable at all.

Yeah. Shinyquagsire was doing something but I don't think that it is an exploit.
https://twitter.com/ShinyQuagsire/status/745627215006556160
When you can shove random data into a QR and it actually interprets it without crashing, it's probably not exploitable, and that was my point there.
 
Last edited by shinyquagsire23,

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
If you can edit memory, the only thing you need to know is what the memory *is*. It's very well possible that there's values out there which could be useful. It's also possible that it's just VRAM allocations and not exploitable at all.
however, if it's code, isn't code rx mapped ? i'm sure that some values could be edited and overflowed to lead to something, but these would still have to be exploitable
the issue here is that i doubt there is a way to edit that ram using smilebasic
 

Roomsaver

Well-Known Member
Member
Joined
Sep 7, 2015
Messages
951
Trophies
0
Location
garfield kart grand prix
XP
479
Country
United States
however, if it's code, isn't code rx mapped ? i'm sure that some values could be edited and overflowed to lead to something, but these would still have to be exploitable
the issue here is that i doubt there is a way to edit that ram using smilebasic
Can't you edit RAM with NTR? I think I saw some plugin but I forget where.
 

Seedbon

Member
Newcomer
Joined
Jun 24, 2016
Messages
20
Trophies
0
Age
29
XP
68
Country
United States
however, if it's code, isn't code rx mapped ? i'm sure that some values could be edited and overflowed to lead to something, but these would still have to be exploitable
the issue here is that i doubt there is a way to edit that ram using smilebasic
BGGET can be used to get the two bytes at each tile and BGPUT can be used to write a new value.
RAM editors have already been made, but aren't on the SmileBASIC servers for secrecy. One can be downloaded here and injected into your extdata to be used.
I'm doubtful, but that was stated earlier, I do believe.
 

Trinitro21

Well-Known Member
OP
Member
Joined
Oct 14, 2015
Messages
133
Trophies
0
Location
Userland
XP
206
Country
United States
Using NTR Debugger, I found that the accessible memory with this glitch extends from 0x087E8CEC to 0x0CAF8D20 in process 0x29. Does that help in any way?
 
  • Like
Reactions: PF2M
D

Deleted User

Guest
Using NTR Debugger, I found that the accessible memory with this glitch extends from 0x087E8CEC to 0x0CAF8D20 in process 0x29. Does that help in any way?
If you can arbitrarily write on this region, you have to find what are the datas stored there. But that's a pretty big extension.
 
Last edited by ,
  • Like
Reactions: Mrrraou and Seedbon

Trinitro21

Well-Known Member
OP
Member
Joined
Oct 14, 2015
Messages
133
Trophies
0
Location
Userland
XP
206
Country
United States
The only interesting portion that I know of starts at 0x08812FEC. This is where all the functions, variables, labels, and string values seem to be stored, along with any information associated with them, like lengths and what I assume are pointers.
Both pointers and lengths are signed 32-bit integers that don't seem to be checked. Altering pointers or lengths and then using the variables they're associated with in a way that would try to alter the memory in a place where it can't be altered (like calling CLEAR after changing a pointer to 0xFFFFFFFF) crashes the game.
 
D

Deleted User

Guest
The only interesting portion that I know of starts at 0x08812FEC. This is where all the functions, variables, labels, and string values seem to be stored, along with any information associated with them, like lengths and what I assume are pointers.
Both pointers and lengths are signed 32-bit integers that don't seem to be checked. Altering pointers or lengths and then using the variables they're associated with in a way that would try to alter the memory in a place where it can't be altered (like calling CLEAR after changing a pointer to 0xFFFFFFFF) crashes the game.
You could try to edit a pointer and write on the stack.
 

Pokéidiot

Well-Known Member
Member
Joined
Dec 6, 2015
Messages
244
Trophies
0
Location
\n?
XP
209
Country
Brazil
If someone get do discover where PC points to when some basic function is called, the final thing to do is run arbitrary code from there. So we get homebrew launcher (or another thing) along with a fresh keksploit, since we can write in readonly portions of RAM.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,404
Trophies
4
Location
Space
XP
14,057
Country
Norway
If someone get do discover where PC points to when some basic function is called, the final thing to do is run arbitrary code from there. So we get homebrew launcher (or another thing) along with a fresh keksploit, since we can write in readonly portions of RAM.
You can't write to read only portions of RAM without already having a kernel exploit.
I can see this glitch being useful for ROP which could lead to another userland entrypoint, but we won't be able to directly overwrite code with it.
 
  • Like
Reactions: dark_samus3

Swiftloke

Hwaaaa!
Member
Joined
Jan 26, 2015
Messages
1,772
Trophies
1
Location
Nowhere
XP
1,508
Country
United States
The only interesting portion that I know of starts at 0x08812FEC. This is where all the functions, variables, labels, and string values seem to be stored, along with any information associated with them, like lengths and what I assume are pointers.
Both pointers and lengths are signed 32-bit integers that don't seem to be checked. Altering pointers or lengths and then using the variables they're associated with in a way that would try to alter the memory in a place where it can't be altered (like calling CLEAR after changing a pointer to 0xFFFFFFFF) crashes the game.
Oooh! What if we modified the function of some code in our program, then returned to it? But it's read only isn't it...
 

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:
    Catboy back in chat. :ninja:
  • Sonic Angel Knight @ Sonic Angel Knight:
    Don't forget to pet it for good luck
  • K3Nv2 @ K3Nv2:
    That cat bites
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm yes she does
  • Psionic Roshambo @ Psionic Roshambo:
    Float like a butterfly burns when I pee lol
    +1
  • BigOnYa @ BigOnYa:
    So does that mean your date was not good? It burns now?
    +1
  • K3Nv2 @ K3Nv2:
    Got two new stds in one night
    +1
  • BigOnYa @ BigOnYa:
    Giggity
    +1
  • The Catboy @ The Catboy:
    I don't bite! Minus the times when I did bite
  • The Catboy @ The Catboy:
    Like 5 minutes ago
  • K3Nv2 @ K3Nv2:
    Billie needs her lunch
  • K3Nv2 @ K3Nv2:
    Ffs papa brought back the cheeseburger pizza it's like the only decent pie they had since the 80s
  • BigOnYa @ BigOnYa:
    I'm not a fan of papa johns, but that does sound good. We hardly order out pizza, I like making my own, but when we do its donatoes
  • K3Nv2 @ K3Nv2:
    I get them like once every two months anymore
  • K3Nv2 @ K3Nv2:
    Just because it's half a mile from where I live
  • BigOnYa @ BigOnYa:
    Request next time you order, that Shaq deliver it to you
  • K3Nv2 @ K3Nv2:
    I want him to buy me a chain also
  • K3Nv2 @ K3Nv2:
    Open it right next to the one we have
    +1
  • BakerMan @ BakerMan:
    guys should i make a new thread and just count the amount of posts until kyle, luke or leo joins the thread for fun?
  • BakerMan @ BakerMan:
    kyle's fine, just waiting for that wario joke

    luke and leo though, they yap until the thread's enjoyability is about halved
  • K3Nv2 @ K3Nv2:
    Leo is Luke's alterego when he gets hard
  • BigOnYa @ BigOnYa:
    Luke is gone, he got banned. And I'm surprised Leo hasn't yet
  • K3Nv2 @ K3Nv2:
    Subway was actually pretty decent tonight
  • BigOnYa @ BigOnYa:
    Wut you get, a seafood and psi salad sub
  • K3Nv2 @ K3Nv2:
    Psi had my footlong meatball special
    +1
    K3Nv2 @ K3Nv2: Psi had my footlong meatball special +1