Lockpick_RCM payload - Official Thread


Description

Lockpick_RCM is a bare metal Nintendo Switch payload that derives encryption keys for use in Switch file handling software like hactool, hactoolnet/LibHac, ChoiDujour, etc. without booting Horizon OS.

Source: https://github.com/shchmue/Lockpick_RCM
Payload: https://github.com/shchmue/Lockpick_RCM/releases

Due to changes imposed by firmware 7.0.0, Lockpick homebrew can no longer derive the latest keys. In the boot-time environment however, there are fewer limitations. That means the new keys are finally easy to dump!

Usage
  • Launch Lockpick_RCM.bin using your favorite payload injector or chainload from Hekate by placing it in /bootloader/payloads
  • Upon completion, keys will be saved to /switch/prod.keys on SD
  • If the console has Firmware 7.x, the /sept/ folder from Atmosphère or Kosmos release zip containing both sept-primary.bin and sept-secondary.enc must be present on SD or else only keyblob master key derivation is possible (ie. up to master_key_05 only)
Big thanks to CTCaer
For Hekate and all the advice while developing this!

Known Issues
  • Chainloading from SX will hang immediately due to quirks in their hwinit code, please launch payload directly
 

Attachments

  • AB1248EA-8BB9-448B-83F5-FF68C2579FB1.jpeg
    AB1248EA-8BB9-448B-83F5-FF68C2579FB1.jpeg
    11.2 KB · Views: 0
Last edited by shchmue,

greggyspleens

New Member
Newbie
Joined
Nov 5, 2019
Messages
4
Trophies
0
Age
27
XP
37
Country
Australia
Hey everyone, im having a problem trying to use lockpick rcm but im having the problem that it doesnt recognise the files in my sept folder? it know it recognises the folder because it copies the payload in there. Im copying the sept folder straight from the latest atmosphere. Anyone able to help me out?
Im on sxos 2.9.2, ive tried both the sx launcher and chainloading hekate then using lockpick but still doesnt work
 

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Hey everyone, im having a problem trying to use lockpick rcm but im having the problem that it doesnt recognise the files in my sept folder? it know it recognises the folder because it copies the payload in there. Im copying the sept folder straight from the latest atmosphere. Anyone able to help me out?
Im on sxos 2.9.2, ive tried both the sx launcher and chainloading hekate then using lockpick but still doesnt work
try injecting directly, sx does something weird for hwinit that can cause unusual behavior
 

greggyspleens

New Member
Newbie
Joined
Nov 5, 2019
Messages
4
Trophies
0
Age
27
XP
37
Country
Australia
try injecting directly, sx does something weird for hwinit that can cause unusual behavior
Hey thankyou for the reply i tried injecting the payload directly over usb, still doesn't recognise the files within the sept folder still. I tried also copying the entire atmosphere folder over but then it only does the lower fw keys (it fails due to corruption). Im on sysnand 9.01 and sx 2.9.2.
 

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Hey thankyou for the reply i tried injecting the payload directly over usb, still doesn't recognise the files within the sept folder still. I tried also copying the entire atmosphere folder over but then it only does the lower fw keys (it fails due to corruption). Im on sysnand 9.01 and sx 2.9.2.
when you say it doesn’t recognize the sept folder, what is the error you see?
 

greggyspleens

New Member
Newbie
Joined
Nov 5, 2019
Messages
4
Trophies
0
Age
27
XP
37
Country
Australia
when you say it doesn’t recognize the sept folder, what is the error you see?

This was the same error i was getting, i fixed it now. you have to use the sept folder from kosmos, atmposhere's current release on github has a different sept folder. I think current atmosphere makes the binary on the run after finding make files, no .bin's in them like the kosmos.

aHR0cHM6Ly9nYmF0ZW1wLmItY2RuLm5ldC9hdHRhY2htZW50cy8yMDE5MDgzMV8xOTAyMDEtanBnLjE3ODAzNS8=
(image is bse 64 cause wont let me post link, its a picture thats in this thread)
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,790
Trophies
2
Age
48
Location
Japan
XP
3,691
Country
United States
some combinations of Antivirus/WIndows settings 'block' downloaded .zip files. Try right-clicking on the .zip file and go to properties. If there is an option at the bottom to UNBLOCK, do that, then open and extract afterwards. Make sure none of the files on the SD end up being 0 byte files...
 
Last edited by urherenow,

greggyspleens

New Member
Newbie
Joined
Nov 5, 2019
Messages
4
Trophies
0
Age
27
XP
37
Country
Australia
yeah...right, i must be stupit as lol. When i download atmosphere from github its different so i probably just have no idea how to use github. Thanks anyway!! maybe this well help someone in the future
upload_2019-11-6_16-13-37.png
upload_2019-11-6_16-14-2.png
upload_2019-11-6_16-13-37.png
 

Scried

Active Member
Newcomer
Joined
May 3, 2017
Messages
33
Trophies
0
XP
774
Country
Netherlands
Thanks for your work @shchmue, but it's not working for me and I'm not sure what I'm doing wrong. I have put the /sept folder from the latest Atmosphere 0.9.4 on the root of my SD-card, containing the payload.bin, sept-primary.bin, sept-secondary.bin, sept-secondary_00.enc and sept-secondary_01.enc files (replaced them a few times already) and launch the latest Lockpick_RCM.bin v1.7.1 payload using TegraRcmGUI. The payload launches just fine, but when I select the Dump from SysNAND | Key generation 9 options, it says the following:

MMC init... done int **** us
On firmware 7.x+ but Sept is missing.
Skipping new key derivation...
TSEC key(s)... done in ***** us
Master keys... done in **** us
Unable to derive Package2 key.

And then it just hangs and I have to turn off my Switch and there is nothing in my /switch folder on my SD-card. Any idea what I'm doing wrong?

Edit: So I thought maybe there was something wrong with my SD-card, but when I select Payloads within the menu is does say it is unable to find any payloads or modules, but when I remove the SD-card it says it failed to initialise the SD-card. So it does recognise that the SC-card is there. I also tried an older version of Lockpick_RCM, version 1.4.0, which unfortunately did not work as well. It does run, but it again states /sept is missing and again fails to derive Package2 key. This time it did state it wrote the to switch/prod.keys, but when I checked myself the file is not there.
 
Last edited by Scried,

Scried

Active Member
Newcomer
Joined
May 3, 2017
Messages
33
Trophies
0
XP
774
Country
Netherlands
Can you try on another card? Or at least run chkdsk on this card? It doesn't bode well that it can't stat the sept folder.
I don't have one at this moment, but I'm planning to buy one with a decent size this holiday. This card is an old, original 2GB SD-card (no SDHC or SDXC) which I had still lying around and it's working fine since ChkDsk and H2testw completed without errors.
 

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
I don't have one at this moment, but I'm planning to buy one with a decent size this holiday. This card is an old, original 2GB SD-card (no SDHC or SDXC) which I had still lying around and it's working fine since ChkDsk and H2testw completed without errors.
none of the switch tools support below 4gb
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=ZokeA2lKB6o