$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.
Latest cryptocurrency news
- Bitcoin price rises back above $30,000 as whales buy the dip
- Ethereum price climbs even as DeFi continues to shrink
- Today’s crypto movers: Bitcoin (↓1.27%), Ethereum (↓2.19%), NEAR Protocol (↓7.41%) and Dogecoin (↑10.07%)
- 7 tips for Bitcoin and crypto beginners
- Tether to launch a stablecoin pegged to the British pound
Picture: Shutterstock