Hacking Using custom launcher.dat with Gateway Go

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,615
Country
Germany
IFile_Write is 0x00168764 on 9.x

Can you make an example?
I tried it as browser rop and as launcher rop, but both are doing nothing else than crashing...
my code: (browser rop)
Code:
08B88400: 0x0010C2FC:
        POP {R0,PC}
        POP(0x001050B3)
08B88408: 0x0019CA34:
        FS_MOUNTSDMC()  //FS_MOUNTSDMC("dmc:")
        POP {R3-R5,PC}
        POP(0x33333333)
        POP(0x44444444)
        POP(0x55555555)
08B88418: 0x001946EB:
        POP {R0-R4,R7,PC}
        POP(0x08F10000)
        POP(0x08B88484)
        POP(0x00000006)
        POP(0x33333333)
        POP(0x44444444)
        POP(0x77777777)
08B88434: 0x0022FE0C:
        IFile_Open() //IFile_Open(0x08F10000, "dmc:/ramdump.bin", 6)
        POP {R4-R7,PC}
        POP(0x44444444)
        POP(0x55555555)
        POP(0x66666666)
        POP(0x77777777)
08B88448: 0x001946EB:
        POP {R0-R4,R7,PC}
        POP(0x08F10000)
        POP(0x08F10020)
        POP(0x00100000)
        POP(0x00300000)
        POP(0x44444444)
        POP(0x77777777)
08B88464: 0x00168764:
        IFile_Write() //IFile_Write(0x08F10000, 0x08F10020, 0x00100000, 0x00300000)
        POP {R4-R9,PC}
        POP(0x44444444)
        POP(0x55555555)
        POP(0x66666666)
        POP(0x77777777)
        POP(0x88888888)
        POP(0x99999999)
08B88480: 0xFFFFFFFF: ???    //Crash browser
08B88484: 0x006D0064: ???    "dmc:/ramdump.bin"
08B88488: 0x003A0063: ???
08B8848C: 0x0072002F: ???
08B88490: 0x006D0061: ???
08B88494: 0x00750064: ???
08B88498: 0x0070006D: ???
08B8849C: 0x0062002E: ???
08B884A0: 0x006E0069: ???

i tried to make the same ram dumper as this 4.x code:
Code:
# file_open(0x270000, "YS:/DUMP.BIN", 6)
r.call(0x1B82AC, [0x279000, Ref("fname"), 6], 5)
# file_write(0x270000, 0x279020, 0x100000, 0x300000)
r.call(0x1B3B54, [0x279000, 0x279020, 0x100000, 0x300000], 9)
 
  • Like
Reactions: Margen67

st4rk

nah
Member
Joined
Feb 11, 2014
Messages
542
Trophies
0
Website
st4rk.net
XP
805
Country
Brazil
I thought it was 0x1B3B54


Well, i am not getting crazy, the address is really 0x311D90
Code:
RAM:00311D90 FS_SDMC_Write                           ; CODE XREF: sub_300C90+14Cp
RAM:00311D90
RAM:00311D90 var_30          = -0x30
RAM:00311D90 var_28          = -0x28
RAM:00311D90 arg_0           =  0
RAM:00311D90
RAM:00311D90                 STMFD           SP!, {R4-R11,LR}
RAM:00311D94                 SUB             SP, SP, #0x14
RAM:00311D98                 MOVS            R4, R3
RAM:00311D9C                 MOV             R5, R0
[code]
 
  • Like
Reactions: Margen67

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,615
Country
Germany
Nope, can't get it to work, no matter what i try the browser just crashes without any file dumped to sd.

What i tried:
- use 9.x gadgets from gateway -> fail
- use 9.x gadgets from smea/sbJFn5r -> fail
- use both -> fail
- use the exact same code as sbJFn5r in his sample, just with 9.x gadgets -> fail

Whatever i'm doing wrong, i don't get it and i'm giving up on this.
 

naxil

Well-Known Member
Member
Joined
Oct 26, 2011
Messages
819
Trophies
1
XP
546
Country
Italy
Exist a program for patch any launcher.dat for gw ds hack... its called hbconv if i remember right... we need some for go exploit
 
  • Like
Reactions: Margen67

krisztian1997

Well-Known Member
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
26
XP
290
Country
Romania
Nope, can't get it to work, no matter what i try the browser just crashes without any file dumped to sd.

What i tried:
- use 9.x gadgets from gateway -> fail
- use 9.x gadgets from smea/sbJFn5r -> fail
- use both -> fail
- use the exact same code as sbJFn5r in his sample, just with 9.x gadgets -> fail

Whatever i'm doing wrong, i don't get it and i'm giving up on this.

How does your ROP code look ? I set up armips to compile some code, but after I encrypt it and put in inside the launcher.dat I just crash back to browser.
Edit: and while using my own encrypter I lost my asm code, gg me.
Edit2: have you noticed that sometimes if you open the system settings after the browser crashes and then exit, the console gets blackscreen and I have to longpress the power button to power off... weird
 

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
28
XP
4,751
Country
United States
"Progress" report: I've injected homebrew code into the 7.x-9.4 portion of the Launcher, and it still gives the same results as 4.2 3ds. On... 9.4!! So, my thought is: figure out how to refresh the screen. and see if it will output to screen. If I get the same results, I would think we "could" run the Homebrew on 9.4, if we could just figure that out... Any ideas?

Edit: Hmm.. Maybe Falo's decrypter/encrypter's "debug" txt files could help us figure out how to refresh? I would look, but I know absolutely nothing about asm, especially arm asm.
 
  • Like
Reactions: amback

tony_2018

Well-Known Member
Member
Joined
Jan 3, 2014
Messages
3,107
Trophies
0
XP
1,002
Country
United States
"Progress" report: I've injected homebrew code into the 7.x-9.4 portion of the Launcher, and it still gives the same results as 4.2 3ds. On... 9.4!! So, my thought is: figure out how to refresh the screen. and see if it will output to screen. If I get the same results, I would think we "could" run the Homebrew on 9.4, if we could just figure that out... Any ideas?

Edit: Hmm.. Maybe Falo's decrypter/encrypter's "debug" txt files could help us figure out how to refresh? I would look, but I know absolutely nothing about asm, especially arm asm.


It seams like you're getting close. You just have to get past that buggie screen to load your menu I guess.
 
General chit-chat
Help Users
    Skelletonike @ Skelletonike: wth happened during lunch break?