Tematik : Jurnal Teknologi Informasi Komunikasi
Vol. 13 No. 1 (2026): Tematik : Jurnal Teknologi Informasi Komunikasi (e-Journal) - Juni 2026

Deteksi Serangan SQL Injection Berulang pada Log Apache menggunakan Semantic Embedding dan Machine Learning

Rosidin (STMIK IKMI Cirebon)
Dian Ade Kurnia (STMIK IKMI Cirebon)
Dadang Sudrajat (STMIK IKMI Cirebon)



Article Info

Publish Date
29 May 2026

Abstract

SQL Injection (SQLi) attacks are a major threat to web application security, with attackers frequently attempting to modify query patterns repeatedly to evade detection. This research aims to develop a method for detecting repeated SQL Injection attacks in Apache logs using a semantic embedding approach. The method employed includes preprocessing log data using Natural Language Processing (NLP) techniques, generating vector representations through semantic embedding, and classifying using machine learning algorithms. The novelty of this research lies in the application of semantic embedding on Apache log queries to identify recurring and polymorphic SQL Injection attacks based on contextual similarity rather than exact syntactic matching. Experimental results show that the Support Vector Machine (SVM) model achieved the best performance with an accuracy of 94.5%, precision of 92.0%, recall of 91.0%, and F1-score of 91.5%, outperforming conventional rule-based detection methods.. The results show that the proposed approach is capable of recognizing semantic similarities between queries despite syntactic differences, thereby improving detection accuracy and reducing false positive rates compared to rule-based methods. Therefore, this method is effective for large-scale log analysis and is capable of detecting repeated and polymorphic SQL Injection attack pattern in web application environments.

Copyrights © 2026






Journal Info

Abbrev

tematik

Publisher

Subject

Computer Science & IT

Description

TEMATIK - Jurnal Teknologi Informasi Dan Komunikasi merupakan jurnal ilmiah sebagai bentuk pengabdian dalam hal pengembangan bidang Teknologi Informasi Dan Komunikasi serta bidang terkait lainnya. TEMATIK - Jurnal Teknologi Informasi Dan Komunikasi diterbitkan oleh LPPM dan Program Studi Manajemen ...