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,

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
516
Country
United Arab Emirates
What does this error mean?

[FatFS] Error: NOFAT
unable to mount system paritition

These switches have their ORIGINAL eMMC never been swapped out yet every time I try to dump keys I end up having this error. This happens on multiple occasions not only one device. Both OFW+CFW work fine no issues whatsoever.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
What does this error mean?

[FatFS] Error: NOFAT
unable to mount system paritition

These switches have their ORIGINAL eMMC never been swapped out yet every time I try to dump keys I end up having this error. This happens on multiple occasions not only one device. Both OFW+CFW work fine no issues whatsoever.
It means your micro sd card has been formatted as exfat.
 
  • Like
Reactions: impeeza

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,105
Trophies
1
XP
21,338
Country
United States
Then this error should indicate an issue with the SD card which isn't. I have it in FAT32 which hekate itself formatted and partitioned.
Try to init your sd card.


That means deleting the partition and wiping and initializing MBR.
You can do this via diskpart commands in windows.
 

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
516
Country
United Arab Emirates
Try to init your sd card.


That means deleting the partition and wiping and initializing MBR.
You can do this via diskpart commands in windows.
I remember messing around with one card and fixing this error but I don't know exactly what fixed it.
Post automatically merged:

That is related to the SD card, this one "unable to mount system partition" which is what is puzzling me.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,105
Trophies
1
XP
21,338
Country
United States
I remember messing around with one card and fixing this error but I don't know exactly what fixed it.

Load up minitool partition wizard see if it is under GPT, you may as well reformat the card as FAT32, 32kb, primary partition under minitool partition wizard again.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
Then this error should indicate an issue with the SD card which isn't. I have it in FAT32 which hekate itself formatted and partitioned.
Well maybe you installed exfat firmware on sysnand or emunand then, TBH it doesn't matter as long as your switch is working and can read the sd card, That error is just telling you it can't mount a fat file system, most likely because lockpic is reading from an exfat partition.
 
  • Like
Reactions: peteruk

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
516
Country
United Arab Emirates
Well maybe you installed exfat firmware on sysnand or emunand then, TBH it doesn't matter as long as your switch is working and can read the sd card, That error is just telling you it can't mount a fat file system, most likely because lockpic is reading from an exfat partition.
I figured that might be the issue of updating the system to support exfat but I don't know how that relate to reverting the current file system partition.

The problem here is I cannot properly dump the keys to decrypt files.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,105
Trophies
1
XP
21,338
Country
United States
I figured that might be the issue of updating the system to support exfat but I don't know how that relate to reverting the current file system partition.

The problem here is I cannot properly dump the keys to decrypt files.

How come you can't dump your keys?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I never used the mobile or online versions, just the pc version.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only use the online version
    +1
  • BigOnYa @ BigOnYa:
    I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my unlucky day, better quit. Some sharks up there today.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, did you get drunk?
  • BigOnYa @ BigOnYa:
    No I don't drink much when i goto bar, cause I driving, or if/when I do, ill take a uber/cab home. But I'm working on it now tho I'm home, beer n whiskey shots today.
  • K3Nv2 @ K3Nv2:
    He's afraid he might wake up next to ancientboi the next day
    +1
  • BigOnYa @ BigOnYa:
    What a "Scared Straight" moment that would be.
  • BigOnYa @ BigOnYa:
    A friend give me a $35 cigar, and pssf, just as good as a $5 one. But of course gonna have to tell him it was awesome.
  • Psionic Roshambo @ Psionic Roshambo:
    What makes a good Cuban rum soaked cigar is a nice cosmopolitan to go with it.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Used to do that every time I went to Miami on business
  • Psionic Roshambo @ Psionic Roshambo:
    There was this little bar I would stop in have that combo and watch the beach
    +1
  • BigOnYa @ BigOnYa:
    I've never met a girl named cosmopolitan, but cool. And where do you insert the cigar? Mr clinton
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly more than 35 dollars lol but I was making thousands on a job.
  • Psionic Roshambo @ Psionic Roshambo:
    Cosmopolitan is just vodka and cranberry juice lol
  • Psionic Roshambo @ Psionic Roshambo:
    I'm a martini glass
  • K3Nv2 @ K3Nv2:
    My dental assistant is Cuban I'm gonna have to him for cigars and sandwiches now
    +1
  • BigOnYa @ BigOnYa:
    Yea wish I could get Cubans cheap, they are ridiculous priced up here. But they are hard workers.
  • Psionic Roshambo @ Psionic Roshambo:
    I think I was paying like 75 back in the early 90s
  • Psionic Roshambo @ Psionic Roshambo:
    Rolled on the thighs of virgins if the stories are to be believed
  • K3Nv2 @ K3Nv2:
    I don't think we belive any of your stories
  • Psionic Roshambo @ Psionic Roshambo:
    That's honestly for the best lol
  • BigOnYa @ BigOnYa:
    I'd read his autobiography.
  • K3Nv2 @ K3Nv2:
    "If I may have done it."
  • Psionic Roshambo @ Psionic Roshambo:
    I'm deliberately vague about some of the details sure it's been 30 years but some crimes don't have limitations
    Psionic Roshambo @ Psionic Roshambo: I'm deliberately vague about some of the details sure it's been 30 years but some crimes don't...