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

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Is this digital only or is there a physical version of it?
Digital only in JPN and USA regions only.

Better act now if you want to get in on it. It could be pulled before a release. The vuln has already been demonstrated in code.
 

MartinDocNewland

Searching for the truth
Member
Joined
Jul 7, 2012
Messages
594
Trophies
0
XP
491
Country
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.

Sorry was following what was on page 1. Maybe update that?
 

epicmartin7

Well-Known Member
Member
Joined
Aug 5, 2015
Messages
428
Trophies
0
Age
24
XP
1,011
Country
United States
So... from the information presented from this thread and a ROP being found (which means control is possible), does this pretty much mean that SmileBasic is exploitable. If we were to summarize what's going on?
 
  • Like
Reactions: jimmyleen

Pandaxclone2

Pokemon Sprite Artist Hobbyist
Member
Joined
Aug 17, 2015
Messages
1,132
Trophies
0
Location
Earth's Bottle of Death.
XP
2,067
Country
Australia
So... from the information presented from this thread and a ROP being found (which means control is possible), does this pretty much mean that SmileBasic is exploitable. If we were to summarize what's going on?

It's exploitable. "got rop" means they have control.

now lets just hope all this goes unnoticed by the powers that be until something is released

tl;dr yes.
 

Roboman

Well-Known Member
Member
Joined
Jan 7, 2016
Messages
313
Trophies
0
Age
28
XP
726
Country
United States
So... from the information presented from this thread and a ROP being found (which means control is possible), does this pretty much mean that SmileBasic is exploitable. If we were to summarize what's going on?

To summarize:

Smile basic let's you run arbitrary interpreted code in a sandbox. A glitch allows breaking out of the sandbox and directly editing ram. Doing this can allow for rop. Rop is the foundation for all userland exploits.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
The game has a (very) nice service access list

> $hioFIO
> $hostio0
> $hostio1
> cfg:u
> fs:USER
> gsp::Gpu
> hid:USER
> ndm:u
> pxi:dev
> APT:A
> ac:u
> act:u
> am:app
> boss:U
> cam:u
> cecd:u
> dlp:FKCL
> dlp:SRVR
> dsp:: DSP
> frd:u
> http:C
> ir:USER
> ldr:ro
> mic:u
> news:u
> nfc:u
> nim:aoc
> nwm::UDS
> ptm:u
> qtm:u
> soc:U
> ssl:C
> y2r:u
 
Last edited by zoogie,

MartinDocNewland

Searching for the truth
Member
Joined
Jul 7, 2012
Messages
594
Trophies
0
XP
491
Country
This is what I get. Is that right?
20160630_220145-800x450.jpg
 

MartinDocNewland

Searching for the truth
Member
Joined
Jul 7, 2012
Messages
594
Trophies
0
XP
491
Country
Well I would but I'm already running my N3DS on Luma3DS with A9HL with latest system firmware so I don't need to, was just testing it out for me and the people lol
 

slackerSnail

Member
Newcomer
Joined
Jun 30, 2016
Messages
20
Trophies
0
Age
24
XP
54
Country
United States
Excuse my language, but shit hell what have you done
I'm the guy who originally discovered that BGSCREEN can open RAM contents (though I didn't originally discover that the command was bugged, it goes further back than me). The bug was really fickle to work with so I never thought it would go anywhere and we decided to keep it a secret.
Until now, apparently.
The SMILEBASIC community is really small and indie, as is the software. I care about it very much, so I absolutely CANNOT risk that the software get pulled. We need to do some damage control, and fast. I don't know exactly WHAT is going on here, I just got here, so if someone could TLDR me that would be nice.
 

Swiftloke

Hwaaaa!
Member
Joined
Jan 26, 2015
Messages
1,770
Trophies
1
Location
Nowhere
XP
1,478
Country
United States
Excuse my language, but shit hell what have you done
I'm the guy who originally discovered that BGSCREEN can open RAM contents (though I didn't originally discover that the command was bugged, it goes further back than me). The bug was really fickle to work with so I never thought it would go anywhere and we decided to keep it a secret.
Until now, apparently.
The SMILEBASIC community is really small and indie, as is the software. I care about it very much, so I absolutely CANNOT risk that the software get pulled. We need to do some damage control, and fast. I don't know exactly WHAT is going on here, I just got here, so if someone could TLDR me that would be nice.
We already got rop. Sorry man :(
 

epicmartin7

Well-Known Member
Member
Joined
Aug 5, 2015
Messages
428
Trophies
0
Age
24
XP
1,011
Country
United States
Excuse my language, but shit hell what have you done
I'm the guy who originally discovered that BGSCREEN can open RAM contents (though I didn't originally discover that the command was bugged, it goes further back than me). The bug was really fickle to work with so I never thought it would go anywhere and we decided to keep it a secret.
Until now, apparently.
The SMILEBASIC community is really small and indie, as is the software. I care about it very much, so I absolutely CANNOT risk that the software get pulled. We need to do some damage control, and fast. I don't know exactly WHAT is going on here, I just got here, so if someone could TLDR me that would be nice.
Basically, the RAM Contents are being used to modify the RAM in such a way in order to get out of the full sandbox and into userland. The exploit fully works apparently too...

EDIT: Here's a summary:
To summarize:

Smile basic let's you run arbitrary interpreted code in a sandbox. A glitch allows breaking out of the sandbox and directly editing ram. Doing this can allow for rop. Rop is the foundation for all userland exploits.
 
Last edited by epicmartin7,

ArcPh1r3

Well-Known Member
Member
Joined
Feb 20, 2016
Messages
103
Trophies
0
Age
33
XP
98
Country
United States
Excuse my language, but shit hell what have you done
I'm the guy who originally discovered that BGSCREEN can open RAM contents (though I didn't originally discover that the command was bugged, it goes further back than me). The bug was really fickle to work with so I never thought it would go anywhere and we decided to keep it a secret.
Until now, apparently.
The SMILEBASIC community is really small and indie, as is the software. I care about it very much, so I absolutely CANNOT risk that the software get pulled. We need to do some damage control, and fast. I don't know exactly WHAT is going on here, I just got here, so if someone could TLDR me that would be nice.
M-muh damage control!!
Never change, Alex.
Edit: Quick warning guys
unknown.png

He's successfully contacted and talked to Smileboom before so I'm sure he'll get something done about this. If you're gonna exploit this do it quickly.
 
Last edited by ArcPh1r3,

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Excuse my language, but shit hell what have you done
I'm the guy who originally discovered that BGSCREEN can open RAM contents (though I didn't originally discover that the command was bugged, it goes further back than me). The bug was really fickle to work with so I never thought it would go anywhere and we decided to keep it a secret.
Until now, apparently.
The SMILEBASIC community is really small and indie, as is the software. I care about it very much, so I absolutely CANNOT risk that the software get pulled. We need to do some damage control, and fast. I don't know exactly WHAT is going on here, I just got here, so if someone could TLDR me that would be nice.
Sorry, it's a forgone conclusion at this time that hbl for smilebasic is going to be released.
There's already plenty of issues to get it pulled. (editing system RAM in game? wtf)

You honestly should have thought of this before releasing a RAM editor, lol.
 
  • Like
Reactions: Pandaxclone2

slackerSnail

Member
Newcomer
Joined
Jun 30, 2016
Messages
20
Trophies
0
Age
24
XP
54
Country
United States
I'm well aware of the how and why, I just want to know how tobgwt the exploit now tbh
It's too late to stop it so let's ride the train out bois ;)
EDIT: the RAM editing was a bug, we just entirely avoided reporting it for this exact reason

--------------------- MERGED ---------------------------

The actual bug and tools have been floating around for months. Trin just couldn't help himself not to release it.
There also isn't a decent explanation of why the bug seems to trigger here either, which I've determined. On phone though so I really don't want to type

--------------------- MERGED ---------------------------

What I first saud when i came in here didn't go off how I wanted because I was in a rush
I don't want you to drop everything I want you to get this exploit done but as QUICKLY and QUIETLY as possible. If we dilly-dally it's too late. Get this done fam
 
  • Like
Reactions: FenrirWolf

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: It's mostly the ones that are just pictures and no instructions at all