| 注册
首页|期刊导航|信息安全研究|基于多访问控制的智能合约重入攻击防御方法

基于多访问控制的智能合约重入攻击防御方法

陈虹 谢金彤 金海波 武聪 马博宇

信息安全研究2025,Vol.11Issue(4):333-342,10.
信息安全研究2025,Vol.11Issue(4):333-342,10.DOI:10.12379/j.issn.2096-1057.2025.04.06

基于多访问控制的智能合约重入攻击防御方法

Multi-access Controls for Defense Against Smart Contract Reentry Attacks

陈虹 1谢金彤 1金海波 1武聪 2马博宇1

作者信息

  • 1. 辽宁工程技术大学软件学院 辽宁葫芦岛 125105
  • 2. 辽宁工程技术大学科学技术研究院 辽宁阜新 123032
  • 折叠

摘要

Abstract

In order to solve the problem of re-entry attacks caused by the vulnerability of smart contracts in handling external contract calls,a smart contract re-entry attack defense method based on Multiple Access Controls(MAC)is proposed.By using MAC,only the contract owner is allowed to make calls and prevent functions from repeatedly entering the same transaction during execution;at the same time,the state variable is modified to store the secure contract address and update the contract state.Finally,formal verification is used to run the defended smart contract.In this paper,we verifies the method with a bank deposit and withdrawal transaction model.The experimental results show that the smart contract using this defense method can effectively solve the problem of re-entry attacks when external contracts are invoked.Compared with other mainstream defense methods,it has higher feasibility,effectiveness,logical correctness and comprehensibility;compared with the undefended contract,the defended smart contract reduces the equivalent memory usage by 64.51%,and the running time is also shortened.

关键词

智能合约/多访问控制/重入攻击/形式化验证/银行存取款

Key words

smart contract/multiple access controls/reentry attacks/formal authentication/bank access

分类

计算机与自动化

引用本文复制引用

陈虹,谢金彤,金海波,武聪,马博宇..基于多访问控制的智能合约重入攻击防御方法[J].信息安全研究,2025,11(4):333-342,10.

基金项目

国家自然科学基金项目(62173171) (62173171)

辽宁省教育厅科研项目(LJKFZ20220198) (LJKFZ20220198)

信息安全研究

OA北大核心

2096-1057

访问量0
|
下载量0
段落导航相关论文