| 注册
首页|期刊导航|计算机工程|基于Petri网的区块链智能合约攻击者建模与检测

基于Petri网的区块链智能合约攻击者建模与检测

杨林枫 黄政 徐岩 丁志军

计算机工程2025,Vol.51Issue(4):15-26,12.
计算机工程2025,Vol.51Issue(4):15-26,12.DOI:10.19678/j.issn.1000-3428.0070219

基于Petri网的区块链智能合约攻击者建模与检测

Modeling and Detection of Blockchain Smart Contract Attackers Based on Petri Nets

杨林枫 1黄政 1徐岩 2丁志军1

作者信息

  • 1. 同济大学计算机科学与技术学院,上海 201804
  • 2. 北京市西城经济科学大学基础系,北京 100120
  • 折叠

摘要

Abstract

Smart contracts are the core of the second-generation blockchain Ethereum.They involve a large amount of cash flow but are vulnerable to hacking because of being deployed on a public chain.Therefore,potential vulnerabilities in contracts must be detected to ensure their security.However,existing detection methods have difficulty coping with the structural deception of attack codes,in-depth analysis of program logic,and mitigation of state-space explosions.To address these issues,this study first proposes a smart contract attacker modeling detection framework based on Petri nets;the framework uses abstract semantic rules and the dynamic operation characteristics of the nets to capture attack behaviors accurately and ensure high adaptability and accuracy of smart contract detection.Second,the study presents a unified detection method for multilevel vulnerabilities that combines the key features of vulnerabilities at each level to derive attack likelihoods and their potential impacts.Finally,the study presents an on-demand state-space generation mitigation mechanism for the state-space explosion problem;this mechanism improves detection efficiency and resource utilization significantly.Experimental results demonstrate that the proposed method is feasible and practical.

关键词

智能合约/颜色Petri网/攻击/建模/检测

Key words

smart contract/Color Petri Net(CPN)/attack/modeling/detection

分类

计算机与自动化

引用本文复制引用

杨林枫,黄政,徐岩,丁志军..基于Petri网的区块链智能合约攻击者建模与检测[J].计算机工程,2025,51(4):15-26,12.

基金项目

中央高校基本科研业务费专项资金(22120240563). (22120240563)

计算机工程

OA北大核心

1000-3428

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