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 条
  • [21] Beyond the PDP-11: Architectural support for a memory-safe C abstract machine
    Chisnall, David
    Rothwell, Colin
    Watson, Robert N. M.
    Woodruff, Jonathan
    Vadera, Munraj
    Moore, Simon W.
    Roe, Michael
    Davis, Brooks
    Neumann, Peter G.
    ACM SIGPLAN NOTICES, 2015, 50 (04) : 117 - 130
  • [22] Specification is Law: Safe Creation and Upgrade of Ethereum Smart Contracts
    Antonino, Pedro
    Ferreira, Juliandson
    Sampaio, Augusto
    Roscoe, A. W.
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2022, 2022, 13550 : 227 - 243
  • [23] Practical Verification of Smart Contracts using Memory Splitting
    Grossman, Shelly
    Toman, John
    Bakst, Alexander
    Arora, Sameer
    Sagiv, Mooly
    Nandi, Chandrakana
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (OOPSLA):
  • [24] Trusted Deployer: A Tool for Safe Creation and Upgrade of Ethereum Smart Contracts
    Ferreira, Juliandson
    Antonino, Pedro
    Sampaio, Augusto
    Roscoe, A. W.
    Arruda, Filipe
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2024, 2025, 15403 : 194 - 204
  • [25] Entitling Concurrency to Smart Contracts Using Optimistic Transactional Memory
    Anjana, Parwat Singh
    Kumari, Sweta
    Peri, Sathya
    Rathor, Sachin
    Somani, Archit
    ICDCN '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING AND NETWORKING, 2019, : 508 - 508
  • [26] SodsMPC: FSM based Anonymous and Private Quantum-safe Smart Contracts
    Dolev, Shlomi
    Wang, Ziyu
    2020 IEEE 19TH INTERNATIONAL SYMPOSIUM ON NETWORK COMPUTING AND APPLICATIONS (NCA), 2020,
  • [27] Ponzi scheme detection via oversampling-based Long Short-Term Memory for smart contracts
    Wang, Lei
    Cheng, Hao
    Zheng, Zibin
    Yang, Aijun
    Zhu, Xiaohu
    KNOWLEDGE-BASED SYSTEMS, 2021, 228
  • [28] A general formal memory framework for smart contracts verification based on higher-order logic theorem proving
    Yang Z.
    Lei H.
    International Journal of Performability Engineering, 2019, 15 (11) : 2998 - 3007
  • [29] Safe design and evolution of smart contracts using dynamic condition response graphs to model generic role-based behaviors
    Xu, Yibin
    Slaats, Tijs
    Dudder, Boris
    Hildebrandt, Thomas Troels
    Van Cutsem, Tom
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2025, 37 (01)
  • [30] Fine resolution smart force sensor based on lever arm mechanism using shape memory alloy spring
    Mozhi, G. Then
    Sundareswari, M. Banu
    Dhanalakshmi, K.
    INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2021, 49 (12) : 4330 - 4342