Asteria-Pro: Enhancing Deep-Learning Based Binary Code Similarity Detection by Incorporating Domain Knowledge
Shouguo Yang, Chaopeng Dong, Yang Xiao, Yiran Cheng, Zhiqiang Shi, Zhi, Li, and Limin Sun

TL;DR
Asteria-Pro enhances binary code similarity detection by integrating domain knowledge-based pre-filtration and re-ranking modules, significantly improving efficiency and accuracy in large-scale firmware vulnerability detection.
Contribution
It introduces a novel architecture that combines deep learning with domain knowledge modules, reducing computation time and increasing detection precision over prior methods.
Findings
Pre-filtration reduces calculation time by 96.9%.
Re-ranking improves MRR by 23.71% and Recall by 36.4%.
Detects 1,482 vulnerabilities with 91.65% precision in real-world firmware.
Abstract
The widespread code reuse allows vulnerabilities to proliferate among a vast variety of firmware. There is an urgent need to detect these vulnerable code effectively and efficiently. By measuring code similarities, AI-based binary code similarity detection is applied to detecting vulnerable code at scale. Existing studies have proposed various function features to capture the commonality for similarity detection. Nevertheless, the significant code syntactic variability induced by the diversity of IoT hardware architectures diminishes the accuracy of binary code similarity detection. In our earlier study and the tool Asteria, we adopt a Tree-LSTM network to summarize function semantics as function commonality and the evaluation result indicates an advanced performance. However, it still has utility concerns due to excessive time costs and inadequate precision while searching for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Advanced Malware Detection Techniques · Software Reliability and Analysis Research
