Return
Automatic code generation based on Abstract Syntax-based encoding. Application on malware detection code generation based on MITRE ATT&CK techniques
DOI:10.1016/j.eswa.2024.125821.png)
Abstract
En 中文
In the last decade, the area of code generation based on natural language was one of the most studied machine learning topics. The paper addresses the problem of code generation from natural language, by generating a syntax-error-free generator model, which creates an Syntax-based model, later translated into code, for generating the structure of the code. Two approaches are comparatively investigated for generating the structure of the program. The first approach generates code templates in the form of an Abstract Syntax Tree, while the second generates the code in the form of an Abstract Syntax Graph, anew introduced concept which reduces the initial redundancy of Abstract Syntax Trees and uses it as anew way to generate code. The proposed methodology is tested on two literature data sets and on malware detection code generation based on areal data set containing MITRE ATT&CK techniques. The results outperform the state-of-the-art Abstract Syntax Tree approaches by 2.46% and the plain text-based approaches with more than 12.5%, highlighting that the proposed methodology learns better the structural representation than other literature approaches.
Keywords:
Deep learning
Recurrent neural network
Abstract syntax tree
Abstract syntax graph
Malware detection
Journal
IF:
7.5
Papers:
3.1W
Citations:
13.6W
Organization
Cited Papers
Deep Illumina-Based Shotgun Sequencing Reveals Dietary Effects on the Structure and Function of the Fecal Microbiome of Growing Kittens
PLoS ONE
IF0

