MCP
arXivarXiv
Preprint
Published: August 1, 2019
cs.CR

KiloGrams: Very Large N-Grams for Malware Classification

Abstract
N-grams have been a common tool for information retrieval and machine learning applications for decades. In nearly all previous works, only a few values of nn are tested, with n>6n > 6 being exceedingly rare. Larger values of nn are not tested due to computational burden or the fear of overfitting. In this work, we present a method to find the top-kk most frequent nn-grams that is 60×\times faster for small nn, and can tackle large n≥1024n\geq1024. Despite the unprecedented size of nn considered, we show how these features still have predictive ability for malware classification tasks. More important, large nn-grams provide benefits in producing features that are interpretable by malware analysis, and can be used to create general purpose signatures compatible with industry standard tools like Yara. Furthermore, the counts of common nn-grams in a file may be added as features to publicly available human-engineered features that rival efficacy of professionally-developed features when used to train gradient-boosted decision tree models on the EMBER dataset.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first