Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DS:Seedminer: Difference between revisions

From Hacks Guide Wiki
m (missed a spot)
(grammar fixes, fix my blatantly wrong math, elaborate more on unminable consoles, fix BFM connectivity header)
 
(4 intermediate revisions by 3 users not shown)
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.]]}}
'''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'''.


'''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.]]
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 ==
{{info|If BFM is inaccessible or you encounter issues using the site, [[Get_support|join our Discord server]] and ask for help.}}
{{info|If BFM is inaccessible or you encounter issues using the site, [[Get_support|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.<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 your console can add friends, you should use [[3DS:Seedminer/BFM|Bruteforce Movable]] to automatically mine your <code>movable.sed</code>.
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), read [[#BFM_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.}}


|-|Can't add friends but have a friend code=
{{warning|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.}}


{{info|Try another wireless connection or get closer to your router. If you can use it, BFM is significantly easier.}}
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.
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=


See [[/Mii_Mining|here]] to do an altered version of the manual process.
|-|No friend code, no internet access, or console is banned=
 
{{warning|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.


</tabber>
</tabber>


==How it works==
== How it works ==
 
=== Movable security characteristics ===
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 values that have to be decrypted is ~2^40 instead of 2^128 (a decrease by a factor of roughly ''100 septillion'' 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. 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 ===
If you can obtain the LFCS, the enormous reduction in difficulty makes it easy to bruteforce the full <code>movable.sed</code> with almost any dedicated GPU - even older models such as an Nvidia GTX 760. Integrated graphics are still weak by these standards, however, and will likely take a few hours.
 
If you cannot obtain the full LFCS but can obtain a Mii QR code, it will take 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 take upwards of a day.


===Movable security characteristics===
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).
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>
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.


===Mining the movable===
=== Automation and optimization ===
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>
<code>movable.sed</code> is well 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 one of the current methods used above.
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.


===Automation and optimization===
== How to mine for others on BFM ==
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.
If you want to volunteer some of your GPU power for mining others' movables, go to the [https://seedminer.hacks.guide/ Seedminer website] and read the "Mine for BruteforceMovable" header for instructions.


==How to mine for others on BFM==
== Limitations ==
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.


==Limitations==
=== Consoles with mismatched movables ===
There is a known issue, disproportinately affecting older consoles more than new ones, that makes the affected consoles' true <code>movable.sed</code> unable to be mined. Therefore, these consoles '''cannot use any Seedminer method'''.


===System issues===
The only confirmed source of this issue is in consoles that have been shipped to Nintendo for repairs previously. Consoles that were manufactured before February 2012 experience this at a far higher rate than other consoles, but the cause in those cases is unknown.
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 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.


Any console that has received a system transfer from a console affected by this will also be temporarily made 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.


==Consoles made in 2011==
[[3DS:Alternate Exploits/Preparing menuhax67 (kartdlphax)|kartdlphax]] and [[3dsguide:ntrboot|ntrboot]] are the preferred alternate 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.]]
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>
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.]]


===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.

Latest revision as of 04:08, 4 September 2024

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 your console can add friends, you should use Bruteforce Movable to automatically mine your movable.sed.

  • If BFM is inaccessible (the website is down), read 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.
OOjs UI icon information-warning.svg 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 join our Discord server for assistance.
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.

OOjs UI icon information-warning.svg 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 join our Discord server for assistance.
See here to do an altered version of the manual process.

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 values that have to be decrypted is ~2^40 instead of 2^128 (a decrease by a factor of roughly 100 septillion 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, the enormous reduction in difficulty makes it easy to bruteforce the full movable.sed with almost any dedicated GPU - even older models such as an Nvidia GTX 760. Integrated graphics are still weak by these standards, however, and will likely take a few hours.

If you cannot obtain the full LFCS but can obtain a Mii QR code, it will take 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 take 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 well 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 one of the current methods used above.

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 instructions.

Limitations

Consoles with mismatched movables

There is a known issue, disproportinately affecting older consoles more than new ones, that makes the affected consoles' true movable.sed unable to be mined. Therefore, these consoles cannot use any Seedminer method.

The only confirmed source of this issue is in consoles that have been shipped to Nintendo for repairs previously. Consoles that were manufactured before February 2012 experience this at a far higher rate than other consoles, but the cause in those cases is unknown.

Any console that has received a system transfer from a console affected by this will also be temporarily made 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.

kartdlphax and ntrboot are the preferred alternate 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.