Hacking Smea's iosuhax

Kohmei

Well-Known Member
Member
Joined
Feb 17, 2013
Messages
824
Trophies
0
XP
1,039
Country
United States
But we can't even repack NUS packages to install them, so we can't inject the modified fw. Or did I miss something?
If we can decrypt them, it seems like a trival matter to reverse the process? Especially since we know what the output should look like, ie the official update files
 

aracom

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
476
Trophies
0
XP
363
Country
Gambia, The
Sorry for the low-quality shitpost. But may I call you Dad?
Also, I spoke with smealum about how he goes about installing this, and he replied:
"@progranade requires an iosu exploit. some of the patches should give you details on exactly how from there"
I replied asking what the how is, and haven't gotten a responce.
I'm pretty sure they patched IOSU(MCP?) at runtime(with an IOSU-Exploit) to be able to install unsigned titles, and therefore got it to flash a new fw to itself without checks. Would be my guess.
 

punderino

aka Big-PeePee Swinger
Member
Joined
Jan 5, 2016
Messages
1,247
Trophies
0
Age
33
Location
Kansas City, Missouri
Website
www.anus.trade
XP
2,549
Country
United States
I'm pretty sure they patched IOSU(MCP?) at runtime(with an IOSU-Exploit) to be able to install unsigned titles, and therefore got it to flash a new fw to itself without checks. Would be my guess.
Yeah, so we just need to find an exploit for IOSU, and then use a program to backup our NAND, and we should be good to start trying then?
 

EclipseSin

Ignorant Wizard
Member
Joined
Apr 1, 2015
Messages
2,063
Trophies
1
Age
35
Location
221b Baker Street
XP
1,737
Country
United Kingdom
Sure it might be trivial to encrypt the files. Signing them, on the other hand...
You do not need to sign them if IOSU is patched. They are useless without a patch to IOSU(MCP?) anyway because we do not have private keys. Even if we did sign them (which I have). So it's likely going to be like 3DS, work on emulated nand or an MCP loader or some shit.
 

Datalogger

Living the Dream
Member
Joined
Dec 21, 2009
Messages
416
Trophies
1
Location
Maui
XP
712
Country
United States
I'm thinking the next logical check would be to take a clean FW.IMG file, create a clean fw.img.full.bin file from it, edit the patches so all they do is parse the modules but don't modify anything, let it put the FW.IMG back together then test the SHA-1 to see if it's the same as what we started with.

I'm working on this now (on and off) and so far it's very close, but not 100% perfect.
It looks like something is shifting the image by 3 bytes somewhere around offset 0x7975B0 area.
Once this is cleaned up, we should have some good confidence that it is capable of tearing apart then piecing back together a good image.

Edit:
The difference is at offset 0x4975BF, there's a random 0x02 there.

According to my way of looking at it, that puts it at Physical Memory Location 0x24C6002, two bytes into IOS_NET's BSS segment... which makes no sense as BSS should be uninitialized empty space.
 
Last edited by Datalogger,

z0mb3

Member
Newcomer
Joined
Jan 3, 2016
Messages
18
Trophies
0
XP
137
Country
Australia
Interesting would be as well to install/update(/downgrade?) an official OSv10 00050010-1000400A via wupinstaller.
And maybe downgrading below 5.2.0 and use the IOSU bug info from naehrwert can be an option.
 
  • Like
Reactions: forcefield

forcefield

Well-Known Member
Newcomer
Joined
May 6, 2015
Messages
55
Trophies
0
Location
sysnand
XP
98
Country
France
Interesting would be as well to install/update(/downgrade?) an official OSv10 00050010-1000400A via wupinstaller.
And maybe downgrading below 5.2.0 and use the IOSU bug info from naehrwert can be an option.
Downgrading a title to reuse an exploit... Wii Trucha Bug logic, I like it. :yaywii:
 

Kohmei

Well-Known Member
Member
Joined
Feb 17, 2013
Messages
824
Trophies
0
XP
1,039
Country
United States
Interesting would be as well to install/update(/downgrade?) an official OSv10 00050010-1000400A via wupinstaller.
And maybe downgrading below 5.2.0 and use the IOSU bug info from naehrwert can be an option.
Can't downgrade system titles without IOSU
A solution can't require what it's intended to unlock :unsure:

I think the nand hardmod has the greatest potential, is there a pinout somewhere?
 

Lush

Well-Known Member
Member
Joined
Jul 16, 2007
Messages
260
Trophies
0
XP
808
Country
Canada
Part of me is hoping this will be a hard mod. My soldering iron touches every console generation till now.

Actually I've hard modded my o3ds and n3ds...
 

Datalogger

Living the Dream
Member
Joined
Dec 21, 2009
Messages
416
Trophies
1
Location
Maui
XP
712
Country
United States
OK, it looks like SMEA's .py script is failing to keep things Word Aligned properly.
If you extract the elf and run readelf -a, it does great until it gets down to virtual address 0x124C6000, where it stops Word Aligning.

Edit:
I can get it to make an almost perfect copy by rem'ing out two lines in the .PY script:
Code:
      #if not(special):
                      #self.phdrs[i].p_offset = data_offset


When I turn off all patches, it creates a new FW.IMG that is only one byte different than a "Stock" clean FW.IMG

The only difference is that one single 0x02 it does not put at 0x4975BF
(And of course the SHA because of it.)

Not sure what the "If Not (special):" was for, but without it, everything Word Aligns perfectly.


Edit2: =done.
OK, I got it to make a 100% same FW.IMG file by the change above and adding this to the top of the def encrypt
Code:
    def encrypt(self, file, offset):
        key='02'
        key = key.decode('hex');
        file.seek(0x497DC3)
        file.write(key)
(It's 0x4975bf+0x804 byte Header)

The SHA-1 matches the "stock" FW.IMG 100%

Obviously, I'm not a Python Programmer - but hey, it works!
Show me a more simple way to poke an 0x02 at that offset so I can get back to my comfort zone in raw assembly.




.
 
Last edited by Datalogger,

punderino

aka Big-PeePee Swinger
Member
Joined
Jan 5, 2016
Messages
1,247
Trophies
0
Age
33
Location
Kansas City, Missouri
Website
www.anus.trade
XP
2,549
Country
United States
So is this separate from Hykem 's thing, or what?
Hykem had the exploit to be able to run things like what Smealum has made. I think a few other people as well were working on things to have one huge release, but as you can see, it's not happening.
 

Jow Banks

Well-Known Member
Member
Joined
Nov 6, 2015
Messages
178
Trophies
0
XP
219
Country
Netherlands
So is this separate from Hykem 's thing, or what?
Please.
Don't use the "H" word around here - we are all trying to wash that bad memory from our minds.

It's very depressing to think about all of the false promises he made and how that person left the scene under fake pretenses and without leaving behind what he knew.
It's like opening up the largest box under the Christmas tree- just to find out that it's empty. - very sad. :(:(

And he knew a lot - just look at the wiki - but he left without telling us the one thing we all wanted to know. Four letters: I-O-S-U.

Let the new people work in this in peace without this sad - very depressing reminder of what could have been.
 
Last edited by Jow Banks,
  • Like
Reactions: Pachee and Faxic

punderino

aka Big-PeePee Swinger
Member
Joined
Jan 5, 2016
Messages
1,247
Trophies
0
Age
33
Location
Kansas City, Missouri
Website
www.anus.trade
XP
2,549
Country
United States
Please.
Don't use the "H" word around here - we are all trying to wash that bad memory from our minds.

It's very depressing to think about all of the false promises he made and how that person left the scene under fake pretenses and without leaving behind what he knew.
It's like opening up the largest box under the Christmas tree- just to find out that it's empty. - very sad. :(:(

And he knew a lot - just look at the wiki - but he left without telling us the one thing we all wanted to know. Four letters: I-O-S-U.

Let the new people work in this in peace without this sad - very depressing reminder of what could have been.
Just don't make something big out of it, Jow. He knew what he was doing, and the documentation he has made for us is amazing, just look at some of it. He made the mistake of promising and not being able to fulfill his promised, but you still need to see the amount of things he did for us. Even though he isn't here, Marionumber1 is working on IOSU, along with a few other people. Just give it some time, honestly. This modding community is still pretty basic, give it some time for the people to learn how everything works, read into the system, and you'll see development picking up. There's a lot going on behind the scenes, just make sure to not be under appreciating what you've been given.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    Oh God no :ohnoes:
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pineapple is the safe word?
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
    BigOnYa @ BigOnYa: Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog: