paper-with-me

Papers

SAFE: Self-Attentive Function Embeddings for Binary Similarity

2018-11-13 · Luca Massarelli, Giuseppe Antonio Di Luna, Fabio Petroni, Leonardo Querzoni, Roberto Baldoni

The binary similarity problem consists in determining if two functions are similar by only considering their compiled form. Advanced techniques for binary similarity recently gained momentum as they can be applied in several fields, such as copyright disputes, malware analysis, vulnerability detection, etc., and thus have an immediate practical impact. Current solutions compare functions by first transforming their binary code in multi-dimensional vector representations (embeddings), and then comparing vectors through simple and efficient geometric operations. However, embeddings are usually derived from binary code using manual feature extraction, that may fail in considering important function characteristics, or may consider features that are not important for the binary similarity problem. In this paper we propose SAFE, a novel architecture for the embedding of functions based on a self-attentive neural network. SAFE works directly on disassembled binary functions, does not require manual feature extraction, is computationally more efficient than existing solutions (i.e., it does not incur in the computational overhead of building or manipulating control flow graphs), and is more general as it works on stripped binaries and on multiple architectures. We report the results from a quantitative and qualitative analysis that show how SAFE provides a noticeable performance improvement with respect to previous solutions. Furthermore, we show how clusters of our embedding vectors are closely related to the semantic of the implemented algorithms, paving the way for further interesting applications (e.g. semantic-based binary function search).

📄 PDF Abstract BibTeX arXiv:1811.05296

Code (3)

facebookresearch/SAFEtorch pytorch
gadiluna/SAFE tf
lucamassarelli/yarasafe pytorch

Tasks

Malware AnalysisVulnerability Detection

Similar Papers 제목 키워드 기반

Speaker diarisation using 2D self-attentive combination of embeddings

2019-02-08 · Guangzhi Sun, Chao Zhang, Phil Woodland

Speaker diarisation systems often cluster audio segments using speaker embeddings such as i-vectors and d-vectors. Since different types of embeddings are often complementary, this paper proposes a generic framework to i…

Diversity

Improving Disfluency Detection by Self-Training a Self-Attentive Model

2020-04-11 · ACL 2020 6 · Paria Jamshid Lou, Mark Johnson

Self-attentive neural syntactic parsers using contextualized word embeddings (e.g. ELMo or BERT) currently produce state-of-the-art results in joint parsing and disfluency detection in speech transcripts. Since the conte…

Word Embeddings

SANST: A Self-Attentive Network for Next Point-of-Interest Recommendation

2020-01-22 · Qianyu Guo, Jianzhong Qi

Next point-of-interest (POI) recommendation aims to offer suggestions on which POI to visit next, given a user's POI visit history. This problem has a wide application in the tourism industry, and it is gaining an increa…

Sequential Recommendation

Deep Graph Neural Point Process For Learning Temporal Interactive Networks

2025-08-17 · Su Chen, Xiaohua Qi, Xixun Lin, Yanmin Shang 외 arxiv

Learning temporal interaction networks(TIN) is previously regarded as a coarse-grained multi-sequence prediction problem, ignoring the network topology structure influence. This paper addresses this limitation and a Deep…

AttentiveGRUAE: An Attention-Based GRU Autoencoder for Temporal Clustering and Behavioral Characterization of Depression from Wearable Data

2025-10-02 · Nidhi Soley, Vishal M Patel, Casey O Taylor arxiv

In this study, we present AttentiveGRUAE, a novel attention-based gated recurrent unit (GRU) autoencoder designed for temporal clustering and prediction of outcome from longitudinal wearable data. Our model jointly optim…

Binary Classification