VoteSim: Voting-Based Binary Code Similarity Detection for Vulnerability Identification in IoT Firmware
The widespread integration of third-party components (TPCs) in Internet of Things (IoT) firmware significantly increases the risk of software vulnerabilities, especially in resource-constrained devices deployed in sensitive environments. Binary Code Similarity Detection (BCSD) techniques, particularly those based on deep neural networks, have emerged as powerful tools for identifying vulnerable functions without access to source code. However, individual models, such as Graph Neural Networks (GNNs), Convolutional Neural Networks (CNNs), and Transformer-based methods, often exhibit limitations due to their differing focus on structural, spatial, or semantic features. To address this, we propose VoteSim, a novel ensemble framework that integrates multiple BCSD models using an inverse average rank voting mechanism. VoteSim combines the strengths of individual models while reducing the impact of model-specific false positives, leading to more stable and accurate vulnerability detection. We evaluate VoteSim on a large-scale real-world IoT firmware dataset comprising over 800,000 binary functions and 10 high-risk CVEs. Experimental results show that VoteSim consistently outperforms state-of-the-art BCSD models in both Recall@10 and Mean Reciprocal Rank (MRR), achieving improvements of up to 14.7% in recall. Our findings highlight the importance of model diversity and rank-aware aggregation for robust binary-level vulnerability detection in heterogeneous IoT firmware.
Authors
- Yuwei Meng
- Shize Zhou
- Keda Sun
- Liang Chen (ORCID: https://orcid.org/0000-0002-6718-9261)
- Wei Ruan (ORCID: https://orcid.org/0000-0002-9882-2285)
Institutions
- Zhejiang Energy Group (China) (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-09-16
- DOI
- https://doi.org/10.3390/app151810093
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00