Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,300
  • Replies Replies 4,476
  • Likes Likes 71
@d0k3
[Report]
Just tried the following things:
- Dumped 3DS-A SysNAND's 6 NAND partitions (CTR, TWLN, TWLP, AGBSave, FIRM0, FIRM1) with 0217 (Decrypt9 auto decrypted all of them)
- Inject dumped 6 NAND partitions to 3DS-B emuNAND with 0217 (Decrypt9 auto encrypted all of them)
Then 3DS-B emuNAND bricked.
That means I cannot "manually System Transfer" 3DS-A to 3DS-B by just moving 6 NAND partitions.
 
  • Like
Reactions: d0k3
Could have at least merged a decent CFW with it. lmao

Then again i guess rx isn't too bad now that all the broken tools are gone. haha
@173210 was one of the critics of rxtools so hopefully he didn't import any of the bad parts. :P

I still don't think it's a good idea to include nand writing tools with cfw. (noobs like to pull levers etc.)
 
@173210 was one of the critics of rxtools so hopefully he didn't import any of the bad parts. :P

I still don't think it's a good idea to include nand writing tools with cfw. (noobs like to pull levers etc.)
lol yeah I'm far far far from a coding pro but that's terrible.
 
  • Like
Reactions: zoogie
So did i...
I did the same, ran from hbl first for reference then ran the "test" from a9lh.
That's strange... Although it is stupid to ask, you used the proper firmware90.bin file? Maybe somethign else special with that 3DS?

I'm trying to decrypt my VC SNES mario world eur .cia (build with groovycia) but...
decrypt9log: Code / Crypto: KTR-N-UAEE / Secure4 Seed Loading slot0x01KeyX.bin: not found Failed!
Sorry, there was a bug in yesterdays release. Just download the newest release (see below) and it should be fine).

@d0k3 Any chance you could add boss file decryption in the future? :)
Keyslot 0x38 is involved in decrypting them. I'm working on a new tool and until now it has been a pain to get decrypted files... >_<
Attached is a sample boss file for testing.
Maybe, if it is useful. What are those BOSS files used for?

@173210 was one of the critics of rxtools so hopefully he didn't import any of the bad parts. :P

I still don't think it's a good idea to include nand writing tools with cfw. (noobs like to pull levers etc.)
I actually like this, and it's coming coming from @173210, too! Tbh, I never tried rxMode, but I personally think that it isn't that bad at all. The rxTools part was the bad part of this, and this seems to be gone now. I also still think that the better solution to this would be a (ARM9 based9?) frontend loader for CFW, Decrypt9 and EmuNAND9. GodMode9, too, once that is usable enough. And yup, that other problem is that it gives people possibilities they can't handle.


Also, new release. Yesterdays release had a bug in the NCCH Decryptor Secure4 crypto feature and also a smaller one in the selftest feature. Nobody is perfect ;). This is now fixed.

New in this relase:
  • Fixed the NCCH decryptor Secure4 bug
  • Fixed and extended the selftest feature
  • Updated the readme for the new features
The readme now again provides descriptions for everything that is in Decrypt9. Oh, and you need to update your selftest reference data.
 
Last edited by d0k3,
I also still think that the better solution to this would be a (ARM9 based9?) frontend loader for CFW, Decrypt9 and EmuNAND9. GodMode9, too, once that is usable enough. And yup, that other problem is that it gives people possibilities they can't handle.
IIRC, CtrBootManager9 works on Brahma2 too, not only on A9LH.
 
That's strange... Although it is stupid to ask, you used the proper firmware90.bin file? Maybe somethign else special with that 3DS?


Sorry, there was a bug in yesterdays release. Just download the newest release (see below) and it should be fine).


Maybe, if it is useful. What are those BOSS files used for?



I actually like this, and it's coming coming from @173210, too! Tbh, I never tried rxMode, but I personally think that it isn't that bad at all. The rxTools part was the bad part of this, and this seems to be gone now. I also still think that the better solution to this would be a (ARM9 based9?) frontend loader for CFW, Decrypt9 and EmuNAND9. GodMode9, too, once that is usable enough. And yup, that other problem is that it gives people possibilities they can't handle.


Also, new release. Yesterdays release had a bug in the NCCH Decryptor Secure4 crypto feature and also a smaller one in the selftest feature. Nobody is perfect ;). This is now fixed.

New in this relase:
  • Fixed the NCCH decryptor Secure4 bug
  • Fixed and extended the selftest feature
  • Updated the readme for the new features
The readme now again provides descriptions for everything that is in Decrypt9. Oh, and you need to update your selftest reference data.
Used the new build. I got 2 failed tests with self test this time. Updates ref from hbl.
 
@d0k3 with your latest commit you require the slot 0x05 keyY to be present to mount N3DS ctrNand on a9lh, any help about how to dump that as it's supposedly console unique ? (according to @Reisyukaku 's pastebin)
 
Used the new build. I got 2 failed tests with self test this time. Updates ref from hbl.
Which two failed?
@d0k3 with your latest commit you require the slot 0x05 keyY to be present to mount N3DS ctrNand on a9lh, any help about how to dump that as it's supposedly console unique ? (according to @Reisyukaku 's pastebin)
Not console unique. The file is called slot0x05KeyY.bin.
 
  • Like
Reactions: capito27
Which two failed?

Not console unique. The file is called slot0x05KeyY.bin.

Running selftest...
Opening d9_selftest.ref ...

Passed tests:
nand_cid_hard
sha256
sha1
aes_cnt_ctr
aes_cnt_twl
aes_ttk_enc
aes_ttk_dec
ncch_std_key
ncch_7x_key
ncch_sec3_key
ncch_sec4_key
nand_ctro_key
nand_ctrn_key
nand_agb_key
nand_frm_key
titlekey
16 of 18 tests passed

Failed tests:
nand_cid_mem
nand_twl_key
2 of 18 tests failed

Creating d9_selftest.lst ...
Run Selftest: succeeded!
 
Running selftest...
Opening d9_selftest.ref ...

Passed tests:
nand_cid_hard
sha256
sha1
aes_cnt_ctr
aes_cnt_twl
aes_ttk_enc
aes_ttk_dec
ncch_std_key
ncch_7x_key
ncch_sec3_key
ncch_sec4_key
nand_ctro_key
nand_ctrn_key
nand_agb_key
nand_frm_key
titlekey
16 of 18 tests passed

Failed tests:
nand_cid_mem
nand_twl_key
2 of 18 tests failed

Creating d9_selftest.lst ...
Run Selftest: succeeded!
On O3DS A9LH? Both are normal and expected. ncch_7x_key / ncch_sec3_key / ncch_sec4_key should have also failed but if they don't, whatever.
 
Running selftest...
Opening d9_selftest.ref ...

Passed tests:
nand_cid_hard
sha256
sha1
aes_cnt_ctr
aes_cnt_twl
aes_ttk_enc
aes_ttk_dec
ncch_std_key
ncch_7x_key
ncch_sec3_key
ncch_sec4_key
nand_ctro_key
nand_ctrn_key
nand_agb_key
nand_frm_key
titlekey
16 of 18 tests passed

Failed tests:
nand_cid_mem
nand_twl_key
2 of 18 tests failed

Creating d9_selftest.lst ...
Run Selftest: succeeded!
interesting, i ran the test on my N3DS A9LH and failed both of the same tests with nand_7x_key and nand_ctrn_key, i have slots 0x25,0x1B,0x18 keyXs and 0x05keyY on the root
 
Last edited by capito27,
interesting, i ran the test on my N3DS and failed both of the same tests with nand_cid_test and nand_ctrn_key, i have slots 0x25,0x1B,0x18 keyXs and 0x05keyY on the root
Also, expected results. The slot files are not loaded for that test - otherwise it would be pointless, we're checking if the keys are correctly set from the start ;).
 
  • Like
Reactions: capito27

Site & Scene News

Popular threads in this forum