paperbot · PL 论文追踪

全部论文 待读 收藏

P2 API2Vec: Learning Representations of API Sequences for Malware Detection

API2Vec:学习 API 序列表示用于恶意软件检测
ISSTA Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis2023匹配度 2/10 · 论文聚焦基于 API 调用序列与图嵌入的恶意软件检测,属于安全领域的动态行为分析,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析几乎没有直接交集。虽然涉及程序 API 序列表示,但研究目标和方法与当前研究画像匹配度很低。引用 59 inbox
Lei Cui, Jiancong Cui, Yuede Ji, Zhiyu Hao, Lun Li, Zhenquan Ding
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出基于图的 API 序列嵌入方法 API2Vec,通过建模进程间与进程内行为提升多进程恶意软件检测。

针对基于 API 调用序列的恶意软件检测中,原始序列难以处理多进程 API 交错、难以捕捉细粒度行为的问题,本文提出 API2Vec。该方法首先构建时序进程图(TPG)建模进程间行为,以及时序 API 图(TAG)建模进程内行为;随后设计启发式随机游走生成可反映恶意行为的路径,并用 Doc2Vec 预训练得到路径和 API 的嵌入;最后将嵌入用于恶意软件检测。在真实恶意软件数据集上的实验表明,API2Vec 在准确率和鲁棒性上优于现有嵌入方法和检测方法,对多进程恶意软件尤其有效。

问题
现有基于原始 API 调用序列的深度学习方法难以有效捕捉多进程恶意软件中 API 调用交错所掩盖的行为信息。
方法
构建时序进程图(TPG)和时序 API 图(TAG)分别建模进程间与进程内行为,采用启发式随机游走生成路径,并用 Doc2Vec 预训练得到路径与 API 嵌入用于检测。
评估
在真实恶意软件数据集上与当前最优嵌入方法和检测方法对比,验证准确率与鲁棒性,尤其关注多进程恶意软件场景。
原文摘要(Abstract)

Analyzing malware based on API call sequence is an effective approach as the sequence reflects the dynamic execution behavior of malware.Recent advancements in deep learning have led to the application of these techniques for mining useful information from API call sequences. However, these methods mainly operate on raw sequences and may not effectively capture important information especially for multi-process malware, mainly due to the API call interleaving problem. Motivated by that, this paper presents API2Vec, a graph based API embedding method for malware detection. First, we build a graph model to represent the raw sequence. In particular, we design the temporal process graph (TPG) to model inter-process behavior and temporal API graph (TAG) to model intra-process behavior. With such graphs, we design a heuristic random walk algorithm to generate a number of paths that can capture the fine-grained malware behavior. By pre-training the paths using the Doc2Vec model, we are able to generate the embeddings of paths and APIs, which can further be used for malware detection. The experiments on a real malware dataset demonstrate that API2Vec outperforms the state-of-the-art embedding methods and detection methods for both accuracy and robustness, especially for multi-process malware.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{0003CJHLD23,
  title = {API2Vec: Learning Representations of API Sequences for Malware Detection},
  author = {Lei Cui and Jiancong Cui and Yuede Ji and Zhiyu Hao and Lun Li and Zhenquan Ding},
  booktitle = {ISSTA},
  year = {2023},
  doi = {10.1145/3597926.3598054}
}