计算机应用 ›› 2014, Vol. 34 ›› Issue (6): 1661-1665.DOI: 10.11772/j.issn.1001-9081.2014.06.1661

• 计算机安全 • 上一篇    下一篇

OSN中基于分类器和改进n-gram模型的跨站脚本检测方法

李沁蕾1,2,王蕊1,贾晓启1   

  1. 1. 信息安全国家重点实验室(中国科学院信息工程研究所), 北京 100093
    2. 中国科学院大学, 北京 100049
  • 收稿日期:2013-11-28 修回日期:2014-01-15 出版日期:2014-06-01 发布日期:2014-07-02
  • 通讯作者: 贾晓启
  • 作者简介:李沁蕾(1989-),女,安徽铜陵人,硕士研究生,主要研究方向:恶意代码分析检测;王蕊(1981-),女,北京人,副研究员,博士,CCF会员,主要研究方向:网络与信息系统安全;贾晓启(1982-),男,北京人,副研究员,博士,CCF会员,主要研究方向:恶意代码分析检测、虚拟化、网络和操作系统安全。
  • 基金资助:

    国家自然科学基金资助项目;国家863计划项目;中国科学院战略性先导专项

Cross-site scripting detection in online social network based on classifiers and improved n-gram model

LI Ruilei1,2,WANG Rui1,JIA Xiaoqi1   

  1. 1. State Key Laboratory of Information Security (Institute of Information Engineering, Chinese Academy of Sciences), Beijing 100093, China;
    2. University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2013-11-28 Revised:2014-01-15 Online:2014-06-01 Published:2014-07-02
  • Contact: JIA Xiaoqi

摘要:

针对在线社交网络中跨站脚本(XSS)攻击的安全问题,提出了一种在线社交网络恶意网页的检测方法。该方法依据在线社交网络中跨站脚本恶意代码的传播特性,提取一组基于相似性和差异性的特征,构造分类器和改进n-gram模型,再利用两种模型的组合,检测在线社交网络网页是否恶意。实验结果表明,与传统的分类器检测方法相比,结合了改进n-gram模型的检测方法保证了检测结果的可靠性,误报率约为5%。

Abstract:

Due to the threats of Cross-Site Scripting (XSS) attack in Online Social Network (OSN), a approach combined classifiers and improved n-gram model was proposed to detect the malicious OSN webpages infected with XSS code. Firstly, similarity-based features and difference-based features were extracted to build classifiers and the improved n-gram model. After that, the classifiers and model were combined to detect malicious webpages in OSN. The experimental results show that compared with the traditional classifier detection methods, the proposed approach is more effective and the false positive rate is about 5%.

中图分类号: