Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research
<|reference_start|>Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research: Firmware corpora for vulnerability research should be scientifically sound. Yet, several practical challenges complicate the creation of sound corpora: Sample acquisition, e.g., is hard and one must overcome the barrier of proprietary or encrypted data. As image contents are unknown prior analysis, it is hard to select high-quality samples that can satisfy scientific demands. Ideally, we help each other out by sharing data. But here, sharing is problematic due to copyright laws. Instead, papers must carefully document each step of corpus creation: If a step is unclear, replicability is jeopardized. This has cascading effects on result verifiability, representativeness, and, thus, soundness.   Despite all challenges, how can we maintain the soundness of firmware corpora? This paper thoroughly analyzes the problem space and investigates its impact on research: We distill practical binary analysis challenges that significantly influence corpus creation. We use these insights to derive guidelines that help researchers to nurture corpus replicability and representativeness. We apply them to 44 top tier papers and systematically analyze scientific corpus creation practices. Our comprehensive analysis confirms that there is currently no common ground in related work. It shows the added value of our guidelines, as they discover methodical issues in corpus creation and unveil miniscule step stones in documentation. These blur visions on representativeness, hinder replicability, and, thus, negatively impact the soundness of otherwise excellent work.   Finally, we show the feasibility of our guidelines and build a new, replicable corpus for large-scale analyses on Linux firmware: LFwC. We share rich meta data for good (and proven) replicability. We verify unpacking, deduplicate, identify contents, provide ground truth, and show LFwC's utility for research.<|reference_end|>
@article{helmke2024mens,
    title={Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability
  Research},
    author={Ren'e Helmke, Elmar Padilla, Nils Aschenbruck},
    journal={arXiv preprint arXiv:2404.11977},
    year={2024},
    doi={10.14722/ndss.2025.23669},
    archivePrefix={arXiv},
    eprint={2404.11977},
    primaryClass={cs.CR cs.DL}
}