Chick Finance For Dinner

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Revision as of 10:15, 2 May 2023 by Azoundria (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notice: This page is a freshly imported case study from the original repository. The original content was in a different format, and may not have relevant information for all sections. Please help restructure the content by moving information from the 'About' and 'General Prevention' sections to other sections, and add any missing information or sources you can find. If you are new here, please read General Tutorial on Wikis or Anatomy of a Case Study for help getting started.

Notice: This page contains sources which are not attributed to any text. The unattributed sources follow the initial description. Please assist by visiting each source, reviewing the content, and placing that reference next to any text it can be used to support. Feel free to add any information that you come across which isn't present already. Sources which don't contain any relevant information can be removed. Broken links can be replaced with versions from the Internet Archive. See General Tutorial on Wikis, Anatomy of a Case Study, and/or Citing Your Sources Guide for additional information. Thanks for your help!

Chick Finance

Not only was the Chick Finance team completely and deliberately anonymous, but they stored customer funds in a smart contract hot wallet which was deliberately backdoored in a very clever way. They were actually surprisingly honest on the site, stating there was no audit and to use the contract at your own risk.

Using a clever trick of replacing the lowercase "L" in public with a digit "1", they created source code that looked legitimate but actually enabled the theft of deposited funds. Since the "team" was completely anonymous, nothing was recovered.

This is a global/international case not involving a specific country.[1][2][3][4][5][6][7][8][9][10][11][12]

About Chick Finance

"Winner Winner Chicken Dinner!" "Audits: None. (This project is in beta. Use at your own risk.) Chicks farm will start on 2020/08/24 12:00:00 UTC+. At that time 25,000 CHICK will be released for each farm."

"Chick.Finance (CHICK) has a supply of 7500 CHICK and is distributed among a few addresses, so luckily it hasn’t succeeded in attracting many people, though it is worth saying that the website was created only last August 20th."

"Chicken.Finance [wa]s backdoored using Unicode trick (Pub1ic), which based on the function names, seems to be also trolling the DeFi space."

"Moreover, when checking the contract, there is no way of seeing it because it is blurred and it is no longer public."

"In short, all this suggests that it is a not very legitimate project."

"On August 24, the core developers of the YFII community audited the click.finance contract of the Vault machine gun pool alternative project and found that the contract code of the upcoming liquid mining project chick.finance was different from that shown in the GitHub warehouse. Modifer was malicious Modified to "pub1ic", the developer has the right to withdraw all tokens recharged by the user. This project has a fatal risk, please avoid participating. The YFII community reminds the majority of "farmers" to pay attention to risks when participating in liquid mining projects, and the safety of principal is the first."

"It INTENTIONALLY makes the modifier function as a “pub1ic!” to disguise itself as a “public” function, to easily rug pull."

"In fact, it is precisely in the smart contract that there is a particular error in the “modifier” function in line 350, which, instead of “public”, presents the words “pub1ic”, misleading users about the characteristics of this smart contract."

"The developer has made the following constraints on the deliberately misspelled pub1ic (that is, only the contract owner can call it. If there is no such call, then everyone can do it. The developer wants to steal it by himself, and definitely doesn’t want others to steal it. )"

"As if this wasn’t already strange and suspicious, when checking one of the transactions related to this address, it is possible to find out that the Tornado Cash system has been used to make it impossible to trace who is behind this system."

On "August 24, 2020, Chicken Finance owners stole deposits with a backdoor."

"This is such a malicious act please spread out word ASAP to your fellow farmers."

"Wtf it’s initialized funding/first farming staking (usually from the team itself) was from Tornado cash .. which means it INTENTIONALLY prepare to stay full anon to easily rug pull and scam the f out of all farmers .. "

"please help share and avoid degen farmers get rekt we need to keep at least scammer be exposed ASAP to keep degen game happy and lively .."

The website was modified to diaply the following on August 24th: "Fatal error in contract, REMOVE your tokens NOW!!! Final winner: 0xf1D8722b******8F2d9a4fb68aF0*****739318E !!! Reward: 10 CHICK. winter, winter, chicken dinner!!"

"A new problem afflicts DeFi, and in particular the Chick.finance project."

"YFII notified the risk of the chick.finance contract code, but the sentence "all tokens recharged by users, developers have the right to withdraw" is not completely accurate, so here we need Give everyone a more detailed description."

The problem with the malicious code of the contract is not that "the developer can extract the tokens in the user's contract after the incident" (the developer can do this in the first place), but that for any user authorized by the contract, the developer All the tokens in your wallet can be wiped out (not just what you deposit into the contract). This is exactly what Bitpie Security Lab mentioned in the previous article "The biggest security risk in the current Ethereum Defi ecosystem" To the "abuse of contract authorization issues."

"The logic of the above code is very simple. It is for users who have authorized this contract. The contract owner can transfer your tokens to the owner. It's that simple."

"This is actually a very serious vicious event in the DeFi ecosystem, which should attract the attention of the entire industry, because this time malicious developers may just use spelling mistakes to try to deceive everyone (write public as pub1ic), and then they were lucky for the first time. Found it, what about next time? Is it possible to write loopholes that are complicated in logic and hard to be seen, and wait quietly for the online to wipe out your wallets? It should be emphasized again that in this example, you lose not only the assets you deposited in the contract, but all the assets in your wallet, understand?"

"When we raised the issue of "abuse of contract authorization" to the entire industry, we expected that developers might do evil. We didn't expect this day to come so quickly. This time the code disguise is rather stupid. What about next time? ? Will the DeFi miners be able to avoid it next time?"

This is a global/international case not involving a specific country.

The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.

Include:

  • Known history of when and how the service was started.
  • What problems does the company or service claim to solve?
  • What marketing materials were used by the firm or business?
  • Audits performed, and excerpts that may have been included.
  • Business registration documents shown (fake or legitimate).
  • How were people recruited to participate?
  • Public warnings and announcements prior to the event.

Don't Include:

  • Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.
  • Anything that wasn't reasonably knowable at the time of the event.

There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.

The Reality

This sections is included if a case involved deception or information that was unknown at the time. Examples include:

  • When the service was actually started (if different than the "official story").
  • Who actually ran a service and their own personal history.
  • How the service was structured behind the scenes. (For example, there was no "trading bot".)
  • Details of what audits reported and how vulnerabilities were missed during auditing.

What Happened

The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.

Key Event Timeline - Chick Finance For Dinner
Date Event Description
August 24th, 2020 Main Event Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.

Technical Details

This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?

Total Amount Lost

The total amount lost is unknown.

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

How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?

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

There do not appear to have been any funds recovered in this case.

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?

General Prevention Policies

Having a norm of registered projects and making the process reasonable simple would remove the legitimate need and desire to have anonymous teams/founders.

Funds stored in smart contract hot wallets, in general, should have a contingency plan. Funds should be in offline cold storage whenever possible.

Individual Prevention Policies

No specific policies for individual prevention have yet been identified in this case.

For the full list of how to protect your funds as an individual, check our Prevention Policies for Individuals guide.

Platform Prevention Policies

Policies for platforms to take to prevent this situation have not yet been selected in this case.

For the full list of how to protect your funds as a financial service, check our Prevention Policies for Platforms guide.

Regulatory Prevention Policies

No specific regulatory policies have yet been identified in this case.

For the full list of regulatory policies that can prevent loss, check our Prevention Policies for Regulators guide.

References