Ensemble Machine Learning Approaches for Detection of SQL Injection Attack

被引:9
|
作者
Farooq, Umar [1 ]
机构
[1] Cent Univ Punjab, Dept Comp Sci & Technol Cyber Secur, City Campus,Mansa Rd, Bathinda 151001, Punjab, India
来源
TEHNICKI GLASNIK-TECHNICAL JOURNAL | 2021年 / 15卷 / 01期
关键词
Boosting; ensemble learning; Light GBM; SQL injection; web security;
D O I
10.31803/tg-20210205101347
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
In the current era, SQL Injection Attack is a serious threat to the security of the ongoing cyber world particularly for many web applications that reside over the internet. Many webpages accept the sensitive information (e.g. username, passwords, bank details, etc.) from the users and store this information in the database that also resides over the internet. Despite the fact that this online database has much importance for remotely accessing the information by various business purposes but attackers can gain unrestricted access to these online databases or bypass authentication procedures with the help of SQL Injection Attack. This attack results in great damage and variation to database and has been ranked as the topmost security risk by OWASP TOP 10. Considering the trouble of distinguishing unknown attacks by the current principle coordinating technique, a strategy for SQL injection detection dependent on Machine Learning is proposed. Our motive is to detect this attack by splitting the queries into their corresponding tokens with the help of tokenization and then applying our algorithms over the tokenized dataset. We used four Ensemble Machine Learning algorithms: Gradient Boosting Machine (GBM), Adaptive Boosting (AdaBoost), Extended Gradient Boosting Machine (XGBM), and Light Gradient Boosting Machine (LGBM). The results yielded by our models are near to perfection with error rate being almost negligible. The best results are yielded by LGBM with an accuracy of 0.993371, and precision, recall, f1 as 0.993373, 0.993371, and 0.993370, respectively. The LGBM also yielded less error rate with False Positive Rate (FPR) and Root Mean Squared Error (RMSE) to be 0.120761 and 0.007, respectively. The worst results are yielded by AdaBoost with an accuracy of 0.991098, and precision, recall, f1 as 0.990733, 0.989175, and 0.989942, respectively. The AdaBoost also yielded high False Positive Rate (FPR) to be 0.009.
引用
收藏
页码:112 / 120
页数:9
相关论文
共 50 条
  • [21] DDoS Attack Detection Using Ensemble Machine Learning Models with RFE Algorithm
    Visetbunditkun, Tanut
    Srichavengsup, Warakorn
    2022 7TH INTERNATIONAL CONFERENCE ON BUSINESS AND INDUSTRIAL RESEARCH (ICBIR2022), 2022, : 269 - 273
  • [22] Injection attack detection using machine learning for smart IoT applications
    Gaber, Tarek
    El-Ghamry, Amir
    Hassanien, Aboul Ella
    PHYSICAL COMMUNICATION, 2022, 52
  • [23] Detection of Suicidal Ideation on Twitter using Machine Learning & Ensemble Approaches
    Rabani, Syed Tanzeel
    Khan, Qamar Rayees
    Khanday, Akib Mohi Ud Din
    BAGHDAD SCIENCE JOURNAL, 2020, 17 (04) : 1328 - 1339
  • [24] Detection of Cyber Attack in Network Using different Machine Learning Approaches
    Bharath, B. Reddy
    Yaswanth, G.
    Santhankrishnan, C.
    JOURNAL OF PHARMACEUTICAL NEGATIVE RESULTS, 2022, 13 : 1529 - 1534
  • [25] Ensemble machine learning approaches for webshell detection in Internet of things environments
    Yong, Binbin
    Wei, Wei
    Li, Kuan-Ching
    Shen, Jun
    Zhou, Qingguo
    Wozniak, Marcin
    Polap, Dawid
    Damasevicius, Robertas
    TRANSACTIONS ON EMERGING TELECOMMUNICATIONS TECHNOLOGIES, 2022, 33 (06)
  • [26] Deep Learning in Cybersecurity: A Hybrid BERT-LSTM Network for SQL Injection Attack Detection
    Liu, Yixian
    Dai, Yupeng
    IET INFORMATION SECURITY, 2024, 2024
  • [27] A BiLSTM Approach to Enhance the Accuracy of SQL Injection Attack Detection
    Li, Junyi
    2024 5TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATION, ICCEA 2024, 2024, : 94 - 100
  • [28] SQL Injection Attack Detection Method using Expectation Criterion
    Xiao, Linghuan
    Matsumoto, Shinichi
    Ishikawa, Tomohisa
    Sakurai, Kouichi
    2016 FOURTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING (CANDAR), 2016, : 649 - 654
  • [29] Detection Method of SQL injection Attack in Cloud Computing Environment
    Wang, Kuisheng
    Hou, Yan
    PROCEEDINGS OF 2016 IEEE ADVANCED INFORMATION MANAGEMENT, COMMUNICATES, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IMCEC 2016), 2016, : 487 - 493
  • [30] SQL Injection Attack Detection Framework Based on HTTP Traffic
    Zhu, Zhongdong
    Jia, Shilin
    Li, Jishuai
    Qin, Sujuan
    Guo, Hui
    PROCEEDINGS OF ACM TURING AWARD CELEBRATION CONFERENCE, ACM TURC 2021, 2021, : 179 - 185