Encoding machine code instructions for static feature based malware clustering
Abstract
Machine language instruction sequences of computer files are extracted and encoded into standardized opcode sequences. The standardized opcodes in the sequences are of the same length and do not include operands. A multi-dimension vector is generated as a static feature for each computer file, where each element in the vector corresponds to the number of occurrences of a unique N-gram (i.e., unique sequence of N consecutive standardized opcodes) in the standardized opcode sequence for that computer file. The computer files are clustered into clusters of similarly classified files based on similarities of their static features. An unknown computer file can be classified by first grouping the file into a cluster of files with similar static features (e.g., into the cluster with the shortest average distance), and then determining the classification of that file based on the classifications of other files that belong to the same cluster.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 80.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for detecting malware, comprising: extracting a machine language instruction sequence from a computer file of unknown classification, wherein the machine language instruction sequence comprises opcodes of different length and associated operand values; encoding the opcodes in the machine language instruction sequence into a standardized opcode sequence, the standardized opcode sequence including the opcodes without the associated operand values, wherein the opcodes in the standardized opcode sequence have a uniform length; generating a static feature for the compu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 80 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Abou-Assaleh, T. et al., "Detection of New Malicious Code Using N Grams Signatures," Second Annual Conference on Privacy, Security and Trust, 2004, pp. 193-196, [Online] [Retrieved on Jan. 27, 2011] Retrieved from the Internet.
- Abou-Assaleh, T. et al., "N-gram Based Detection of New Malicious Code," COMPSAC, 2004, [Online] [Retrieved on Apr. 22, 2011] Retrieved from the Internet.
- Abou-Assaleh, T. et al., “Detection of New Malicious Code Using N Grams Signatures,” Second Annual Conference on Privacy, Security and Trust, 2004, pp. 193-196, [Online] [Retrieved on Jan. 27, 2011] Retrieved from the Internet<URL:http://explorer.cekli.com/articles/pdf/n-gram-based-detection-new-mal
- Abou-Assaleh, T. et al., “N-gram Based Detection of New Malicious Code,” COMPSAC, 2004, [Online] [Retrieved on Apr. 22, 2011] Retrieved from the Internet<URL:http://explorer.cekli.com/articles/pdf>.
- Bayer, U. et al., "Scalable, Behavior-Based Malware Clustering," 16th Symposium on Network and Distributed System Security, 2009, 18 pages, [Online] [Retrieved on Apr. 22, 2011] Retrieved from the Internet.