How does Homebrew work?

Discussion in 'Wii U - Homebrew' started by RebelJake17, Jan 3, 2018.

  1. RebelJake17
    OP

    RebelJake17 Advanced Member

    Newcomer
    64
    3
    May 14, 2016
    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.
     
  2. Exnor

    Exnor Newbie

    Newcomer
    6
    0
    Dec 9, 2017
    United States
    Would also like to know.
     
  3. RebelJake17
    OP

    RebelJake17 Advanced Member

    Newcomer
    64
    3
    May 14, 2016
    United States
    Right to bad I probably won't be getting an awnser
    :(
     
  4. cruplezone

    cruplezone GBAtemp Regular

    Member
    271
    64
    Feb 3, 2014
    Canada
  5. RebelJake17
    OP

    RebelJake17 Advanced Member

    Newcomer
    64
    3
    May 14, 2016
    United States
    Can't make it easy on me huh xD oh well thanks for the video I'll check it out I hope they awnser my questions.
     
  6. cruplezone

    cruplezone GBAtemp Regular

    Member
    271
    64
    Feb 3, 2014
    Canada
    it literally goes over the entire process they used i don't understand what else you could want...
     
  7. RebelJake17
    OP

    RebelJake17 Advanced Member

    Newcomer
    64
    3
    May 14, 2016
    United States
    Just a simple yes or no to what or a yes but this more sense if you say this
     
  8. CreeperMario

    CreeperMario GBAtemp Advanced Fan

    Member
    639
    381
    Jun 18, 2016
    Australia
    Adelaide, South Australia
    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.

    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.

    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.
     
    Exnor, kudofan and RyanAnayaMc like this.