Monster Hunter Rise: Sunbreak save encryption

Nimer

New Member
OP
Newbie
Joined
Aug 17, 2007
Messages
4
Trophies
1
XP
37
Country
Poland
Hey guys!

I'm considering building Switch <=> PC save game transfer tool. Due to the fact that going through ASM code of really anything is a tedious work, I would love to ask you, my dear gbatemp hackers, if you're aware of anyone already in possession of a tool for Switch Monster Hunter Rise: Sunbreak decryption who would like to share?

Thanks in advance!
 
  • Like
Reactions: Architerra

HalfScoper

Well-Known Member
Member
Joined
Apr 16, 2021
Messages
551
Trophies
0
Age
84
XP
1,482
Country
Germany
Hey guys!

I'm considering building Switch <=> PC save game transfer tool. Due to the fact that going through ASM code of really anything is a tedious work, I would love to ask you, my dear gbatemp hackers, if you're aware of anyone already in possession of a tool for Switch Monster Hunter Rise: Sunbreak decryption who would like to share?

Thanks in advance!
I think you should get in touch with the people of the Cheats Hunter Discord if you are really invested.
 
  • Like
Reactions: Nimer

Nimer

New Member
OP
Newbie
Joined
Aug 17, 2007
Messages
4
Trophies
1
XP
37
Country
Poland
I think you should get in touch with the people of the Cheats Hunter Discord if you are really invested.
Thanks, I did reach out there.

In the past I got help here when I’ve been working on MH Portable 3rd translation tools and hoped for another stoke of luck 😅
 

unknowndatax

Well-Known Member
Newcomer
Joined
Jan 23, 2016
Messages
68
Trophies
0
Age
35
XP
1,256
Country
United States
Not sure how far you've gotten, but I just started looking into the PC version. From what I noticed, it reuses encryption from monster hunter world. Once the save is encrypted, it uses a murmur hash as verification.
 
Last edited by unknowndatax,

Setzer_

New Member
Newbie
Joined
Sep 26, 2022
Messages
3
Trophies
0
Location
pls no
XP
27
Country
United States
Not sure how far you've gotten, but I just started looking into the PC version. From what I noticed, it reuses encryption from monster hunter world. Once the save is encrypted, it uses a murmur hash as verification.

Could you expand on this? I've been looking at the encryption for the past couple days. I'm still a noob at reversing, so I've so far been able to dump the unencrypted save file memory buffer and identify the instruction where the encryption is happening.

Have you been able to find or do you know what encryption method is being used?
 

unknowndatax

Well-Known Member
Newcomer
Joined
Jan 23, 2016
Messages
68
Trophies
0
Age
35
XP
1,256
Country
United States
When I looked into it more a few weeks ago, it seems to be using a 128-bit block cipher. The developers call it XS if you look at their strings. At offset 0x08 in the save file, that will tell the game what type of encryption, if any, to use. If I remember correctly, 0 is for not encrypted, 2 is for blowfish, 4 is for XS, 8 is something for the switch. I currently don't have much time to work on the encryption, but I did manage to get the hashing. I put a link below to c# code.

Monster Hunter Rise Hash
 

Setzer_

New Member
Newbie
Joined
Sep 26, 2022
Messages
3
Trophies
0
Location
pls no
XP
27
Country
United States
Thank you! This is all great info. I'll check it out tomorrow. How were you able to recognize the user of blowfish vs XS? And I'll try to look at the strings as well. Do you know how you found that info about it being XS?

Thank you again! Sorry if that's too many questions.

I believe I was able to find the hashing function with the constants in the code you linked, so thanks once more. I haven't found this section of the code yet, so I'll have to see how it's used in game.
 
Last edited by Setzer_,

unknowndatax

Well-Known Member
Newcomer
Joined
Jan 23, 2016
Messages
68
Trophies
0
Age
35
XP
1,256
Country
United States
The Re engine is just a modified version of the Unity engine. If the metadata isn't protected, it makes reverse engineering a lot easier. All I did was look for method names to determine what they were using since the strings weren't protected. To verify blowfish and murmur hash, I just searched for constants and found them in the decryption method.
 
  • Like
Reactions: Setzer_

Setzer_

New Member
Newbie
Joined
Sep 26, 2022
Messages
3
Trophies
0
Location
pls no
XP
27
Country
United States
Thank you again. I'll try to look into the strings. I think I neglected those because Ghidra doesn't have a way to easily search for UTF-16 strings.

When you say you search for constants, how are you doing that/what are you looking for? Currently I've been using Cheat Engine + Ghidra. Is there another more effective tool I can be using?

Again, sorry for the questions. Like I said, I'm pretty new at this and still trying to find my footing (what to use, where to look for answers, etc.)

Edit: Already finding some possibly useful stuff with string searching! :) I found out how to do a proper string search in Ghidra and I'm finding mentions of blowfish and XS like you mentioned. Still not sure about how to effectively look for constants, but maybe I'll get there 😅
 
Last edited by Setzer_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Ninty can still make money filing false DMCAs.
    +1
  • realtimesave @ realtimesave:
    they need to have a strong line up on the launch titles too. I think they should move metroid prime 4 to the next console because by now it has been quite a while and there's no release date scheduled yet
  • realtimesave @ realtimesave:
    lol there's a guy selling mig switch in usa on ebay for $200/ea he's definitely going to get nailed with dmca by tomorrow
  • ZeroT21 @ ZeroT21:
    Wasn't Metroid Prime 4 teased all the way back in 2017? For the switch no less?
    :rofl2:
  • ZeroT21 @ ZeroT21:
    Pretty sure anyone buying the switch just for that got duped
  • realtimesave @ realtimesave:
    for $200? rofl.
  • realtimesave @ realtimesave:
    well as far as metroid prime 4 is concerned, the next system probably is similar enough to the current gen they can probably easily just slap it onto a next gen cart and call it good :P
  • K3Nv2 @ K3Nv2:
    The switch was about 350 in 2017
  • Metoroid0 @ Metoroid0:
    mabe where you live
  • K3Nv2 @ K3Nv2:
    Nintendo president Tatsumi Kimishima took the stage at the outset to reveal that Switch will launch globally on March 3, 2017 for $299.99—earlier than some had expected at the price many suspected. https://time.com/4632820/nintendo-switch-nx/
  • Psionic Roshambo @ Psionic Roshambo:
    The NES launched at like 250 and the rob and light gun kit was like 350 or something
  • Psionic Roshambo @ Psionic Roshambo:
    I was near the test market for the NES and man did it make my 2600 look like ass lol
  • K3Nv2 @ K3Nv2:
    There has to be some mutual agreement with them all anything over $600 is just pc territory
  • realtimesave @ realtimesave:
    next system rumored to launch at $400
  • realtimesave @ realtimesave:
    but I don't really believe any rumors yet
  • realtimesave @ realtimesave:
    need to have official info from N
  • Psionic Roshambo @ Psionic Roshambo:
    The 3DO and Neo Geo where like 700 bucks hmm the PS3 was stupid expensive at launch lol
  • Psionic Roshambo @ Psionic Roshambo:
    But at least the PS3 was only 500 for the cheapest one at launch
  • Psionic Roshambo @ Psionic Roshambo:
    My opinion is that 199.99 is the sweet spot but that spot is long gone lol
  • Psionic Roshambo @ Psionic Roshambo:
    Just played some Micheal Jackson Moonwalker.... Those poor parents trying desperately to protect their children
  • K3Nv2 @ K3Nv2:
    400 is a decent sweet spot if we get enough out of it
  • K3Nv2 @ K3Nv2:
    It's not like how it was when we were locked down to a few options and that's it
  • Psionic Roshambo @ Psionic Roshambo:
    For me just buying a Pi and some accessories fills that not a PC void new consoles have just put them close to PC prices and all the patching and updates makes me feel like I might as well just get a PC
    Psionic Roshambo @ Psionic Roshambo: For me just buying a Pi and some accessories fills that not a PC void new consoles have just put...