Automatic classification of object code using machine learning
University of Maryland, Baltimore County (UMBC), Baltimore, MD, USA
Digital Investigation, Volume 14, Supplement 1, Pages S156-S162, 2015
@article{clemens2015automatic,
title={Automatic classification of object code using machine learning},
author={Clemens, John},
journal={Digital Investigation},
volume={14},
pages={S156–S162},
year={2015},
publisher={Elsevier}
}
Recent research has repeatedly shown that machine learning techniques can be applied to either whole files or file fragments to classify them for analysis. We build upon these techniques to show that for samples of un-labeled compiled computer object code, one can apply the same type of analysis to classify important aspects of the code, such as its target architecture and endianess. We show that using simple byte-value histograms we retain enough information about the opcodes within a sample to classify the target architecture with high accuracy, and then discuss heuristic-based features that exploit information within the operands to determine endianess. We introduce a dataset with over 16000 code samples from 20 architectures and experimentally show that by using our features, classifiers can achieve very high accuracy with relatively small sample sizes.
August 14, 2015 by hgpu