Asian Journal of Research in Social Sciences and Humanities
  • Year: 2016
  • Volume: 6
  • Issue: 12

Cross-Site Scripting Attack Detection and Removal using Ant Colony Optimization Approach

*Assistant Professor, Department of Applied Mathematics and Computational Sciences, PSG College of Technology, Coimbatore, Tamil Nadu, India

**Assistant Professor, Department ECE, PSG College of Technology, Coimbatore, Tamil Nadu, India

Online published on 9 December, 2016.

Abstract

Nowadays many web sites makes extensive use of client side scripts and offer numerous features that contribute rich content to enhance the user experience. This trend makes the web developers fail to sanitize user inputs properly and increase the frequency of cross-site scripting attack (XSS). In Cross-site scripting an attacker causes a victim's browser to execute the malicious code with the privileges of a trusted host. Hence we have proposed a Ant colony approach to detect and prevent XSS attacks. At first a web page is scanned for the attack prone html attributes and the nodes are referred to as sensitive links. The Ant during their travel classifies the paths as vulnerable or most vulnerable according to their strength. Hence such paths are then replaced using ESAPI rules to prevent attack.

Keywords

Ant Colony Optimization, Cross-Site Scripting, Pheromone, Security, Vulnerabilities, Web Attacks