亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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]
卷期号: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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
dynamoo发布了新的文献求助10
1秒前
6秒前
Ni发布了新的文献求助10
6秒前
7秒前
静_完成签到 ,获得积分10
10秒前
10秒前
木林山水发布了新的文献求助10
13秒前
医探完成签到,获得积分10
13秒前
左左曦完成签到,获得积分10
14秒前
修辛完成签到 ,获得积分10
21秒前
22秒前
uikymh完成签到 ,获得积分0
23秒前
Kevin完成签到 ,获得积分10
26秒前
郝宇完成签到,获得积分10
26秒前
心随以动完成签到 ,获得积分10
26秒前
28秒前
所所应助Proustian采纳,获得10
28秒前
小马甲应助畅快的涵蕾采纳,获得10
32秒前
嘿嘿完成签到,获得积分10
33秒前
勋章完成签到 ,获得积分10
34秒前
冷静的忆秋完成签到,获得积分10
36秒前
ceeray23发布了新的文献求助20
37秒前
罗曼蒂克完成签到,获得积分10
37秒前
神奇五子棋完成签到 ,获得积分10
37秒前
ccm应助luyuran采纳,获得10
44秒前
贪玩雁山完成签到,获得积分10
45秒前
小二郎应助木林山水采纳,获得10
45秒前
cfyoung完成签到,获得积分10
47秒前
lwm不想看文献完成签到 ,获得积分10
48秒前
传奇3应助歪比巴卜采纳,获得10
54秒前
天天快乐应助zxx采纳,获得10
54秒前
Proustian发布了新的文献求助10
58秒前
1分钟前
木昆完成签到 ,获得积分10
1分钟前
dynamoo完成签到,获得积分10
1分钟前
歪比巴卜发布了新的文献求助10
1分钟前
龙虾发票完成签到,获得积分10
1分钟前
mm完成签到 ,获得积分10
1分钟前
高兴寒梦完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1621
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
Brittle fracture in welded ships 1000
King Tyrant 600
A Guide to Genetic Counseling, 3rd Edition 500
Laryngeal Mask Anesthesia: Principles and Practice. 2nd ed 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5564775
求助须知:如何正确求助?哪些是违规求助? 4649490
关于积分的说明 14689018
捐赠科研通 4591475
什么是DOI,文献DOI怎么找? 2519172
邀请新用户注册赠送积分活动 1491823
关于科研通互助平台的介绍 1462846