Homebrew Smealum's Ninjhax Writeup

  • Thread starter Thread starter Psi-hate
  • Start date Start date
  • Views Views 6,675
  • Replies Replies 28
  • Likes Likes 2

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,750
Reaction score
1,328
Trophies
2
XP
4,043
Country
United States
Smealum on his twitter recently released his writeup for Ninjhax so I thought it would possibly help or intrigue some people of how it works. Here's his tweet/a link to his blogpost:

Smealum: "you asked for it : here's a full technical writeup of ninjhax's inner workings http://smealum.net/?p=517 ; handle with care"

 
I can hardly think so, considering that it uses a lot of constricted data to even boot up usermode access. Who knows though. It'd probably have to use another exploit or way entirely to run that.
 
Apologies for my severe lack of 3DS knowledge & if this makes no sense at all, but smea mentions that

> The ro system module has access to a number of high-privilege system calls which, among other things, allow it to give regions of memory executable status within its own virtual memory space as well as other processes

and has access to 0x70. Using the same exploit, would it be possible to create a custom CRO to syscall 0x7B for creating ram dumps?

Again, sorry for my limited 3DS knowledge, baby steps :)
 
  • Like
Reactions: Psi-hate
Syscall 0x7B isn't usable easily on the ARM11.

You need to pass it a kernel virtual address while you're typically in user mode. And you need to write your code in a memory region that will be writable in user mode and executable in kernel mode.
 
Now can someone make a new ninjhax with kernel access and all RAM?
You really think he wouldn't have done it already if the exploit used in ninjhax allowed you to?
Its a little bit like saying "now we have the ingredients to a pizza so lets make pie!"
 
While I was reading, I was hopeful that there would be a way to use GPU DMA hack to load a minimal homebrew setup through a webkit exploit, but Smea stated that spider/SKATER's .text is out of range. Hopefully, other people are seeing further than I am.
 
While I was reading, I was hopeful that there would be a way to use GPU DMA hack to load a minimal homebrew setup through a webkit exploit, but Smea stated that spider/SKATER's .text is out of range. Hopefully, other people are seeing further than I am.

you could just do spiderhax => rohax => full code exec under spider
 
  • Like
Reactions: pelago
you could just do spiderhax => rohax => full code exec under spider


Whoa, I wasn't expecting a reply from you. Doing this would give us the same possibilities as Ninjhax, and would cut out the need for a cartridge, no?
 
Whoa, I wasn't expecting a reply from you. Doing this would give us the same possibilities as Ninjhax, and would cut out the need for a cartridge, no?

spider has access to way less RAM, and it would require an internet connection every time you want to run homebrew, so it would be somewhat impractical.
 
  • Like
Reactions: SLiV3R
spider has access to way less RAM, and it would require an internet connection every time you want to run homebrew, so it would be somewhat impractical.

Hmm, I may take a crack at it just for the novelty. It could be used for other things, possibly. Text editors and other trivial stuff.

So, if spider is out of the equation, can you think of any other way?

Edit: Also, you're getting thoroughly trashed by some casuals.
 
Hmm, I may take a crack at it just for the novelty. It could be used for other things, possibly. Text editors and other trivial stuff.

So, if spider is out of the equation, can you think of any other way?

Edit: Also, you're getting thoroughly trashed by some casuals.

well, one nice thing about spider is that it's an applet, so it can run concurrently with an application.

what you could do is essentially the reverse from what ninjhax does, ie takeover an app from spider rather than takeover spider from an app. for instance, have the user run mii plaza or whatever, then return to menu and run spiderhax.

of course this makes the booting process more cumbersome but it would work.
 
  • Like
Reactions: SLiV3R
well, one nice thing about spider is that it's an applet, so it can run concurrently with an application.

what you could do is essentially the reverse from what ninjhax does, ie takeover an app from spider rather than takeover spider from an app. for instance, have the user run mii plaza or whatever, then return to menu and run spiderhax.

of course this makes the booting process more cumbersome but it would work.

My only concern is the POWER. People bend over back for the ability to run 3rd party apps. They paid 40 USD+ for a terrible game just to do that, so I'm sure they wouldn't mind a bit of work to get their prize.
 
well, one nice thing about spider is that it's an applet, so it can run concurrently with an application.

what you could do is essentially the reverse from what ninjhax does, ie takeover an app from spider rather than takeover spider from an app. for instance, have the user run mii plaza or whatever, then return to menu and run spiderhax.

of course this makes the booting process more cumbersome but it would work.

So, Pokéhax?
 
Wait, smealum, on the OFF chance that we are somehow able to obtain kernel access, would that mean we could somehow use a webkit exploit to execute code to install a boot.cia from your SDHC? Example: Putting the .cia on your SDHC, going to a webpage, and clicking a button activator to start the process so we could install the homebrew launcher directly to our 3DS home menu.
 
Wait, smealum, on the OFF chance that we are somehow able to obtain kernel access, would that mean we could somehow use a webkit exploit to execute code to install a boot.cia from your SDHC? Example: Putting the .cia on your SDHC, going to a webpage, and clicking a button activator to start the process so we could install the homebrew launcher directly to our 3DS home menu.

We need the keys before we could do that. (Not the ones we have)
 
We need the keys before we could do that. (Not the ones we have)

5tRFgj1.gif
 

Site & Scene News

Popular threads in this forum