首页> 外文会议>European Symposium on Research in Computer Security >VuRLE: Automatic Vulnerability Detection and Repair by Learning from Examples
【24h】

VuRLE: Automatic Vulnerability Detection and Repair by Learning from Examples

机译:vurle:通过示例学习自动漏洞检测和修复

获取原文

摘要

Vulnerability becomes a major threat to the security of many systems. Attackers can steal private information and perform harmful actions by exploiting unpatched vulnerabilities. Vulnerabilities often remain undetected for a long time as they may not affect typical systems' functionalities. Furthermore, it is often difficult for a developer to fix a vulnerability correctly if he/she is not a security expert. To assist developers to deal with multiple types of vulnerabilities, we propose a new tool, called VuRLE, for automatic detection and repair of vulnerabilities. VuRLE (1) learns transformative edits and their contexts (i.e., code characterizing edit locations) from examples of vulnerable codes and their corresponding repaired codes; (2) clusters similar transformative edits; (3) extracts edit patterns and context patterns to create several repair templates for each cluster. VuRLE uses the context patterns to detect vulnerabilities, and customizes the corresponding edit patterns to repair them. We evaluate VuRLE on 279 vulnerabilities from 48 real-world applications. Under 10-fold cross validation, we compare VuRLE with another automatic repair tool, LASE. Our experiment shows that VuRLE successfully detects 183 out of 279 vulnerabilities, and repairs 101 of them, while LASE can only detect 58 vulnerabilities and repair 21 of them.
机译:漏洞成为许多系统安全的主要威胁。攻击者可以窃取私人信息并通过利用未分割的漏洞来执行有害的行动。漏洞通常持续未被发现,因为它们可能不会影响典型的系统功能。此外,如果他/她不是安全专家,开发人员通常很难正确地修复漏洞。为协助开发人员处理多种类型的漏洞,我们提出了一个名为VULLE的新工具,用于自动检测和修复漏洞。 VULLE(1)从易受攻击的代码和相应的修复代码的示例中了解转​​型性编辑及其上下文(即代码,编辑位置); (2)集群相似的变形性编辑; (3)提取编辑模式和上下文模式以为每个群集创建多个修复模板。 Vurle使用上下文模式来检测漏洞,并自定义相应的编辑模式以修复它们。我们在48个现实应用程序中评估了279件漏洞的vurle。在10倍的交叉验证下,我们将VULLE与另一个自动修复工具,LASE进行比较。我们的实验表明,VULLE成功地检测到279个漏洞中的183人,并修理它们的101,而LASE只能检测到其中的58个漏洞和修复21。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号