MECAT: Memory-Safe Smart Contracts in ARM TrustZone

被引:1
|
作者
Park, Seonghwan [1 ]
Kang, Hayoung [1 ]
Han, Sanghun [1 ]
Youn, Jonghee M. [2 ]
Kwon, Donghyun [3 ]
机构
[1] Pusan Natl Univ, Dept Informat Convergence Engn, Busan 46241, South Korea
[2] Yeungnam Univ, Dept Comp Engn, Gyongsan 36461, South Korea
[3] Pusan Natl Univ, Sch Comp Sci & Engn, Busan 46241, South Korea
关键词
Smart contracts; Blockchains; Peer-to-peer computing; Codes; Fabrics; Distributed ledger; Computer languages; Trusted computing; Memory management; Blockchain; smart contracts; hyperledger fabric; rust; memory-safety; ARM TrustZone;
D O I
10.1109/ACCESS.2024.3387300
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A smart contract is a program executed on a blockchain. However, once the smart contract is deployed on the blockchain, it becomes visible to all participants and remains immutable. Thus, any sensitive information or vulnerabilities in smart contracts can be exposed to potential attackers. To protect the confidentiality of smart contracts, existing studies execute smart contracts in a trusted execution environment (TEE). However, they still suffer from vulnerabilities in smart contracts and potential memory-vulnerability problems. If an attack such as privilege escalation occurs by exploiting this vulnerability, the TEE can have a detrimental effect on the entire system as it has the most privileges in the system. To mitigate the memory vulnerability of the smart contracts in TEE, we propose MECAT, a prototype for memory-safe confidential smart contracts. In essence, MECAT runs smart contracts written in Rust, a memory-safe language, in ARM TrustZone. And MECAT is developed as a software library, allowing developers to easily apply MECAT to their smart contracts. According to our evaluation, MECAT only incurs a 1.36x performance overhead and 0.30% power overhead in single-node environments and can process the 16 clients concurrently in the network made with 8 peer nodes.
引用
收藏
页码:56110 / 56119
页数:10
相关论文
共 30 条
  • [1] RusTEE: Developing Memory-Safe ARM TrustZone Applications
    Wan, Shengye
    Sun, Mingshen
    Sun, Kun
    Zhang, Ning
    He, Xu
    36TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC 2020), 2020, : 442 - 453
  • [2] TZ4Fabric: Executing Smart Contracts with ARM TrustZone
    Mueller, Christina
    Brandenburger, Marcus
    Cachin, Christian
    Felber, Pascal
    Goettel, Christian
    Schiavoni, Valerio
    2020 INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2020), 2020, : 31 - 40
  • [3] Memory-Safe Elimination of Side Channels
    Soares, Luigi
    Quintan Pereira, Fernando Magno
    CGO '21: PROCEEDINGS OF THE 2021 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2021, : 200 - 210
  • [4] Cuckoo: a language for implementing memory-safe and thread-safe system
    West, R
    Wong, GT
    PLC '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGES AND COMPILERS, 2005, : 94 - 100
  • [5] Development of Fast and Memory-Safe Operating System Kernel
    Komarov, Timofey
    Ivanov, Mikhail
    Chepik, Nadezhda
    Starikovskiy, Andrey
    PROCEEDINGS OF THE 2019 IEEE CONFERENCE OF RUSSIAN YOUNG RESEARCHERS IN ELECTRICAL AND ELECTRONIC ENGINEERING (EICONRUS), 2019, : 1852 - 1856
  • [6] Fyr: a memory-safe and thread-safe systems programming language
    Weis, Torben
    Waltereit, Marian
    Uphoff, Maximilian
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1574 - 1577
  • [7] MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
    Michael, Alexandra E.
    Gollamudi, Anitha
    Bosamiya, Jay
    Johnson, Evan
    Denlinger, Aidan
    Disselkoen, Craig
    Watt, Conrad
    Parno, Bryan
    Patrignani, Marco
    Vassena, Marco
    Stefan, Deian
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL): : 425 - 454
  • [8] Architecture for Smart SAFE Contracts
    van der Meyden, Ron
    Maher, Michael J.
    2021 3RD CONFERENCE ON BLOCKCHAIN RESEARCH & APPLICATIONS FOR INNOVATIVE NETWORKS AND SERVICES (BRAINS), 2021, : 145 - 148
  • [9] Developing Safe Smart Contracts
    Rezaei, Sajjad
    Khamespanah, Ehsan
    Sirjani, Marjan
    Sedaghatbaf, Ali
    Mohammadi, Siamak
    2020 IEEE 44TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2020), 2020, : 1027 - 1035
  • [10] Implementation of the Memory-safe Full ANSI-C Compiler
    Oiwa, Yutaka
    PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 259 - 269