Skip to main navigation Skip to search Skip to main content

DVul-WLG: Graph Embedding Network Based on Code Similarity for Cross-Architecture Firmware Vulnerability Detection

  • Hao Sun
  • , Yanjun Tong
  • , Jing Zhao*
  • , Zhaoquan Gu
  • *Corresponding author for this work
  • Dalian University of Technology
  • Guangzhou University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Vulnerabilities in the firmware of embedded devices have led to many IoT security incidents. Embedded devices have multiple architectures and the firmware source code of embedded devices is difficult to obtain, which makes it difficult to detect firmware vulnerabilities. In this paper, we propose a neural network model called DVul-WLG for cross-architecture firmware vulnerability detection. This model analyzes the similarity between the binary function of the vulnerability and the binary function of the firmware to determine whether the firmware contains the vulnerability. The similarity between functions is calculated by comparing the features of the attribute control flow graph (ACFG) of the functions. DVul-WLG uses Word2vec, LSTM (Long Short-Term Memory) and an improved graph convolutional neural network (GCN) to extract the features of ACFG. This model embeds instructions of different architectures into the same space through canonical correlation analysis (CCA), and expresses instructions of different architectures in the form of intermediate vectors. In this way, the heterogeneity of architectures can be ignored when comparing cross-architecture similarity. We compared DVul-WLG with the advanced method FIT and the basic method Gemini through experiments. Experiments show that DVul-WLG has a higher AUC (Area Under the Curve) value. We also detected vulnerabilities in the real firmware. The accuracy of DVul-WLG is 89%, while FIT and Gemini are 78% and 73%, respectively.

Original languageEnglish
Title of host publicationInformation Security - 24th International Conference, ISC 2021, Proceedings
EditorsJoseph K. Liu, Sokratis Katsikas, Weizhi Meng, Willy Susilo, Rolly Intan
PublisherSpringer Science and Business Media Deutschland GmbH
Pages320-337
Number of pages18
ISBN (Print)9783030913557
DOIs
StatePublished - 2021
Externally publishedYes
Event24th International Conference on Information Security, ISC 2021 - Virtual, Online
Duration: 10 Nov 202112 Nov 2021

Publication series

NameLecture Notes in Computer Science
Volume13118 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference24th International Conference on Information Security, ISC 2021
CityVirtual, Online
Period10/11/2112/11/21

Keywords

  • Binary code similarity
  • Graph embedding
  • Vulnerability detection

Fingerprint

Dive into the research topics of 'DVul-WLG: Graph Embedding Network Based on Code Similarity for Cross-Architecture Firmware Vulnerability Detection'. Together they form a unique fingerprint.

Cite this