arXiv:2508.05694cs.CRcs.AI2025-08中稿 · 2025 IEEE Internat…被引 3

用双模态分析日志,提升内鬼行为检测准确率

DMFI: A Dual-Modality Log Analysis Framework for Insider Threat Detection with LoRA-Tuned Language Models

  • 将日志拆成语义与行为两种结构化视图,分别用提示词和4W框架处理
  • 在CERT r4.2和r5.2数据集上,检测准确率超越现有最佳方法
  • 适合安全团队部署,尤其应对标签不平衡的现实场景

内部威胁检测(ITD)因恶意行为隐蔽、持续时间长且依赖上下文而面临严峻挑战。传统模型难以捕捉语义意图与复杂行为动态,现有大语言模型(LLM)方案则受限于提示适应性与模态覆盖范围。为此,我们提出DMFI——一种双模态日志分析框架,融合语义推理与行为感知微调。该框架将原始日志转化为两个结构化视图:(1) 语义视图,通过指令格式提示处理内容丰富的实体(如邮件、HTTPS请求);(2) 行为抽象,采用4W(何时、何地、何事、何人)引导转换,编码上下文动作序列。两个经LoRA增强的LLM独立微调,输出通过轻量级MLP决策模块融合。此外,我们引入DMFI-B,一种区分正常与异常行为表征的判别式适配策略,显著提升在严重类别不平衡下的鲁棒性。在CERT r4.2与r5.2数据集上的实验表明,DMFI在检测准确率上优于当前最优方法。本方案结合大语言模型的语义推理能力与结构化行为建模,提供了一种可扩展且高效的现实内鬼检测解决方案。

原文摘要 · Abstract (English)

Insider threat detection (ITD) poses a persistent and high-impact challenge in cybersecurity due to the subtle, long-term, and context-dependent nature of malicious insider behaviors. Traditional models often struggle to capture semantic intent and complex behavior dynamics, while existing LLM-based solutions face limitations in prompt adaptability and modality coverage. To bridge this gap, we propose DMFI, a dual-modality framework that integrates semantic inference with behavior-aware fine-tuning. DMFI converts raw logs into two structured views: (1) a semantic view that processes content-rich artifacts (e.g., emails, https) using instruction-formatted prompts; and (2) a behavioral abstraction, constructed via a 4W-guided (When-Where-What-Which) transformation to encode contextual action sequences. Two LoRA-enhanced LLMs are fine-tuned independently, and their outputs are fused via a lightweight MLP-based decision module. We further introduce DMFI-B, a discriminative adaptation strategy that separates normal and abnormal behavior representations, improving robustness under severe class imbalance. Experiments on CERT r4.2 and r5.2 datasets demonstrate that DMFI outperforms state-of-the-art methods in detection accuracy. Our approach combines the semantic reasoning power of LLMs with structured behavior modeling, offering a scalable and effective solution for real-world insider threat detection.

内鬼检测大模型应用日志分析行为建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。