paper-with-me

Papers

Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learning

2021-11-02 · Wenyu Zhu, Zhiyao Feng, Zihan Zhang, Jianjun Chen, Zhijian Ou, Min Yang, Chao Zhang

Recovering binary programs' call graphs is crucial for inter-procedural analysis tasks and applications based on them.transfer One of the core challenges is recognizing targets of indirect calls (i.e., indirect callees). Existing solutions all have high false positives and negatives, making call graphs inaccurate. In this paper, we propose a new solution Callee combining transfer learning and contrastive learning. The key insight is that, deep neural networks (DNNs) can automatically identify patterns concerning indirect calls, which can be more efficient than designing approximation algorithms or heuristic rules to handle various cases. Inspired by the advances in question-answering applications, we utilize contrastive learning to answer the callsite-callee question. However, one of the toughest challenges is that DNNs need large datasets to achieve high performance, while collecting large-scale indirect-call ground-truths can be computational-expensive. Since direct calls and indirect calls share similar calling conventions, it is possible to transfer knowledge learned from direct calls to indirect ones. Therefore, we leverage transfer learning to pre-train DNNs with easy-to-collect direct calls and further fine-tune the indirect-call DNNs. We evaluate Callee on several groups of targets, and results show that our solution could match callsites to callees with an F1-Measure of 94.6%, much better than state-of-the-art solutions. Further, we apply Callee to binary code similarity detection and hybrid fuzzing, and found it could greatly improve their performance.

📄 PDF Abstract BibTeX arXiv:2111.01415

Code (1)

vul337/callee 공식 구현 pytorch

Tasks

Contrastive LearningQuestion AnsweringTransfer Learning

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음
Siamese Network 설명 없음

Similar Papers 제목 키워드 기반

XDA: Accurate, Robust Disassembly with Transfer Learning

2020-10-02 · Kexin Pei, Jonas Guan, David Williams-King, Junfeng Yang 외

Accurate and robust disassembly of stripped binaries is challenging. The root of the difficulty is that high-level structures, such as instruction and function boundaries, are absent in stripped binaries and must be reco…

Language ModelingLanguage ModellingMasked Language ModelingSelf-Supervised Learning+1

Revisiting Lightweight Compiler Provenance Recovery on ARM Binaries

2023-05-06 · Jason Kim, Daniel Genkin, Kevin Leach

A binary's behavior is greatly influenced by how the compiler builds its source code. Although most compiler configuration details are abstracted away during compilation, recovering them is useful for reverse engineering…

Design of an Agent for Answering Back in Smart Phones

2013-06-25 · Sandeep Venkatesh, Meera V Patil, Nanditha Swamy

The objective of the paper is to design an agent which provides efficient response to the caller when a call goes unanswered in smartphones. The agent provides responses through text messages, email etc stating the most …

AGNOMIN -- Architecture Agnostic Multi-Label Function Name Prediction

2025-09-29 · Yonatan Gizachew Achamyeleh, Tongtao Zhang, Joshua Hyunki Kim, Gabriel Garcia 외 arxiv

Function name prediction is crucial for understanding stripped binaries in software reverse engineering, a key step for \textbf{enabling subsequent vulnerability analysis and patching}. However, existing approaches often…

Graph Neural Network

On the Robustness of Malware Detectors to Adversarial Samples

2024-08-05 · Muhammad Salman, Benjamin Zi Hao Zhao, Hassan Jameel Asghar, Muhammad Ikram 외

Adversarial examples add imperceptible alterations to inputs with the objective to induce misclassification in machine learning models. They have been demonstrated to pose significant challenges in domains like image cla…

image-classificationImage ClassificationMalware Analysis