Hacking Wii U Hacking & Homebrew Discussion

KungFuzion

Well-Known Member
Member
Joined
Feb 5, 2015
Messages
364
Trophies
0
Age
40
XP
1,165
Country
I'm not up to date on how emuNANDs work, I assume it uses files from an external device and does read/write to it.
Based on how everything works, I'd say emuNAND has an IOSU exploit minimum, not only to access external devices, but also because otherwise I'm not sure how possible it would be to hook all processes up to it.
We'd need to do a lot more research to make it happen regardless.

So, the way it'd probably work is you plug in a big enough hard drive to put the NAND and eMMC data on, "reboot" everything clean which you should be able to do with an IOSU exploit, then redirect all calls to storage to the hard drive.
If they try to ban you, I'm not sure how exactly it works but it seems it's tied to your NNID and stored on the console, same as all other NNID data.

I'm also not sure how exactly the storage key stuff works so I'm not going to go in detail on that because I'm probably wrong.

Here's a little bit of info on the first stage of gateway's payload & take a look at their code http://yifan.lu/2015/01/10/reversing-gateway-ultra-first-stage-part-1/
 

st4rk

nah
Member
Joined
Feb 11, 2014
Messages
542
Trophies
0
Website
st4rk.net
XP
815
Country
Brazil
I'm not up to date on how emuNANDs work, I assume it uses files from an external device and does read/write to it.
Based on how everything works, I'd say emuNAND has an IOSU exploit minimum, not only to access external devices, but also because otherwise I'm not sure how possible it would be to hook all processes up to it.
We'd need to do a lot more research to make it happen regardless.

So, the way it'd probably work is you plug in a big enough hard drive to put the NAND and eMMC data on, "reboot" everything clean which you should be able to do with an IOSU exploit, then redirect all calls to storage to the hard drive.
If they try to ban you, I'm not sure how exactly it works but it seems it's tied to your NNID and stored on the console, same as all other NNID data.

I'm also not sure how exactly the storage key stuff works so I'm not going to go in detail on that because I'm probably wrong.


(redNAND/vNAND) -> Change NAND Read Sector to SDMC Read Sector.
 
  • Like
Reactions: NWPlayer123

keine

Well-Known Member
Member
Joined
Aug 29, 2010
Messages
431
Trophies
1
Website
Visit site
XP
1,475
Country
United States
Did this already get mentioned? Maybe I was using the non latest nuspy.py. Now to take another crack at the ancast image.

subprocess.call(['CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])

to this.

subprocess.call(['../../../CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Did this already get mentioned? Maybe I was using the non latest nuspy.py. Now to take another crack at the ancast image.

subprocess.call(['CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])

to this.

subprocess.call(['../../../CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])

You're supposed to add the folder with NUSD/CDecrypt to the path so that should be unnecessary.
 
  • Like
Reactions: keine

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
What is the -iv for the ancast image? What is the difference between fw.img and kernel.img?
I've tried the magic bytes and the sha1 for the iv.

Initial Value, should be easy enough to understand with a Google Search (not saying you're not doing your homework). fw.img requires the Starbuck Ancast Key (which we don't have) and kernel.img requires the Espresso Ancast Key (which we do). Just decrypt the entire binary with the key and an IV of 0, should work fine.

Also, I got bored and did a thing. It isn't finished yet but it at the very least reads files correctly. Now to get saving working. It even has a GUI :P
PyMSBT v0.1 Source Code
PyMSBT v0.1 32-Bit EXE
 

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Trophies
0
XP
664
Country
United States
I see ASCII! It worked! Thanks for the pointer.
openssl still throws a bad decrypt at me.....but it appears to have at least partially worked.

what is the error?

Initial Value, should be easy enough to understand with a Google Search (not saying you're not doing your homework).
fw.img requires the Starbuck Ancast Key (which we don't have) and kernel.img requires the Espresso Ancast Key (which we do). Just decrypt the entire binary with the key and an IV of 0, should work fine.

Also, I got bored and did a thing. It isn't finished yet but it at the very least reads files correctly. Now to get saving working. It even has a GUI :P
PyMSBT v0.1 Source Code
PyMSBT v0.1 32-Bit EXE

Do you mean initialization vector?
 

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
Did this already get mentioned? Maybe I was using the non latest nuspy.py. Now to take another crack at the ancast image.

subprocess.call(['CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])

to this.

subprocess.call(['../../../CDecrypt.exe', 'tmd', 'cetk', '../../../ckey.bin'])

It requires the ckey.bin and CDecrypt to be at the root of your NUS download since I wrote it to start from there. It doesn't assume any of the directories are present and will overwrite directories if they are there.
 
  • Like
Reactions: TeamScriptKiddies

keine

Well-Known Member
Member
Joined
Aug 29, 2010
Messages
431
Trophies
1
Website
Visit site
XP
1,475
Country
United States
openssl enc -d -aes-128-cbc -in kernel.img -out kernel_dec.img -K ancast_wii_u_espresso -iv 0
bad decrypt
2675996:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:544:
 

zecoxao

Well-Known Member
Member
Joined
Dec 25, 2013
Messages
379
Trophies
1
Age
33
XP
1,703
Country
i keep seeing this kernel.img mention everywhere, and i have no idea how that concept exists, since when i run wii u nus downloader, the parts don't have a specific name lol
 

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
Onion_Knight, nice idea, but it'd be easier to specify CDecrypt and common key as variables on the program instead of hardcoding them. and thanks for the help :)

I'm almost done implementing the whole program in python which will remove the Cdecrypt requirement and just add it as a flag option at the command line.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Float like a butterfly burns when I pee lol
    +1
  • BigOnYa @ BigOnYa:
    So does that mean your date was not good? It burns now?
    +1
  • K3Nv2 @ K3Nv2:
    Got two new stds in one night
    +1
  • BigOnYa @ BigOnYa:
    Giggity
    +1
  • The Catboy @ The Catboy:
    I don't bite! Minus the times when I did bite
  • The Catboy @ The Catboy:
    Like 5 minutes ago
  • K3Nv2 @ K3Nv2:
    Billie needs her lunch
  • K3Nv2 @ K3Nv2:
    Ffs papa brought back the cheeseburger pizza it's like the only decent pie they had since the 80s
  • BigOnYa @ BigOnYa:
    I'm not a fan of papa johns, but that does sound good. We hardly order out pizza, I like making my own, but when we do its donatoes
  • K3Nv2 @ K3Nv2:
    I get them like once every two months anymore
  • K3Nv2 @ K3Nv2:
    Just because it's half a mile from where I live
  • BigOnYa @ BigOnYa:
    Request next time you order, that Shaq deliver it to you
  • K3Nv2 @ K3Nv2:
    I want him to buy me a chain also
  • K3Nv2 @ K3Nv2:
    Open it right next to the one we have
    +1
  • BakerMan @ BakerMan:
    guys should i make a new thread and just count the amount of posts until kyle, luke or leo joins the thread for fun?
  • BakerMan @ BakerMan:
    kyle's fine, just waiting for that wario joke

    luke and leo though, they yap until the thread's enjoyability is about halved
  • K3Nv2 @ K3Nv2:
    Leo is Luke's alterego when he gets hard
  • BigOnYa @ BigOnYa:
    Luke is gone, he got banned. And I'm surprised Leo hasn't yet
  • K3Nv2 @ K3Nv2:
    Subway was actually pretty decent tonight
  • BigOnYa @ BigOnYa:
    Wut you get, a seafood and psi salad sub
  • K3Nv2 @ K3Nv2:
    Psi had my footlong meatball special
    +1
  • PandaPandel @ PandaPandel:
    i want a meatball sandwich
    now
  • K3Nv2 @ K3Nv2:
    Gay
  • BigOnYa @ BigOnYa:
    Bout time you came out and admitted it
  • K3Nv2 @ K3Nv2:
    Bigonya talks to himself often
    +1
    K3Nv2 @ K3Nv2: Bigonya talks to himself often +1