Skip to main content
QUICK REVIEW

[论文解读] Automatic Identification of Indicators of Compromise using Neural-Based Sequence Labelling

Shengping Zhou, Zi Long|arXiv (Cornell University)|Oct 24, 2018
Network Security and Intrusion DetectionComputer Science参考文献 16被引用 21
一句话总结

本文提出一种基于双向LSTM与注意力机制及词素拼写特征的端到端神经序列标注模型,可从非结构化网络安全报告中自动识别入侵指标(IOCs)。该模型平均F1得分超过88%,优于现有方法,尤其在训练数据有限的低频IOCs检测方面表现突出。

ABSTRACT

Indicators of Compromise (IOCs) are artifacts observed on a network or in an operating system that can be utilized to indicate a computer intrusion and detect cyber-attacks in an early stage. Thus, they exert an important role in the field of cybersecurity. However, state-of-the-art IOCs detection systems rely heavily on hand-crafted features with expert knowledge of cybersecurity, and require a large amount of supervised training corpora to train an IOC classifier. In this paper, we propose using a neural-based sequence labelling model to identify IOCs automatically from reports on cybersecurity without expert knowledge of cybersecurity. Our work is the first to apply an end-to-end sequence labelling to the task in IOCs identification. By using an attention mechanism and several token spelling features, we find that the proposed model is capable of identifying the low frequency IOCs from long sentences contained in cybersecurity reports. Experiments show that the proposed model outperforms other sequence labelling models, achieving over 88% average F1-score.

研究动机与目标

  • 在不依赖专家手工设计特征的前提下,自动化识别网络安全报告中的入侵指标(IOCs)。
  • 解决在零散、上下文贫乏的长句中检测低频IOCs的挑战,此类句子在高级持续性威胁(APT)报告中较为常见。
  • 通过引入词级拼写特征与注意力机制,降低对大规模人工标注训练语料的依赖。
  • 开发一种可泛化的端到端模型,适用于多种网络安全报告格式与语言。

提出的方法

  • 模型采用双向LSTM编码器配合CRF层进行序列标注,结合词级与字符级嵌入表示。
  • 输入嵌入通过拼接预训练的词嵌入与基于字符的双向LSTM生成的字符级表征构成。
  • 应用注意力机制以增强上下文表征,尤其在长句与低频IOCs场景下表现更优。
  • 整合拼写特征(如URL、IP地址与文件哈希的正则表达式模式),以提升对罕见或格式异常IOCs的识别能力。
  • 在小规模标注数据集上进行端到端训练,联合学习词嵌入、字符表征与标签序列。
  • 模型架构设计支持跨语言泛化,初步实验表明使用多语言嵌入具备跨语言迁移潜力。

实验结果

研究问题

  • RQ1端到端的神经序列标注模型是否能在无需专家手工特征的情况下,从非结构化网络安全报告中检测IOCs?
  • RQ2所提出的模型在识别罕见或语法异常的低频IOCs方面效果如何?
  • RQ3拼写特征与注意力机制在训练数据有限的情况下,对性能提升的贡献程度如何?
  • RQ4当IOCs主要为英文但报告文本为其他语言时,模型是否具备跨语言泛化能力?

主要发现

  • 所提模型平均F1得分超过88%,在IOCs检测任务上优于其他序列标注模型。
  • 模型在低频IOCs上表现优异,能正确识别罕见或格式异常的条目,如 'http://www7.chrome-up.date/0m5EE'。
  • 拼写特征的引入显著提升了对不符合标准模式的IOCs(如异常文件哈希)的检测能力。
  • 注意力机制增强了长而复杂的句子中的上下文建模能力,从而整体提升了序列标注的准确性。
  • 在英文APT报告上,模型保持了90.4%的高精确率与87.2%的召回率,表明其具备鲁棒性与可靠性。
  • 初步结果表明跨语言迁移具有可行性,使用多语言嵌入的模型在中文报告中也能检测出IOCs。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。