Hacking Overwriting Wii U title specific executable code?

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
With the newest TCP Gecko installer write_kern actually seems to be working. However, not in all ranges. Around 0x0D550000 works fine but if I go up in the executable data section to e.g. 0x0DA50000 and poke something to its same value (!) it still crashes. It seems like the mapping is incomplete. Ideas?
Code:
// Make sure everything has kern I/O
kern_write((void*)KERN_SYSCALL_TBL_1 + (0x34 * 4), KERN_CODE_READ);
kern_write((void*)KERN_SYSCALL_TBL_2 + (0x34 * 4), KERN_CODE_READ);
kern_write((void*)KERN_SYSCALL_TBL_3 + (0x34 * 4), KERN_CODE_READ);
kern_write((void*)KERN_SYSCALL_TBL_4 + (0x34 * 4), KERN_CODE_READ);
kern_write((void*)KERN_SYSCALL_TBL_5 + (0x34 * 4), KERN_CODE_READ);

kern_write((void*)KERN_SYSCALL_TBL_1 + (0x35 * 4), KERN_CODE_WRITE);
kern_write((void*)KERN_SYSCALL_TBL_2 + (0x35 * 4), KERN_CODE_WRITE);
kern_write((void*)KERN_SYSCALL_TBL_3 + (0x35 * 4), KERN_CODE_WRITE);
kern_write((void*)KERN_SYSCALL_TBL_4 + (0x35 * 4), KERN_CODE_WRITE);
kern_write((void*)KERN_SYSCALL_TBL_5 + (0x35 * 4), KERN_CODE_WRITE);
 
Last edited by BullyWiiPlaza,

rendering

Member
Newcomer
Joined
Feb 13, 2016
Messages
11
Trophies
0
XP
84
Country
United States
If you don't mind using old things, you can try the below one, it was made several months ago, base on old pygecko source (web installer) and old kernel (for 532), but after running this tcpgeckoinstaller you can use write_kern write data in game's code area(0x0xxxxxxx-0x10000000)even if 0x0DA50000

tcpgeckoinstaller link
https://www.sendspace.com/file/kfkaup

tcpgeckoclient link
https://www.sendspace.com/file/t0aher
 

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
If you don't mind using old things, you can try the below one, it was made several months ago, base on old pygecko source (web installer) and old kernel (for 532), but after running this tcpgeckoinstaller you can use write_kern write data in game's code area(0x0xxxxxxx-0x10000000)even if 0x0DA50000

tcpgeckoinstaller link
https://www.sendspace.com/file/kfkaup

tcpgeckoclient link
https://www.sendspace.com/file/t0aher
Thanks, I'll try it out. Do you happen to have the source code or know what made the increased write_kern range happen?

EDIT:
Does not work, still crashes
 
Last edited by BullyWiiPlaza,

rendering

Member
Newcomer
Joined
Feb 13, 2016
Messages
11
Trophies
0
XP
84
Country
United States
really?I forgot to say it is for the old kernel exploit (the normal one), for disc /HDD game, if possible , can you try
the tcpgeckoclient above (memory viewer)to poke value to 0x0da50000 instead of using kernel_write
 
Last edited by rendering,

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
really?I forgot to say it is for the old kernel exploit (the normal one), for disc /HDD game, if possible , can you try
the tcpgeckoclient above (memory viewer)to poke value to 0x0da50000 instead of using kernel_write
Why don't you try it before you post and then explain? That would be more useful
 

rendering

Member
Newcomer
Joined
Feb 13, 2016
Messages
11
Trophies
0
XP
84
Country
United States
I have tried it, but mostly test with the tcpgeckoclient,totally forgot some important things with writekern
very sorry, the most important part is:
if 0xAAAAAAAA is in (0x01000000--0x01800000)area or in (0x0D800000--0x10000000)
and if you use writekern
before using tcp.writekern(0xAAAAAAAA,0xYYYYYYYY)

do this first
tcp.readmem(0xAAAAAAAA,4)

then tcp.writekern(0xAAAAAAAA,0xYYYYYYYY)will not crash with this tcpgeckoinstaller,

if 0xAAAAAAAA is not in that area, no need to do this

also, you can
just use tcp.pokemem(0xAAAAAAAA,0xYYYYYYYY) with this tcpgeckoinstaller,, no need to do anything more
 
Last edited by rendering,

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
I have tried it, but mostly test with the tcpgeckoclient,totally forgot some important things with writekern
very sorry, the most important part is:
if 0xAAAAAAAA is in (0x01000000--0x01800000)area or in (0x0D800000--0x10000000)
and if you use writekern
before using tcp.writekern(0xAAAAAAAA,0xYYYYYYYY)

do this first
tcp.readmem(0xAAAAAAAA,4)

then tcp.writekern(0xAAAAAAAA,0xYYYYYYYY)will not crash,

but no need to do this,
just use tcp.pokemem(0xAAAAAAAA,0xYYYYYYYY) with this tcpgeckoinstaller
I need to write to anything in the 01000000 - 10000000 range since that contains the executable code I want to patch...
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Yeah, you'll need to install read/write to all the tables in order to use it in any application, with just the one it only works in system titles e.g. browser and mii maker. You can steal Cafiine's Title ID address it uses to find a specific title to patch
 

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany

rendering

Member
Newcomer
Joined
Feb 13, 2016
Messages
11
Trophies
0
XP
84
Country
United States
I need to write to anything in the 01000000 - 10000000 range since that contains the executable code I want to patch...

this one work for games in all the executable code area you want to patch, it works in 0x01000000-0x01800000 and the 0xXXXXXXXX(different between games)-0x10000000
 
Last edited by rendering,

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States

BullyWiiPlaza

Nintendo Hacking <3
OP
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    ubisoft should #stopkillinggames ngl
  • Badcatalex @ Badcatalex:
    sony should #stopkillinggames
  • Badcatalex @ Badcatalex:
    they killed LittleBigPlanet online, which was the main core of every LBP game
  • BakerMan @ BakerMan:
    for real
  • BakerMan @ BakerMan:
    at least with them, it was because of the DDOS attacks, ubisoft was just scummy
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
    SylverReZ @ SylverReZ: @realtimesave, You seen the Unlock Switch flashcart yet?