Homebrew How does one go about making an exploit?

skullkeeper94

Professional USB Corrupter
OP
Member
Joined
Jun 21, 2016
Messages
390
Trophies
0
XP
1,672
Country
United States
Just curious. I read that the game needs to crash, but Doodlebomb didn't, and that's an exploit. Also, what exactly would I need to do? I randomized a backup of my Pokemon Moon save and it gave a "save data corrupted" message.

Thanks in advance :ha:
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,920
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,783
Country
United States
Just curious. I read that the game needs to crash, but Doodlebomb didn't, and that's an exploit. Also, what exactly would I need to do? I randomized a backup of my Pokemon Moon save and it gave a "save data corrupted" message.

Thanks in advance :ha:
Well, first you need to spot a part of a game/app that is so poorly coded that it can be exploited to load custom code. Then, hope to god that the developer doesn't patch it. The game/app rarely doesn't need to crash, but in most cases, it does.
 
  • Like
Reactions: CaptainSwag101
D

Deleted User

Guest
Just curious. I read that the game needs to crash, but Doodlebomb didn't, and that's an exploit. Also, what exactly would I need to do? I randomized a backup of my Pokemon Moon save and it gave a "save data corrupted" message.

Thanks in advance :ha:
Step 1: Know what you're doing. Personally, I don't know a whole lot about exploit creation, but you should research first.
Step 2: For the love of God, please make sure you have looked deep into the process before posting "My save crashes! I found an exploit"

I know this isn't very helpful, but just make sure you know what you are doing before you even do it.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
Code:
Learn a basic programming language
+ learn a more advanced one (or two)
+ learn how to reverse engineer
+ study 3dsbrew
+ study write ups of previous exploits
+ a few years of real world experience
---------------
= Exploit Wizard

When you've completed every one of these steps come back and help us with Switch exploits.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,030
Country
United States
I think this is one of those cases where:
If you asked the question then you already failed.

Primarily you are trying to use something in an undocumented/unintended way. There is no documentation for something like this. You need to be extremely knowledgeable about how processors/hardware/software function.
 

skullkeeper94

Professional USB Corrupter
OP
Member
Joined
Jun 21, 2016
Messages
390
Trophies
0
XP
1,672
Country
United States
I think this is one of those cases where:
If you asked the question then you already failed.

Primarily you are trying to use something in an undocumented/unintended way. There is no documentation for something like this. You need to be extremely knowledgeable about how processors/hardware/software function.
I haven't tried, I was just curious as to how everyone does it.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,564
Country
Chile
search around the term "return oriented programming". Depending on your desire to learn, it will give you a bottom up (reverse order) of learning from machine to high level development.

edit: and that's because exploits attack compiled code that only a machine (or gifted minds) understand. Games have compiled code embedded (so called rom images when mapped directly), or iso format (through a filesystem layer, or whatever)
 
Last edited by Coto,

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,674
Country
Netherlands
You won't be able to just do it easily. You will have to invest a huge amount of time before you can write you're first exploit.

If you're just interested in how 3DS exploits work you can watch the CCC talks on 3DS hacking.

As for crashes and exploits, no that's not how it works. A crash only very rarely means that it can be exploited. However basically a things that can be exploited if done incorrectly in any way will crash. Doodlebomb would crash if certain parts were even a bit off.
This is because what an exploit in this case essentially means is getting your code to run on the device. This is done by abusing a fault in the code that allows you to redirect the execution of code to your code instead of the game's/apps code. Now if you redirect it to anything else, this is most likely "garbage" and if read as code does some nonsense which will end up crashing the system. This is also where the myth that a crash=exploit comes from I think.
 

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
If you're willing to sink a few years into learning, it might be possible, that being said being that you've had to ask about this, you're already behind the curve so to speak. As was mentioned by others, there's a crazy learning curve, which is why only a handful of people out there release exploits. Quite bluntly, it's not something most people will ever be capable of figuring out.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
    Psionic Roshambo @ Psionic Roshambo: Many TBs of assets and the programming of something like that is going to be tough but I think...