Skip to main navigation Skip to search Skip to main content

PPTFI: Patch Presence Test for Function-Irrelevant Patches

  • Daojing He
  • , Juzheng Zhang
  • , Hongyi Li
  • , Sencun Zhu
  • , Sammy Chan

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

In the past decades, downstream manufacturers often failed to timely adopt the security patches, resulting in some discovered vulnerabilities still posing serious risks. In the currently popular field of blockchain smart contracts, this is also a thorny issue. Although some new methods have been proposed to update and patch smart contracts deployed in blockchain networks, the binary codes of most vulnerable smart contracts are still being executed without patching. To detect the unpatched binaries as soon as possible, signature based patch presence tests and software similarity based patch presence tests have been proposed to check whether a certain patch is applied to the released software binaries. However, a large number of bug-fix patches are irrelevant to functions. They are small in size and only modify program entities other than functions. Existing signature-based patch detection methods and software similarity-based tools have limitations in detecting such patches. In this paper, we propose PPTFI, a patch presence test for function-irrelevant patches. PPTFI understands these patches and extracts code and data information as patch signatures for scanning target binaries. Being evaluated on 62 different versions of 31 real-world function-irrelevant patches and 512 binaries across 16 various compilation environments, PPTFI achieves an accuracy of 77.54%, significantly outperforming existing techniques.

Original languageEnglish (US)
Title of host publicationProceedings - 2024 20th International Conference on Mobility, Sensing and Networking, MSN 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages461-468
Number of pages8
ISBN (Electronic)9798331516024
DOIs
StatePublished - 2024
Event20th International Conference on Mobility, Sensing and Networking, MSN 2024 - Harbin, China
Duration: Dec 20 2024Dec 22 2024

Publication series

NameProceedings - 2024 20th International Conference on Mobility, Sensing and Networking, MSN 2024

Conference

Conference20th International Conference on Mobility, Sensing and Networking, MSN 2024
Country/TerritoryChina
CityHarbin
Period12/20/2412/22/24

All Science Journal Classification (ASJC) codes

  • Information Systems
  • Signal Processing
  • Control and Optimization
  • Instrumentation
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'PPTFI: Patch Presence Test for Function-Irrelevant Patches'. Together they form a unique fingerprint.

Cite this