Uncovering Malicious Activity: Interpretable Web Log Analysis with XAI, SHAP, and LLM

This research introduces an offline method for detecting malicious web traffic using XAI for interpretability. By analyzing web server access logs, malicious activities are identified through a two-tiered classification approach. The first tier, called the string based model extracts a subset of features using an embedding model. It combines these with additional features derived from individual web requests to classify them as malicious or benign. The second tier, called the integrated model aggregates features at the IP level, such as request rates and the malicious probability derived from the first tier, to detect broader temporal patterns and coordinated attack behaviors. For interpretability, SHAP (Shapley Additive exPlanations) values highlight the most significant features influencing classifications. To enhance interpretability, these SHAP values are translated into natural language explanations using an LLM offering human-readable insights into the model’s decisions.

Institutions

Publication Details

Published
2025-06-18
DOI
https://doi.org/10.1109/gcon65540.2025.11173318
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Uncovering Malicious Activity: Interpretable Web Log Analysis with XAI, SHAP, and LLM

Geochemistry and Geologic Mapping
article

Uncovering Malicious Activity: Interpretable Web Log Analysis with XAI, SHAP, and LLM

article en

Abstract

This research introduces an offline method for detecting malicious web traffic using XAI for interpretability. By analyzing web server access logs, malicious activities are identified through a two-tiered classification approach. The first tier, called the string based model extracts a subset of features using an embedding model. It combines these with additional features derived from individual web requests to classify them as malicious or benign. The second tier, called the integrated model aggregates features at the IP level, such as request rates and the malicious probability derived from the first tier, to detect broader temporal patterns and coordinated attack behaviors. For interpretability, SHAP (Shapley Additive exPlanations) values highlight the most significant features influencing classifications. To enhance interpretability, these SHAP values are translated into natural language explanations using an LLM offering human-readable insights into the model’s decisions.

National Informatics Centre (IN)
Openalex Percentile: Top 25%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.