[论文解读] Bidirectional RNN-based Few-shot Training for Detecting Multi-stage Attack
该论文提出了一种基于双向RNN的少样本学习框架,用于检测“佯攻攻击”——一种多阶段高级持续性威胁(APT),其真实攻击被欺骗性虚拟攻击所掩盖。通过使用模糊聚类从DARPA2000和CICIDS2017数据集中挖掘攻击链,并应用Bi-RNN对攻击序列中的因果关系进行编码,该方法在识别佯攻攻击模式方面实现了75.23%的准确率,优于传统方法,在捕捉对抗行为中的语义和时序依赖性方面表现更优。
"Feint Attack", as a new type of APT attack, has become the focus of attention. It adopts a multi-stage attacks mode which can be concluded as a combination of virtual attacks and real attacks. Under the cover of virtual attacks, real attacks can achieve the real purpose of the attacker, as a result, it often caused huge losses inadvertently. However, to our knowledge, all previous works use common methods such as Causal-Correlation or Cased-based to detect outdated multi-stage attacks. Few attentions have been paid to detect the "Feint Attack", because the difficulty of detection lies in the diversification of the concept of "Feint Attack" and the lack of professional datasets, many detection methods ignore the semantic relationship in the attack. Aiming at the existing challenge, this paper explores a new method to solve the problem. In the attack scenario, the fuzzy clustering method based on attribute similarity is used to mine multi-stage attack chains. Then we use a few-shot deep learning algorithm (SMOTE&CNN-SVM) and bidirectional Recurrent Neural Network model (Bi-RNN) to obtain the "Feint Attack" chains. "Feint Attack" is simulated by the real attack inserted in the normal causal attack chain, and the addition of the real attack destroys the causal relationship of the original attack chain. So we used Bi-RNN coding to obtain the hidden feature of "Feint Attack" chain. In the end, our method achieved the goal to detect the "Feint Attack" accurately by using the LLDoS1.0 and LLDoS2.0 of DARPA2000 and CICIDS2017 of Canadian Institute for Cybersecurity.
研究动机与目标
- 为应对检测‘佯攻攻击’——一种结合欺骗性虚拟攻击与真实恶意行为的隐蔽APT变体——所带来的挑战,传统方法因语义和因果复杂性而失效。
- 基于属性相似性使用模糊聚类从告警数据中挖掘多阶段攻击链,构建攻击模式的比对库。
- 开发一种少样本学习模型(SMOTE与CNN-SVM结合),以应对攻击类别分布不均的问题,特别是针对U2R和R2L等稀有攻击类型。
- 使用双向RNN(Bi-RNN)对攻击序列进行编码,以保留识别佯攻攻击行为所必需的因果与序列关系。
- 在真实世界数据集(LLDoS1.0、LLDoS2.0、CICIDS2017)上验证该方法,证明其在检测准确率方面优于传统方法。
提出的方法
- 基于属性相似性(五元组:AttackType, S_IP, D_IP, S_Port, D_Port)的模糊聚类被应用于聚合和减少重复告警,从而从原始告警数据中挖掘多阶段攻击链。
- 采用SMOTE处理稀有攻击类型(U2R、R2L)在入侵检测数据集中存在的类别不平衡问题,随后使用CNN-SVM进行特征表示与原子攻击事件的分类。
- 通过将原子攻击事件(虚拟和真实)嵌入序列中构建攻击链,将真实攻击插入正常因果链中,以模拟佯攻攻击行为。
- 使用双向RNN(Bi-RNN)对攻击序列的时序与因果结构进行编码,捕捉长距离依赖关系,并保持各阶段之间的语义关系。
- 通过将真实攻击(每条链1–8个)与虚拟攻击结合,构建佯攻攻击数据集,形成包含11,758条链的标注库(9,408条训练,2,350条测试),标签标明是否存在佯攻攻击。
- 使用超参数c=0.5和g=1进行交叉验证与测试,在测试集上实现最优模型准确率。
实验结果
研究问题
- RQ1基于属性相似性的模糊聚类能否有效从嘈杂且冗余的告警数据中重构多阶段攻击链?
- RQ2少样本学习方法(SMOTE + CNN-SVM)在类别不平衡的入侵检测数据集中检测稀有攻击类型(U2R、R2L)的效能如何?
- RQ3双向RNN模型能否成功编码攻击链的因果与序列结构,以区分佯攻攻击与良性多阶段序列?
- RQ4Bi-RNN在检测具有掩蔽真实攻击行为的佯攻攻击时,相较于单向RNN或传统模型,优势有多大?
- RQ5在真实世界数据集(LLDoS1.0、LLDoS2.0、CICIDS2017)上,该框架在识别佯攻攻击模式时的检测准确率是多少?
主要发现
- 基于Bi-RNN的模型在测试集上对佯攻攻击链的检测准确率达到75.23%,证明双向编码在捕捉攻击序列中因果关系方面的有效性。
- 结合SMOTE的少样本学习模型显著提升了稀有攻击类型(U2R与R2L)的召回率与精确率,这些类型此前因类别不平衡而被严重漏检。
- 模糊聚类有效减少了告警冗余,并成功将20,718个真实攻击和189,826个虚拟攻击重构为有意义的多阶段攻击链。
- 在未使用佯攻攻击检测模型时,超过99%的真实攻击被误分类为良性,凸显了所提方法的必要性。
- 在最优超参数c=0.5和g=1下,模型交叉验证准确率达到78.8764%,表明其在训练数据上具有强大的泛化能力。
- 混淆矩阵显示,DoS攻击的精确率(0.998)与召回率(0.975)均较高,而U2R与R2L类型虽较低,但经SMOTE处理后性能显著提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。