Hacking Using custom launcher.dat with Gateway Go

krisztian1997

Well-Known Member
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania
That's fine, do you have any idea how to do it?

yifan_lu already explained it several times how to do it, but you have to know some assembly and C to do it, also the launcher.dat used by smea is a bit different because its only a smaller part of the big exploit (the kernel exploit part is fixed in >9.2 firmwares).
 

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
I know, I just don't understand how to actually pull it off. If anyone can write an "easy to follow" guide, it would be much appreciated!
 

ChrisRX

Well-Known Member
Member
Joined
Nov 8, 2006
Messages
490
Trophies
0
Website
Visit site
XP
420
Country
"It's pretty easy actually. Compile your ARM11 userland code (make sure it starts with a NOP), encrypt it with the shitty stream cipher described in my first post (along with the original part 2). Find the offset to the encrypted payload for your FW version (diff my annotated ROP payload with the go hax for your FW version, the gadgets are the same) and replace it with part 2 + your custom ARM code. and it will run.

Or what I did was replace two words in the first stage to skip the decryption. Then you don't have to bother encrypting/decrypting each time you make a change."

^^ How EXACTLY would I do this process?

Without trying to sound rude, if those statements you quoted don't make any sense to you then you don't have the knowledge to do this.
There is no "easy to follow" guide until someone smart enough creates the tools to do so.
 
  • Like
Reactions: Zidapi

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
Well, I understand what they're saying, it's just:

1.Where is the payload for a specific firmware(as in, what are the offsets for 4.5, etc.)?

2. How would I encrypt the program with the "stream cipher"?

P.S: No offense taken! :lol:
 

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
Waiitttt... I have an idea here. If someone can just explain the "part 2 + your custom ARM code" part. Is that like, combining it in a hex editor? If so, which would go first?
 

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
Well, it's "Partially" working now. It begins to load, but when the white screen slides in, it freezes, and I have to reset the system. This is farther then before, and if anyone knows what may be going on, please let me know!
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
"It's pretty easy actually. Compile your ARM11 userland code (make sure it starts with a NOP), encrypt it with the shitty stream cipher described in my first post (along with the original part 2). Find the offset to the encrypted payload for your FW version (diff my annotated ROP payload with the go hax for your FW version, the gadgets are the same) and replace it with part 2 + your custom ARM code. and it will run.

Or what I did was replace two words in the first stage to skip the decryption. Then you don't have to bother encrypting/decrypting each time you make a change."

^^ How EXACTLY would I do this process?

- compile ARM11 code with armips or just write it in plain assembler (if you know what you do), load address is 0x009D2000
- copy decrypted stage2 in front of your arm11 code to forge a payload
- add padding to make it 0x4000 byte
this means
0x0 - 0x1B8F = original rop code or your own
0x1B90 - 0x3FFF = your arm11 code + padding
- then encrypt it with the pseudo-rng encryption
- finally copy it to the launcher.dat offset, based on your firmware, example: 7.1 - 9.4 is 0x1A000

Note: you get arm11 code execution, but this is not enough to do anything else than what is possible with ninjhax

Well, I understand what they're saying, it's just:

1.Where is the payload for a specific firmware(as in, what are the offsets for 4.5, etc.)?

2. How would I encrypt the program with the "stream cipher"?

P.S: No offense taken! :lol:

to 1: 0x12000
to 2: write some code in vb/c/c++/c#/python/java/whatever...

Well, it's "Partially" working now. It begins to load, but when the white screen slides in, it freezes, and I have to reset the system. This is farther then before, and if anyone knows what may be going on, please let me know!
This means your system crashed and nothing else, you did something wrong and it's impossible to guess what the cause was.
 

krisztian1997

Well-Known Member
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania
- compile ARM11 code with armips or just write it in plain assembler (if you know what you do), load address is 0x009D2000
- copy decrypted stage2 in front of your arm11 code to forge a payload
- add padding to make it 0x4000 byte
this means
0x0 - 0x1B8F = original rop code or your own
0x1B90 - 0x3FFF = your arm11 code + padding
- then encrypt it with the pseudo-rng encryption
- finally copy it to the launcher.dat offset, based on your firmware, example: 7.1 - 9.4 is 0x1A000
Note: you get arm11 code execution, but this is not enough to do anything else than what is possible with ninjhax
to 1: 0x12000
to 2: write some code in vb/c/c++/c#/python/java/whatever...
This means your system crashed and nothing else, you did something wrong and it's impossible to guess what the cause was.

I understood all of that but I am having problems with decrypting it on pc, I tried writting a program in C# and then in C++ to read 4 bytes and add the addcipher to it but I get a lot of gibberish with both of the programs in the output file instead of ASM.
 

0xFFFF

Well-Known Member
Newcomer
Joined
Jan 17, 2015
Messages
63
Trophies
0
Age
74
XP
88
Country
Saint Kitts and Nevis
I understood all of that but I am having problems with decrypting it on pc, I tried writting a program in C# and then in C++ to read 4 bytes and add the addcipher to it but I get a lot of gibberish with both of the programs in the output file instead of ASM.

Could you post the source (or solution, if you are using C#) of your program?
We might find the 'gibberish' problem.
 
  • Like
Reactions: Margen67

0xFFFF

Well-Known Member
Newcomer
Joined
Jan 17, 2015
Messages
63
Trophies
0
Age
74
XP
88
Country
Saint Kitts and Nevis
Well, it's "Partially" working now. It begins to load, but when the white screen slides in, it freezes, and I have to reset the system. This is farther then before, and if anyone knows what may be going on, please let me know!

The "white screen slides in" part is actually a feature of Gateway's launcher. It's for cleaning the graphical artifacts generated from the exploit. aka either you are a lying douche or you accidently used Gateway's launcher.
 

0xFFFF

Well-Known Member
Newcomer
Joined
Jan 17, 2015
Messages
63
Trophies
0
Age
74
XP
88
Country
Saint Kitts and Nevis

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
  • Veho @ Veho:
    What's the same thing?
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
  • Veho @ Veho:
    It's a tradeoff.
    Veho @ Veho: It's a tradeoff.