3DSaveTool v0.1

Status
Not open for further replies.

lompoc

Banned!
OP
Banned
Joined
Mar 4, 2011
Messages
120
Trophies
0
XP
-12
Country
United States
3DSaveTool v0.1
by Crediar / BroadOn


Crediar has released a tool that can be used to find the XOR key used for encryption and use it to encrypt/decrypt EEPROM savefiles of 3DS games. So how is this useful? For the moment, very little, but this is a first step in the right direction for 3DS hacking. Who knows? it could be sooner than you think before people are able to dump 3DS cards! Anyway, here's a little bit of info about 3DS Saves posted on the 3DBrew wiki.
 

RupeeClock

Colors 3D Snivy!
Member
Joined
May 15, 2008
Messages
6,499
Trophies
1
Age
34
Website
Visit site
XP
3,015
Country
I believe there was already discussion about this in the 3DS forum.
This is far from fruition anyway, I don't think it's significance enough to warrant a news post like this.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
If Twiizlers haven't gotten this as of yet, they'll be all over this to find an exploit. I just know it. Unless they've done this already and won't reveal it like the DSi common key.
 

lompoc

Banned!
OP
Banned
Joined
Mar 4, 2011
Messages
120
Trophies
0
XP
-12
Country
United States
On the 3DS savegames are stored much like on the DS, that is on an EEPROM in the gamecart. On the DS these savegames were stored in plaintext but on the 3DS a layer of encryption was added. This is highly likely a streamcipher, as the contents of several savegames exhibit the odd behaviour that xor-ing certain parts of the savegame together will result in the plaintext appearing.

The reason this works is because the streamcipher used has a period of 512 bytes. That is to say, it will repeat the same keystream after 512 bytes. The way you encrypt with a streamcipher is you XOR your data with the keystream as it is produced. Unfortunately, if your streamcipher repeats and you are encrypting a known plaintext (in our case, zeroes) you are basically giving away your valuable keystream.

So how do you use this to decrypt a savegame on a 3DS? First off, you chunk up the savegame into 512 byte chunks. Then, you bin these chunks by their contents, discarding any that contain only FF. Now look for the most common chunk. This is your keystream. Now XOR the keystream with your original savegame and you should have a fully decrypted savegame. XOR with the keystream again to produce an encrypted savegame.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • cearp @ cearp:
    the bakery section smells good, but I wish the ingredients list on their items were simpler
  • cearp @ cearp:
    @SylverReZ costco in the UK is only available to certain people, not everyone is eligible

    - in the USA anyone is able to buy the membership
    +1
  • BigOnYa @ BigOnYa:
    Its nice if you can afford, and have space at home, to buy in large quantities. We most!y buy TP, paper towels, that kind of stuff there
    +2
  • SylverReZ @ SylverReZ:
    We're planning on getting membership cards.
  • K3Nv2 @ K3Nv2:
    I miss our dillions which was a Kroger subsidiary got turned into a juvie court house or something
  • SylverReZ @ SylverReZ:
    @BigOnYa, TP? I need TP for my bunghole.
    +2
  • K3Nv2 @ K3Nv2:
    What kind of dictatorship says you can't shop at a grocery store lol
    +1
  • BigOnYa @ BigOnYa:
    I watched them last night, stupid, but still Funny after all these years.
  • K3Nv2 @ K3Nv2:
    Tbf like bigonya said costs only worth it if you got a big family otherwise you're Walmart bitch
    +2
  • SylverReZ @ SylverReZ:
    @K3Nv2, Its as if Costco only rules on communism.
  • BigOnYa @ BigOnYa:
    Or for like big cookouts, parties, etc they good to shop, but yea if only one or two in house, Wal-Mart it is. But membership is only like $60 a year so cheap really considering.
  • K3Nv2 @ K3Nv2:
    I wonder if Costco cards are global like if you go to another country and can still use it there
  • K3Nv2 @ K3Nv2:
    Who needs a passport I got my costco port
  • BigOnYa @ BigOnYa:
    Ask yo boyfriend Juan.
  • K3Nv2 @ K3Nv2:
    That's. A Mexico port and I don't want to shop in Mexico
    +1
  • BigOnYa @ BigOnYa:
    You don't like donkey hot dogs?
  • HiradeGirl @ HiradeGirl:
    What is Costco?
  • BigOnYa @ BigOnYa:
    Wholesale grocery store. Everything is in like 64 packs.
  • K3Nv2 @ K3Nv2:
    Ramen bowels are better than ramen cups
  • HiradeGirl @ HiradeGirl:
    Are those like big sized ramen? Do they look like a
    bowel?
  • K3Nv2 @ K3Nv2:
    Has better girth
  • BigOnYa @ BigOnYa:
    Dirt cheap, but its only 5400 rpm. But still be good for music/photo/ etc backup
    BigOnYa @ BigOnYa: Dirt cheap, but its only 5400 rpm. But still be good for music/photo/ etc backup