Homebrew How does Homebrew work?

RebelJake17

Well-Known Member
OP
Newcomer
Joined
May 14, 2016
Messages
74
Trophies
0
Age
34
XP
225
Country
United States
Hello, I have a few questions I've been wondering how does it all work? So they developed a userland webkit exploit at first which gives them basic user access right? To contrast this would be like on a Linux terminal or windows machine without administrative privileges? Then they had to elevate their privileges by exploiting a Kernel bug and developing a Kernel exploit? Which then allowed them to use the Homebrew launcher which then could use apps with this elevated privilege to modify the nand and do other cool stuff? If something is wrong or could be added onto I'd appreciate it I'd like to learn more about console explotation and Homebrew.
 

Exnor

Active Member
Newcomer
Joined
Dec 9, 2017
Messages
27
Trophies
0
Age
93
XP
107
Country
Portugal
Hello, I have a few questions I've been wondering how does it all work? So they developed a userland webkit exploit at first which gives them basic user access right? To contrast this would be like on a Linux terminal or windows machine without administrative privileges? Then they had to elevate their privileges by exploiting a Kernel bug and developing a Kernel exploit? Which then allowed them to use the Homebrew launcher which then could use apps with this elevated privilege to modify the nand and do other cool stuff? If something is wrong or could be added onto I'd appreciate it I'd like to learn more about console explotation and Homebrew.

Would also like to know.
 
D

Deleted User

Guest
So they developed a userland webkit exploit at first which gives them basic user access right? To contrast this would be like on a Linux terminal or windows machine without administrative privileges?
Yeah, kind of like that. In userland, you can do anything that a regular game or app can do. In this case, we would be limited to the environment of the web browser. The browser is allowed to access things like the internet, sound, screen and GamePad input. No way to access the SD card, though.

Then they had to elevate their privileges by exploiting a Kernel bug and developing a Kernel exploit? Which then allowed them to use the Homebrew launcher
Yes. Once the kernel has been exploited, it is possible to "hook" into the launcher program, allowing us to run software before a title launches, but within that title's userspace. So we can hook into, for example, Mii Maker's launch process and run code there. Mii Maker is one of four titles that are allowed to access the SD card without additional exploits. And so we can load programs from the SD card (e.g. Homebrew Launcher) and run them in Mii Maker's userspace.

which then could use apps with this elevated privilege to modify the nand and do other cool stuff?
In addition to the PowerPC processor that runs your games, there's also an ARM processor which performs security operations, within its own operating system called IOSU. Once we have the ability to run our own software on the PowerPC, we can exploit IOSU and launch a custom firmware (CFW) on it, which gives us the ability to modify NAND, install unsigned programs, redNAND, and all those other things that IOSU would usually get in the way of.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Beans and Bologna. What gurl wouldn't want to come home to that.
  • K3Nv2 @ K3Nv2:
    Guess my sister had a new baby at this point the doctors are like well see you again in 9 months
  • BigOnYa @ BigOnYa:
    Damn i should of wrapped it that time... hope she has her hubby fooled:P
  • BigOnYa @ BigOnYa:
    Nuh that's cool, you gonna be an again Uncle
  • K3Nv2 @ K3Nv2:
    Screw that family I stay away as much as I can
  • BigOnYa @ BigOnYa:
    Nuh, Fam 4 Life, no ducking that one
  • K3Nv2 @ K3Nv2:
    If you knew mine you'd run
  • BigOnYa @ BigOnYa:
    All fams have issues, mine too. No matter, it's still Fam. (But I know what you mean)
  • Veho @ Veho:
    Fam as in family?
  • BigOnYa @ BigOnYa:
    Yea
  • Veho @ Veho:
    Nah, family is like the initial party in an RPG, they're just a suggestion but you can ditch them once you level up.
    +1
  • BigOnYa @ BigOnYa:
    I love that analogy
  • K3Nv2 @ K3Nv2:
    People are too closed in over the idea of blood is blood I believe people are people and you can choose the ones you want to be around easily
  • BigOnYa @ BigOnYa:
    Ofcourse you can choose, but Family is bond, no matter, you have to go out of your way for family. Golden rule. "You can choose your friends, but unfortunately, you can cannot choose your family"
  • K3Nv2 @ K3Nv2:
    Yeah but no one said you have to talk to them the only difference is sharing a name
    +1
  • K3Nv2 @ K3Nv2:
    Like how kids are born into a family business that may want to do something different and become a complete disappointment to them
    +1
  • BigOnYa @ BigOnYa:
    True. I have cousins on my dad side I've never spoke to. Only knew of them when going to Grandma's funeral. N still don't speak with them (I tried, left my # with them, have invited them to dinner-nothing) That's life
  • K3Nv2 @ K3Nv2:
    Not saying I'd wish any ill will but I don't want their drama
    +1
  • BigOnYa @ BigOnYa:
    My wifey got some stupid sleep abtinovue thingy that makes noise in bedroom and I can't deal with it, Loud AF. She don't care if I'm in bed with her now, so I feel like I'm free again, I can sleep wherever, whenever. I just wondering how long this will last.
  • Veho @ Veho:
    It's like yeah, we have a few genes in common, but then again we have genes in common with a banana.
    +1
  • Veho @ Veho:
    So is your wife single now?
    +1
  • BigOnYa @ BigOnYa:
    Sure, as long as you can deal with a generator sound at night
  • BigOnYa @ BigOnYa:
    And she ain't already at @K3Nv2 house.
  • K3Nv2 @ K3Nv2:
    Pull the plug
  • Veho @ Veho:
    Pull my finger.
    Veho @ Veho: Pull my finger.