Enterprises face security threats from internal anomalous behaviors in dynamic network environments. Existing rule-generation approaches often rely heavily on large amounts of labeled data and are particularly sensitive to data scarcity. In Small and Medium-sized Enterprises (SMEs), limited resources and the imbalance between positive and negative samples make it difficult to obtain sufficient labeled data for detecting anomalous behaviors. This challenge often leads to poor detection performance. To address this issue, this paper proposes an adaptive behavior rule-generation approach that combines Chain-of-Thought (CoT) reasoning and few-shot learning, eliminating the need for large-scale labeled data. In this approach, we employ CoT to perform step-by-step reasoning on user behavior, generating personalized anomalous behavior detection rules based on limited data. To enhance the adaptability and accuracy of the approach, we integrated few-shot learning, enabling the system to learn from a small number of examples and generate effective rules. Experimental results demonstrate that the proposed method achieved an accuracy of 97.56% in generating rules for detecting anomalous behaviors, verifying its strong capability for scenario transfer.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Rule Generation for Anomalous Behaviors Detection in Enterprises: A Few-Shot Learning Approach via Chain-of-Thoughts

  • Xin Bao,
  • Yunchuan Guo,
  • Xinyi Shi,
  • Kui Geng,
  • Wenlong Kou,
  • Zifu Li

摘要

Enterprises face security threats from internal anomalous behaviors in dynamic network environments. Existing rule-generation approaches often rely heavily on large amounts of labeled data and are particularly sensitive to data scarcity. In Small and Medium-sized Enterprises (SMEs), limited resources and the imbalance between positive and negative samples make it difficult to obtain sufficient labeled data for detecting anomalous behaviors. This challenge often leads to poor detection performance. To address this issue, this paper proposes an adaptive behavior rule-generation approach that combines Chain-of-Thought (CoT) reasoning and few-shot learning, eliminating the need for large-scale labeled data. In this approach, we employ CoT to perform step-by-step reasoning on user behavior, generating personalized anomalous behavior detection rules based on limited data. To enhance the adaptability and accuracy of the approach, we integrated few-shot learning, enabling the system to learn from a small number of examples and generate effective rules. Experimental results demonstrate that the proposed method achieved an accuracy of 97.56% in generating rules for detecting anomalous behaviors, verifying its strong capability for scenario transfer.