Bitcoin Forum
May 12, 2024, 08:13:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Storing the seed. Is this method efficient enough?  (Read 111 times)
20kevin20 (OP)
Legendary
*
Offline Offline

Activity: 1134
Merit: 1597


View Profile
February 18, 2021, 10:27:25 PM
 #1

I'm planning to store 3 copies of my seed in 3 different locations, but I am not sure if my method is good enough.

My plan is to use an RNG to randomize the order of my seed's words. Afterwards, I'd note down the correct order in numbers and then I'll have 6 different locations: 3 for the randomized seed and 3 for the correct order.

Example:
SEED: answer real swallow drink verify road anger note mountain giraffe cloth fish
RANDOMIZED SEED: real swallow verify answer drink anger fish mountain giraffe cloth road note
CORRECT ORDER: 4; 1; 2; 5; 3; 11; 6; 12; 8; 9; 10; 7

I would store 3 copies of the RANDOMIZED SEED in 3 different places and 3 copies of the CORRECT ORDER in 3 different places as well.

How safe is this?
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715501619
Hero Member
*
Offline Offline

Posts: 1715501619

View Profile Personal Message (Offline)

Ignore
1715501619
Reply with quote  #2

1715501619
Report to moderator
1715501619
Hero Member
*
Offline Offline

Posts: 1715501619

View Profile Personal Message (Offline)

Ignore
1715501619
Reply with quote  #2

1715501619
Report to moderator
1715501619
Hero Member
*
Offline Offline

Posts: 1715501619

View Profile Personal Message (Offline)

Ignore
1715501619
Reply with quote  #2

1715501619
Report to moderator
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4863



View Profile
February 18, 2021, 10:36:32 PM
 #2

There will be many tools to arrange the randomized seeds phrase easily, it will even be simple than to look for missing words. If looking for missing words in seed phrase is simple and can be recovered by some tools like btcrecover, it is also easy for the complete words to be arranged properly which can result to compromised wallet.

The safety of your wallet is by saving the seed phrase properly in a way it can not be attacked by offline attackers and also not prone to damage. Having six of it will increase the chance of offline attackers, having three correct seed phrase backup that are properly saved oflline is better.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
20kevin20 (OP)
Legendary
*
Offline Offline

Activity: 1134
Merit: 1597


View Profile
February 18, 2021, 11:45:37 PM
 #3

I am quite sure offline attackers are probably never going to find my seed and, even if they did, they'd have to also find the location where I placed the correct order if they wanted to sweep my wallet. (that's if the seed is hard to bruteforce..)

I do acknowledge the existence of tools for bruteforcing, but I'm not a math guy so I am really curious to know from a mathematical perspective how hard it'd really be to "crack" a seed that has been randomized. Best thing I can do to calculate how many possibilities there are to crack the seed is 12^12 or 2^12, which I'm quite sure is way, way off the actual answer, lol.

As far as I'm concerned, a randomized seed is not necessarily a correct one since checksums also exist. With that being said, out of the entire possibilities there might even be a way to take out the incorrect seeds out of the total amount so that bruteforcing is made even easier.

Might sound like a stupid idea, but I thought it'd be an interesting discussion. Better ask than be stupid. Sometimes math is kicking my arse, and I think today is one of those days Smiley
odolvlobo
Legendary
*
Offline Offline

Activity: 4312
Merit: 3214



View Profile
February 19, 2021, 12:09:17 AM
Merited by ABCbits (1)
 #4

It is relatively safe, but there are issues. One issue is that you can distinguish between the two parts and that lowers the security. Another issue is that you must find 6 secure places to store the data. That is a lot to maintain. Also, I believe that a 12-word seed in random order is not considered secure. You should use a longer phrase.

There may be better ways to do it. Why not simply encrypt the seed and store that in a few places? This looks interesting: https://trezor.io/shamir/

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
February 19, 2021, 03:44:34 AM
Merited by ABCbits (1), 20kevin20 (1)
 #5

Please don't try to ever come up with your own "encryption" techniques when you try to secure something. It rarely works. You must always stick to what the experts have already designed. Unfortunately as I've said many times before there hasn't been any BIP for encrypting mnemonics but they are still strings and we have simple ways of encrypting them, namely AES. You'll have to find some encryption tool though.

Best thing I can do to calculate how many possibilities there are to crack the seed is 12^12 or 2^12, which I'm quite sure is way, way off the actual answer, lol.
Since the words can not repeat the number of possibilities works like this:
First position can be any of the 12 words (word 1, word 2, ... word 12)
Second position we have already used one word so we can choose from 11
Third position is 10
...
Twelfth position is 1

That is 12*11*10*...*1 or 12! = 479,001,600 and it is not at all hard to check 479 million mnemonics within reasonable times.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
j2002ba2
Full Member
***
Offline Offline

Activity: 204
Merit: 437


View Profile
February 19, 2021, 04:21:24 AM
 #6


That is 12*11*10*...*1 or 12! = 479,001,600 and it is not at all hard to check 479 million mnemonics within reasonable times.


Moreover in 12 words BIP39 there's 4-bit checksum, so the number of valid combinations is ~29,937,600.

NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6736


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 19, 2021, 04:26:09 AM
 #7

Your method is no more secure than scoring three clear text copies of your seed in different places.

The problem is that while people think that they can boost security by churning out a bunch of encrypted copies and scattering them around places, if you have just one clear text copy then it's a waste of effort.

Also, please don't randomize your seed words. If the order you put each word in is somehow destroyed or lost you then have to solve the very difficult problem of recovering a seed phrase with 12 scrambled words.
 
Please don't try to ever come up with your own "encryption" techniques when you try to secure something. It rarely works. You must always stick to what the experts have already designed. Unfortunately as I've said many times before there hasn't been any BIP for encrypting mnemonics but they are still strings and we have simple ways of encrypting them, namely AES. You'll have to find some encryption tool though.

GPG and openssl are builtin tools, at least for Unix, that can AES-encrypt files. Failing that or if you some reason do not want to use GPG4win because it doesn't have a GUI, there's also AxCrypt[1]  that can do AES128 on a batch of files, but you have to pay to unlock the ability to encrypt using AES256.


[1]: https://axcrypt.net

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4863



View Profile
February 19, 2021, 07:32:45 AM
 #8

There may be better ways to do it. Why not simply encrypt the seed and store that in a few places? This looks interesting: https://trezor.io/shamir/
The Shamir backup can be great in which the seed phrase is encrypted into n secrets while m shares can be used as the recovery. Which means 6 secrets can be created while 3 shares can be used to restore the whole seed phrase if set to be 3 shares from the 6 secrets. It will be good suggestion for 20kevin20 as the secrets are just not the same, while if an attacker can find one or two but useless and not able to use it for the recovery. But, it should be noted that Shamir will only convert the seed words into characters (numbers and letters) just like private keys. And in the case that 3 shares are used, this means if 3 shares can not be accessed, that can lead to permanent loss of the seed phrase.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6386


Looking for campaign manager? Contact icopress!


View Profile
February 19, 2021, 08:25:26 AM
 #9

I'm planning to store 3 copies of my seed in 3 different locations, but I am not sure if my method is good enough.

If any of the locations where you keep the randomized seed can be tracked back to you and the potential thief understands that it's a seed, he may come after you and the 5$ wrench can help him de-randomize it fast.
I think that I would rather save the seed in a different way than a list of 12/24 words.
An example for your case could be a notes page where you can even have the seed in a correct order, but written like:

answer = raspuns
real = advarat1
swallow = randunica
..

[1] -> But then you have to find a seed that doesn't contain words too similar with Romanian equivalent, in order to avoid writing:
real = real

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!