$7 million KICKICO hack: Smart contracts continue to be weak points
Where there's a will, there's a way in.
The KICKICO (KICK) platform was hacked and about 7.7 million dollars' worth of user tokens were stolen on 26 July.
In this case, the thieves managed to get their hands on the private keys of the KickCoin smart contract owner and used their access to destroy tokens in about 40 different wallets and to make the same amount reappear in other locations.
Once alerted to the theft, KICKICO changed the old smart contract private key to the same private key as is being used for cold storage.
The ever-present risk of hack-attacks coupled with the absence of formal crypto-cybersecurity requirements has seen a series of best practices evolve. But new projects will be exposed to new risks, and smart contracts in particular open up a new set of potential issues.
The problem might have been avoided at several stages:
- The hack would have been stopped if the thieves hadn't been able to get the smart contract owner's private keys. It's still not clear how they did, but spear phishing can be a remarkably effective way to target a specific individual with malware like a keylogger.
- The hack would also have been stopped if the thieves hadn't been able to access the smart contract, even with the owner's private keys. Utilising 2-factor authentication might have prevented or at least made the hack much more difficult.
- The hack could have been stopped if the contract itself hadn't been able to perform any functions which could be used for theft. In this case, the contracts should not have had the ability to destroy and create tokens. Assuming the functionality wasn't deliberate, this might have been prevented with thorough smart contract auditing.
"Similar to the other ICO breaches we've seen recently like Bancor, this could have been prevented if the smart contracts were audited," says Yo Kwon, CEO and founder of the Hosho blockchain cybersecurity firm. "KICKICO’s hack exploits a weakness that always existed with their smart contracts and ICOs need to give those who interact with them confidence in their security practices.
"In addition to discovering security vulnerabilities, Hosho’s smart contract audits indicate whether or not a risk such as this exists as it is a liability to investors and exchanges. Any large source of funds or access to powerful smart contracts should at the minimum be using multi-signature verification."
In the aftermath, KICKICO has said the problem is solved and has promised to refund all affected users.
Wherever there's more than one step to potentially prevent or reduce the chance of theft, it might be worth taking all of them.
Disclosure: At the time of writing, the author holds ETH, IOTA, ICX, VET, XLM, BTC and ADA.
- Ethereum price: Massive slide as market faces bearish pressure
- Ethereum 2.0: Roadmap, timeline and implications
- Bitcoin falls to US$34,000 as confidence in money markets improves with the Biden inauguration
- Bitcoin price lags while regulators raise fears and banks grapple
- Bitcoin price sees volatility around $37,000 with Pantera Capital projecting $115,000