Figshare · 2018 · 206 citations · 0 references
ComputingComputer ScienceCybersecurityComputer SecurityContractsVulnerability AnalysisBinary ExploitationExploit DevelopmentExploitation TechniquesSmart ContractsSoftware Vulnerability DiscoveryStatic Vulnerability AnalysisAutomated Exploit GenerationAutomated Vulnerability DetectionBinary Vulnerability AnalysisExploit DetectionSmart Contract SecuritySmart Contract Vulnerability AnalysisTransaction ProcessingVulnerability
Cryptocurrencies like Bitcoin provide decentralized currency and programmatic transaction processing, and Ethereum extends this with a Turing‑complete language for smart contracts, creating an environment where security vulnerabilities can be exploited for financial gain. The study addresses automatic identification of vulnerabilities and generation of exploits for smart contracts. The authors define a generic vulnerability model and implement TEE THER, a tool that generates exploits from a contract’s binary bytecode. In a survey of 38,757 unique Ethereum contracts, TEE THER automatically produced working exploits for 815 contracts.
Cryptocurrencies like Bitcoin not only provide a decentralized currency, but also provide a programmatic way to process transactions. Ethereum, the second largest cryptocurrency next to Bitcoin, is the first to provide a Turing-complete language to specify transaction processing, thereby enabling so-called smart contracts. This provides an opportune setting for attackers, as security vulnerabilities are tightly intertwined with financial gain. In this paper, we consider the problem of automatic vulnerability identification and exploit generation for smart contracts. We develop a generic definition of vulnerable contracts and use this to build TEE THER, a tool that allows creating an exploit for a contract given only its binary bytecode. We perform a large-scale analysis of all 38,757 unique Ethereum contracts, 815 out of which our tool finds working exploits for—completely automated.