This paper is published in Volume-7, Issue-2, 2021
Area
Computer Engineering
Author
Kiran Yadav, Eesha Momin, Komal Bartwal, Mamta Patil
Org/Univ
New Horizon Institute of Technology and Management, Thane, Maharashtra, India
Pub. Date
30 April, 2021
Paper ID
V7I2-1547
Publisher
Keywords
Countvectorizer, Tdidfvectorizer, Train_Test_Split, Word_Tokenizer, Wordnet Lemmatizer

Citationsacebook

IEEE
Kiran Yadav, Eesha Momin, Komal Bartwal, Mamta Patil. JavaScript attack detection using machine learning, International Journal of Advance Research, Ideas and Innovations in Technology, www.IJARIIT.com.

APA
Kiran Yadav, Eesha Momin, Komal Bartwal, Mamta Patil (2021). JavaScript attack detection using machine learning. International Journal of Advance Research, Ideas and Innovations in Technology, 7(2) www.IJARIIT.com.

MLA
Kiran Yadav, Eesha Momin, Komal Bartwal, Mamta Patil. "JavaScript attack detection using machine learning." International Journal of Advance Research, Ideas and Innovations in Technology 7.2 (2021). www.IJARIIT.com.

Abstract

JavaScript-based attacks have become one of the most common and successful types of attack. Existing techniques for detecting malicious JavaScripts could fail for different reasons. In this project, we propose an efficient method of detecting previously unknown malicious activity using an interceptor at the client-side. In this, we are using a machine-learning algorithm to detect JavaScript attacks. The interceptor monitors the traffic exchanged between the browser and server and extracts the real-time traffic features needed for XSS detection. Supervised machine learning classifiers such as k- NN, Support Vector Machines, Gaussian Naïve Bayes, and Logistic Regression are used on a dataset gathered for achieving high accuracy in webpage classification through learning from patterns. The experimental results obtained, show that this method can efficiently classify malicious code from benign code with promising results.