{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,29]],"date-time":"2026-10-29T15:14:35Z","timestamp":1793286875264,"version":"4.5.0"},"reference-count":39,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2023,4,29]],"date-time":"2023-04-29T00:00:00Z","timestamp":1682726400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Future Internet"],"abstract":"<jats:p>Web attacks pose a significant threat to enterprises, as attackers often target web applications first. Various solutions have been proposed to mitigate and reduce the severity of these threats, such as web application firewalls (WAFs). On the other hand, software-defined networking (SDN) technology has significantly improved network management and operation by providing centralized control for network administrators. In this work, we investigated the possibility of using SDN to implement a firewall capable of detecting and blocking web attacks. As a proof of concept, we designed and implemented a WAF to detect a known web attack, specifically SQL injection. Our design utilized two detection methods: signatures and regular expressions. The experimental results demonstrate that the SDN controller can successfully function as a WAF and detect SQL injection attacks. Furthermore, we implemented and compared ModSecurity, a traditional WAF, with our proposed SDN-based WAF. The results reveal that our system is more efficient in terms of TCP ACK latency, while ModSecurity exhibits a slightly lower overhead on the controller.<\/jats:p>","DOI":"10.3390\/fi15050170","type":"journal-article","created":{"date-parts":[[2023,5,1]],"date-time":"2023-05-01T12:08:31Z","timestamp":1682942911000},"page":"170","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":25,"title":["Toward an SDN-Based Web Application Firewall: Defending against SQL Injection Attacks"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2901-5313","authenticated-orcid":false,"given":"Fahad M.","family":"Alotaibi","sequence":"first","affiliation":[{"name":"Department of Computing, Imperial College London, London SW7 2BX, UK"},{"name":"College of Science and Arts Sharoura, Najran University, Najran 66446, Saudi Arabia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4902-8226","authenticated-orcid":false,"given":"Vassilios G.","family":"Vassilakis","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of York, York YO10 5GH, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,4,29]]},"reference":[{"key":"ref_1","unstructured":"Armstrong, M. (2023, February 25). How Many Websites Are There?. Available online: https:\/\/www.statista.com\/chart\/19058\/how-many-websites-are-there\/."},{"key":"ref_2","unstructured":"NetCraft (2023, February 25). October 2022 Web Server Survey. October. Available online: https:\/\/news.netcraft.com\/archives\/category\/web-server-survey\/."},{"key":"ref_3","unstructured":"OWASP (2023, February 25). Top Ten Web Application Security Risks. Available online: https:\/\/owasp.org\/www-project-top-ten\/."},{"key":"ref_4","unstructured":"SpiderLabs (2023, February 25). ModSecurity. Available online: https:\/\/github.com\/SpiderLabs\/ModSecurity."},{"key":"ref_5","unstructured":"FortiWeb (2023, February 25). Web Application Firewall (WAF). Available online: https:\/\/www.fortinet.com\/products\/web-application-firewall\/fortiweb."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"14","DOI":"10.1109\/JPROC.2014.2371999","article-title":"Software-defined networking: A comprehensive survey","volume":"103","author":"Kreutz","year":"2014","journal-title":"Proc. IEEE"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"106990","DOI":"10.1016\/j.compeleceng.2021.106990","article-title":"Implementing an intrusion detection and prevention system using Software-Defined Networking: Defending against ARP spoofing attacks and Blacklisted MAC Addresses","volume":"90","author":"Girdler","year":"2021","journal-title":"Comput. Electr. Eng."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"493","DOI":"10.1109\/SURV.2013.081313.00105","article-title":"Network innovation using OpenFlow: A survey","volume":"16","author":"Lara","year":"2013","journal-title":"IEEE Commun. Surv. Tutorials"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"69","DOI":"10.1145\/1355734.1355746","article-title":"OpenFlow: Enabling innovation in campus networks","volume":"38","author":"McKeown","year":"2008","journal-title":"ACM SIGCOMM Comput. Commun. Rev."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Cusack, G., Michel, O., and Keller, E. (2018, January 21). Machine learning-based detection of ransomware using SDN. Proceedings of the 2018 ACM International Workshop on Security in Software Defined Networks & Network Function Virtualization, Tempe, AZ, USA.","DOI":"10.1145\/3180465.3180467"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1016\/j.compeleceng.2019.03.012","article-title":"Ransomware detection and mitigation using software-defined networking: The case of WannaCry","volume":"76","author":"Akbanov","year":"2019","journal-title":"Comput. Electr. Eng."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"102595","DOI":"10.1016\/j.jnca.2020.102595","article-title":"Security in SDN: A comprehensive survey","volume":"159","author":"Chica","year":"2020","journal-title":"J. Netw. Comput. Appl."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"71","DOI":"10.1016\/j.jnca.2019.03.005","article-title":"Implementing an intrusion detection and prevention system using software-defined networking: Defending against port-scanning and denial-of-service attacks","volume":"136","author":"Birkinshaw","year":"2019","journal-title":"J. Netw. Comput. Appl."},{"key":"ref_14","first-page":"101065","article-title":"A survey on DoS\/DDoS attacks mathematical modelling for traditional, SDN and virtual networks","volume":"31","author":"Balarezo","year":"2022","journal-title":"Eng. Sci. Technol."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"425","DOI":"10.1007\/s13369-017-2414-5","article-title":"DDoS attack detection and mitigation using SDN: Methods, practices, and solutions","volume":"42","author":"Bawany","year":"2017","journal-title":"Arab. J. Sci. Eng."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, H., and Wu, B. (2019, January 15\u201317). SDN-based hybrid honeypot for attack capture. Proceedings of the 2019 IEEE 3rd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chengdu, China.","DOI":"10.1109\/ITNEC.2019.8729425"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Kim, M., Cho, J.H., Lim, H., Moore, T.J., Nelson, F.F., and Kim, D.D. (December, January 28). Performance and Security Evaluation of a Moving Target Defense Based on a Software-Defined Networking Environment. Proceedings of the 2022 IEEE 27th Pacific Rim International Symposium on Dependable Computing (PRDC), Beijing, China.","DOI":"10.1109\/PRDC55274.2022.00026"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"103267","DOI":"10.1016\/j.jnca.2021.103267","article-title":"Performability evaluation of switch-over Moving Target Defence mechanisms in a Software Defined Networking using stochastic reward nets","volume":"199","author":"Nguyen","year":"2022","journal-title":"J. Netw. Comput. Appl."},{"key":"ref_19","unstructured":"Clarke, J. (2009). SQL Injection Attacks and Defense, Elsevier."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"835","DOI":"10.1109\/COMPSAC.2018.00144","article-title":"Web application firewall: Network security models and configuration","volume":"Volume 1","author":"Clincy","year":"2018","journal-title":"Proceedings of the 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC)"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1863","DOI":"10.1016\/j.jnca.2012.07.010","article-title":"Deep packet inspection tools and techniques in commodity platforms: Challenges and trends","volume":"35","author":"Antonello","year":"2012","journal-title":"J. Netw. Comput. Appl."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Rouka, E., Birkinshaw, C., and Vassilakis, V.G. (2020, January 2\u20135). SDN-based Malware Detection and Mitigation: The Case of ExPetr Ransomware. Proceedings of the 2020 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), Doha, Qatar.","DOI":"10.1109\/ICIoT48696.2020.9089514"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"28039","DOI":"10.1109\/ACCESS.2021.3058897","article-title":"SDN-Based Detection of Self-Propagating Ransomware: The Case of BadRabbit","volume":"9","author":"Alotaibi","year":"2021","journal-title":"IEEE Access"},{"key":"ref_24","unstructured":"Shieha, A. (2014). Application Layer Firewall Using OpenFlow. [Master\u2019s Thesis, University of Colorado Boulder]."},{"key":"ref_25","unstructured":"Badotra, S., and Singh, J. (2019). Innovations in Computer Science and Engineering, Springer."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Suh, M., Park, S.H., Lee, B., and Yang, S. (2014, January 16\u201319). Building firewall over the software-defined network controller. Proceedings of the 16th International Conference on Advanced Communication Technology, Pyeongchang, Republic of Korea.","DOI":"10.1109\/ICACT.2014.6779061"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Javid, T., Riaz, T., and Rasheed, A. (2014, January 12\u201313). A layer2 firewall for software defined network. Proceedings of the 2014 Conference on Information Assurance and Cyber Security (CIACS), Rawalpindi, Pakistan.","DOI":"10.1109\/CIACS.2014.6861329"},{"key":"ref_28","unstructured":"Kaur, K., Kumar, K., Singh, J., and Ghumman, N.S. (2015, January 11\u201313). Programmable firewall using software defined networking. Proceedings of the 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Othman, W.M., Chen, H., Al-Moalmi, A., and Hadi, A.N. (2017, January 6\u20138). Implementation and performance analysis of SDN firewall on POX controller. Proceedings of the 2017 IEEE 9th International Conference on Communication Software and Networks (ICCSN), Guangzhou, China.","DOI":"10.1109\/ICCSN.2017.8230351"},{"key":"ref_30","first-page":"6874592","article-title":"Fortress: An efficient and distributed firewall for stateful data plane SDN","volume":"2019","author":"Caprolu","year":"2019","journal-title":"Secur. Commun. Networks"},{"key":"ref_31","unstructured":"Kaur, K., and Singh, J. (2016). Information Systems Design and Intelligent Applications, Springer."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Appelt, D., Panichella, A., and Briand, L. (2017, January 23\u201326). Automatically repairing web application firewalls based on successful SQL injection attacks. Proceedings of the 2017 IEEE 28th International Symposium on Software Reliability Engineering (ISSRE), Toulouse, France.","DOI":"10.1109\/ISSRE.2017.28"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"188","DOI":"10.1109\/TR.2019.2925415","article-title":"DIAVA: A traffic-based framework for detection of SQL injection attacks and vulnerability analysis of leaked data","volume":"69","author":"Gu","year":"2019","journal-title":"IEEE Trans. Reliab."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"107007","DOI":"10.1016\/j.comnet.2019.107007","article-title":"Flow monitoring scheme design in SDN","volume":"167","author":"Yang","year":"2020","journal-title":"Comput. Networks"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"162","DOI":"10.1016\/j.comcom.2019.10.011","article-title":"SDN-based real-time urban traffic analysis in VANET environment","volume":"149","author":"Bhatia","year":"2020","journal-title":"Comput. Commun."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Tuan, N.N., Hung, P.H., Nghia, N.D., Tho, N.V., Phan, T.V., and Thanh, N.H. (2020). A DDoS attack mitigation scheme in ISP networks using machine learning based on SDN. Electronics, 9.","DOI":"10.3390\/electronics9030413"},{"key":"ref_37","unstructured":"Alotaibi, F.M. (2023, February 26). Falkarshmi\/SDN-WAF. March. Available online: https:\/\/github.com\/Falkarshmi\/SDN-WAF."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Badotra, S., Tanwar, S., Bharany, S., Rehman, A.U., Eldin, E.T., Ghamry, N.A., and Shafiq, M. (2022). A DDoS Vulnerability Analysis System against Distributed SDN Controllers in a Cloud Computing Environment. Electronics, 11.","DOI":"10.3390\/electronics11193120"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3421764","article-title":"SDN controllers: A comprehensive analysis and performance evaluation study","volume":"53","author":"Zhu","year":"2020","journal-title":"ACM Comput. Surv. (CSUR)"}],"container-title":["Future Internet"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-5903\/15\/5\/170\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:26:46Z","timestamp":1760124406000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-5903\/15\/5\/170"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,4,29]]},"references-count":39,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2023,5]]}},"alternative-id":["fi15050170"],"URL":"https:\/\/doi.org\/10.3390\/fi15050170","relation":{},"ISSN":["1999-5903"],"issn-type":[{"value":"1999-5903","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,4,29]]}}}