Assemblage: Automatic Binary Dataset Construction for Machine Learning
Abstract
Binary code is pervasive, and binary analysis is a key task in reverse engineering, malware classification, and vulnerability discovery. Unfortunately, while there exist large corpuses of malicious binaries, obtaining high-quality corpuses of benign binaries for modern systems has proven challenging (e.g., due to licensing issues). Consequently, machine learning based pipelines for binary analysis utilize either costly commercial corpuses (e.g., VirusTotal) or open-source binaries (e.g., coreutils) available in limited quantities. To address these issues, we present Assemblage: an extensible cloud-based distributed system that crawls, configures, and builds Windows PE binaries to obtain high-quality binary corpuses suitable for training state-of-the-art models in binary analysis. We have run Assemblage on AWS over the past year, producing 890k Windows PE and 428k Linux ELF binaries across 29 configurations. Assemblage is designed to be both reproducible and extensible, enabling users to publish "recipes" for their datasets, and facilitating the extraction of a wide array of features. We evaluated Assemblage by using its data to train modern learning-based pipelines for compiler provenance and binary function similarity. Our results illustrate the practical need for robust corpuses of high-quality Windows PE binaries in training modern learning-based binary analyses.
Cite
Text
Liu et al. "Assemblage: Automatic Binary Dataset Construction for Machine Learning." Neural Information Processing Systems, 2024. doi:10.52202/079017-1871Markdown
[Liu et al. "Assemblage: Automatic Binary Dataset Construction for Machine Learning." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/liu2024neurips-assemblage/) doi:10.52202/079017-1871BibTeX
@inproceedings{liu2024neurips-assemblage,
title = {{Assemblage: Automatic Binary Dataset Construction for Machine Learning}},
author = {Liu, Chang and Saul, Rebecca and Sun, Yihao and Raff, Edward and Fuchs, Maya and Pantano, Townsend Southard and Holt, James and Micinski, Kristopher},
booktitle = {Neural Information Processing Systems},
year = {2024},
doi = {10.52202/079017-1871},
url = {https://mlanthology.org/neurips/2024/liu2024neurips-assemblage/}
}