Byte-distribution analysis of file security
Abstract
A method for scanning files for security, including receiving an unfamiliar file for scanning, if the determining indicates that the mime type is suitable for analysis, then processing a buffer of file data from the unfamiliar file, including generating a histogram of frequencies of occurrence of bytes within a buffer of file data from the unfamiliar file, excluding a designated set of bytes, and if the generated histogram of frequencies of occurrence of the non-excluded bytes deviates substantially from a reference distribution, then signaling that the unfamiliar file is potentially malicious. A system and a computer-readable storage medium are also described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 6.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-based method for scanning files for security, comprising: receiving, by a computer, an unfamiliar file for scanning; generating, by the computer, a histogram of frequencies of occurrence of a plurality of byte values within a buffer of file data from the unfamiliar file, excluding frequencies for a designated set of byte values from the plurality of byte values; and if the generated histogram of non-excluded frequencies deviates substantially from a reference frequency distribution, then signaling, by the computer, that the unfamiliar file is potentially malicious.
- Claim 2Depends on #1
The method of claim 1 further comprising transforming, by the computer, the unfamiliar file prior to said generating a histogram.
- Claim 3Depends on #2
The method of claim 2 wherein said transforming comprises decoding the unfamiliar file.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- Abou-Assaleh, Tony, Cercone, Nick, Kesselj, Vlado and Swiedan, Ray, N-gram-based Detection of New Malicious Code, IEEE Proceedings of the 28th Annual International COMPSAC '04, 2004.
- Stolfo, Salvatore J., Wang, Ke and Li, Wei Jen, Fileprint Analysis for Malware Detection http://www1.cs.columbia.edu/~w1318/papers/wormpaper2005.pdf, Jun. 19, 2005.
- Stolfo, Salvatore J., Wang, Ke and Li, Wei Jen, Fileprint Analysis for Malware Detection http://www1.cs.columbia.edu/˜w1318/papers/wormpaper2005.pdf, Jun. 19, 2005.
- Stolfo, Salvatore J., Wang, Ke and Li, Wei Jen, Towards Stealthy Malware Detection http://www.thc.org/root/docs/intrusion-detection/hids/Toward%20Stealthy%20Malware%20Detectio.