logoalt Hacker News

The Resolv hack: How one compromised key printed $23M

97 pointsby timbowhiteyesterday at 10:01 PM141 commentsview on HN

Comments

bob1029today at 9:06 AM

> The attacker compromised Resolv’s cloud infrastructure to gain access to Resolv’s AWS Key Management Service (KMS) environment where the protocol’s privileged signing key was stored.

Ok, but how was the AWS infrastructure compromised? This appears to be the crux of the entire article.

AWS is very hard to break if you are using the IAM roles properly and avoiding manual secret management. If the only thing that can even sign a JWT is a very specific blessed EC2 instance that has exclusive access to KMS, your attack surface is nearly zero by comparison to a similar setup where administrators use email or Discord to communicate API credentials.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-role...

The protocol around using an HSM is just as important as the machine itself. It seems like some of us are going to be speed running PCI-DSS the hard way.

show 1 reply
primitivesuaveyesterday at 11:18 PM

Missing from the article - the hacker first compromised Resolv Lab's AWS account, took a private key from KMS that was used to control minting, then managed to extract $25 million into ETH before all protocol functions were suspended.

show 3 replies
Aurornisyesterday at 11:34 PM

According to a writeup at https://www.chainalysis.com/blog/lessons-from-the-resolv-hac... this started with a plain old hack that compromised their signing key.

They also had a smart contract which didn't do some proper checks, but the hack was only possible with the stolen private key. Whoever held the private key was able to mint a lot of money, unchecked.

So there was a traditional hack at the core of this heist, not just a smart contract exploit.

show 2 replies
andaiyesterday at 11:18 PM

If the admins can "lock all transactions", what's the point of it being a crypto?

show 5 replies
cameldrvtoday at 4:11 AM

You shouldn't have a key that controls millions/billions of dollars on a cloud service. It should be on an airgapped laptop that was purchased anonymously, has never been connected to the Internet, and only runs software that has been vetted and loaded onto it via a CD-ROM or some other comparable method.

show 2 replies
amarantyesterday at 11:32 PM

What is the point of stable coins? Like why does anyone buy them?

It seems to me that their initial value is 1usd per token (or some other fiat I guess) and that's also the roof of their value: they kinda guarantee that they won't become more valuable than that.

They are less usable than fiat: more businesses accept fiat than crypto, especially weird and small coins like all stable coins are.

There isn't really a floor to their value, as demonstrated here.

I see plenty of downsides of owning one of these coins, but not a single upside?

Yet people apparently do buy them, so what is the upside? There must surely be something that's good about them?

show 4 replies
onemoresooptoday at 12:40 AM

Could this be an inside job?

s_u_d_oyesterday at 11:24 PM

And what happened next? He mixed those coins? Transformed them into monero?

show 2 replies
RS-232today at 1:02 AM

Has to be an inside job. One doesn’t just simultaneously hack into an AWS account, know exactly which key is needed for coin minting, and know internal details necessary to exploit a smart contract. The nature of the hack practically reveals their identity.

FpUsertoday at 12:49 AM

>"However, the hacker was only able to siphon off $25 million; the rest was locked into the protocol after system admins got alerted."

"Only" ?!!! Poor thing.

m0lluskyesterday at 11:15 PM

stable as in house always wins?

show 1 reply
dmitrygryesterday at 10:59 PM

Self-Funding Bug Bounties strike again.

show 1 reply
consumer451yesterday at 11:17 PM

Oh wow, there's another interesting story on that site:

> Trump Administration Likely to Un-ban Bitcoin Mixers, Dept. of Treasury Says They are “Not Unlawful”

https://bfmtimes.com/trump-likely-to-un-ban-bitcoin-mixers/

show 1 reply
teklayesterday at 11:23 PM

Hacker? The coins were minted with perfectly valid code.

gverrillatoday at 1:07 AM

not even news.

Franklinwhitetoday at 9:29 AM

[dead]

outside2344yesterday at 11:16 PM

How is this industry still an industry?

show 2 replies
momoddotoday at 5:24 AM

[dead]

le-markyesterday at 11:11 PM

Tl;dr another bug in a smart contract exploited, hacker got away clean.

show 1 reply
AIorNotyesterday at 11:19 PM

dang.. stealing money from fools and speculators.

dafelstyesterday at 11:12 PM

But guys, what you don't understand is that the code IS the contract!!! That means you don't even NEED regulation!!

show 2 replies
Panzer04today at 3:28 AM

Why does everything have to be written by an AI?

show 1 reply