Hacking How can I decrypt and extract the NAND?

Isle41

Well-Known Member
Member
Joined
Nov 24, 2011
Messages
207
Trophies
0
XP
305
Country
Gambia, The
Just thinking about it this would probably only work with firmwares up to 7.x due to the fact we only have the 7.x key.

We could however have a shot at dumping the nand directly from the 3ds.
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
29
Location
Madrid, Spain
Website
github.com
XP
2,641
Country
Spain
You need to get the xorpad for the CTR-NAND FAT16 partition and XOR it with the data block that goes from 0x0B930000 to 0x3AF00000 in the NAND dump (approximately 757 MB). Afterwards, you can extract the content of the decrypted file using WinImage.

Use Decrypt9 to get this xorpad under 9.2 (without needing to downgrade to 4.X).
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,759
Trophies
2
XP
8,674
Country
Tuvalu
You need to get the xorpad for the CTR-NAND FAT16 partition and XOR it with the data block that goes from 0x0B930000 to 0x3AF00000 in the NAND dump (approximately 757 MB). Afterwards, you can extract the content of the decrypted file using WinImage.

Use Decrypt9 to get this xorpad under 9.2 (without needing to downgrade to 4.X).

use this python tool i made if you don't want to worry about using a hex editor etc - http://gbatemp.net/threads/release-...ct-the-fat16-partition-from-nand-dumps.380101
and yes, very happy that we now hand nand padgen on 4.5+ :)
 

JoostinOnline

Certified Crash Test Dummy
OP
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
You need to get the xorpad for the CTR-NAND FAT16 partition and XOR it with the data block that goes from 0x0B930000 to 0x3AF00000 in the NAND dump (approximately 757 MB). Afterwards, you can extract the content of the decrypted file using WinImage.

Use Decrypt9 to get this xorpad under 9.2 (without needing to downgrade to 4.X).
Those are a mighty awful lot of big words.

Anyway, do you have a compiled version of Decrypt9?
use this python tool i made if you don't want to worry about using a hex editor etc - http://gbatemp.net/threads/release-...ct-the-fat16-partition-from-nand-dumps.380101
and yes, very happy that we now hand nand padgen on 4.5+ :)
What am I doing wrong?

Code:
C:\projects\3ds\NAND>3DSFAT16tool.py -n3ds -d NAND.BIN fat16
*******
3DSFAT16tool
*******
 
Dumping... please wait
Traceback (most recent call last):
  File "C:\projects\3ds\NAND\3DSFAT16tool.py", line 57, in <module>
    fat16 = nand[start:end]
MemoryError
 

Vappy

Well-Known Member
Member
Joined
May 23, 2012
Messages
1,508
Trophies
2
XP
2,613
Country

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
    Xdqwerty @ Xdqwerty: @BigOnYa, thx in advance +1