Netinfo Security ›› 2017, Vol. 17 ›› Issue (10): 55-62.doi: 10.3969/j.issn.1671-1122.2017.10.009

• Orginal Article • Previous Articles     Next Articles

A Cross Site Script Vulnerability Detection Technology Based on Sequential Minimum Optimization Algorithm

Nana HUANG1,2, Liang WAN1,2(), Xuankun DENG1,2, Huifan YI1,2   

  1. 1.College of Computer Science and Technology, Guizhou University, Guiyang Guizhou 550025, China
    2. Institute of Computer Science, Guizhou University, Guiyang Guizhou 550025, China
  • Received:2017-08-14 Online:2017-10-10 Published:2020-05-12

Abstract:

When the attacker uses the Web APP to inject malicious code into different end users, XSS attacks will occur. In the light of the phenomenon that Web application uses the user's input, but don’t verify or encode it, this paper put forward a kind of recursive feature elimination algorithm matching algorithm and sequential minimal optimization based on regular expression (SMO-RFE). The first is the data preprocessing, using regular expression matching algorithm, choose the characteristics of representative data set for the training set; then use the SMO-RFE feature selection algorithm to select the optimal features; once again feature sort and assemble the aggressive keywords; finally summarize the occurrence frequency of feature keyword and the weight ratio of feature value. The higher the occurrence frequency of attack keywords, the greater the likelihood of vulnerabilities. Through the experiment we can find out that after the data set is selected by SMO-RFE algorithm, the accuracy of SVM feature vector to be detected is higher, and shows that the algorithm can effectively detect XSS vulnerabilities.

Key words: cross site script attack, feature value, Web security vulnerabilities, SMO-RFE algorithm, information security

CLC Number: