计算机应用 ›› 2012, Vol. 32 ›› Issue (01): 20-24.DOI: 10.3724/SP.J.1087.2012.00020

• 第四届中国计算机网络与信息安全学术会议论文(CCNIS’2011) • 上一篇    下一篇

基于领域相关语言的拒绝服务攻击描述语言设计

祝宁,张永福,陈性元   

  1. 信息工程大学 电子技术学院,郑州 450004
  • 收稿日期:2011-08-23 修回日期:2011-10-04 发布日期:2012-02-06 出版日期:2012-01-01
  • 通讯作者: 祝宁
  • 作者简介:祝宁(1981-),男,河南安阳人,博士研究生,主要研究方向:信息安全、网络攻防、安全测评;张永福(1942-),男,河北唐山人,教授,博士生导师,主要研究方向:信息安全、系统工程;陈性元(1963-),男,安徽无为人,教授,博士生导师,主要研究方向:信息安全、分布式系统、软件工程。
  • 基金资助:

    “十五”国防预研基金资助项目;“十一五”总装武器装备预研基金资助项目

Design of DoS attack script language based on domain specific language

ZHU Ning,ZHANG Yong-fu,CHEN Xing-yuan   

  1. Institute of Electronic Technology, Information Engineering University, Zhengzhou Henan 450004, China
  • Received:2011-08-23 Revised:2011-10-04 Online:2012-02-06 Published:2012-01-01
  • Contact: ZHU Ning

摘要: 鉴于抗攻击测试对攻击操作可信、可控、有效的基本要求,面向拒绝服务(DoS)攻击实现,基于领域相关语言(DSL)的思想,设计简单快速实现测试用例的DoS攻击描述语言(DASL)。通过定义攻击元,并基于对样本的分析设计构造语言的领域相关语法元素;利用LIBNET实现语言的语义功能函数;以ANTLR为支撑,设计实现语言的解释环境。实验验证表明,利用该语言构建DoS攻击,在保证功能有效、过程可控的前提下,能够大幅降低DoS攻击开发过程的复杂程度,减少代码编写量,提高开发效率。该语言的建立,确保了抗攻击测试过程中DoS攻击操作的基本要求,为实施DoS攻击渗透测试的提供了有力保障。

关键词: 抗攻击测试, 领域相关语言, 拒绝服务攻击描述语言, 原子攻击, 攻击元

Abstract: Considering the basic need of the attack resistance test for trustworthiness, controllability and effectiveness of attack operation, a Denial of Service (DoS) Attack Script Language (DASL) was designed based on Domain Specific Language (DSL), which could be used to develop DoS attacks simply, quickly and conveniently. In this article, attack unit was defined, the domain specific syntactic was constructed based on the analysis of attack samples, the semantic function was realized based on LIBNET, and the interpreter of DASL was designed on the basis of ANTLR. The experimental results show that, attacks developed by DASL were effective and controllable. And DASL can lower the complexity of development, reduce the amount of code to write, increase the efficiency of development and provide powerful support for DoS penetration testing.

Key words: attack resistance test, Domain Specific Language (DSL), Denial of Service (DoS) Attack Script Language (DASL), atomic attack, attack unit

中图分类号: