Forensik Log Server Web: Metode Identifikasi Serangan Menggunakan Url Parsing Dan Keyword Heuristics
DOI:
https://doi.org/10.25126/jtiik.2026135Keywords:
forensik digital, log server web, keyword heuristics, parsing URL, deteksi serangan webAbstract
Di tengah gencarnya serangan siber, log server web menjadi bukti jejak digital penting dalam upaya mendeteksi aktivitas berbahaya pada server web. Penelitian ini mengusulkan metode identifikasi serangan berdasarkan log server web dengan pendekatan yang sederhana namun efektif, yaitu melalui URL parsing dan keyword heuristics. Metode ini memadukan beberapa teknik forensik digital, termasuk parsing dan decoding URL log server web, penyaringan akses dari bot legal menggunakan verifikasi DNS, dan ekstraksi token dari URL untuk membentuk keyword list yang mencerminkan karakteristik unik dari setiap jenis serangan. Keyword list dibangun dari data latih dengan menganalisis frekuensi kemunculan token dalam berbagai kategori serangan. Proses deteksi dilakukan dengan mencocokkan token URL terhadap keyword list. Untuk memastikan generalisasi dan menghindari kebocoran data latih (training data leakage), keyword list tersebut diuji menggunakan data uji yang isinya berbeda dari data latih. Hasil evaluasi menunjukkan bahwa metode ini mampu mencapai skor sempurna (1.00) pada metrik precision, recall, dan F1-score, baik untuk klasifikasi biner (benign vs attack) maupun multi-class (benign, SQLi, RCE, bot, scanning). Hasil ini membuktikan bahwa pendekatan berbasis URL parsing dan keyword heuristics sangat efektif untuk mendeteksi serangan yang telah dikenal (known attack), sehingga bisa menjadi pilihan metode deteksi dalam praktik forensik digital.
Abstract
Amidst the rise of cyberattacks, web server logs have become important digital evidence in detecting malicious activity on web servers. This study proposes a method for identifying attacks based on web server logs using a simple yet effective approach, namely through URL parsing and keyword heuristics. This method combines several digital forensic techniques, including parsing and decoding web server log URLs, filtering access from legitimate bots using DNS verification, and extracting tokens from URLs to form a keyword list reflecting the unique characteristics of each type of attack. The keyword list is built from training data by analyzing the frequency of token occurrence across various attack categories. The detection process involves matching URL tokens against the keyword list. To ensure generalization and avoid training data leakage, the keyword list is tested using test data whose contents are different from the training data. Evaluation results show that this method achieves a perfect score (1.00) on precision, recall, and F1-score metrics, both for binary classification (benign vs. attack) and multi-class classification (benign, SQLi, RCE, bot, scanning). These results demonstrate that the URL parsing and keyword heuristics-based approach is highly effective for detecting known attacks, making it a viable detection method in digital forensics practice.
Downloads
References
ABDULLAH ALQARNI, A., ALSHARIF, N., AHMAD KHAN, N., GEORGIEVA, L., PARDADE, E., Y. ALZAHRANI, M., 2022. MNN-XSS: Modular Neural Network Based Approach for XSS Attack Detection. Comput. Mater. Contin. 70, 4075–4085. https://doi.org/10.32604/cmc.2022.020389
ALOBAIDLI, H., NASIR, Q., IQBAL, A., GUIMARAES, M., 2017. Challenges of Cloud Log Forensics, in: Proceedings of the SouthEast Conference. Presented at the ACM SE ’17: SouthEast Conference, ACM, Kennesaw GA USA, pp. 227–230. https://doi.org/10.1145/3077286.3077302
DIANA, L., DINI, P., PAOLINI, D., 2025. Overview on Intrusion Detection Systems for Computers Networking Security. Computers 14, 87. https://doi.org/10.3390/computers14030087
KLASÉN, L., FOCK, N., FORCHHEIMER, R., 2024. The invisible evidence: Digital forensics as key to solving crimes in the digital age. Forensic Sci. Int. 362, 112133. https://doi.org/10.1016/j.forsciint.2024.112133
MOISSINAC, B., SAAD, E., CLAY, M., BERRONDO, M., 2023. Detecting SQL Injection Attacks using Machine Learning, in: Proceedings of the Conference on Applied Machine Learning in Information Security. Presented at the Conference on Applied Machine Learning in Information Security, CEUR-WS.org, Arlington, Virginia, USA, pp. 49–59.
OLEGÅRD, J., AXELSSON, S., LI, Y., 2025. When is logging sufficient? — Tracking event causality for improved forensic analysis and correlation. Forensic Sci. Int. Digit. Investig. 52, 301877. https://doi.org/10.1016/j.fsidi.2025.301877
QI WU, 2024. Web Attack Detection Based on Honeypots and Logistic Regression Algorithm. J. Electr. Syst. 20, 814–822. https://doi.org/10.52783/jes.3013
RACHMIE, S., 2020. Peranan Ilmu Digital Forensik Terhadap Penyidikan Kasus Peretasan Website. LITIGASI 104–127. https://doi.org/10.23969/litigasi.v21i1.2388
SUBRATA BANIK, SAI SURYA MOUNIKA DANDYALA, SIDDHARTHA VARMA NADIMPALLI, 2022. Heuristic-Based Detection Techniques. Int. J. Adv. Eng. Technol. Innov. 1, 352–362.
ZAKER, F., 2019. Online Shopping Store - Web Server Logs. https://doi.org/10.7910/DVN/3QBYB5
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Mahendra Data, Tirana Noor Fatyanosa

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Artikel ini berlisensi Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Penulis yang menerbitkan di jurnal ini menyetujui ketentuan berikut:
- Penulis menyimpan hak cipta dan memberikan jurnal hak penerbitan pertama naskah secara simultan dengan lisensi di bawah Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) yang mengizinkan orang lain untuk berbagi pekerjaan dengan sebuah pernyataan kepenulisan pekerjaan dan penerbitan awal di jurnal ini.
- Penulis bisa memasukkan ke dalam penyusunan kontraktual tambahan terpisah untuk distribusi non ekslusif versi kaya terbitan jurnal (contoh: mempostingnya ke repositori institusional atau menerbitkannya dalam sebuah buku), dengan pengakuan penerbitan awalnya di jurnal ini.
- Penulis diizinkan dan didorong untuk mem-posting karya mereka online (contoh: di repositori institusional atau di website mereka) sebelum dan selama proses penyerahan, karena dapat mengarahkan ke pertukaran produktif, seperti halnya sitiran yang lebih awal dan lebih hebat dari karya yang diterbitkan. (Lihat Efek Akses Terbuka).








