KiloGrams: Very Large N-Grams for Malware Classification
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 $n$ are tested, with $n > 6$ being exceedingly rare. Larger values of $n$ are not tested due to computational burden or the fear of overfitting. In this work, we present a method to find the top-$k$ most frequent $n$-grams that is 60$\times$ faster for small $n$, and can tackle large $n\geq1024$. Despite the unprecedented size of $n$ considered, we show how these features still have predictive ability for malware classification tasks. More important, large $n$-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 $n$-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.
Code (1)
Tasks
ClassificationGeneral ClassificationInformation RetrievalMalware AnalysisMalware ClassificationRetrievalSimilar Papers 제목 키워드 기반
Malware families discovery via Open-Set Recognition on Android manifest permissions
Malware are malicious programs that are grouped into families based on their penetration technique, source code, and other characteristics. Classifying malware programs into their respective families is essential for bui…
Malware ClassificationMalware DetectionOpen Set LearningEffectiveness of Adversarial Examples and Defenses for Malware Classification
Artificial neural networks have been successfully used for many different classification tasks including malware detection and distinguishing between malicious and non-malicious programs. Although artificial neural netwo…
ClassificationGeneral ClassificationMalware ClassificationMalware DetectionHamm-Grams: An Algorithm for Mining Regular Expressions of Bytes
Malware poses a critical and ever-evolving threat, and robust and effective systems for detecting and classifying malware are of essential importance. $n$-grams features are among the common static features used in effec…
Malware ClassificationA Novel Feature Representation for Malware Classification
In this study we have presented a novel feature representation for malicious programs that can be used for malware classification. We have shown how to construct the features in a bottom-up approach, and analyzed the ove…
ClassificationDescriptiveMalware ClassificationMalware Detection Using Frequency Domain-Based Image Visualization and Deep Learning
We propose a novel method to detect and visualize malware through image classification. The executable binaries are represented as grayscale images obtained from the count of N-grams (N=2) of bytes in the Discrete Cosine…
Binary ClassificationClassificationGeneral Classificationimage-classification+3