A Note on Curve Finance and Preventing DNS Attacks
On August 9, a group of attackers exploited a vulnerability in Curve Finance, stealing $570,000 in Ethereum (ETH) from user wallets.Â
Using a fake lookalike copy of Curve Financeâs homepage, curve.fi, criminals harvested information such as usernames, passwords, and wallet addresses. Fortunately, the Binance investigations team recovered some 85% of the stolen funds and is now working with law enforcement to return the money to their rightful owners.
In this article, we provide an overview of the exploit and what project teams can learn from this incident.Â
What is a DNS Server?
To understand this attack, youâll first need to know how a DNS server works. DNS, short for domain name system, is one of the fundamental tools allowing people to browse the internet effortlessly.
Whenever someone types a domain, such as âwww.binance.com,â their device sends a query to a DNS server asking for the IP address. Typically, this query will go through multiple DNS servers until it finds the corresponding address.
In layman's terms, one can think of the internet as a massive, intricate highway system, with each road leading to a different website. On these roads, DNS servers function as traffic officers that guide cars in the right direction.
Navigating the internet without DNS servers would be like driving in a foreign country with no maps, GPS, or street signs â everyone would end up at the wrong destination.
The Curve Finance Breach
DNS servers are built on trust. We trust the system will bring us to the right website. We enter sensitive information on these websites, such as bank accounts or personal details.Â
What happens if someone compromises one of the servers for malicious purposes? In the case of the Curve Finance attack, hackers created a 1:1 copy of Curveâs real DNS server and redirected users to a rogue website that looked exactly like the projectâs homepage.Â
The method they used is called DNS cache poisoning, and itâs designed to exploit peopleâs trust in DNS servers. Because the user entered a legitimate URL, they have little reason to suspect the website is stealing their credentials. Now, imagine this on a larger scale: a poisoned DNS server redirecting hundreds of thousands of users to multiple harmful websites.Â
How to Stay Safe Amid DNS Cache Poisoning?
Avoiding a compromised DNS server will always be more straightforward than cleaning up the damage afterward. Hereâs what regular users can do to safeguard their funds:
Donât click on suspicious links.
Clear your DNS cache periodically.
Regularly scan for harmful programs on your device.
There are limits, however, to what everyday folks can do to protect themselves in this situation. Compromised DNS servers will often redirect users to an identical homepage that is near-impossible to discern from the page they intended to view.Â
The onus of responsibility lies on the crypto companies providing their services to millions of users globally. Projects should ensure they use a secure, reputable domain management vendor. Do not try to cut costs with a low-end DNS provider. A reliable vendor, such as MarkMonitor or Cloudflare, should support custom protocols that prevent hackers from altering domain name settings.
Protect Your Users
Attacks like this are a harsh reality in an emerging industry like crypto. The damage couldâve been irrevocable â potentially millions in user funds â if Curveâs breach went undetected for even another day. For crypto to grow sustainably, our industry must prioritize building a secure ecosystem first. We hope other projects can learn from the information in this article and focus on the right thing â protecting their users.Â