Dough Finance 해킹 사건 분석: 스마트 컨트랙트 로직
A logic flaw in Dough Finance's smart contract allowed an attacker to bypass collateral checks and withdraw about $1.8M in USDC and ETH. The attacker used automated, step-up transactions and sent most funds to Tornado Cash.
Published on klointcic.medium.com
2024� � 들어, 스마트 컨트랙트 코드 취약점뿐 아니라 플래시론·가격 조작·로직 검증 우회 등 경제·설계적 허점을 � �리는 해킹 시도가 급증하고 있습니다. 이번 Dough Finance 사건은 그 흐름을 대변하는 로직 취약점 기반 탈취의 전형으로 평가되며, 단시간 내 대규모 유출과 믹서를 통한 신속한 세탁이 결합된 고전적 패턴을 재현했습니다.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
About $1.8M in USDC and ETH was stolen, and most was sent to Tornado Cash, making recovery unlikely.
What the attacker needed
None
How it was found
- The attacker made small repeated calls of 0.1 ETH to avoid detection.
- The attacker gradually increased transfer amounts to 1 ETH and then tens of ETH.
- The attacker repeated deposit, withdraw, and transfer calls to move funds to their own address.
- The attacker sent most stolen assets to Tornado Cash Router and some through new wallets.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A smart contract is a program on a blockchain that holds and moves money automatically. Here, the program failed to properly check whether someone was allowed to take funds, so an attacker could call normal functions to drain money. The attacker then used a mixing service to hide the stolen funds.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.