Detection of malicious on-chain programs
Abstract
Methods and systems are described herein for a malware detection system that detects whether an on-chain program associated with a cryptographic token is malicious based on output of a machine learning model. The malware detection system may retrieve or generate attributes associated with an on-chain program and input those into a plurality of scripts within a malware detection script database to determine whether the on-chain program is malicious. The scripts may be generated based on an output of a machine learning model indicating whether the on-chain program is malicious.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A system for detecting malicious on-chain programs using malware detection script databases that are updated based on outputs of machine learning models, the system comprising: one or more processors and non-transitory media storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: detecting a first on-chain program corresponding to a first cryptographic token for a first blockchain network; processing the first on-chain program corresponding to the first cryptographic token using a plurality of scripts stored in a malware detection script database that identifies malicious on-chain programs corresponding to cryptographic tokens, wherein the plurality of scripts is based on outputs of a machine learning model, and wherein the machine learning model is trained by: receiving a plurality of attribute sets associated with respective labeled on-chain programs corresponding to respective labeled cryptographic to
- Claim 2Independent Claim
A method for detecting malicious cryptographic tokens using malware detection script databases that are updated based on outputs of machine learning models, the method comprising: detecting a first on-chain program corresponding to a first cryptographic token for a first blockchain network; determining a first attribute set for the first cryptographic token; processing the first attribute set using a plurality of scripts stored in a malware detection script database that identifies cryptographic tokens as corresponding to a malicious on-chain program, wherein the plurality of scripts is based on outputs of a machine learning model; and in response to processing the first attribute set using the plurality of scripts, generating a warning corresponding to the first cryptographic token, wherein generating the warning comprises: determining a probability that the first on-chain program is malicious; and generating a request to update the malware detection script database based on the proba
- Claim 3Depends on #2
The method of claim 2, wherein the machine learning model is trained by: receiving a plurality of attribute sets associated with respective labeled cryptographic tokens, wherein each attribute set comprises a value for one or more of creation block data, number of holders, number of transfers, transfer duration, earliest transfer, or latest transfer for each labeled cryptographic token of the respective labeled cryptographic tokens; generating a plurality of vectors based on the plurality of attribute sets; and training the machine learning model on the plurality of vectors to generate outputs of whether attributes for inputted cryptographic tokens indicate the malicious on-chain program.
- Claim 4Depends on #3
The method of claim 3, wherein the outputs comprise a probability of whether a set of inputted plurality of attributes corresponds to the malicious on-chain program, and wherein the method further comprises comparing the probability to a probability threshold for determining whether the cryptographic tokens correspond to the malicious on-chain program.
- Claim 5Depends on #2
The method of claim 2, further comprising: generating a recommendation to generate a new script for the malware detection script database; receiving a user input to generate the new script; in response to the user input, retrieving the first attribute set; and generating the new script to identify cryptographic tokens comprising the first attribute set as malicious.
- Claim 6Depends on #5
The method of claim 5, wherein generating the new script further comprises: determining a type of malware type for the first cryptographic token; selecting a decision tree for generating the new script based on the type; and using the decision tree to automatically generate the new script.
- Claim 7Depends on #2
The method of claim 2, wherein detecting the first on-chain program comprises receiving a request for a first blockchain operation, and wherein the first blockchain operation comprises exchanging the first cryptographic token with a second cryptographic token.
- Claim 8Depends on #2
The method of claim 2, further comprising: detecting a second on-chain program corresponding to a second cryptographic token for a second blockchain network; determining a second attribute set for the second cryptographic token; processing the second attribute set using the plurality of scripts stored in the malware detection script database that identifies the cryptographic tokens associated with the malicious on-chain program, wherein the plurality of scripts is based on the outputs of the machine learning model; and in response to processing the second attribute set, generating an approval to perform a second blockchain operation corresponding to the second cryptographic token.
Technical Overview & Description
BACKGROUND In recent years, the use of blockchains and blockchain technology has exponentially increased. Blockchains include lists of records, called “ blocks, ” that are “ chained ” together using cryptography. Each block may include data that is computed using a one-way function (e.g., a function that is practically impossible to invert or reverse-compute) of a previous block, a timestamp (e.g., indicating a creation and/or modification time), and additional data (e.g., transactional or operational data related to blockchain operations). While publicity for blockchains and blockchain technology has been concentrated on its use for cryptocurrencies and smart contracts, blockchains and blockchain technology may be applicable to numerous technological avenues. A common theme of the technological avenues is the manner in which blockchains and blockchain technology are decentralized such that facilitation, management, and/or verification of blockchain-based operations is governed or administered not by any one authority but instead by a community of users. The blockchain may therefore remain distributed (e.g., on a network of computers that communicate and coordinate their actions by passing messages to one another), and in many cases public, through a digital ledger, which records the series of blocks forming the chain. Notably, because each block depends on a preceding block, edits to existing blocks in the chain may not be made without affecting subsequent blocks. Many current blockchains allow creation of new cryptographic tokens that may be exchanged for other cryptographic tokens or otherwise sent and received between users. Thus, there is a large number of these cryptographic tokens that exist and more new ones are getting created daily/weekly/monthly. Generally, cryptographic tokens are created using an on-chain program (e.g., a smart contract). There have been some on-chain programs that were designed with malicious intent (e.g., designed to steal user's valu
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (3)
| Patent | Title | Year | Citations |
|---|