计算机科学 ›› 2021, Vol. 48 ›› Issue (1): 273-279.doi: 10.11896/jsjkx.191100020

• 信息安全 • 上一篇    下一篇

基于深度神经网络的庞氏骗局合约检测方法

张艳梅, 楼胤成   

  1. 中央财经大学信息学院 北京 100081
  • 收稿日期:2019-11-03 修回日期:2019-12-27 出版日期:2021-01-15 发布日期:2021-01-15
  • 通讯作者: 张艳梅(jlzym0309@sina.com)
  • 基金资助:
    国家自然科学基金(61602536,61773415,61672104)

Deep Neural Network Based Ponzi Scheme Contract Detection Method

ZHANG Yan-mei, LOU Yin-cheng   

  1. Information School,Central University of Finance and Economics,Beijing 100081,China
  • Received:2019-11-03 Revised:2019-12-27 Online:2021-01-15 Published:2021-01-15
  • About author:ZHANG Yan-mei,born in 1976,Ph.D,professor,is a member of China Compu-ter Federation.Her main research interests include business intelligence,ser-vice computing and blockchain.
  • Supported by:
    National Natural Science Foundation of China(61602536,61773415,61672104).

摘要: 区块链技术的发展吸引了全球投资者的目光。目前,有数以万计的智能合约部署在以太坊上。在给金融、溯源等诸多行业带来颠覆性的创新之余,以太坊上的部分智能合约含有诸如庞氏骗局等欺诈形式,给全球投资者造成了数百万美元的损失。但是,目前针对互联网金融背景下庞氏骗局的定量识别方法较少,针对以太坊上庞氏骗局合约检测的研究较少,且检测精度有进一步提高的空间,文中提出基于深度神经网络的庞氏骗局合约检测方法。该方法提取出智能合约中有助于识别庞氏骗局的特征,如智能合约的操作码特征和账户特征,形成数据集,而后在数据集上训练模型,在测试集上检测性能。实验结果表明,基于深度神经网络的庞氏骗局合约检测方法具有99.6%的查准率和96.3%的查全率,均优于现有方法。

关键词: 庞氏骗局, 区块链, 深度神经网络, 以太坊, 智能合约

Abstract: The development of blockchain technology has attracted the attention of global investors.Currently,tens of thousands of smart contracts are deployed on Ethereum.In spite of bringing disruptive innovation to finance,traceability and many other industries,some smart contracts on Ethereum contain fraudulent forms such as Ponzi schemes,causing millions of dollars of losses to global investors.However,at present,there are few quantitative identification methods for Ponzi scheme under the background of Internet finance,few researches on detection of Ponzi scheme contract on Ethereum,and the detection accuracy needs to be improved.Therefore,a Ponzi scheme contract detection method based on deep neural network is proposed.It extracts the features of smart contract that are helpful to identify Ponzi scheme,such as operation code features and account features,to form a data set.Then,the model is trained on the dataset and performance is tested on test set.The experimental results show that the Ponzi scheme contract detection method based on deep neural network has a precision of 99.6% and a recall rate of 96.3%,which are better than that of existing methods.

Key words: Blockchain, Deep neural network, Ethereum, Ponzi scheme, Smart contract

中图分类号: 

  • TP309.2
[1] ZHENG Z B,XIE S A.Blockchain challenges and opportunities:A survey[C/OL]//International Journal of Web and Grid Ser-vices.http://https://xueshu.baidu.com/usercenter/paper/show?paperid=7e00413a964b3b16c3495eb19c64a1f4&site=xueshu_se.
[2] SWAN M.Blockchain:Blueprint for a New Economy[M].Newton,MA,USA:O'Reilly Media,2015.
[3] Bitcoin:A Peer-to-Peer Electronic Cash System.[OL].https://bitcoin.org/bitcoin.pdf.
[4] CoinDesk.Understanding Ethereum-blockchain Research Report [OL].www.coindesk.com/research/understandingethereum-report/.
[5] A Next-Generation Smart Contract and Decentralized Application Platform.[OL].https://github.com/ethereumlwiki/wiki/WhitePaper.
[6] SZABO N.Smart Contracts:Building Blocks for Digital Markets [OL].http://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html.
[7] BOCEK T.Digital Marketplaces Unleashed[M].Springer-Verlag GmbH.2017-09-15:169-184.ISBN 978-3-662-49274-1.
[8] NORTA A.Creation of smart-contracting collaborations for decentralized autonomous organizations[OL].https://link.springer.com/chapter/10.1007%2F978-3-319-21915-8_1.
[9] CHRISTIDIS K,DEVETSIKIOTIS M.Blockchains and smartcontracts for the internet of things[C]//IEEE Access.2016:2292-2303.
[10] HE P,YU G,ZHANG Y F,et al.Survey on Blockchain Technology and Its Application Prospect[J].Computer Science,2017,44(4):1-7,15.
[11] WANG Q G,HE P,NIE T Z,et al.Survey of Data Storage and Query Techniques in Blockchain Systems[J].Computer Science,2018,45(12):12-18.
[12] HIGGINS S.SEC Seizes Assets from Alleged Altcoin Pyramid Scheme[OL].https://www.coindesk.com/sec-seizesalleged-altcoin-pyramid-scheme.
[13] KEIRNS G.Gemcoin Ponzi Scheme Operator Hit with $74Million Judgment.[OL].https://bitcoinwiki.co/gemcoinponzi-scheme-operator-hit-with-74-million-judgment/.
[14] MORRIS D Z.The Rise of Cryptocurrency Ponzi Schemes[OL].https://www.theatlantic.com/technology/archive/2017/05/cryptocurrency-ponzi-schemes/5286.
[15] ZHAO M.Identification and prevention of Ponzi scheme under the background of internet finance[J].Zhejiang Finance,2016(8):13-17.
[16] CHEN W,ZHENG Z,NGAI E,et al.Exploiting Blockchain Data to Detect Smart Ponzi Schemes on Ethereum[J/OL].IEEE Access,2019:1-1.https://www.researchgate.net/publication/331853833_Exploiting_Blockchain_Data_to_Detect_Smart_Ponzi_Schemes_on_Ethereum.
[17] CHEN W,ZHENG Z,CUI J,et al.Detecting ponzi schemes on ethereum:Towards healthier blockchain technology[C]//Proc.World Wide Web Conf.World Wide Web,2018:1409-1418.
[18] Wikipedia.PonziScheme[OL].https://en.wikipedia.org/wiki/Ponzi_scheme.
[19] YAO L,CHEN W.The Enlightenment of American P2P Supervision[J].China Finance,2015(7):63-64.
[20] DENG L,YU D.Deep Learning:Methods and Applications[J].Foundations & Trends in Signal Processing,2014,7(3).
[21] LECUN Y,BENGIO Y,HINTON G.Deep learning[OL].https://www.nature.com/articles/nature14539.
[22] SCHMIDHUBER,JÜRGEN.Deep Learning in Neural Net-works:An Overview[J].Neural Netw,2015,61:85-117.
[23] JIAO L C,YANG S Y,LIU F,et al.Seventy Years Beyond Neural Networks:Retrospect and Prospect[J].Chinese Journal of Computers,2016,39(8):1697-1716.
[24] FRANSCOIS C.Deep Learning with Python[M].Beijing:Posts and Telecommunications Press,2018.
[25] HUANG L W,JIANG B T,LU S Y,et al.Survey on Deep Learning Based Recommender Systems[J].Chinese Journal of Computers,2018,41(7):1619-1647.
[26] LI C,CHAI Y M,NAN X F,et al.Research on Problem Classification Method Based on Deep Learning[J].Computer Science,2016,43(12):115-119.
[27] BARTOLETTI M,CARTA S,CIMOLI T,et al.Dissecting ponzi schemes on ethereum:Identification,analysis,and impact[OL].https://arxiv.org/abs/1703.03779.
[28] VASEK M,MOORE T.There's No Free Lunch,Even Using Bitcoin:Tracking the Popularity and Profits of Virtual Currency Scams[C]//Springer Berlin Heidelberg.2015:44-61.
[1] 王子凯, 朱健, 张伯钧, 胡凯.
区块链与智能合约并行方法研究与实现
Research and Implementation of Parallel Method in Blockchain and Smart Contract
计算机科学, 2022, 49(9): 312-317. https://doi.org/10.11896/jsjkx.210800102
[2] 黄松, 杜金虎, 王兴亚, 孙金磊.
以太坊智能合约模糊测试技术研究综述
Survey of Ethereum Smart Contract Fuzzing Technology Research
计算机科学, 2022, 49(8): 294-305. https://doi.org/10.11896/jsjkx.220500069
[3] 李博, 向海昀, 张宇翔, 廖浩德.
面向食品溯源场景的PBFT优化算法应用研究
Application Research of PBFT Optimization Algorithm for Food Traceability Scenarios
计算机科学, 2022, 49(6A): 723-728. https://doi.org/10.11896/jsjkx.210800018
[4] 周航, 姜河, 赵琰, 解相朋.
适用于各单元共识交易的电力区块链系统优化调度研究
Study on Optimal Scheduling of Power Blockchain System for Consensus Transaction ofEach Unit
计算机科学, 2022, 49(6A): 771-776. https://doi.org/10.11896/jsjkx.210600241
[5] 傅丽玉, 陆歌皓, 吴义明, 罗娅玲.
区块链技术的研究及其发展综述
Overview of Research and Development of Blockchain Technology
计算机科学, 2022, 49(6A): 447-461. https://doi.org/10.11896/jsjkx.210600214
[6] 高健博, 张家硕, 李青山, 陈钟.
RegLang:一种面向监管的智能合约编程语言
RegLang:A Smart Contract Programming Language for Regulation
计算机科学, 2022, 49(6A): 462-468. https://doi.org/10.11896/jsjkx.210700016
[7] 卫宏儒, 李思月, 郭涌浩.
基于智能合约的秘密重建协议
Secret Reconstruction Protocol Based on Smart Contract
计算机科学, 2022, 49(6A): 469-473. https://doi.org/10.11896/jsjkx.210700033
[8] 毛典辉, 黄晖煜, 赵爽.
符合监管合规性的自动合成新闻检测方法研究
Study on Automatic Synthetic News Detection Method Complying with Regulatory Compliance
计算机科学, 2022, 49(6A): 523-530. https://doi.org/10.11896/jsjkx.210300083
[9] 王思明, 谭北海, 余荣.
面向6G可信可靠智能的区块链分片与激励机制
Blockchain Sharding and Incentive Mechanism for 6G Dependable Intelligence
计算机科学, 2022, 49(6): 32-38. https://doi.org/10.11896/jsjkx.220400004
[10] 孙浩, 毛瀚宇, 张岩峰, 于戈, 徐石成, 何光宇.
区块链跨链技术发展及应用
Development and Application of Blockchain Cross-chain Technology
计算机科学, 2022, 49(5): 287-295. https://doi.org/10.11896/jsjkx.210800132
[11] 阳真, 黄松, 郑长友.
基于区块链与改进CP-ABE的众测知识产权保护技术研究
Study on Crowdsourced Testing Intellectual Property Protection Technology Based on Blockchain and Improved CP-ABE
计算机科学, 2022, 49(5): 325-332. https://doi.org/10.11896/jsjkx.210900075
[12] 任畅, 赵洪, 蒋华.
一种量子安全拜占庭容错共识机制
Quantum Secured-Byzantine Fault Tolerance Blockchain Consensus Mechanism
计算机科学, 2022, 49(5): 333-340. https://doi.org/10.11896/jsjkx.210400154
[13] 高捷, 刘沙, 黄则强, 郑天宇, 刘鑫, 漆锋滨.
基于国产众核处理器的深度神经网络算子加速库优化
Deep Neural Network Operator Acceleration Library Optimization Based on Domestic Many-core Processor
计算机科学, 2022, 49(5): 355-362. https://doi.org/10.11896/jsjkx.210500226
[14] 焦翔, 魏祥麟, 薛羽, 王超, 段强.
基于深度学习的自动调制识别研究
Automatic Modulation Recognition Based on Deep Learning
计算机科学, 2022, 49(5): 266-278. https://doi.org/10.11896/jsjkx.211000085
[15] 冯了了, 丁滟, 刘坤林, 马科林, 常俊胜.
区块链BFT共识算法研究进展
Research Advance on BFT Consensus Algorithms
计算机科学, 2022, 49(4): 329-339. https://doi.org/10.11896/jsjkx.210700011
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!