arrow
Return

Automatic code generation based on Abstract Syntax-based encoding. Application on malware detection code generation based on MITRE ATT&CK techniques

delete2025-03-01
delete0
delete
OA
AI
A
Alexandru-Gabriel Sîrbu
G
Gabriela Czibula *
DOI:10.1016/j.eswa.2024.125821delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

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
errShare
errSave
Malware classification through Abstract Syntax Trees and L-moments
err2025-01-01
err0
errOAAI
errRose, Anthony J.; Kabban, Christine M. Schubert; Graham, Scott R.; Henry, Wayne C.; Rondeau, Christopher M.
errShare
errSave
CoCoAST: Representing Source Code via Hierarchical Splitting and Reconstruction of Abstract Syntax Trees
err2023-10-06
err2
PREAI
errShi, Ensheng; Wang, Yanlin; Du, Lun; Zhang, Hongyu; Han, Shi; Zhang, Dongmei; Sun, Hongbin
errShare
errSave
SEASum: Syntax-Enriched Abstractive Summarization
err2022-08-01
err7
PREAI
errLiu, Sen; Yang, Libin; Cai, Xiaoyan
errShare
errSave
A graph-based code representation method to improve code readability classification
err2023-05-23
err4
PREAI
errMi, Qing; Zhan, Yi; Weng, Han; Bao, Qinghang; Cui, Longjie; Ma, Wei
errShare
errSave

Journal

Expert Systems with Applications cover
Expert Systems with Applications
IF:
7.5
Papers:
3.1W
Citations:
13.6W

Organization

B
babes bolyai university from cluj
Scholars:
5.4K
Papers: 4.3K
Citations: 4.3K
Cited Papers

Cited Papers

Control Flow-Based Malware Variant Detection
err2014-07-01
err116
PREAI
errCesare, Silvio; Xiang, Yang; Zhou, Wanlei
errShare
errSave
Deep Illumina-Based Shotgun Sequencing Reveals Dietary Effects on the Structure and Function of the Fecal Microbiome of Growing Kittens
err2014-07-10
err0
errOAAI
errOliver Deusch; Ciaran O’Flynn; Alison Colyer; Penelope Morris; David Allaway; Paul G. Jones; Kelly S. Swanson
errShare
errSave
Incidence and outcome of surgery for adult hydrocephalus patients in Sweden
err2016-09-13
err0
PREAI
errNina Sundström; Jan Malm; Katarina Laurell; Fredrik Lundin; Babar Kahlon; Kristina G Cesarini; Göran Leijon; Carsten Wikkelsö
errShare
errSave
MGCoT : Multi-Grained Contextual Transformer for table-based text generation
err2024-09-01
err2
PREAI
errMo, Xianjie; Xiang, Yang; Pan, Youcheng; Hou, Yongshuai; Luo, Ping
errShare
errSave
errShare
errSave
Winter Potato Water Footprint Response to Climate Change in Egypt
err2022-06-30
err0
errOAAI
errAmal Mohamed Abdel-Hameed; Mohamed EL-Sayed Abuarab; Nadhir Al-Ansari; Hazem Sayed Mehawed; Mohamed Abdelwahab Kassem; Hongming He; Yeboah Gyasi-Agyei; Ali Mokhtar
errShare
errSave
Biomonitoring und Umweltprobenbank
err1995-10-01
err0
PREAI
errMartin Paulus; Roland Klein; Markus Zimmer; Jürgen Jacob; Matthias Rossbach
errShare
errSave
researcher View more