UniASM: Binary Code Similarity Detection without Fine-tuning
–arXiv.org Artificial Intelligence
Binary code similarity detection (BCSD) is widely used in various binary analysis tasks such as vulnerability search, malware detection, clone detection, and patch analysis. Recent studies have shown that the learning-based binary code embedding models perform better than the traditional feature-based approaches. In this paper, we propose a novel transformer-based binary code embedding model named UniASM to learn representations of the binary functions. We design two new training tasks to make the spatial distribution of the generated vectors more uniform, which can be used directly in BCSD without any fine-tuning. In addition, we present a new tokenization approach for binary functions, which increases the token's semantic information and mitigates the out-of-vocabulary (OOV) problem. We conduct an in-depth analysis of the factors affecting model performance through ablation experiments and obtain some new and valuable findings. The experimental results show that UniASM outperforms the state-of-the-art (SOTA) approach on the evaluation dataset. The average scores of Recall@1 on cross-compilers, cross-optimization levels, and cross-obfuscations are 0.77, 0.72, and 0.72. Besides, in the real-world task of known vulnerability search, UniASM outperforms all the current baselines.
arXiv.org Artificial Intelligence
Apr-6-2023
- Country:
- South America > Argentina
- Pampas > Buenos Aires F.D. > Buenos Aires (0.04)
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- Nevada (0.04)
- District of Columbia > Washington (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Texas
- Travis County > Austin (0.04)
- Dallas County > Dallas (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Illinois
- Cook County > Chicago (0.04)
- Champaign County > Urbana (0.04)
- Washington > King County
- Seattle (0.04)
- California
- San Francisco County > San Francisco (0.28)
- San Diego County > San Diego (0.04)
- Santa Clara County > San Jose (0.04)
- Los Angeles County > Long Beach (0.04)
- New York > New York County
- New York City (0.04)
- Canada > British Columbia
- United States
- Europe
- Austria > Vienna (0.14)
- Spain (0.04)
- United Kingdom
- Scotland > City of Edinburgh
- Edinburgh (0.04)
- England > West Midlands
- Birmingham (0.04)
- Scotland > City of Edinburgh
- Sweden > Vaestra Goetaland
- Gothenburg (0.04)
- Italy
- Hungary > Csongrád-Csanád County
- Szeged (0.04)
- Germany
- Berlin (0.04)
- North Rhine-Westphalia > Cologne Region
- Bonn (0.04)
- France > Occitanie
- Hérault > Montpellier (0.04)
- Asia
- Taiwan > Taiwan Province
- Taipei (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Japan > Honshū
- Kansai > Kyoto Prefecture > Kyoto (0.04)
- China
- Hunan Province > Changsha (0.04)
- Hong Kong (0.04)
- Henan Province > Zhengzhou (0.04)
- Guangdong Province > Guangzhou (0.04)
- Beijing > Beijing (0.04)
- Taiwan > Taiwan Province
- South America > Argentina
- Genre:
- Research Report > New Finding (0.66)
- Industry:
- Information Technology > Security & Privacy (1.00)
- Technology: