清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

ExploitGen: Template-augmented exploit code generation based on CodeBERT

利用 计算机科学 编码(集合论) 程序设计语言 计算机安全 集合(抽象数据类型)
作者
Guang Yang,Yu Zhou,Xiang Chen,Xiangyu Zhang,Tingting Han,Taolue Chen
出处
期刊:Journal of Systems and Software [Elsevier BV]
卷期号:197: 111577-111577 被引量:37
标识
DOI:10.1016/j.jss.2022.111577
摘要

Exploit code is widely used for detecting vulnerabilities and implementing defensive measures. However, automatic generation of exploit code for security assessment is a challenging task. In this paper, we propose a novel template-augmented exploit code generation approach ExploitGen based on CodeBERT. Specifically, we first propose a rule-based Template Parser to generate template-augmented natural language descriptions (NL). Both the raw and template-augmented NL sequences are encoded to context vectors by the respective encoders. For better learning semantic information, ExploitGen incorporates a semantic attention layer, which uses the attention mechanism to extract and calculate each layer’s representational information. In addition, ExploitGen computes the interaction information between the template information and the semantics of the raw NL and designs a residual connection to append the template information into the semantics of the raw NL. Comprehensive experiments on two datasets show the effectiveness of ExploitGen after comparison with six state-of-the-art baselines. Apart from the automatic evaluation, we conduct a human study to evaluate the quality of generated code in terms of syntactic and semantic correctness. The results also confirm the effectiveness of ExploitGen.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
4秒前
6秒前
小宝完成签到 ,获得积分10
6秒前
瀼瀼发布了新的文献求助10
9秒前
21秒前
E上电_GWJ完成签到,获得积分10
24秒前
IMYUYUYU发布了新的文献求助10
26秒前
kevin_kong完成签到,获得积分10
34秒前
瀼瀼完成签到,获得积分10
34秒前
Wang_Joff完成签到,获得积分10
57秒前
小花完成签到 ,获得积分10
1分钟前
OK应助科研通管家采纳,获得10
1分钟前
OK应助科研通管家采纳,获得10
1分钟前
OK应助科研通管家采纳,获得10
1分钟前
搜集达人应助科研通管家采纳,获得10
1分钟前
zsz完成签到,获得积分10
1分钟前
六六发布了新的文献求助10
1分钟前
无极微光应助HHHC采纳,获得20
1分钟前
陶军辉完成签到 ,获得积分10
1分钟前
珍珠火龙果完成签到 ,获得积分10
1分钟前
bo完成签到 ,获得积分10
1分钟前
负责的汉堡完成签到 ,获得积分10
1分钟前
章铭-111完成签到 ,获得积分10
1分钟前
korchid发布了新的文献求助20
1分钟前
毛毛弟完成签到 ,获得积分10
1分钟前
六六发布了新的文献求助10
1分钟前
搜集达人应助korchid采纳,获得10
2分钟前
Tong完成签到,获得积分0
2分钟前
2分钟前
大大大忽悠完成签到 ,获得积分10
2分钟前
2分钟前
洁净的静芙完成签到 ,获得积分10
3分钟前
leilei完成签到 ,获得积分10
3分钟前
wwe完成签到,获得积分10
3分钟前
宇文雨文完成签到 ,获得积分10
3分钟前
北枳完成签到,获得积分10
3分钟前
Arctic完成签到 ,获得积分10
3分钟前
ybwei2008_163完成签到,获得积分20
3分钟前
sadh2完成签到 ,获得积分10
3分钟前
2012csc完成签到 ,获得积分0
3分钟前
高分求助中
Annie Ernaux: De la perte au corps glorieux 600
Petrology and Plate Tectonics,2025 500
Optical Coating Design with the Essential Macleod 400
A revision of Limenitis helmanni and its related species (Nymphalidae) from Central and South China 400
Moore's Clinically Oriented Anatomy 10th Edition 400
Direct and Iterative Linear System Solvers 400
Cardiopulmonary Bypass and Mechanical Support: Principles and Practice, Fifth Edition 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6780879
求助须知:如何正确求助?哪些是违规求助? 8503675
关于积分的说明 18111538
捐赠科研通 6082725
什么是DOI,文献DOI怎么找? 3018347
邀请新用户注册赠送积分活动 1995292
关于科研通互助平台的介绍 1979369