Remix.run Logo
▲ extraextra a day ago

Computer Science professor at NYU Courant came up with a cost estimate of 12 million USD per key, based on Bitcoin hash rate

https://news.ycombinator.com/item?id=50764960

▲ganoushoreilly a day ago | parent | next [-]

Which despite how it sounds, is a feasible expense for some operations.

▲extraextra a day ago | parent [-]

If I'm not mistaken, that would theoretically make it profitable to break any Bitcoin wallet with at least 12 million USD in it

Though the problem would then become, how do you convert that Bitcoin quickly enough, before the rest of the network finds out (at which point I assume people would lose trust in the entire currency and your loot wouldn't be worth much anymore)?

▲dist-epoch 20 hours ago | parent | next [-]

You can short bitcoin on traditional finance exchanges (futures, ETFs) and profit from the panic selling that will follow.

▲cgetzen a day ago | parent | prev | next [-]

To prevent loss of trust, they could add keys (or limit size of wallets) to always make it uneconomic.

▲extraextra a day ago | parent [-]

Compute becomes cheaper and more powerful each year, so this would be only a temporary solution

Obviously the underlying Bitcoin network needs to be upgraded sooner or later

▲mono442 a day ago | parent | prev [-]

Bitcoin wallets expose their public keys only when the coins are spent. It'd need to be broken in less than 10 minutes on average. That's probably still out of reach.

▲TZubiri a day ago | parent | next [-]

I don't think that's a particularly hard issue. If you can parallelize the operation, and you rent the compute, you can spread out the compute over a huge amount of servers and consume your credits as quickly as you need, although you'll need a lot of credit and the vendor needs a lot of unused compute.

▲Bootvis 21 hours ago | parent [-]

If there indeed is a break, people that do big transactions will contact one miner directly and let them privately mine it. This will still allow the attacker to try to find the private key and do a double spend but then they have to outmine the network as well. Unless the attacker can find the key very quickly and also get lucky finding 2 more blocks, the Bitcoin network would continue the chain on the original transaction.

What would be scary for Bitcoin is an attack that finds private keys in seconds after a large pre-computation.

▲extraextra 11 hours ago | parent [-]

*Assuming everyone moves their bitcoin to fresh wallets before the attacker does any attack

Right now there are plenty of old pay-to-public-key (P2PK) wallets still exposed, plus everyone that already signed outgoing transactions and has kept the same wallet

▲thaumasiotes a day ago | parent | prev | next [-]

> Bitcoin wallets expose their public keys only when the coins are spent.

Really? How do they receive coins?

▲extraextra a day ago | parent [-]

The wallet address is a hash of the public key, but the public key is not "publicly visible" until you sign something with it

The public key is used when you send Bitcoin, but once you use it once, it remains publicly visible

The solution to that would be if with every transaction, you divert the remaining Bitcoin to a brand new wallet

▲Bootvis 21 hours ago | parent [-]

Which is standard practice for a long time now.

▲extraextra 11 hours ago | parent [-]

Right now there are plenty of old pay-to-public-key (P2PK) wallets still exposed, plus lots of wallets that already signed outgoing transactions and has kept the same wallet

Out of the top 100 biggest wallets, only 33 have not made any outgoing transactions, while 67 have already signed something so their pubkey is exposed

If someone actually had a practical way to reverse private keys and the resources to do so, I doubt they'd have a shortage of wallets to target

▲extraextra a day ago | parent | prev [-]

There's a handy list of the richest Bitcoin wallets available on Google, with public keys and everything

#1 seems to hold 12 billion USD, quite the loot for a pirate

▲monocasa a day ago | parent | next [-]

The issue though is that bitcoin (and essentially all currencies, particularly crypto)'s value is based almost entirely on trust. A theft that appears to be a break of crypto would almost certainly devalue the currency so quickly it would negate your ability to liquidate those funds you just stole.

▲tmn a day ago | parent | next [-]

Perhaps for follow up attacks. The first attack will have plenty of time. It will take time for the broader public to sus out a crypto break theft vs good old fashion real world stealing of a key

▲jMyles a day ago | parent | prev | next [-]

I've never understood this argument - if the attacker has the power to destroy confidnce and send the price down, they can benefit from a wildly levered short position, no? Instead of stealing and selling?

▲thaumasiotes a day ago | parent [-]

> if the attacker has the power to destroy confidnce and send the price down, they can benefit from a wildly levered short position, no? Instead of stealing and selling?

Well... no? They can benefit from a wildly levered short position to the extent that it's possible for them to take a short position, historically difficult in cryptocurrency. But assuming there's no problem there, they're still not going to do that instead of stealing and selling. Stealing and selling is the way you make good on the short; you have to do both.

▲extraextra a day ago | parent [-]

It's not difficult to go short against Bitcoin actually, there are plenty of diversified solutions:

- Futures

- Good ol' borrow against collateral

- Bitcoin ETFs

- Polymarket/Kalshi

You don't need to steal and sell to make good on the short actually. A short works by borrowing the asset (Bitcoin) and selling it for cash. Later you have to give back that same asset.

Basically, if you borrow 1 Bitcoin and sell it at 50K USD, then run the exploit to wipe out investors trust, and you subsequently buy back 1 Bitcoin at 10$ to repay your lender, you just made a tidy profit.

▲thaumasiotes 14 hours ago | parent | next [-]

> You don't need to steal and sell to make good on the short actually.

> Basically, if you borrow 1 Bitcoin and sell it at 50K USD, then run the exploit to wipe out investors trust

"Running the exploit to wipe out investors' trust" is the steal-and-sell step that you're claiming is unnecessary. That's what the exploit is; that's why the price goes down. If you don't do it, the price won't go down.

▲extraextra 11 hours ago | parent [-]

Correct correct

I was just addressing the point about the mechanism of covering a short, but I can see why it made my message confusing

▲naniwaduni 17 hours ago | parent | prev | next [-]

The neat thing is that after you run the exploit to wipe out investors' trust, you don't actually need to buy back the bitcoin, you're conveniently sitting on a pile of devalued bitcoin that you wanted to get rid of anyway.

▲extraextra 11 hours ago | parent [-]

That's fair, but then if you use that Bitcoin to cover the short, you'd link the hack directly to your identity

Plus, if you sell the Bitcoin at the market price (before investors lose trust) and you buy it back at the lower price later (after investors lose trust) you make a profit there as well

Granted, I don't think you'd be able to sell a lot of Bitcoin before people catch on and the whole network panics

▲sire-vc 19 hours ago | parent | prev [-]

Hello I'd like to borrow 12 billion USD to be repaid in bitcoin, no need to ask where I plan to get it.

The crazy thing about cryptobros is that there is a non-zero chance someone would bite.

▲extraextra 11 hours ago | parent [-]

Haha true

Well the neat part about Bitcoin is that there are plenty of avenues and platforms you can do this through: in futures there are old-school exchanges offering those and new platforms that offer their own, borrowing goes through specialized platforms and would require collateral, shorting ETFs goes through your old-school stock market broker, Polymarket/Kalshi are markets of their own to bet on specific prices, etc.

▲delecti a day ago | parent | prev [-]

On the other hand, $12m seems like a quite small barrier to wipe out $1T of market cap, if someone wanted to cause some chaos. Back of the napkin map says there are 2m individual people with that much net worth. A billionaire could do that and not even notice.

▲monocasa a day ago | parent | next [-]

It seems that person's estimate was off. He was assuming that the computational cost of sha256 used in bitcoin miners and the cost of computing ecc 256 were equivalent, but ecc is somewhere abouts 2-3 orders of magnitude more expensive.

▲extraextra a day ago | parent | prev [-]

Well, if someone goes short against Bitcoin first and then does the attack to wipe it's value, then it can be economically profitable

▲solyin a day ago | parent | prev [-]

I am sure that multiple parties have forks ready to go for Satoshi day. Emails that will go out automatically proposing a fork if/when those wallets get touched.

▲extraextra 11 hours ago | parent | next [-]

Previous hard forks led to separate coins (Bitcoin Gold & Bitcoin Cash), so I'd be curious if a hard fork happens how would it affect current financial instruments (futures, event contracts, contracts to borrow etc.)

If someone shorts Bitcoin through various borrow mechanisms and then does the hack to depress the price of the main network, would those contracts allow him/her to cover the short with the worthless coin (pre-hard fork)?

I assume yes

▲ShinyLeftPad 16 hours ago | parent | prev [-]

they were touched recently right?

▲fomoz 16 hours ago | parent [-]

Some old addresses were, but not Satoshi coins. If they were touched, that would probably be front page news. They are 1.1m BTC.

▲venussnatch a day ago | parent | prev [-]

Why would you compare the cost of a single purpose hash with extremely optimized dedicated ASICs with an entirely different mathematical operation that requires generalized hardware?

▲cvwright a day ago | parent | next [-]

Bitcoin hash cost is useful as a practical lower bound.

It’s possible that someone could find a way to brute force search something cryptographic and do it more efficiently than the bitcoin miners, but it’s exceedingly unlikely.

▲15155 14 hours ago | parent [-]

Except that it isn't, because the problems are entirely different. SHA2 is a joke in comparison, and with hashing nonces, it's OK if errors are emitted occasionally.

Cracking a privkey requires every single attempt be exhaustive and no errors to ultimately get through.

▲cvwright 5 hours ago | parent [-]

Hence the words “lower bound”.

If it’s infeasible for somebody to do N bitcoin hashes, then we don’t need to worry about them doing N of anything interesting.

OTOH if N bitcoin hashes are cheap, then we should be concerned.

▲monocasa a day ago | parent | prev | next [-]

The better question is why is he assuming that the computational cost of computing a sha256 block and a ecc signature are equivalent, when in fact you're looking at orders of magnitude difference.

▲TZubiri a day ago | parent | prev [-]

So the assumptions would be:

If an ASIC is developed, for a specific 256 eliptic algorithm. If the attack is repeatable enough to warrant the investment If the ASIC is as efficient as the state of the art SHA256 ones

Then the cost per crack would be roughly 12M?

My guess would be the weakest link is the 3rd assumption, SHA256 has bee widely studied as a test subect and the ASICs have had years of optimization.