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

  • Thread starter d0k3
  • Start date
  • Views 840,712
  • Replies 4,476
  • Likes 71

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
@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

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
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.)
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
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,

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
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.
 

Svaethier

Well-Known Member
Member
Joined
Dec 2, 2013
Messages
1,303
Trophies
0
Age
30
Location
Sault Ste. Marie, Michigan
Website
s6.zetaboards.com
XP
384
Country
United States
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.
 

capito27

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,230
Country
Swaziland
@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)
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
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

Svaethier

Well-Known Member
Member
Joined
Dec 2, 2013
Messages
1,303
Trophies
0
Age
30
Location
Sault Ste. Marie, Michigan
Website
s6.zetaboards.com
XP
384
Country
United States
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!
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
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.
 

capito27

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,230
Country
Swaziland
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,

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion