arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.10646cs.LGcs.CR
收藏

面向基于机器学习的网络安全任务的源代码表示方法综述

A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Tasks

University of Notre Dame(圣母大学)

Beatrice Casey, Joanna C. S. Santos, George Perry

AI总结:

本文综述了面向机器学习网络安全任务的源代码表示方法,发现基于图的表示、分词器和AST最常用,漏洞检测是最主要任务,C语言覆盖最广,序列模型和支持向量机最流行。

摘要:

用于网络安全相关软件工程任务的机器学习技术正变得越来越流行。源代码的表示是该技术的一个关键部分,它会影响模型学习源代码特征的方式。随着此类技术数量的不断增加,审视该领域的现状以更好地了解已有成果和尚未涉及之处具有重要意义。本文对现有的基于机器学习的方法进行了研究,并展示了针对不同网络安全任务和编程语言所使用的表示类型。此外,我们还研究了不同类型的表示所搭配的模型类型。我们发现,基于图的表示是最受欢迎的表示类别,而分词器(tokenizers)和抽象语法树(ASTs)是总体上最受欢迎的两种表示形式(例如,AST 和分词器是论文数量最多的表示形式,而基于图的表示是论文数量最多的类别)。我们还发现,最受欢迎的网络安全任务是漏洞检测,而被最多技术覆盖的编程语言是 C。最后,我们发现基于序列的模型是最受欢迎的模型类别,而支持向量机(Support Vector Machines)是总体上最受欢迎的模型。

英文摘要:

Machine learning techniques for cybersecurity-related software engineering tasks are becoming increasingly popular. The representation of source code is a key portion of the technique that can impact the way the model is able to learn the features of the source code. With an increasing number of these techniques being developed, it is valuable to see the current state of the field to better understand what exists and what is not there yet. This article presents a study of these existing machine learning based approaches and demonstrates what type of representations were used for different cybersecurity tasks and programming languages. Additionally, we study what types of models are used with different representations. We have found that graph-based representations are the most popular category of representation, and tokenizers and Abstract Syntax Trees (ASTs) are the two most popular representations overall (e.g., AST and tokenizers are the representations with the highest count of papers, whereas graph-based representations is the category with the highest count of papers). We also found that the most popular cybersecurity task is vulnerability detection, and the language that is covered by the most techniques is C. Finally, we found that sequence-based models are the most popular category of models, and Support Vector Machines are the most popular model overall.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑