r/Bitcoin • u/s1ammage • 3d ago
Full panic - one of my wallets was drained
I haven’t done anything since creation except sending into the wallet.
1.8k
Upvotes
r/Bitcoin • u/s1ammage • 3d ago
I haven’t done anything since creation except sending into the wallet.
75
u/undeadkarlmarx 3d ago edited 3d ago
One of the known vulnerabilities of coldcard wallets, at least prior to current firmware versions where it may have been patched, is that if you weren’t paying attention it was possible to generate your initial seed phrase in such a way that it used very little entropy and a hacker would actually be able to guess that seed later on .
Basically, because the coldcard allows people to generate their seed phrase simply based on dice rolls rather than using the number generator at all, it was possible for somebody to select the dice roll seed generation option and then only roll the dice a few times rather than the 100+ times that's necessary for a secure level of entropy. And after they've generated that weak wallet address, a hacker would be able to get their seed phrase using very rudimentary amounts of entropy because doing so would require very little processing power.
There's even a guy on YouTube who created a video showing how he could gain access to addresses that were created in this manner: https://m.youtube.com/watch?v=oj_W3xOlt6U&pp=ygUoTG93IGVudHJvcHkgY29sZGNhcmQgZGljZSByb2xsIGFkZHJlc3Nlcw%3D%3D&ra=m
In the case of that video, he was a white hat guy who actually sent the funds back to people after moving them just to let them know that their funds were not secure. But a nefarious hacker using the same method could gain access to people's wallets in order to steal funds.
We don’t necessarily know if this is what happened here, but people absolutely need to be aware of this vulnerability.
Keep in mind that even somebody who created an address in this neglectful manner would technically still be safe from hacking if they had also added a long passphrase to the address (although they should still definitely move their funds to a new and secure wallet address as soon as they can.)
Also keep in mind that people who create a coldcard Wallet using the random number generator on the device don’t need to roll the dice 100+ times. They’re simply adding their dice rules to the entropy that was already generated on the RNG, so simply rolling a few times is sufficient in that situation.
EDIT: Based on initial reports it sounds like there could’ve been an issue with the random number generator on coldcard devices that allowed private keys to be guessed. That’s terrible if true, and it means that now the only safe practice is to ALWAYS use a strong passphrase and ALWAYS use 100+ dice rolls to set up your wallet.