Homebrew How does one go about making an exploit?

  • Thread starter Thread starter trashfloozy
  • Start date Start date
  • Views Views 1,631
  • Replies Replies 13

trashfloozy

Barely learning
Member
Joined
Jun 21, 2016
Messages
391
Reaction score
98
Trophies
0
XP
1,809
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:
 
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
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.
 
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.
 
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 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.
 
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,
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.
 
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