Deploying Hybrid EnsembleMachine Learning Techniques for Effective Cross-Site Scripting (XSS) Attack Detection

被引:0
|
作者
Bacha, Noor Ullah [1 ]
Lu, Songfeng [1 ]
Ur Rehman, Attiq [1 ]
Idrees, Muhammad [2 ]
Ghadi, Yazeed Yasin [3 ]
Alahmadi, Tahani Jaser [4 ]
机构
[1] School of Cyber Science and Engineering, Huazhong University of Science and Technology, Wuhan,430073, China
[2] Department of Computer Science and Engineering, University of Engineering and Technology, Lahore,54000, Pakistan
[3] Department of Computer Science and Software Engineering, Al Ain University, Al Ain Abu, Abu Dhabi,12555, United Arab Emirates
[4] Department of Information Systems, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh,84428, Saudi Arabia
来源
Computers, Materials and Continua | 2024年 / 81卷 / 01期
关键词
Computer crime - Contrastive Learning - Cyber attacks - Deep neural networks - Federated learning - Logistic regression - Network security - Parallel processing systems - Support vector regression;
D O I
10.32604/cmc.2024.054780
中图分类号
学科分类号
摘要
Cross-Site Scripting (XSS) remains a significant threat to web application security, exploiting vulnerabilities to hijack user sessions and steal sensitive data. Traditional detection methods often fail to keep pace with the evolving sophistication of cyber threats. This paper introduces a novel hybrid ensemble learning framework that leverages a combination of advanced machine learning algorithms-Logistic Regression (LR), Support Vector Machines (SVM), eXtreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), and Deep Neural Networks (DNN). Utilizing the XSS-Attacks-2021 dataset, which comprises 460 instances across various real-world trafficrelated scenarios, this framework significantly enhances XSS attack detection. Our approach, which includes rigorous feature engineering and model tuning, not only optimizes accuracy but also effectively minimizes false positives (FP) (0.13%) and false negatives (FN) (0.19%). This comprehensive methodology has been rigorously validated, achieving an unprecedented accuracy of 99.87%. The proposed system is scalable and efficient, capable of adapting to the increasing number of web applications and user demands without a decline in performance. It demonstrates exceptional real-time capabilities, with the ability to detect XSS attacks dynamically, maintaining high accuracy and low latency even under significant loads. Furthermore, despite the computational complexity introduced by the hybrid ensemble approach, strategic use of parallel processing and algorithmtuning ensures that the system remains scalable and performs robustly in real-time applications. Designed for easy integration with existing web security systems, our framework supports adaptable Application Programming Interfaces (APIs) and a modular design, facilitating seamless augmentation of current defenses. This innovation represents a significant advancement in cybersecurity, offering a scalable and effective solution for securing modern web applications against evolving threats. © 2024 The Authors.
引用
收藏
页码:707 / 748
相关论文
共 50 条
  • [31] A Survey on Detection Techniques to Prevent Cross-Site Scripting Attacks on Current Web Applications
    Garcia-Alfaro, Joaquin
    Navarro-Arribas, Guillermo
    [J]. CRITICAL INFORMATION INFRASTRUCTURES SECURITY, 2008, 5141 : 287 - +
  • [32] Server-Side Cross-Site Scripting Detection Powered by HTML']HTML Semantic Parsing Inspired by XSS Auditor
    Pardomuan, Chrisando Ryan
    Kurniawan, Aditya
    Darus, Mohamad Yusof
    Ariffin, Muhammad Azizi Mohd
    Muliono, Yohan
    [J]. PERTANIKA JOURNAL OF SCIENCE AND TECHNOLOGY, 2023, 31 (03): : 1353 - 1377
  • [33] A Combinatorial Approach to Analyzing Cross-Site Scripting (XSS) Vulnerabilities in Web Application Security Testing
    Simos, Dimitris E.
    Kleine, Kristoffer
    Ghandehari, Laleh Shikh Gholamhossein
    Garn, Bernhard
    Lei, Yu
    [J]. TESTING SOFTWARE AND SYSTEMS, ICTSS 2016, 2016, 9976 : 70 - 85
  • [34] Cross-Site Scripting (XSS) Worms in Online Social Network (OSN): Taxonomy and Defensive Mechanisms
    Chaudhary, Pooja
    Gupta, B. B.
    Gupta, Shashank
    [J]. PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 2131 - 2136
  • [35] Cookie Scout: An Analytic Model for Prevention of Cross-Site Scripting (XSS) Using a Cookie Classifier
    Eduardo Rodriguez, German
    Eduardo Benavides, Diego
    Torres, Jenny
    Flores, Pamela
    Fuertes, Walter
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY & SYSTEMS (ICITS 2018), 2018, 721 : 496 - 506
  • [36] Detecting Cross-Site Scripting Attacks Using Machine Learning
    Mereani, Fawaz A.
    Howe, Jacob M.
    [J]. INTERNATIONAL CONFERENCE ON ADVANCED MACHINE LEARNING TECHNOLOGIES AND APPLICATIONS (AMLTA2018), 2018, 723 : 200 - 210
  • [37] A BEHAVIOR-BASED CROSS-SITE SCRIPTING DETECTION TECHNIQUE
    Wang Liang
    Wang Xiuting
    [J]. 2011 INTERNATIONAL CONFERENCE ON COMPUTER AND COMPUTATIONAL INTELLIGENCE (ICCCI 2011), 2012, : 519 - 523
  • [38] A PU-learning based approach for cross-site scripting attacking reality detection
    Wang, Wenbo
    Yi, Peng
    Xu, Huikai
    [J]. IET NETWORKS, 2024, 13 (04) : 313 - 323
  • [39] XSS-SAFE: A Server-Side Approach to Detect and Mitigate Cross-Site Scripting (XSS) Attacks in JavaScript Code
    Shashank Gupta
    B. B. Gupta
    [J]. Arabian Journal for Science and Engineering, 2016, 41 : 897 - 920
  • [40] A Source Code Cross-site Scripting Vulnerability Detection Method
    Chen, Mu
    Chen, Lu
    Shao, Zhipeng
    Dai, Zaojian
    Li, Nige
    Huang, Xingjie
    Dang, Qian
    Zhao, Xinjian
    [J]. KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2023, 17 (06): : 1689 - 1705