Publications

Publications

Type of Publication: Article in Collected Edition

Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks

Author(s):
Michael Rodler; Wenting Li; Ghassan Karame; Lucas Davi
Title of Anthology:
Proc. of 26th Network and Distributed System Security Symposium (NDSS)
Publication Date:
2019
Additional Content:
Download (6.15 MB)
Link to complete version:
https://www.ndss-symposium.org/wp-content/uploads/2019/02/ndss2019_09-3_Rodler_paper.pdf
Citation:
LABEL-FOR-eidrisexport

Abstract

Recently, a number of existing blockchain systems have witnessed major bugs and vulnerabilities within smart contracts. Although the literature features a number of proposals for securing smart contracts, these proposals mostly focus on proving the correctness or absence of a certain type of vulnerability within a contract, but cannot protect deployed (legacy) contracts from being exploited. In this paper, we address this problem in the context of re-entrancy exploits and propose a novel smart contract security technology, dubbed Sereum (Secure Ethereum), which protects existing, deployed contracts against re-entrancy attacks in a backwards compatible way based on run-time monitoring and validation. Sereum does neither require any modification nor any semantic knowledge of existing contracts. By means of implementation and evaluation using the Ethereum blockchain, we show that Sereum covers the actual execution flow of a smart contract to accurately detect and prevent attacks with a false positive rate as small as 0.06% and with negligible run-time overhead. As a by-product, we develop three advanced re-entrancy attacks to demonstrate the limitations of existing offline vulnerability analysis tools.