Homebrew Whitelist HMAC key offsets?

dr1ft

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2018
Messages
53
Trophies
0
Location
?????
Website
dr1ft.xyz
XP
245
Country
United States
I'm currently working on a whitelist editor for DSi. I have already successfully injected a bad check region into NDHI and gotten a crash (like RocketLauncher) but I have thus far been unsuccessful in finding the offsets for the HMAC keys needed to sign the hashes. I know they're in Launcher's SRL, but I can't seem to find them. Does anyone know the offset?
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
436
Trophies
0
Age
29
XP
2,568
Country
Russia
As far as I know, offsets may differ between various versions of Launcher.
Either way, you can just find them using hints from GBATEK.
First of all, decrypt SRL's modcrypt areas (with twltool: "twltool.exe modcrypt --in <name>.app").
After that you should be able to easilly search for their first values: "0x61BDDD72…" and "0x852948F3….", they should actually be next to each other, and both keys should be 0x40 bytes long.
Good luck. :)
 
  • Like
Reactions: dr1ft

dr1ft

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2018
Messages
53
Trophies
0
Location
?????
Website
dr1ft.xyz
XP
245
Country
United States
As far as I know, offsets may differ between various versions of Launcher.
Either way, you can just find them using hints from GBATEK.
First of all, decrypt SRL's modcrypt areas (with twltool: "twltool.exe modcrypt --in <name>.app").
After that you should be able to easilly search for their first values: "0x61BDDD72…" and "0x852948F3….", they should actually be next to each other, and both keys should be 0x40 bytes long.
Good luck. :)
Oh, of course, modcrypt. I forgot about that, heh. I'll see if I can't find them from there. Thanks.
EDIT: Haven't tested them (as I don't have anything that's blocked/reprogrammable to test it on yet, waiting for my AK2i) but I'm pretty sure I got them. Thanks again.
 
Last edited by dr1ft,
  • Like
Reactions: redunka

dr1ft

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2018
Messages
53
Trophies
0
Location
?????
Website
dr1ft.xyz
XP
245
Country
United States
I successfully got the keys, now I just can't seem to figure out how to put the cart header+binaries together to get the right hash for phase 1. I have phase 3 working fine though.
 

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.