Malicious URL Detection using NLP, Machine Learning and FLASK

A. Lakshmanarao, M. Babu, M. M. Bala Krishna
{"title":"Malicious URL Detection using NLP, Machine Learning and FLASK","authors":"A. Lakshmanarao, M. Babu, M. M. Bala Krishna","doi":"10.1109/ICSES52305.2021.9633889","DOIUrl":null,"url":null,"abstract":"A URL created to attack with spam or fraud is known as a malicious/phishing URL. Viruses are downloaded into the system if the user clicks such URLs. Malicious URLs can lead to phishing and spam. With phishing, user credentials, valuable information is compromised. So, it is important to identify safe links and malicious links. Cyber-attacks are attempting with the origin of malicious URLs Phishers are manipulating their cyber attacking techniques rapidly. Machine Learning is a field of study where a system learns from previous experience and reacts to future events. Machine Learning methods are useful for resolving security applications. In this paper, authors proposed machine learning oriented solution for detecting malicious websites. For experiments, a Kaggle dataset with a large number of URLs (above 5, 00000 URLs) is used. We applied three techniques for text feature extraction count vectorizer, hashing vectorizer-IDF vectorizer, and later build a phishing website detection model with four ML classifiers Logistic Regression, K-NN, Decision Tree, Random Forest. The ML model with hash vectorizer and random forest achieved 97.5% accuracy. We also created a web app using Flask for detecting the entered URL is malicious or not.","PeriodicalId":6777,"journal":{"name":"2021 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES)","volume":"7 1","pages":"1-4"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSES52305.2021.9633889","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

A URL created to attack with spam or fraud is known as a malicious/phishing URL. Viruses are downloaded into the system if the user clicks such URLs. Malicious URLs can lead to phishing and spam. With phishing, user credentials, valuable information is compromised. So, it is important to identify safe links and malicious links. Cyber-attacks are attempting with the origin of malicious URLs Phishers are manipulating their cyber attacking techniques rapidly. Machine Learning is a field of study where a system learns from previous experience and reacts to future events. Machine Learning methods are useful for resolving security applications. In this paper, authors proposed machine learning oriented solution for detecting malicious websites. For experiments, a Kaggle dataset with a large number of URLs (above 5, 00000 URLs) is used. We applied three techniques for text feature extraction count vectorizer, hashing vectorizer-IDF vectorizer, and later build a phishing website detection model with four ML classifiers Logistic Regression, K-NN, Decision Tree, Random Forest. The ML model with hash vectorizer and random forest achieved 97.5% accuracy. We also created a web app using Flask for detecting the entered URL is malicious or not.
使用NLP,机器学习和FLASK的恶意URL检测
创建用于垃圾邮件或欺诈攻击的URL称为恶意/网络钓鱼URL。如果用户点击这些url,病毒就会被下载到系统中。恶意url可能导致网络钓鱼和垃圾邮件。通过网络钓鱼,用户凭据和有价值的信息被泄露。因此,识别安全链接和恶意链接非常重要。网络攻击试图利用恶意url的来源,网络钓鱼者正在迅速操纵他们的网络攻击技术。机器学习是一个研究领域,系统从以前的经验中学习,并对未来的事件做出反应。机器学习方法对于解决安全应用程序非常有用。本文提出了一种基于机器学习的恶意网站检测方法。在实验中,使用了一个包含大量url(超过500000个url)的Kaggle数据集。我们应用了文本特征提取、计数矢量器、哈希矢量器- idf矢量器三种技术,并利用逻辑回归、K-NN、决策树、随机森林四种ML分类器构建了网络钓鱼网站检测模型。采用哈希向量器和随机森林的机器学习模型准确率达到97.5%。我们还使用Flask创建了一个web应用程序,用于检测输入的URL是否恶意。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信