跨站脚本(XSS)漏洞检测使用机器学习和统计分析

J. Harish Kumar, J. J Godwin Ponsam
{"title":"跨站脚本(XSS)漏洞检测使用机器学习和统计分析","authors":"J. Harish Kumar, J. J Godwin Ponsam","doi":"10.1109/ICCCI56745.2023.10128470","DOIUrl":null,"url":null,"abstract":"In our current technological development, usage of social networking, e-commerce, media, and management, web application plays a very indispensable role on the Internet. organizations use web applications to reach information to the public, e-commerce sites like Amazon and Flipkart use web applications to sell their products, and social networking sites like Facebook and Instagram use web applications. Many other services are provided on the web. Every mobile application will have its equivalent web application. Web Application Security plays a very vital role around the world. Cross Site Scripting (XSS) attacks are by far the most common and widely used method for stealing data from web applications. This paper discusses the XSS vulnerability detection using different deep learning and machine learning models. XSS attacks are a common type of web-based attack in which malicious code is injected into a website or web application, allowing attackers to steal sensitive information or perform other malicious actions. To ensure web-based systems’ security, XSS attack detection and prevention are essential. If the attacker successfully executes the XSS script, then the website will be compromised, and the attacker can steal sensitive data. The Open Web Application Security Project (OWASP) has listed XSS attacks as a top three risk to web applications. This research paper proposes a novel approach for detecting XSS attacks using different models. Deep learning algorithms such as Long Short Term Memory (LSTM), Convolution Neural Networks (CNN) and boosting algorithms such as AdaBoost and Gradient Boosting algorithms, and classification algorithms such as Logistic Regression (LR), Support Vector Machine (SVM), K-Nearest Neighbour (KNN), Random Forest (RF), Naive Bayes (NB), and Decision Tree (DT) algorithm for the detection of XSS attacks. To evaluate the effectiveness of our approach, we conducted experiments on a dataset of real-world XSS attacks and non-attack web requests. Our experiments showed that our machine-learning model was able to accurately identify XSS attacks with a high degree of accuracy, outperforming several baseline approaches. Overall, our research demonstrates the potential for using machine learning to detect XSS attacks effectively.","PeriodicalId":205683,"journal":{"name":"2023 International Conference on Computer Communication and Informatics (ICCCI)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Cross Site Scripting (XSS) vulnerability detection using Machine Learning and Statistical Analysis\",\"authors\":\"J. Harish Kumar, J. J Godwin Ponsam\",\"doi\":\"10.1109/ICCCI56745.2023.10128470\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In our current technological development, usage of social networking, e-commerce, media, and management, web application plays a very indispensable role on the Internet. organizations use web applications to reach information to the public, e-commerce sites like Amazon and Flipkart use web applications to sell their products, and social networking sites like Facebook and Instagram use web applications. Many other services are provided on the web. Every mobile application will have its equivalent web application. Web Application Security plays a very vital role around the world. Cross Site Scripting (XSS) attacks are by far the most common and widely used method for stealing data from web applications. This paper discusses the XSS vulnerability detection using different deep learning and machine learning models. XSS attacks are a common type of web-based attack in which malicious code is injected into a website or web application, allowing attackers to steal sensitive information or perform other malicious actions. To ensure web-based systems’ security, XSS attack detection and prevention are essential. If the attacker successfully executes the XSS script, then the website will be compromised, and the attacker can steal sensitive data. The Open Web Application Security Project (OWASP) has listed XSS attacks as a top three risk to web applications. This research paper proposes a novel approach for detecting XSS attacks using different models. Deep learning algorithms such as Long Short Term Memory (LSTM), Convolution Neural Networks (CNN) and boosting algorithms such as AdaBoost and Gradient Boosting algorithms, and classification algorithms such as Logistic Regression (LR), Support Vector Machine (SVM), K-Nearest Neighbour (KNN), Random Forest (RF), Naive Bayes (NB), and Decision Tree (DT) algorithm for the detection of XSS attacks. To evaluate the effectiveness of our approach, we conducted experiments on a dataset of real-world XSS attacks and non-attack web requests. Our experiments showed that our machine-learning model was able to accurately identify XSS attacks with a high degree of accuracy, outperforming several baseline approaches. Overall, our research demonstrates the potential for using machine learning to detect XSS attacks effectively.\",\"PeriodicalId\":205683,\"journal\":{\"name\":\"2023 International Conference on Computer Communication and Informatics (ICCCI)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-01-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 International Conference on Computer Communication and Informatics (ICCCI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCCI56745.2023.10128470\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Computer Communication and Informatics (ICCCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCCI56745.2023.10128470","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在我们当前的技术发展、社交网络、电子商务、媒体和管理的使用中,web应用程序在Internet上扮演着非常重要的角色。组织使用网络应用程序向公众传递信息,像亚马逊和Flipkart这样的电子商务网站使用网络应用程序销售产品,像Facebook和Instagram这样的社交网站使用网络应用程序。许多其他服务在网络上提供。每个移动应用程序都有相应的web应用程序。Web应用程序安全在世界范围内起着非常重要的作用。跨站脚本(XSS)攻击是迄今为止从web应用程序窃取数据的最常见和最广泛使用的方法。本文讨论了使用不同的深度学习和机器学习模型进行跨站攻击漏洞检测。XSS攻击是一种常见的基于web的攻击,其中恶意代码被注入到网站或web应用程序中,允许攻击者窃取敏感信息或执行其他恶意操作。为了确保基于web的系统的安全性,XSS攻击的检测和预防是必不可少的。如果攻击者成功执行XSS脚本,那么网站就会被攻破,攻击者可以窃取敏感数据。开放Web应用程序安全项目(OWASP)将XSS攻击列为Web应用程序的三大风险之一。本文提出了一种利用不同模型检测跨站攻击的新方法。深度学习算法,如长短期记忆(LSTM)、卷积神经网络(CNN)和增强算法,如AdaBoost和梯度增强算法,分类算法,如逻辑回归(LR)、支持向量机(SVM)、k近邻(KNN)、随机森林(RF)、朴素贝叶斯(NB)和决策树(DT)算法,用于检测XSS攻击。为了评估我们方法的有效性,我们在真实的跨站攻击和非攻击web请求数据集上进行了实验。我们的实验表明,我们的机器学习模型能够以高度的准确度准确识别XSS攻击,优于几种基线方法。总的来说,我们的研究证明了使用机器学习有效检测跨站攻击的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Cross Site Scripting (XSS) vulnerability detection using Machine Learning and Statistical Analysis
In our current technological development, usage of social networking, e-commerce, media, and management, web application plays a very indispensable role on the Internet. organizations use web applications to reach information to the public, e-commerce sites like Amazon and Flipkart use web applications to sell their products, and social networking sites like Facebook and Instagram use web applications. Many other services are provided on the web. Every mobile application will have its equivalent web application. Web Application Security plays a very vital role around the world. Cross Site Scripting (XSS) attacks are by far the most common and widely used method for stealing data from web applications. This paper discusses the XSS vulnerability detection using different deep learning and machine learning models. XSS attacks are a common type of web-based attack in which malicious code is injected into a website or web application, allowing attackers to steal sensitive information or perform other malicious actions. To ensure web-based systems’ security, XSS attack detection and prevention are essential. If the attacker successfully executes the XSS script, then the website will be compromised, and the attacker can steal sensitive data. The Open Web Application Security Project (OWASP) has listed XSS attacks as a top three risk to web applications. This research paper proposes a novel approach for detecting XSS attacks using different models. Deep learning algorithms such as Long Short Term Memory (LSTM), Convolution Neural Networks (CNN) and boosting algorithms such as AdaBoost and Gradient Boosting algorithms, and classification algorithms such as Logistic Regression (LR), Support Vector Machine (SVM), K-Nearest Neighbour (KNN), Random Forest (RF), Naive Bayes (NB), and Decision Tree (DT) algorithm for the detection of XSS attacks. To evaluate the effectiveness of our approach, we conducted experiments on a dataset of real-world XSS attacks and non-attack web requests. Our experiments showed that our machine-learning model was able to accurately identify XSS attacks with a high degree of accuracy, outperforming several baseline approaches. Overall, our research demonstrates the potential for using machine learning to detect XSS attacks effectively.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信