Homebrew My Experimentation with the DS Profile Exploit

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
plutooo and lightenup were the first, who managed it. They did it completely without any doc about the NVRAM ROP. They said "we figured it out by staring at the NVRAM payload.". To be honest, we had a doc about all gadgets. The only problem left, was to find a way to dump memory to reverse the Launcher.dat ROP (the doc only described, what the NVRAM ROP-gadgets do).
 
  • Like
Reactions: cearp
D

Deleted User

Guest
i think OP is way over his head and most likely will either end up bricking his own console or bricking other people's consoles
 

fierce waffle

Well-Known Member
OP
Member
Joined
Sep 15, 2012
Messages
108
Trophies
1
XP
216
Country
United States
Snailface
fierce waffle
If you fail already at this part, then i recommend you not to try it. The ROP stuff was really hard. More than 100 times harder than just reading NVRAM. We were very often stuck with our work.
Tip for you: It has something to do with SPI. I recommend you to read docs about the user settings, before you do anything, or you end up with a bricked DS mode! That was the reason, why i tried to dump my NAND first --> to fix the DS mode brick (system formatting fixes it) without losing all my games and saves.

Good luck. You need to do it yourself.

I have to access the firmware flash via the SPI. I have to figure out how to write instructions to the SPI. Here are the instructions that I am looking at to help http://nocash.emubase.de/gbatek.htm#dsfirmwareserialflashmemory
 
  • Like
Reactions: Margen67

Bond697

Dies, died, will die.
Member
Joined
Jun 7, 2009
Messages
350
Trophies
0
Age
39
Location
CT
XP
464
Country
United States
why not just use the gateway installer to insert whatever you want? overwrite their patch with your own. it's writing to the firmware already, might as well take advantage.
 
  • Like
Reactions: Queno138

fierce waffle

Well-Known Member
OP
Member
Joined
Sep 15, 2012
Messages
108
Trophies
1
XP
216
Country
United States
why not just use the gateway installer to insert whatever you want? overwrite their patch with your own. it's writing to the firmware already, might as well take advantage.

That would require the decompilation of their NDS rom which if done successfully and correctly could provide help with discovering ROP gadgets, but gateway uses the ROP gadgets almost as obfuscation as well.
Short answer : nah
 
  • Like
Reactions: Margen67

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
  • Like
Reactions: Margen67

Bond697

Dies, died, will die.
Member
Joined
Jun 7, 2009
Messages
350
Trophies
0
Age
39
Location
CT
XP
464
Country
United States
That would require the decompilation of their NDS rom which if done successfully and correctly could provide help with discovering ROP gadgets, but gateway uses the ROP gadgets almost as obfuscation as well.
Short answer : nah

you have no idea what you're talking about whatsoever, but ok. waste your time. all you have to do is overwrite their rop chain profile patch(es) with your stuff. there are no "rop gadgets" in the ds rom. it's a few arrays of patch bytes.
 
  • Like
Reactions: Queno138

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
you have no idea what you're talking about whatsoever, but ok. waste your time. all you have to do is overwrite their rop chain profile patch(es) with your stuff. there are no "rop gadgets" in the ds rom. it's a few arrays of patch bytes.

hey, maybe he needs to learn and know some stuff, but come on, don't tackle his self esteem ...

i have no idea about if he can or not, but let's motivate people for try!
some days ago i heard someone did extract private keys from gamecube or wii console with tweezers, even if no one believed it was possible
 

fatcat1413

Well-Known Member
Member
Joined
Dec 2, 2013
Messages
118
Trophies
0
Age
30
XP
75
Country
United States
All I will say is if you can actually figure all this stuff out and achieve running homebrew on your 3Ds then props to you dude, I know I wouldn't be able to figure out any of this stuff :wacko:
 
  • Like
Reactions: Margen67

zsakul2

Well-Known Member
Member
Joined
Mar 3, 2008
Messages
159
Trophies
0
XP
195
Country
United States
hey, maybe he needs to learn and know some stuff, but come on, don't tackle his self esteem ...

i have no idea about if he can or not, but let's motivate people for try!
some days ago i heard someone did extract private keys from gamecube or wii console with tweezers, even if no one believed it was possible

You're right, there's absolutely no reason to demotivate someone trying to learn.. Absolutely anyone with the knowledge they have now, started at a similar area of knowledge as waffle, you just have to learn and get better at it.. Why should you demotivate someone that might be able to contribute to the community.. Everyone has to start somewhere, Go at it waffle!

Edit: Also, Waffle check your PMs.
 

Bond697

Dies, died, will die.
Member
Joined
Jun 7, 2009
Messages
350
Trophies
0
Age
39
Location
CT
XP
464
Country
United States
hey, maybe he needs to learn and know some stuff, but come on, don't tackle his self esteem ...

i have no idea about if he can or not, but let's motivate people for try!
some days ago i heard someone did extract private keys from gamecube or wii console with tweezers, even if no one believed it was possible

No, my issue is that what he's saying is untrue. If he had said "well, you know, I don't know ARM and don't want to dig through the ROM to find the arrays(even though it takes literally 20 minutes)" then I would've said nothing back except maybe some encouragement. What he said is completely wrong, and mostly nonsense, either because he doesn't actually know ARM and doesn't want to do the (very minor) work or because he just doesn't know any better. Either way, it's not promising.

And for the OP: you kinda need to know ARM if you're going to exploit an ARM SoC. If you don't, how are you getting anything done on the extremely off chance you manage to get the rop chain working.
 
  • Like
Reactions: migles

Roxas75

Well-Known Member
Member
Joined
Oct 9, 2010
Messages
516
Trophies
0
XP
1,522
Country
Italy
If you really wish to edit their ROP you can just edit their installer, no need to code one on your own.
Also, it's impossible to get forward to this without any ARM knownledge or a bit of experience on manipulating the stack.
But, i encourage you, learning is the best way, i'm quite new to this too.
Just google some documentations about the Return Oriented Programming in ARM structures, it will be useful, really.
Just trying to force something will just demage your console and get you mad, wasting your time.
 

ernilos

Well-Known Member
Member
Joined
Aug 28, 2013
Messages
145
Trophies
0
Location
CAT
XP
280
Country
United States
Doing the exploit installer ( SPI writting, reading and checking) is quite easy with devkitarm llibs, just write 0x6E and correct CRC16.The harder part is ROP payloads, this without any RAM dump it's hard as hell...

PS: If someone gonna try it correct Crc ever or gonna brick DS mode, and you dont have access to your ds flashcard to reflash firm cause is bricked.... Only fix is formatting
 
  • Like
Reactions: cearp

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Nut on the hill