清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
路豐遙完成签到,获得积分10
3秒前
李煜琛完成签到 ,获得积分10
9秒前
15秒前
kk2025发布了新的文献求助10
20秒前
幽默的机器猫完成签到,获得积分10
23秒前
慧子完成签到 ,获得积分10
23秒前
zlx完成签到,获得积分10
27秒前
36秒前
关畅澎完成签到 ,获得积分10
43秒前
Sunny完成签到,获得积分10
45秒前
rainbowbaby完成签到,获得积分10
45秒前
lenne完成签到,获得积分10
48秒前
silence完成签到,获得积分10
48秒前
adgcxvjj完成签到,获得积分10
53秒前
Elytra完成签到,获得积分10
59秒前
狂野笑卉完成签到,获得积分10
1分钟前
吃的饱饱呀完成签到 ,获得积分10
1分钟前
yan完成签到,获得积分10
1分钟前
鱼儿游完成签到 ,获得积分10
1分钟前
科研通AI6.2应助yan采纳,获得10
1分钟前
ycc666完成签到 ,获得积分10
1分钟前
娅娃儿完成签到 ,获得积分10
1分钟前
科研通AI6.4应助狂野笑卉采纳,获得100
1分钟前
1分钟前
verymiao完成签到 ,获得积分10
1分钟前
小乙猪完成签到 ,获得积分0
1分钟前
秋风和雨完成签到,获得积分10
1分钟前
OvO_OwO完成签到 ,获得积分10
1分钟前
2分钟前
Wang_Joff完成签到,获得积分10
2分钟前
2分钟前
hebnkygzs完成签到 ,获得积分10
2分钟前
ilk666完成签到,获得积分10
2分钟前
羽化成仙完成签到 ,获得积分10
2分钟前
英姑应助好文章快快来采纳,获得10
2分钟前
飞龙在天完成签到,获得积分0
2分钟前
陈A完成签到 ,获得积分10
2分钟前
neu_zxy1991完成签到,获得积分10
2分钟前
2分钟前
LJ_2完成签到 ,获得积分0
2分钟前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Molecular Mechanisms of Photosynthesis, 4th Edition 1000
Organic Reactions, Volume 116 1000
Current concepts in cutaneous toxicity : proceedings of the Fourth Conference on Cutaneous Toxicity, Washington, D.C., May 9-11, 1979 1000
The recovery-stress questionnaires : user manual 800
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7257680
求助须知:如何正确求助?哪些是违规求助? 8879569
关于积分的说明 18757409
捐赠科研通 6938034
什么是DOI,文献DOI怎么找? 3201146
关于科研通互助平台的介绍 2375227
邀请新用户注册赠送积分活动 2176952