Skip to content
Research Article Open access CC BY 4.0

Advancing Intrusion Detection in Fog Computing: Unveiling the Power of Support Vector Machines for Robust Protection of Fog Nodes against XSS and SQL Injection Attacks

Seyed Omid Azarkasb, Seyed Hossein Khasteh

Journal of Engineering Research and Reports · pp. 59–84 · Published 5 Jun 2023

10.9734/jerr/2023/v25i3892

Abstract

Fog computing, characterized as a cloud infrastructure in close proximity to end devices, faces substantial security challenges that necessitate robust intrusion detection mechanisms for fog nodes. The resource-constrained nature of fog nodes renders them particularly susceptible to attacks, making the development of efficient intrusion detection systems imperative. In this study, we propose a comprehensive approach to protect fog nodes, taking into account their limited resources. Leveraging the power of Support Vector Machines (SVMs), a widely adopted machine learning technique in IoT security, our method overcomes challenges associated with local optima, overfitting, and high-dimensional data. A thorough literature review underscores the prevalent use of SVMs in IoT security research. Specifically, we focus on addressing two prevalent web attacks: Cross-Site Scripting (XSS) and SQL injection attacks, based on global statistical data. To evaluate our approach, we employ the CSE-CIC-IDS2018 dataset and a pseudo-real dataset. Precision, recall, and accuracy are employed as evaluation metrics, along with the Mean Average Precision (MAP). Our evaluation results demonstrate an exceptional level of accuracy, achieving an impressive 98.28% accuracy in terms of average performance when compared to existing methods. Comparative analysis with state-of-the-art approaches further validates the superior efficacy and efficiency of our proposed method.

Fog computing internet of things intrusion detection support vector machines XSS and SQL injection flaw attacks

References (24)

  1. 1 Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization [DOI]
  2. 2 Fog computing security: a review of current applications and security solutions [DOI]
  3. 3 Security and trust issues in Fog computing: A survey [DOI]
  4. 4 A survey and analysis of intrusion detection models based on CSE-CIC-IDS2018 Big Data [DOI]
  5. 5 Open Web Application Security Project [DOI]
  6. 6 A Survey of Security in Cloud, Edge, and Fog Computing [DOI]
  7. 7 Cross-site scripting (XSS) attacks and mitigation: A survey [DOI]
  8. 8 Attack classification using feature selection techniques: a comparative study [DOI]
  9. 9 A novel method for SQL injection attack detection based on removing SQL query attribute values [DOI]
  10. 10 An SDN-based Intrusion Detection System using SVM with Selective Logging for IP Traceback [DOI]
  11. 11 Sample Selected Extreme Learning Machine Based Intrusion Detection in Fog Computing and MEC [DOI]
  12. 12 A Detection and Prevention Technique for Man in the Middle Attack in Fog Computing [DOI]
  13. 13 Building situational awareness for network threats in fog/edge computing: Emerging paradigms beyond the security perimeter model [DOI]
  14. 14 Trust-based load-offloading protocol to reduce service delays in fog-computing-empowered IoT [DOI]
  15. 15 Analysis and classification of SQL injection vulnerabilities and attacks on web applications [DOI]
  16. 16 Support Vector Machine Intrusion Detection Scheme Based on Cloud-Fog Collaboration [DOI]
  17. 17 Preventing persistent Cross-Site Scripting (XSS) attack by applying pattern filtering approach [DOI]
  18. 18 A Network Intrusion Detection Approach at the Edge of Fog [DOI]
  19. 19 Analysis and Simulation of Hyper Text Transfer Protocol at the Application Layer of the Internet [DOI]
  20. 20 Classification of SQL injection, XSS and Path Traversal for Web Application Attack Detection
  21. 21 Journal of Ambient Intelligence and Humanized Computing [DOI]
  22. 22 Mathematical and computer modelling [DOI]
  23. 23 Evaluation of Machine Learning Algorithms in Network-Based Intrusion Detection System [DOI]
  24. 24 Attack vs Benign Network Intrusion Traffic Classification [DOI]

Cited by 6

Is a Small LLM Useful for Cybersecurity?

Federico Munoz Babiano, Ricardo S. Alonso, P. Lamo · Proceedings of the 2026 International conference on Infrastructure-as-a-Service (IaaS) and Platform-as-a-Service (PaaS) solutions for Europe's Next-Gen Cloud Infrastructure · 2026

Fine-Tuning Transformer LLMs for Detecting SQL Injection and XSS Vulnerabilities

Thi-Thu-Huong Le, Andro Aprila Adiputra, Yeonjeong Hwang · Digital Signal Processing and Signal Processing Education Workshop · 2025

A survey on various security protocols of edge computing

Tathagata Bhattacharya, Adithya Vardhan Peddi, Srikanth Ponaganti · Journal of Supercomputing · 2024

Showing 3 of 6 known citations — external sources report more than can currently be individually listed.

Article metrics

Real usage data collected on this platform.

14

Page views

0

PDF downloads

0

Outbound clicks

6

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.