paper-with-me

Papers

Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning

2026-06-07 · Bernhard Kneip, Nhien-An Le-Khac, Hong-Hanh Nguyen-Le arxiv

Forensic analysis of web server logs demands both accurate detection and human-readable explanations that can satisfy legal requirements. We present CEF-Log, a context-enhanced few-shot chain-of-thought prompting strategy for Large Language Models that addresses this dual requirement. CEF-Log embeds expert investigative methodology through a structured five-step reasoning template, enabling the model to learn \textit{how} to analyze logs rather than \textit{what} patterns to memorize. Experimental evaluation demonstrates that CEF-Log achieves an F1-score of 0.99 on the CSIC 2010 dataset using only four examples while providing a $10\times$ improvement in sample efficiency compared to other prompting-based methods. We also introduce ForenWebLog, a new dataset that incorporates real-world attacks and multi-step attack sequences for comprehensive evaluation. Qualitative analysis confirms that CEF-Log generates traceable, accurate explanations suitable for forensic documentation, addressing the critical "black-box" limitation of traditional machine learning approaches.

📄 PDF Abstract BibTeX arXiv:2606.08649

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Fast Botnet Detection From Streaming Logs Using Online Lanczos Method

2018-12-19 · Zheng Chen, Xinli Yu, Chi Zhang, Jin Zhang 외

Botnet, a group of coordinated bots, is becoming the main platform of malicious Internet activities like DDOS, click fraud, web scraping, spam/rumor distribution, etc. This paper focuses on design and experiment of a new…

Can LLM Infer Risk Information From MCP Server System Logs?

2025-11-08 · Jiayi Fu, Yuansen Zhang, Yinggui Wang arxiv

Large Language Models (LLMs) demonstrate strong capabilities in solving complex tasks when integrated with external tools. The Model Context Protocol (MCP) has become a standard interface for enabling such tool-based int…

Reinforcement Learning

LogSHIELD: A Graph-based Real-time Anomaly Detection Framework using Frequency Analysis

2024-10-29 · Krishna Chandra Roy, Qian Chen

Anomaly-based cyber threat detection using deep learning is on a constant growth in popularity for novel cyber-attack detection and forensics. A robust, efficient, and real-time threat detector in a large-scale operation…

Anomaly DetectionCyber Attack DetectionGraph EmbeddingGraph Neural Network

Learning detectors of malicious web requests for intrusion detection in network traffic

2017-02-08 · Lukas Machlica, Karel Bartos, Michal Sofka

This paper proposes a generic classification system designed to detect security threats based on the behavior of malware samples. The system relies on statistical features computed from proxy log fields to train detector…

Intrusion Detection

FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discrimination

2024-04-12 · Yifei Lin, Hanqiu Deng, Xingyu Li

Nowadays large computers extensively output logs to record the runtime status and it has become crucial to identify any suspicious or malicious activities from the information provided by the realtime logs. Thus, fast lo…

Anomaly DetectionModel Optimization