Block chain on-chain attack interception method and device based on Ethereum virtual machine
By generating and deploying a class smart contract with the same code execution path and variables, the problem of attack behavior in smart contracts is solved, and the interception and damage protection of blockchain attacks on the Ethereum virtual machine is realized, and the smart contract is protected. and blockchain system security.
Patent Information
- Application Number
- CN202410889307.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-08
AI Technical Summary
During the execution of smart contracts, there are security vulnerabilities and attack methods, such as reentry attacks and overflow attacks, which lead to abnormal contract behavior and fund security issues, and effective interception methods are urgently needed.
By obtaining transaction information in the blockchain network, reading the original smart contract, and generating a smart contract after detecting an attack, deploying it on the blockchain, controlling the execution of a smart contract, returning losses to a third-party device, and using Dirty tracking technology obtains variable values and jump instructions, and generates class smart contracts with the same code execution path and variables.
Effectively monitor and intercept blockchain attacks based on Ethereum virtual machines, prevent malicious behavior from causing damage to smart contracts and blockchain systems, avoid losses caused by third parties when executing original smart contracts, reduce attack risks, protect user assets and System security.
Smart Images

Figure CN118921186A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain and smart contract technology, and in particular to a method and device for intercepting attacks on a blockchain based on an Ethereum virtual machine. Background Art
[0002] In recent years, the application scope of blockchain technology has been increasing, covering the financial field, public service field, information security field, Internet of Things field, supply chain field, automotive field, etc. The application scenarios include digital currency, digital collections, financial assets, digital government affairs, and evidence storage and anti-counterfeiting data service fields. Ethereum is a smart contract platform based on blockchain technology, and the Ethereum Virtual Machine (EVM) is its core part, which is responsible for executing the code of smart contracts. In the execution process of smart contracts, there are some security vulnerabilities and attack methods, such as reentrancy attacks and overflow attacks. These attacks may cause abnormal behavior of the contract and fund security issues. Therefore, there is an urgent need for an interception method for attacks on the Ethereum virtual machine chain. Summary of the invention
[0003] The present application provides a method and device for intercepting attacks on the blockchain chain based on the Ethereum virtual machine, which can intercept attacks on the blockchain chain based on the Ethereum virtual machine.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect of an embodiment of the present application, a method for intercepting attacks on a blockchain based on an Ethereum virtual machine is provided, which is applied to a local device, where an Ethereum virtual machine is deployed. The method includes:
[0006] Obtaining transaction information cached in the blockchain network, wherein the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain;
[0007] Read the original smart contract corresponding to the transaction information from the blockchain;
[0008] After determining that there is an attack behavior in the transaction information, generating a class smart contract corresponding to the original smart contract, wherein the class smart contract has the same code execution path and code variables as the original smart contract;
[0009] Deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
[0010] As a possible implementation method, generating a class smart contract corresponding to the original smart contract includes:
[0011] Obtain variable values and jump instructions for executing the original smart contract;
[0012] Determine the code execution path of the smart contract-like contract according to the jump instruction;
[0013] Generate the class smart contract according to the variable value and the code execution path.
[0014] As a possible implementation method, the controlling and executing the class smart contract includes:
[0015] If the local device has the authority to execute the smart contract on the blockchain, the local device executes the smart contract;
[0016] If the local device does not have the authority to execute the smart contract on the blockchain, an execution instruction is sent to the target device, so that the target device executes the smart contract on the blockchain according to the execution instruction.
[0017] As a possible implementation method, the control returns the loss generated by executing the smart contract to the corresponding third-party device, including:
[0018] Obtain other smart contracts attacked during the execution of the smart contract of the type;
[0019] According to the identity information and address information of the other smart contracts, loss information is returned to the device corresponding to the other smart contracts, where the loss information is the loss information generated by the other smart contracts attacked during the execution of the type of smart contract.
[0020] As a possible implementation, after reading the original smart contract corresponding to the transaction information from the blockchain, the method further includes:
[0021] Determine whether there is any attack in the transaction information based on the fee information, interaction address, source of funds in the transaction information and the publicity of the smart contract corresponding to the transaction information.
[0022] As a possible implementation manner, obtaining the variable values and jump instructions for executing the original smart contract includes:
[0023] The taint tracking technology is used to obtain the variable values and jump instructions for executing the original smart contract.
[0024] As a possible implementation method, the transaction information cached in the blockchain network is obtained, including:
[0025] Get the transaction information cached by the blockchain network from the memory pool of the blockchain network.
[0026] In a second aspect of the embodiment of the present application, a blockchain chain attack interception device based on an Ethereum virtual machine is provided, which is located on a local device, and an Ethereum virtual machine is deployed on the local device, and the device includes:
[0027] An acquisition module is used to acquire transaction information cached in the blockchain network, where the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain;
[0028] A reading module, used to read the original smart contract corresponding to the transaction information from the blockchain;
[0029] A generation module, configured to generate a class smart contract corresponding to the original smart contract after determining that there is an attack behavior in the transaction information, wherein the class smart contract has the same code execution path and code variables as the original smart contract;
[0030] A control module is used to deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
[0031] In a third aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the blockchain chain attack interception method based on the Ethereum virtual machine in the first aspect of the embodiment of the present application is implemented.
[0032] In a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the blockchain chain attack interception method based on the Ethereum virtual machine in the first aspect of the embodiment of the present application is implemented.
[0033] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0034] The blockchain chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application is applied to a local device, on which an Ethereum virtual machine is deployed, by obtaining the transaction information cached in the memory pool of the blockchain network, the transaction information belongs to the transaction information executed by the Ethereum virtual machine on the blockchain; reading the original smart contract corresponding to the transaction information from the blockchain; after determining that there is an attack behavior in the transaction information, generating a class smart contract corresponding to the original smart contract, the class smart contract has the same code execution path and code variables as the original smart contract; deploying the class smart contract on the blockchain, and controlling the execution of the class smart contract, and controlling the loss generated by the execution of the class smart contract to be returned to the corresponding third-party device. The present application first deploys a class smart contract with the same code execution path and code variables as the original smart contract on the blockchain when determining that the transaction information has an attack behavior, then executes the class smart contract, and finally returns the loss generated by the execution of the class smart contract to the corresponding third-party device, so as to avoid losses when the third party executes the original smart contract, and realizes monitoring and intercepting attack transactions on the blockchain chain based on the Ethereum virtual machine, and prevents malicious behavior from causing damage to smart contracts and blockchain systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The process of the blockchain chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application Figure 1 ;
[0036] Figure 2 The process of the blockchain chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application Figure 2 ;
[0037] Figure 3 A structural diagram of a blockchain attack interception device based on an Ethereum virtual machine provided in an embodiment of the present application;
[0038] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
[0041] Additionally, the use of “based on” or “according to” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” or “according to” one or more conditions or values may, in practice, be based on additional conditions or beyond values.
[0042] The embodiment of the present application provides a method for intercepting attacks on a blockchain based on an Ethereum virtual machine. The method is applied to a local device on which an Ethereum virtual machine is deployed, such as Figure 1 As shown, the method comprises the following steps:
[0043] Step 101: Obtain transaction information cached in the blockchain network, where the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain.
[0044] Optionally, obtaining transaction information cached in the blockchain network includes: obtaining transaction information cached in the blockchain network from a memory pool of the blockchain network.
[0045] It can be understood that this application is equivalent to deploying an Ethereum virtual machine on a local device to simulate the execution environment of the blockchain. After the execution environment is set up, the transaction information in the cache is read from the blockchain network in real time for analysis and monitoring.
[0046] Step 102: Read the original smart contract corresponding to the transaction information from the blockchain.
[0047] Among them, the original smart contract corresponding to the transaction information may be a smart contract associated with the transaction information.
[0048] Step 103: After determining that there is an attack behavior in the transaction information, a class smart contract corresponding to the original smart contract is generated, and the class smart contract has the same code execution path and code variables as the original smart contract.
[0049] Step 104: deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
[0050] The blockchain chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application is applied to a local device, on which an Ethereum virtual machine is deployed, by obtaining the transaction information cached in the blockchain network, the transaction information belongs to the transaction information executed by the Ethereum virtual machine on the blockchain; reading the original smart contract corresponding to the transaction information from the blockchain; after determining that there is an attack behavior in the transaction information, generating a class smart contract corresponding to the original smart contract, the class smart contract has the same code execution path and code variables as the original smart contract; deploying the class smart contract on the blockchain, and controlling the execution of the class smart contract, and controlling the loss generated by the execution of the class smart contract to be returned to the corresponding third-party device. The present application first deploys a class smart contract with the same code execution path and code variables as the original smart contract on the blockchain when it is determined that the transaction information has an attack behavior, then executes the class smart contract, and finally returns the loss generated by the execution of the class smart contract to the corresponding third-party device, so as to avoid losses when the third party executes the original smart contract, realizes monitoring and intercepting attack transactions based on the Ethereum virtual machine, and prevents malicious behavior from causing damage to smart contracts and blockchain systems.
[0051] like Figure 2 As shown, the process of generating a class smart contract corresponding to the original smart contract may be:
[0052] Step 201: Obtain the variable values and jump instructions for executing the original smart contract;
[0053] Step 202: Determine the code execution path of the smart contract class according to the jump instruction;
[0054] Step 203: Generate the class smart contract according to the variable value and the code execution path.
[0055] Specifically, the process of obtaining the variable values and jump instructions for executing the original smart contract may be:
[0056] The taint tracking technology is used to obtain the variable values and jump instructions for executing the original smart contract.
[0057] In the actual execution process, the execution process of the original smart contract can be simulated locally to record all write operations to the storage, including the write location and the corresponding value. Then use the taint tracking technology to track and record all write operations to the storage, and obtain the source of the conditions and values of each conditional jump. According to the analysis of the taint tracking results, the control flow path of the attack transaction and the possible attack conditions are determined. Finally, based on the variable values and code execution path, a class smart contract with the same code execution path and code variables as the original smart contract is generated.
[0058] Optionally, the controlling execution of the class smart contract includes:
[0059] If the local device has the authority to execute the smart contract on the blockchain, the local device executes the smart contract;
[0060] If the local device does not have the authority to execute the smart contract on the blockchain, an execution instruction is sent to the target device, so that the target device executes the smart contract on the blockchain according to the execution instruction.
[0061] Among them, the target device is a device that has the authority to execute smart contracts on the blockchain, or a device that can execute smart contracts on the blockchain.
[0062] Optionally, the control returns the loss generated by executing the class smart contract to the corresponding third-party device, including:
[0063] Obtain other smart contracts attacked during the execution of the smart contract of the type;
[0064] According to the identity information and address information of the other smart contracts, loss information is returned to the device corresponding to the other smart contracts, where the loss information is the loss information generated by the other smart contracts attacked during the execution of the type of smart contract.
[0065] Optionally, after reading the original smart contract corresponding to the transaction information from the blockchain, the method further includes:
[0066] Determine whether there is any attack in the transaction information based on the fee information, interaction address, source of funds in the transaction information and the publicity of the smart contract corresponding to the transaction information.
[0067] Specifically, it is possible to determine whether the transaction information contains attack behavior based on whether there are abnormal gas fees, closed-source smart contracts, infrequently interacted addresses, and abnormal sources of funds in the transaction information. In addition, it is also possible to determine whether there is attack behavior in the transaction information based on other existing methods. This application does not make specific limitations on this.
[0068] The blockchain chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application is applied to a local device, on which an Ethereum virtual machine is deployed, by obtaining the transaction information cached in the blockchain network, the transaction information belongs to the transaction information executed by the Ethereum virtual machine on the blockchain; reading the original smart contract corresponding to the transaction information from the blockchain; after determining that there is an attack behavior in the transaction information, generating a class smart contract corresponding to the original smart contract, the class smart contract has the same code execution path and code variables as the original smart contract; deploying the class smart contract on the blockchain, and controlling the execution of the class smart contract, and controlling the loss generated by the execution of the class smart contract to be returned to the corresponding third-party device. The present application first deploys a class smart contract with the same code execution path and code variables as the original smart contract on the blockchain when it is determined that the transaction information has an attack behavior, then executes the class smart contract, and finally returns the loss generated by the execution of the class smart contract to the corresponding third-party device, so as to avoid losses when the third party executes the original smart contract, realizes monitoring and intercepting attack transactions based on the Ethereum virtual machine, and prevents malicious behavior from causing damage to smart contracts and blockchain systems. In addition, through taint tracking technology and the deployment of smart contracts, various types of attacks can be intercepted, including reentry attacks, overflow attacks, etc., thereby effectively intercepting attack transactions, reducing the risk of attacks on smart contracts and blockchain systems, and protecting user assets and system security.
[0069] like Figure 3 As shown, the embodiment of the present application provides a blockchain chain attack interception device based on the Ethereum virtual machine, characterized in that it is located on a local device, and the Ethereum virtual machine is deployed on the local device. The device includes:
[0070] An acquisition module 11 is used to acquire transaction information cached in the blockchain network, where the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain;
[0071] A reading module 12 is used to read the original smart contract corresponding to the transaction information from the blockchain;
[0072] A generating module 13, configured to generate a class smart contract corresponding to the original smart contract after determining that there is an attack behavior in the transaction information, wherein the class smart contract has the same code execution path and code variables as the original smart contract;
[0073] The control module 14 is used to deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
[0074] In one embodiment, the generating module 13 is specifically used for:
[0075] Obtain variable values and jump instructions for executing the original smart contract;
[0076] Determine the code execution path of the smart contract-like contract according to the jump instruction;
[0077] Generate the class smart contract according to the variable value and the code execution path.
[0078] In one embodiment, the control module 14 is specifically configured to:
[0079] If the local device has the authority to execute the smart contract on the blockchain, the local device executes the smart contract;
[0080] If the local device does not have the authority to execute the smart contract on the blockchain, an execution instruction is sent to the target device, so that the target device executes the smart contract on the blockchain according to the execution instruction.
[0081] In one embodiment, the control module 14 is specifically configured to:
[0082] Obtain other smart contracts attacked during the execution of the smart contract of the type;
[0083] According to the identity information and address information of the other smart contracts, loss information is returned to the device corresponding to the other smart contracts, where the loss information is the loss information generated by the other smart contracts attacked during the execution of the type of smart contract.
[0084] In one embodiment, the generating module 13 is further used for:
[0085] Determine whether there is any attack in the transaction information based on the fee information, interaction address, source of funds in the transaction information and the publicity of the smart contract corresponding to the transaction information.
[0086] In one embodiment, the generating module 13 is specifically used for:
[0087] The taint tracking technology is used to obtain the variable values and jump instructions for executing the original smart contract.
[0088] In one embodiment, the acquisition module 11 is specifically used for:
[0089] Get the transaction information cached by the blockchain network from the memory pool of the blockchain network.
[0090] The blockchain on-chain attack interception device based on the Ethereum virtual machine provided in this embodiment can execute the above-mentioned blockchain on-chain attack interception method embodiment based on the Ethereum virtual machine. Its implementation principle and technical effects are similar and will not be repeated here.
[0091] For the specific definition of the blockchain chain attack interception device based on the Ethereum virtual machine, please refer to the definition of the blockchain chain attack interception method based on the Ethereum virtual machine above, which will not be repeated here. Each module in the above-mentioned blockchain chain attack interception device based on the Ethereum virtual machine can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor of the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0092] The executor of the blockchain on-chain attack interception method based on the Ethereum virtual machine provided in the embodiment of the present application can be a local device, which can be an electronic device, which can be a computer device, a terminal device, a server or a server cluster, and the embodiment of the present application does not specifically limit this.
[0093] Figure 4 This is a schematic diagram of the internal structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device includes a processor and a memory connected via a system bus. The processor is used to provide computing and control capabilities. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement the steps of the blockchain chain attack interception method based on the Ethereum virtual machine provided in each of the above embodiments. The internal memory provides a cached operating environment for the operating system and computer program in the non-volatile storage medium.
[0094] Those skilled in the art will understand that Figure 4 The internal structure diagram of the electronic device shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0095] In another embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the blockchain chain attack interception method based on the Ethereum virtual machine in the embodiment of the present application are implemented.
[0096] In another embodiment of the present application, a computer program product is also provided, which includes computer instructions. When the computer instructions execute the various steps of the blockchain on-chain attack interception method based on the Ethereum virtual machine in the method flow shown in the above method embodiment.
[0097] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer execution instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0098] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0099] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for intercepting on-chain attacks on a blockchain based on an Ethereum virtual machine, characterized in that: Applied to a local device, where an Ethereum virtual machine is deployed, the method includes: Obtaining transaction information cached in the blockchain network, wherein the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain; Read the original smart contract corresponding to the transaction information from the blockchain; After determining that there is an attack behavior in the transaction information, generating a class smart contract corresponding to the original smart contract, wherein the class smart contract has the same code execution path and code variables as the original smart contract; Deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
2. The method according to claim 1, characterized in that The generating a class smart contract corresponding to the original smart contract includes: Obtain variable values and jump instructions for executing the original smart contract; Determine the code execution path of the smart contract-like contract according to the jump instruction; Generate the class smart contract according to the variable value and the code execution path.
3. The method according to claim 1, characterized in that: The controlling and executing the class smart contract includes: If the local device has the authority to execute the smart contract on the blockchain, the local device executes the smart contract; If the local device does not have the authority to execute the smart contract on the blockchain, an execution instruction is sent to the target device, so that the target device executes the smart contract on the blockchain according to the execution instruction.
4. The method according to claim 1, characterized in that The control returns the loss generated by executing the smart contract to the corresponding third-party device, including: Obtain other smart contracts attacked during the execution of the smart contract of the type; According to the identity information and address information of the other smart contracts, loss information is returned to the device corresponding to the other smart contracts, where the loss information is the loss information generated by the other smart contracts attacked during the execution of the type of smart contracts.
5. The method according to claim 1, characterized in that After reading the original smart contract corresponding to the transaction information from the blockchain, the method further includes: Determine whether there is any attack in the transaction information based on the fee information, interaction address, source of funds in the transaction information and the publicity of the smart contract corresponding to the transaction information.
6. The method according to claim 2, characterized in that The obtaining and executing the variable values and jump instructions of the original smart contract includes: The taint tracking technology is used to obtain the variable values and jump instructions for executing the original smart contract.
7. The method according to claim 1, characterized in that Get the transaction information cached in the blockchain network, including: Get the transaction information cached by the blockchain network from the memory pool of the blockchain network.
8. A blockchain attack interception device based on Ethereum virtual machine, characterized in that: Located on a local device, an Ethereum virtual machine is deployed on the local device, and the device includes: An acquisition module is used to acquire transaction information cached in the blockchain network, where the transaction information belongs to transaction information executed by the Ethereum virtual machine on the blockchain; A reading module, used to read the original smart contract corresponding to the transaction information from the blockchain; A generation module, configured to generate a class smart contract corresponding to the original smart contract after determining that there is an attack behavior in the transaction information, wherein the class smart contract has the same code execution path and code variables as the original smart contract; A control module is used to deploy the smart contract on the blockchain, control the execution of the smart contract, and control the return of losses generated by the execution of the smart contract to the corresponding third-party device.
9. A local device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the blockchain chain attack interception method based on the Ethereum virtual machine as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the blockchain chain attack interception method based on the Ethereum virtual machine as described in any one of claims 1 to 7 is implemented.
