3DS:Seedminer: Difference between revisions

From Hacks Guide Wiki
m (missed a spot)
(grammar fixes and why are there so many manual <br> tags)
Line 1: Line 1:
{{hatnote|This article is only for information and non-standard usage of Seedminer. For information on how to use Seedminer if your system can add friends, see our custom firmware guide's [[3dsguide:seedminer|Seedminer page.]]}}
{{hatnote|This article is only for information and non-standard usage of Seedminer. For information on how to use Seedminer if your system can add friends, see the main guide's [[3dsguide:seedminer|Seedminer page.]]}}


'''Seedminer,''' with three implementations known as '''BFM (Bruteforce Movable)''', '''Manual Mining''', and '''Mii Mining''', is a process used to find a 3DS family system's movable.sed, (the system-unique encryption key) and is used in the majority of CFW installation methods. If interested, a presentation on Seedminer's technical aspects [[https://zoogie.github.io/web/34%E2%85%95c3 can be found here.]]
'''Seedminer''' is a process used to find a 3DS family system's <code>movable.sed</code> (the system-unique encryption key) and is used in the majority of CFW installation methods on the latest firmware. At present, there are three main ways to derive <code>movable.sed</code>: the automated '''BFM (Bruteforce Movable)''' service, '''manual mining''', and '''Mii mining'''.
 
If you're interested, a presentation on Seedminer's technical aspects can be found [https://zoogie.github.io/web/34%E2%85%95c3 here].


==Requirements==
==Requirements==
Line 7: Line 9:
All systems that can access the HOME Menu and either add a friend or create Miis can use Seedminer, but which methods are available will depend on your system's ability to add friends and whether you can access BFM.<br>
All systems that can access the HOME Menu and either add a friend or create Miis can use Seedminer, but which methods are available will depend on your system's ability to add friends and whether you can access BFM.<br>
The potential outcomes are as follows:  
The potential outcomes are as follows:  
<tabber>
<tabber>


|-|Can add friends=
|-|Can add friends=


See [[3dsguide:seedminer|the seedminer page]] to use BFM and automatically mine your movable.sed.<br>
If you can add friends, you should follow [[3dsguide:seedminer|the Seedminer page]] to use Bruteforce Movable to automatically mine your movable.sed.
If BFM is down, check [[#Bruteforce_movable_connectivity_and_uptime|this section.]]<br>
 
If BFM says it could not process your request, read [[#Consoles made in 2011|this section]] for more information.<br>
* If BFM is '''inaccessible''' (the website is down), check [[#Bruteforce_movable_connectivity_and_uptime|this section.]] for more information.
If BFM is up but you wish to try manual mining anyway, see [[/Manual_Mining|here]].
* If BFM says that you are '''locked out''', [[Get_support|join our Discord server]] for assistance.
* If BFM says that it '''could not process your request''', read [[#Consoles made in 2011|this section]] for more information.
* If BFM is up and you wish to try manual mining anyway, see [[/Manual_Mining|here]].
 
|-|Can't add friends, but have a friend code=
 
{{info|Before attempting these methods, try another wireless connection or get closer to your router, as BFM is significantly easier to use than the manual methods.}}
 
{{warn|Manual mining methods require a reasonably powerful dedicated GPU on hand to be efficient. If you don't have a dedicated GPU (or are not good at using the command line), you should [[Get_support|join our Discord server]] for assistance.}}
 
If you have an already-hacked 3DS physically on hand, see [[/Manual_Mining|here]] to dump your LFCS and mine it yourself. If not, you will need to follow [[/Mii_Mining|Mii Mining]] instead.


|-|Can't add friends but have a friend code=


{{info|Try another wireless connection or get closer to your router. If you can use it, BFM is significantly easier.}}
|-|No friend code, Internet, or banned console=
If you have an already-hacked 3DS on hand, see [[/Manual_Mining|here]] to dump your LFCS and mine it yourself.<br>If you do not have this, you will need to do [[/Mii_Mining|Mii Mining]] instead.


|-|No friend code=
{{warn|Manual mining methods require a reasonably powerful dedicated GPU on hand to be efficient. If you don't have a dedicated GPU (or are not good at using the command line), you should [[Get_support|join our Discord server]] for assistance.}}


See [[/Mii_Mining|here]] to do an altered version of the manual process.
See [[/Mii_Mining|here]] to do an altered version of the manual process.
Line 30: Line 41:


===Movable security characteristics===
===Movable security characteristics===
The <code>movable.sed</code> is a system-unique encryption key for the 3DS. It is supposed to have 128 bits of random encryption, which would be impossible to bruteforce - but due to various flaws with Nintendo reusing code, the number of possible values is ~2^40 instead of 2^128, a decrease of 2^22 (''1 trillion trillion'', or 70%) from expected.<br>
The <code>movable.sed</code> file is a system-unique encryption key for the 3DS. It is supposed to have 128 bits of random encryption, which would be impossible to bruteforce with modern hardware. However, due to various flaws with Nintendo reusing code, the number of possible values is ~2^40 instead of 2^128, a decrease of 2^22 (''1 trillion trillion'', or 70%) from the expected value.
This is due to half of <code>movable.sed</code> being created from the LFCS (Local Friend Code Seed), a file which any hacked system that has the target 3DS as a friend can dump, and another quarter being mathematically related to the LFCS, which makes it very easy to bruteforce quickly.<br>
 
If the system cannot add friends, a Mii QR code also has some of this information. However, the smaller amount of info means the LFCS must also be bruteforced, which takes a significant amount of extra time.
This is due to half of <code>movable.sed</code> being created from the LFCS (Local Friend Code Seed), a file which any hacked system that has the target 3DS as a friend can dump, and another quarter being mathematically related to the LFCS. These factors make it possible to derive the encryption key with modern consumer-level hardware.<br>
 
If the system cannot add friends, a Mii QR code can be bruteforced to derive the same information that would be exchanged in a friend exchange. However, the smaller amount of data available for this method means that this takes a significant amount of extra time.


===Mining the movable===
===Mining the movable===
If you can obtain the LFCS, needing to mine only ~30% of the potential 2^128 values makes it easy to bruteforce with almost any dedicated GPU, even extremely old models such as an Nvidia GTX 760. Integrated graphics are not powerful enough, however, and may take multiple hours.<br>
If you can obtain the LFCS, needing to mine only ~30% of the potential 2^128 values makes it easy to bruteforce with almost any dedicated GPU - even older models such as an Nvidia GTX 760. Integrated graphics are not powerful enough and may take multiple hours.
If you cannot obtain the LFCS, Mii Mining takes significantly longer (up to 2 hours, depending on GPU strength) since it must also bruteforce the full LFCS before it can bruteforce the random values. Attempting to use integrated graphics for this method may result in it taking upwards of a day.<br>
 
Once created, the <code>movable.sed</code> created can be used for nearly all purposes, but some of the data is ignored for bruteforcing - as such, it is '''not recommended''' to inject a bruteforced movable into your NAND, though it will not [[brick]] your system.
If you cannot obtain the LFCS, Mii mining takes significantly longer (up to 2 hours, depending on GPU strength) since it must also bruteforce the full LFCS before it can bruteforce the random values. Attempting to use integrated graphics for this method may result in it taking upwards of a day.
 
Once created, the <code>movable.sed</code> created can be used to decrypt any system data on your SD card (such as digital game save data). Because a bruteforced <code>movable.sed</code> only contains the data necessary to decrypt system data (and not other data that is used to verify that it is valid), it is '''not recommended''' to inject a bruteforced movable into your NAND (though, it won't [[brick]] your system).


===Automation and optimization===
===Automation and optimization===
it is within bruteforcing territory - with optimizations and volunteers, the process can be entirely automated with mining times of 5 minutes or less. [[https://seedminer.hacks.guide Bruteforce Movable]] is a working implementation of this, and is the method used for Seedminer in our guide.
<code>movable.sed</code> is within bruteforcing territory with modern dedicated graphics cards; with optimizations and volunteers, the process can be entirely automated with mining times of 5 minutes or less. [[https://seedminer.hacks.guide Bruteforce Movable]] is a working implementation of this, and is the method used for Seedminer in our guide.


==How to mine for others on BFM==
==How to mine for others on BFM==
Go to the seedminer website and read the "Mine for BruteforceMovable" header if you want to volunteer some of your GPU power for mining others' movables.
If you want to volunteer some of your GPU power for mining others' movables, go to the Seedminer website and read the "Mine for BruteforceMovable" header for isntructions.
 


==Limitations==
==Limitations==


===System issues===
===System issues===
If your system is altered in certain ways, you will be unable to follow one or more of the Seedminer methods, as follows:
If your system is altered in certain ways, you will be unable to follow one or more of the Seedminer methods. Some examples:
*If your console has no Friend Code or is banned, you will need to do Mii Mining.
*If your console has no Friend Code or is banned, you will need to do Mii Mining.
*If your system is unable to use Wi-Fi, you will need a second, already-hacked 3DS to follow Manual Mining. If you do not have this, you will need to do Mii Mining.
*If your system is unable to use Wi-Fi, you will need a second, already-hacked 3DS to follow Manual Mining. If you do not have this, you will need to do Mii Mining.
Line 54: Line 70:


==Consoles made in 2011==
==Consoles made in 2011==
If your console is a launch model o3DS (made in 2011), its <code>movable.sed</code> will be made 'correctly' and cannot be mined. These consoles cannot use '''any Seedminer method'''.<br>
If your console is a launch model Old 3DS (made in 2011), its <code>movable.sed</code> cannot be derived through Seedminer. Therefore, these consoles '''cannot use any Seedminer method'''.
Any system that has received a system transfer from a launch model will also be unmineable, but will become mineable again after a system format. If your console appears to be impossible to mine, either do a system format first or look into an alternate exploit path.<br>
 
For alternate paths, [[3dsguide:installing-boot9strap-(kartdlphax)|kartdlphax]] and [[3dsguide:ntrboot|ntrboot]] are both viable options, but if you cannot do either of these without significant extra effort, also check if you have the resources [[3DS:Alternate_Exploits|for one of these paths.]]
Any system that has received a system transfer from a launch model will also be unminable, but will become minable again after a system format. If your console appears to be impossible to mine, either do a system format first or look into an alternate exploit path.
 
For alternate paths, [[3dsguide:installing-boot9strap-(kartdlphax)|kartdlphax]] and [[3dsguide:ntrboot|ntrboot]] are both viable options, but if you cannot do either of these without significant extra effort, you should see if you have the resources needed for [[3DS:Alternate_Exploits|one of these paths.]]


===BFM connectivity and uptime===
===BFM connectivity and uptime===
Although BFM is generally very stable, it requires your computer to be able to connect to either https://seedminer.hacks.guide or https://bfm.nintendohomebrew.com. If BFM is down, your connection is too unstable/slow, or an internet block is disabling access to both of these websites, then [[Get_support|join our Discord server]] for help.
Although BFM is generally very stable, it requires your computer to be able to connect to either https://seedminer.hacks.guide or https://bfm.nintendohomebrew.com. If BFM is down, your connection is too unstable/slow, or an internet block is disabling access to both of these websites, then [[Get_support|join our Discord server]] for help.

Revision as of 08:29, 2 November 2022

Seedminer is a process used to find a 3DS family system's movable.sed (the system-unique encryption key) and is used in the majority of CFW installation methods on the latest firmware. At present, there are three main ways to derive movable.sed: the automated BFM (Bruteforce Movable) service, manual mining, and Mii mining.

If you're interested, a presentation on Seedminer's technical aspects can be found here.

Requirements

OOjs UI icon information-progressive.svg If BFM is inaccessible or you encounter issues using the site, join our Discord server and ask for help.

All systems that can access the HOME Menu and either add a friend or create Miis can use Seedminer, but which methods are available will depend on your system's ability to add friends and whether you can access BFM.
The potential outcomes are as follows:

If you can add friends, you should follow the Seedminer page to use Bruteforce Movable to automatically mine your movable.sed.

  • If BFM is inaccessible (the website is down), check this section. for more information.
  • If BFM says that you are locked out, join our Discord server for assistance.
  • If BFM says that it could not process your request, read this section for more information.
  • If BFM is up and you wish to try manual mining anyway, see here.

OOjs UI icon information-progressive.svg Before attempting these methods, try another wireless connection or get closer to your router, as BFM is significantly easier to use than the manual methods.

Template:Warn

If you have an already-hacked 3DS physically on hand, see here to dump your LFCS and mine it yourself. If not, you will need to follow Mii Mining instead.

How it works

Movable security characteristics

The movable.sed file is a system-unique encryption key for the 3DS. It is supposed to have 128 bits of random encryption, which would be impossible to bruteforce with modern hardware. However, due to various flaws with Nintendo reusing code, the number of possible values is ~2^40 instead of 2^128, a decrease of 2^22 (1 trillion trillion, or 70%) from the expected value.

This is due to half of movable.sed being created from the LFCS (Local Friend Code Seed), a file which any hacked system that has the target 3DS as a friend can dump, and another quarter being mathematically related to the LFCS. These factors make it possible to derive the encryption key with modern consumer-level hardware.

If the system cannot add friends, a Mii QR code can be bruteforced to derive the same information that would be exchanged in a friend exchange. However, the smaller amount of data available for this method means that this takes a significant amount of extra time.

Mining the movable

If you can obtain the LFCS, needing to mine only ~30% of the potential 2^128 values makes it easy to bruteforce with almost any dedicated GPU - even older models such as an Nvidia GTX 760. Integrated graphics are not powerful enough and may take multiple hours.

If you cannot obtain the LFCS, Mii mining takes significantly longer (up to 2 hours, depending on GPU strength) since it must also bruteforce the full LFCS before it can bruteforce the random values. Attempting to use integrated graphics for this method may result in it taking upwards of a day.

Once created, the movable.sed created can be used to decrypt any system data on your SD card (such as digital game save data). Because a bruteforced movable.sed only contains the data necessary to decrypt system data (and not other data that is used to verify that it is valid), it is not recommended to inject a bruteforced movable into your NAND (though, it won't brick your system).

Automation and optimization

movable.sed is within bruteforcing territory with modern dedicated graphics cards; with optimizations and volunteers, the process can be entirely automated with mining times of 5 minutes or less. [Bruteforce Movable] is a working implementation of this, and is the method used for Seedminer in our guide.

How to mine for others on BFM

If you want to volunteer some of your GPU power for mining others' movables, go to the Seedminer website and read the "Mine for BruteforceMovable" header for isntructions.


Limitations

System issues

If your system is altered in certain ways, you will be unable to follow one or more of the Seedminer methods. Some examples:

  • If your console has no Friend Code or is banned, you will need to do Mii Mining.
  • If your system is unable to use Wi-Fi, you will need a second, already-hacked 3DS to follow Manual Mining. If you do not have this, you will need to do Mii Mining.


Consoles made in 2011

If your console is a launch model Old 3DS (made in 2011), its movable.sed cannot be derived through Seedminer. Therefore, these consoles cannot use any Seedminer method.

Any system that has received a system transfer from a launch model will also be unminable, but will become minable again after a system format. If your console appears to be impossible to mine, either do a system format first or look into an alternate exploit path.

For alternate paths, kartdlphax and ntrboot are both viable options, but if you cannot do either of these without significant extra effort, you should see if you have the resources needed for one of these paths.

BFM connectivity and uptime

Although BFM is generally very stable, it requires your computer to be able to connect to either https://seedminer.hacks.guide or https://bfm.nintendohomebrew.com. If BFM is down, your connection is too unstable/slow, or an internet block is disabling access to both of these websites, then join our Discord server for help.