Ning Zheng

Work place: Institute of Computer Application Technology, Hangzhou Dianzi University, Hangzhou, China, 310018

E-mail:

Website:

Research Interests:

Biography

Author Articles
Identifying Cross-Site Scripting Attacks Based on URL Analysis

By Zhihua Tang Ning Zheng Ming Xu

DOI: https://doi.org/10.5815/ijem.2012.05.08, Pub. Date: 5 Oct. 2012

Cross-site scripting (XSS) is one of the major threats to the security of web applications. Many techniques have been taken to prevent XSS. This paper presents an approach to identify Cross-Site Scripting attacks based on URL analysis. The fundamental assumption of our method is that the URL contains a part that can produce a valid JavaScript syntax tree. First, we extract the parameters of the URL to produce a valid JavaScript syntax tree and weight its parsing depth. If its depth exceeds a user-defined threshold, the URL is considered suspicious. Second, to the exception URLs, a second level of defense is formed by analyzing its structure. The experimental results demonstrate that our approach can effectively distinguish most of the malicious URLs from the benign ones.

[...] Read more.
Other Articles