DeFi Saver Malicious DNS Hijack: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
No edit summary
Line 72: Line 72:
|June 25th, 2022
|June 25th, 2022
|Domain Vault Discount
|Domain Vault Discount
|NameCheap lowers the price of their Domain Vault service from $19.88/mo<ref name="namecheapdomainvault4-10569">[https://web.archive.org/web/20220624011230/https://www.namecheap.com/security/domain-vault/ Premium domain protection – Domain Vault - Namecheap] (Feb 13, 2023)</ref> to $1.88/mo<ref name="namecheapdomainvault5-10570">[https://web.archive.org/web/20220625021642/https://www.namecheap.com/security/domain-vault/ Premium domain protection – Domain Vault - Namecheap] (Feb 13, 2023)</ref>.
|NameCheap lowers the price of their Domain Vault service from $19.88/mo<ref name="namecheapdomainvault4-10569" /> to $1.88/mo<ref name="namecheapdomainvault5-10570" />.
|-
|-
|July 2nd, 2022
|July 2nd, 2022
|Price Segmentation
|Price Segmentation
|NameCheap decides to offer two different Domain Vault services from "Silver" tier at $1.88/mo<ref name="namecheapdomainvault6-10571">[https://web.archive.org/web/20220701041551/https://www.namecheap.com/security/domain-vault/ Premium domain protection – Domain Vault - Namecheap] (Feb 13, 2023)</ref> to "Titanium" tier at $19.88/mo<ref name="namecheapdomainvault7-10572">[https://web.archive.org/web/20220702050733/https://www.namecheap.com/security/domain-vault/ Premium domain protection – Domain Vault - Namecheap] (Feb 13, 2023)</ref>.
|NameCheap decides to offer two different Domain Vault services from "Silver" tier at $1.88/mo<ref name="namecheapdomainvault6-10571" /> to "Titanium" tier at $19.88/mo<ref name="namecheapdomainvault7-10572" />.
|}
|}


Line 123: Line 123:


<ref name="convexbacktonormaltwitter-8885">[https://twitter.com/ConvexFinance/status/1540436217438904320 @ConvexFinance Twitter] (Aug 24, 2022)</ref>
<ref name="convexbacktonormaltwitter-8885">[https://twitter.com/ConvexFinance/status/1540436217438904320 @ConvexFinance Twitter] (Aug 24, 2022)</ref>
<ref name="namecheapdomainvault1-10530">[https://web.archive.org/web/20220322072324/https://www.namecheap.com/security/domain-vault/ Premium domain protection – Domain Vault - Namecheap] (Feb 9, 2023)</ref>


<ref name="namecheapceotwitter1-8884">[https://twitter.com/NamecheapCEO/status/1540364576151289857 @NamecheapCEO Twitter] (Aug 24, 2022)</ref>
<ref name="namecheapceotwitter1-8884">[https://twitter.com/NamecheapCEO/status/1540364576151289857 @NamecheapCEO Twitter] (Aug 24, 2022)</ref>
Line 134: Line 132:
<ref name="lefterisjptwitter-10565">[https://twitter.com/LefterisJP/status/1540306236087877635 @LefterisJP Twitter] (Feb 10, 2023)</ref>
<ref name="lefterisjptwitter-10565">[https://twitter.com/LefterisJP/status/1540306236087877635 @LefterisJP Twitter] (Feb 10, 2023)</ref>


<ref name="namecheapceotwitter3-10566">[https://twitter.com/NamecheapCEO/status/1540458990831894532 @NamecheapCEO Twitter] (Feb 11, 2023)</ref></references>
<ref name="namecheapceotwitter3-10566">[https://twitter.com/NamecheapCEO/status/1540458990831894532 @NamecheapCEO Twitter] (Feb 11, 2023)</ref>
 
<ref name="namecheapdomainvault1-10530">[https://web.archive.org/web/20220322072324/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on Mar 22nd, 2022 - Namecheap] (Feb 9, 2023)</ref>
<ref name="namecheapdomainvault2-10567">[https://web.archive.org/web/20220619232321/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on June 19th, 2022 - Namecheap] (Feb 12, 2023)</ref>
<ref name="namecheapdomainvault3-10568">[https://web.archive.org/web/20220620234159/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on June 20th, 2022 - Namecheap] (Feb 12, 2023)</ref>
<ref name="namecheapdomainvault4-10569">[https://web.archive.org/web/20220624011230/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on June 24th, 2022 - Namecheap] (Feb 13, 2023)</ref>
<ref name="namecheapdomainvault5-10570"> [https://web.archive.org/web/20220625021642/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on June 25th, 2022 - Namecheap] (Feb 13, 2023)</ref>
<ref name="namecheapdomainvault6-10571">[https://web.archive.org/web/20220701041551/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on July 1st, 2022 - Namecheap] (Feb 13, 2023)</ref>
<ref name="namecheapdomainvault7-10572">[https://web.archive.org/web/20220702050733/https://www.namecheap.com/security/domain-vault/ Domain Vault Page on July 2nd, 2022 - Namecheap] (Feb 13, 2023)</ref></references>

Revision as of 12:49, 24 February 2023

Notice: This page is a freshly imported case study from an original repository. While the original content had a similar format, some sections may not have been fully completed. Please help fill in any empty sections or any missing information you can find. If you are new here, please read General Tutorial on Wikis or Anatomy of a Case Study for help getting started.

DeFi Saver


About DeFi Saver

"DeFi Saver is a one-stop dashboard for creating, managing and tracking your DeFi positions." "Automation can manage your leverage and protect your position from liquidation based on your input, non-custodially and trustlessly."[1]

"DeFi Saver is a management dashboard for decentralized finance protocols, including MakerDAO CDPs (with features such as automatic liquidation protection), as well as Compound, dYdX and Fulcrum."[2]

"With DeFi Saver you can manage and interact between decentralized finance protocols. By creating strategies you can create advanced actions that will be executed automatically when certain conditions are met. The code is open source and runs on the Ethereum blockchain."[3]

The Reality

While the smart contract operates in a decentralized manner, most users will tend to interact with the contracts using transactions generated by a centralized website. When a domain name is accessed on the internet, a service called DNS is used to point the domain name to an IP address[4].

The Defi Saver project used NameCheap for their registrar for their primary website[5]. The procedures at NameCheap were such that support team members were able to override the DNS of the website to point the domain name to a malicious server[6][7][8].

What Happened

The account of a customer support agent for NameCheap was hacked[9].

"The attacker was able to access the NameCheap account, even with 2-factor authentication enabled, a strong password, and security alerts. Convex team still had access to the account; 2FA was still enabled, the password was the same, but the attacker was still able to access the account, change the DNS to point to the malicious website, and disable security alerts."

Key Event Timeline - DeFi Saver Malicious DNS Hijack
Date Event Description
March 22nd, 2022 Domain Vault Announced The first archived appearance of the "Domain Vault" service on NameCheap which costs $19.88/mo and is still "coming soon"[10].
June 20th, 2022 3:05:42 AM First Malicious Contract The very first smart contract is created by a wallet controlled from the attacker[11].
June 23rd, 2022 6:17:41 AM Final Malicious Contract The final malicious smart contract is created by the attacker[12].
June 23rd, 2022 1:02:00 PM Alexintosh Convex Finance Tweet The Twitter user @alexintosh reported an abnormal approval requested by the similarly affected Convex Finance website, with a similar but not exact smart contract address[13][14][15].
June 23rd, 2022 3:46:00 PM Additional Malicious Contracts Twitter user HarukoTech describes several malicious contracts which were created against different protocols and that "[t]he attacker seems to be generating similar addresses to well know[n] protocols"[16].
June 23rd, 2022 3:54:00 PM Bret Woods Suggestion Twitter user Bret Woods (@fewture) posts that "[w]e're seeing hackers create addresses that match the first 4 and last 4 characters". His suggestion is to run the same transaction with "the gas SUPER LOW. Like 5 gwei. Your transaction won't go through, but it will populate on @etherscan where it is much easier to click through and make sure it's doing what you intended to do"[17].
June 23rd, 2022 4:46:00 PM Convex Finance DNS Hijack Post Similarly affected Convex Finance first posts on Twitter to announce the DNS hijacking. They list 5 addresses which are affected, that investigation is still ongoing, and that the issue is "remediated" for their service[18][19].
June 24th, 2022 5:48:00 AM DeFi Saver Reports Exploit The Defi Saver team publicly acknowledges the incident on Twitter[20].
June 24th, 2022 10:01:00 AM NameCheap Response NameCheap responds that "We've traced this down to a specific [customer support] agent that was either hacked or compromised somehow and have removed all access from this agent. This affected a few targeted domains but we will continue investigating."[21]
June 24th, 2022 11:21:00 AM NameCheap DomainVault "Usually we require a pin code from customer. We also monitor all actions as well a monitor a real time vip list. In the end our [customer support] needs to be able to modify to help customers especially when 99% don't understand [DNS]. If you want complete security use [DomainVault]"[22]
June 24th, 2022 4:16:00 PM NameCheap Clarifies Hack NameCheap responds that it "[l]ooks more like [their customer support] person was hacked."[9]
June 25th, 2022 Domain Vault Discount NameCheap lowers the price of their Domain Vault service from $19.88/mo[23] to $1.88/mo[24].
July 2nd, 2022 Price Segmentation NameCheap decides to offer two different Domain Vault services from "Silver" tier at $1.88/mo[25] to "Titanium" tier at $19.88/mo[26].

Total Amount Lost

According to Defi Saver's "knowledge and analysis", the attackers were not successful in taking any funds from their users[20].

How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?

Immediate Reactions

Defi Saver reported the attack on Twitter the following day[20]:

We experienced an attempted DNS attack on http://DeFiSaver.com yeste[r]day.

Based on our knowledge and analysis, no users were affected in any way.

The common denominator with @ConvexFinance and @RibbonFinance was @Namecheap and we invite other projects to exercise caution.

Twitter user @psyOPs_ accused the team of not using two-factor authentication[27] and clarification was provided[28].

hi. namecheap user here. no issues. no news of any data breaches. suspect real common denominator here was accounts not using 2FA security.

We certainly did use 2FA, as mentioned and as did other teams. Is there a reason why you would expect your domain to be targe[t]ed in this kind of attack, i.e. is it a domain of a defi protocol which is the other common denominator in this case?

Twitter user 0xPooka confirmed they are switching away from NameCheap[29].

Just switched all my domains from Namecheap to AWS Route 53 the other day. Took 15 minutes

Ultimate Outcome

What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?

Total Amount Recovered

The total amount recovered is unknown.

What funds were recovered? What funds were reimbursed for those affected users?

Ongoing Developments

What parts of this case are still remaining to be concluded?

Prevention Policies

The issue ultimately stemmed from a single customer support agent being compromised. A multi-signature requirement on DNS changes would have prevented this scenario entirely.

While NameCheap offers advanced protections on their domain names, this service had just launched two days prior to the DNS change, so it was unlikely to be a reasonable expectation that Convex Finance would have already signed up.

Users of platforms need to be careful and double check any new approval requested by any platform against the proper smart contract address. It is recommended to double check any new smart contract addresses being interacted with.

References

  1. DeFi Saver (Jul 24, 2021)
  2. DeFi Saver - Crypto Project Reviews. What is DeFi Saver? (Feb 7, 2023)
  3. Introduction - DeFi Saver (Feb 7, 2023)
  4. https://www.cloudflare.com/learning/dns/what-is-dns/ (Feb 9, 2023)
  5. Post Mortem Of Events June 23 (Aug 24, 2022)
  6. @ConvexFinance Twitter (Aug 24, 2022)
  7. @DevanCollins3 Twitter (Aug 24, 2022)
  8. @LefterisJP Twitter (Feb 10, 2023)
  9. 9.0 9.1 @NamecheapCEO Twitter (Feb 11, 2023)
  10. Domain Vault Page on Mar 22nd, 2022 - Namecheap (Feb 9, 2023)
  11. First Smart Contract Creation - EtherScan (Feb 23, 2023)
  12. Final Malicious Contract Creation - EtherScan (Feb 23, 2023)
  13. @Alexintosh Twitter (Aug 23, 2022)
  14. Contract Addresses - ConvexFinance (Aug 24, 2022)
  15. https://en.cryptonomist.ch/2022/06/24/convex-more-info-on-the-hack/ (Jul 2, 2022)
  16. @HarukoTech Twitter (Aug 24, 2022)
  17. Bret Woods (@fewture) Guide - Twitter (Feb 22, 2023)
  18. @ConvexFinance Twitter (Aug 24, 2022)
  19. https://en.cryptonomist.ch/2022/06/24/convex-more-info-on-the-hack/ (Jul 2, 2022)
  20. 20.0 20.1 20.2 DefiSaver Reports DNS Hijack - Twitter (Feb 22, 2023)
  21. @NamecheapCEO Twitter (Aug 24, 2022)
  22. @NamecheapCEO Twitter (Aug 24, 2022)
  23. Domain Vault Page on June 24th, 2022 - Namecheap (Feb 13, 2023)
  24. Domain Vault Page on June 25th, 2022 - Namecheap (Feb 13, 2023)
  25. Domain Vault Page on July 1st, 2022 - Namecheap (Feb 13, 2023)
  26. Domain Vault Page on July 2nd, 2022 - Namecheap (Feb 13, 2023)
  27. psyOPs_ Accusation - Twitter (Feb 22, 2023)
  28. DefiSaver "We certainly did use 2FA" - Twitter (Feb 22, 2023)
  29. 0xPooka - "Just switched all my domains from Namecheap" - Twitter (Feb 22, 2023)

Cite error: <ref> tag with name "namecheapceotwitter1-8884" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "namecheapceotwitter2-8889" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "namecheapdomainvault2-10567" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "namecheapdomainvault3-10568" defined in <references> is not used in prior text.