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
28
Trophies
0
Age
93
XP
116
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
  • Sicklyboy @ Sicklyboy:
    I use AKG K7XX headphones for daily use, but Meze 99 Classics when I want to *enjoy* the music
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I mean built in sound on mobo's has gotten way better but still XP handled sound better and X-Fi was still better than onboard audio even to this day
  • Psionic Roshambo @ Psionic Roshambo:
    Hell not sure what was going on but for like a few weeks MP3's sounded muffled, some driver or Windows update fixed it. Thank god lol
  • Sicklyboy @ Sicklyboy:
    Oh boy Massdrop has $1100 IEMs. Want, but not at that price lmao. https://drop.com/buy/campfire-audio-andromeda-emerald-sea-iem
  • Sicklyboy @ Sicklyboy:
    I'd sooner buy the Meze 109 Pro if I was dropping that much on headphones. I don't even like buds/IEMs
  • Sicklyboy @ Sicklyboy:
    I got the Google Pixel Pro buds, they're good enough for when I need portable audio. And some really cheap IEMs that Dankpods recommends, I think the KZ ZSN Pro
    +1
  • K3Nv2 @ K3Nv2:
    I'd stick with cheapo Chinese $10 ones quality is actually becoming on pair with name brand since name Brand usually quads the price up anyway loose one bud that's another $200
  • Sicklyboy @ Sicklyboy:
    My Pixel Pro buds shit the bed a month or two ago. My wireless charger (which they do support Qi charging) absolutely COOKED them. Caused some problem that caused the case to heat up to 180F+
  • Sicklyboy @ Sicklyboy:
    They were like 9 months out of warranty but I hit up Google support anyway and told them how hot they were getting and they replaced them with new ones because they wanted these for failure analysis lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol wireless charging
  • K3Nv2 @ K3Nv2:
    Yeah that's why I can't bring myself to even spend $100 on wireless earbuds
  • Psionic Roshambo @ Psionic Roshambo:
    I think it's a cool idea but damn
  • Sicklyboy @ Sicklyboy:
    Apparently the case has a problem with >15W wireless chargers. Google design fault, that one.
  • K3Nv2 @ K3Nv2:
    I could live with wireless charging if the damn standard case doesn't block connection
  • Xdqwerty @ Xdqwerty:
    how is wireless charging possible?
  • K3Nv2 @ K3Nv2:
    Dbz said everyone has raging energy senses
    +1
  • cearp @ cearp:
    you mean generally, how does the concept work?
    +1
  • K3Nv2 @ K3Nv2:
    Copper conducting electricity or something
  • Sicklyboy @ Sicklyboy:
    @Xdqwerty, power through a coil of wire causes an electromagnetic field to be generated. Another coil of wire can be set up to harness the power from that electromagnetic field and turn it into usable energy for charging a device
  • Sicklyboy @ Sicklyboy:
    Two good videos from ElectroBOOM that touch on the subject:

    https://www.youtube.com/watch?v=TQwGjhwPEik

    https://www.youtube.com/watch?v=M2YwkAWg0_g
    +1
  • K3Nv2 @ K3Nv2:
    Elements on earth are actually more powerful than we think
  • Sicklyboy @ Sicklyboy:
    Wow I can't believe I've been watching ElectroBOOM for that long. I remember when that first video came out lol
    Sicklyboy @ Sicklyboy: Wow I can't believe I've been watching ElectroBOOM for that long. I remember when that first...