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
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, and i dont think the rectangular movement behavior works for platform games
  • BigOnYa @ BigOnYa:
    Yea it does. And you can add platform character behavior to your own charcter, and it will have move and jump already setup for you, space bar is jump, arrows move
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i already added the platform character behaviour to the player since i started doing this
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, and already set up animations for when he shoots both standing and walking
    +1
  • S @ salazarcosplay:
    @Xdqwerty you could
    add alcohol to the game too
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, one of the curative items has the internal name of "beer"
  • Xdqwerty @ Xdqwerty:
    although it looks like a coke can
  • S @ salazarcosplay:
    @Xdqwerty what is the game based on
  • S @ salazarcosplay:
    what was the inspiration
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, based on my ideas i'd say mega man games (probably mega man zero mainly)
  • S @ salazarcosplay:
    I had some ideas for megaman based game
  • S @ salazarcosplay:
    @Xdqwerty make people have their own character
  • S @ salazarcosplay:
    and be able to fight other players
  • S @ salazarcosplay:
    and co op
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, kind of like mugen or rivals of aether?
  • S @ salazarcosplay:
    and also ahve the option to play as a human
  • S @ salazarcosplay:
    or set it up that when you get injured past a certain point they have to replace your human parts with cybernetics
  • Xdqwerty @ Xdqwerty:
    i have a placeholder enemy sprite i made
  • S @ salazarcosplay:
    or have it that you don't know you are a cyborg, robot, and you find out and have a existential crisis
  • S @ salazarcosplay:
    or have it start in the virtual world and you are an ai that gained sentience
  • Xdqwerty @ Xdqwerty:
    btw gonna wash my face in a bit, my eyes feel tired
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
    S @ salazarcosplay: you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body...