Specific file detection baked into machine learning pipelines
Abstract
A set of features including a first feature and a second feature is received at a server. A subset of the set of features is determined for use in generating a model usable by a device to locally make a malware classification decision. The device has reduced computing resources as compared to computing resources of the server. The subset of the set of features is used to generate the model. The generated model includes the first feature and does not include the second feature. A determination is made, at a time subsequent to the generation of the model, that an updated model should be deployed to the device. An updated model is generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 45 · Forward citations: 1.
Claims (27 — 3 Independent, 24 Dependent)
- Claim 1Independent Claim
A system, comprising: a processor configured to: receive, at a server, a set of features including a first feature and a second feature; determine a subset of the set of features to use in generating a model usable by a device to locally make a malware classification decision, wherein the device has reduced computing resources as compared to computing resources of the server; use the subset of the set of features to generate the model, wherein the generated model includes the first feature and wherein the generated model does not include the second feature, wherein the first feature includes a specific count of a number of times a specific n-gram appears in a given file, and wherein when a custom benign test file that includes the specific n-gram the specific count of times is encountered by the device, the device will classify the custom benign test file as malicious; and determine, at a time subsequent to the generation of the model, that an updated model should be deployed to the device, and generate the updated model; and a memory coupled to the processor and configured to provide the processor with instructions.
- Claim 2Depends on #1
The system of claim 1, wherein generating the model includes appending a constructed regression tree to the model.
- Claim 3Depends on #2
The system of claim 2, wherein the constructed regression tree classifies a given file based on a count of occurrences of a custom set of n-grams.
- Claim 4Depends on #3
The system of claim 3, wherein the custom set of n-grams is selected to classify benign test file as being malicious.
- Claim 5Depends on #1
The system of claim 1, wherein the processor is further configured to generate the custom benign file.
- Claim 6Depends on #1
The system of claim 1, wherein the custom benign test file includes a specific count of each n-gram included in the custom set of n-grams.
- Claim 7Depends on #2
The system of claim 2, wherein the processor is further configured to determine that the constructed regression tree does not return a non-zero value for any samples included in a corpus.
- Claim 8Depends on #2
The system of claim 2, wherein the appended constructed regression tree does not reduce accuracy of the model in detecting malicious files.
- Claim 9Depends on #1
The system of claim 1, wherein the set of features includes features extracted from a set of known malicious files.
- Claim 10Depends on #1
The system of claim 1, wherein the set of features includes features extracted from a set of known benign files.
- Claim 11Depends on #1
The system of claim 1, wherein the subset of the set of features is determined using mutual information.
- Claim 12Depends on #1
The system of claim 1, wherein the subset of the set of features is determined using Chi-squared score.
- Claim 13Depends on #1
The system of claim 1, wherein the determination that the updated model should be deployed is made in response to a false positive result reported by a data appliance.
- Claim 14Independent Claim
A method, comprising: receiving, at a server, a set of features including a first feature and a second feature; determining a subset of the set of features to use in generating a model usable by a device to locally make a malware classification decision, wherein the device has reduced computing resources as compared to computing resources of the server; using the subset of the set of features to generate the model, wherein the generated model includes the first feature and wherein the generated model does not include the second feature, wherein the first feature includes a specific count of a number of times a specific n-gram appears in a given file, and wherein when a custom benign test file that includes the specific n-gram the specific count of times is encountered by the device, the device will classify the custom benign test file as malicious; and determining, at a time subsequent to the generation of the model, that an updated model should be deployed to the device, and generate the updated model.
- Claim 15Depends on #14
The method of claim 14, wherein generating the model includes appending a constructed regression tree to the model.
- Claim 16Depends on #15
The method of claim 15, wherein the constructed regression tree classifies a given file based on a count of occurrences of a custom set of n-grams.
- Claim 17Depends on #16
The method of claim 16, wherein the custom set of n-grams is selected to classify the custom benign test file as being malicious.
- Claim 18Depends on #14
The method of claim 14, wherein the processor is further configured to generate the custom benign file.
- Claim 19Depends on #14
The method of claim 14, wherein the custom benign test file includes a specific count of each n-gram included in the custom set of n-grams.
- Claim 20Depends on #15
The method of claim 15, further comprising determining that the constructed regression tree does not return a non-zero value for any samples included in a corpus.
- Claim 21Depends on #15
The method of claim 15, wherein the appended constructed regression tree does not reduce accuracy of the model in detecting malicious files.
- Claim 22Depends on #14
The method of claim 14, wherein the set of features includes features extracted from a set of known malicious files.
- Claim 23Depends on #14
The method of claim 14, wherein the set of features includes features extracted from a set of known benign files.
- Claim 24Depends on #14
The method of claim 14, wherein the subset of the set of features is determined using mutual information.
- Claim 25Depends on #14
The method of claim 14, wherein the subset of the set of features is determined using Chi-squared score.
- Claim 26Depends on #14
The system of claim 14, wherein the determination that the updated model should be deployed is made in response to a false positive result reported by a data appliance.
- Claim 27Independent Claim
A computer program product embodied in a tangible computer readable storage medium and comprising computer instructions for: receiving, at a server, a set of features including a first feature and a second feature; determining a subset of the set of features to use in generating a model usable by a device to locally make a malware classification decision, wherein the device has reduced computing resources as compared to computing resources of the server; using the subset of the set of features to generate the model, wherein the generated model includes the first feature and wherein the generated model does not include the second feature, wherein the first feature includes a specific count of a number of times a specific n-gram appears in a given file, and wherein when a custom benign test file that includes the specific n-gram the specific count of times is encountered by the device, the device will classify the custom benign test file as malicious; and determining, at a time subsequent to the generation of the model, that an updated model should be deployed to the device, and generate the updated model.
Technical Overview & Description
CROSS REFERENCE TO OTHER APPLICATIONS This application is a continuation in part of U.S. patent application Ser. No. 16/517,465 entitled GENERATING MODELS FOR PERFORMING INLINE MALWARE DETECTION filed Jul. 19, 2019, which is incorporated herein by reference for all purposes. BACKGROUND OF THE INVENTION Malware is a general term commonly used to refer to malicious software (e.g., including a variety of hostile, intrusive, and/or otherwise unwanted software). Malware can be in the form of code, scripts, active content, and/or other software. Example uses of malware include disrupting computer and/or network operations, stealing proprietary information (e.g., confidential information, such as identity, financial, and/or intellectual property related information), and/or gaining access to private/proprietary computer systems and/or computer networks. Unfortunately, as techniques are developed to help detect and mitigate malware, nefarious authors find ways to circumvent such efforts. Accordingly, there is an ongoing need for improvements to techniques for identifying and mitigating malware. BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. FIG. 1 illustrates an example of an environment in which malicious applications are detected and prevented from causing harm. FIG. 2 A illustrates an embodiment of a data appliance. FIG. 2 B is a functional diagram of logical components of an embodiment of a data appliance. FIG. 3 illustrates an example of logical components that can be included in a system for analyzing samples. FIG. 4 illustrates portions of an example embodiment of a threat engine. FIG. 5 illustrates an example of a portion of a tree. FIG. 6 illustrates an example of a process for performing inline malware detection on a data appliance. FIG. 7 A illustrates an example hash table for a file. FIG. 7 B illustrates an example threat signature for a sample. FIG. 8 A
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,566,594 B2 | Discovery of high value machine learning pipeline segment and reuse | 2026 | 0 |
References Cited — Backward Prior Art (45)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Peter A. Chew, Brett W. Bader, Ahmed Abdelali ; Latent Morpho-Semantic Analysis: Multilingual Information Retrieval with Character N-Grams and Mutual Information; Proceedings of the 22nd International Conference on Computational Linguistics (Coling 2008), pp. 129-136 Manchester, Aug. 2008 (Year: 2008).
- Beebe et al.,
- “
- Sceadan: Using Concatenated N-Gram Vectors for Improved File and Data Type Classification
- ”
- , IEEE Transactions on Information Forensics and Security, IEEE, USA, vol. 8, No. 9, Sep. 1, 2013 (Sep. 1, 2013), pp. 1519-1530.
- Gil et al.,
- “
- Mal-ID: Automatic Malware Detection Using Common Segment Analysis and Meta-Features
- ”