[Paper Review] Bidirectional RNN-based Few-shot Training for Detecting Multi-stage Attack
This paper proposes a bidirectional RNN-based few-shot learning framework to detect 'Feint Attacks'—a multi-stage APT threat where real attacks are masked by deceptive virtual attacks. By using fuzzy clustering to mine attack chains from DARPA2000 and CICIDS2017 datasets, and applying Bi-RNN to encode causal relationships in attack sequences, the method achieves 75.23% accuracy in identifying Feint Attack patterns, outperforming traditional methods in capturing semantic and temporal dependencies in adversarial behavior.
"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.
Motivation & Objective
- To address the challenge of detecting 'Feint Attacks'—a stealthy APT variant combining deceptive virtual attacks with real malicious actions—where traditional methods fail due to semantic and causal complexity.
- To mine multi-stage attack chains from alert data using fuzzy clustering based on attribute similarity, forming a comparison library for attack patterns.
- To develop a few-shot learning model (SMOTE & CNN-SVM) to handle imbalanced attack class distributions, especially for rare attack types like U2R and R2L.
- To encode attack sequences using a bidirectional RNN (Bi-RNN) to preserve causal and sequential relationships critical for identifying Feint Attack behavior.
- To validate the method on real-world datasets (LLDoS1.0, LLDoS2.0, CICIDS2017), demonstrating improved detection accuracy over conventional approaches.
Proposed method
- Fuzzy clustering based on attribute similarity (five-tuple: AttackType, S_IP, D_IP, S_Port, D_Port) is applied to aggregate and reduce duplicate alerts, enabling the mining of multi-stage attack chains from raw alert data.
- A few-shot learning pipeline is implemented using SMOTE to address class imbalance in rare attack types (U2R, R2L), followed by CNN-SVM for feature representation and classification of atomic attack events.
- Attack chains are constructed by embedding atomic attack events (virtual and real) into sequences, with real attacks inserted into normal causal chains to simulate Feint Attack behavior.
- A bidirectional RNN (Bi-RNN) is used to encode the temporal and causal structure of attack sequences, capturing long-range dependencies and preserving semantic relationships across stages.
- The Feint Attack dataset is built by combining real attacks (1–8 per chain) with virtual attacks, forming a labeled library of 11,758 chains (9,408 training, 2,350 testing), with labels indicating Feint Attack presence.
- Cross-validation and testing are performed using hyperparameters c=0.5 and g=1, achieving optimal model accuracy on the test set.
Experimental results
Research questions
- RQ1Can fuzzy clustering based on attribute similarity effectively reconstruct multi-stage attack chains from noisy and redundant alert data?
- RQ2How effective is a few-shot learning approach (SMOTE + CNN-SVM) in detecting rare attack types (U2R, R2L) within imbalanced intrusion detection datasets?
- RQ3Can a bidirectional RNN model successfully encode the causal and sequential structure of attack chains to distinguish Feint Attacks from benign multi-stage sequences?
- RQ4To what extent does Bi-RNN outperform unidirectional RNN or traditional models in detecting Feint Attacks with masked real attack behavior?
- RQ5What is the detection accuracy of the proposed framework on real-world datasets (LLDoS1.0, LLDoS2.0, CICIDS2017) when identifying Feint Attack patterns?
Key findings
- The Bi-RNN-based model achieved 75.23% accuracy in detecting Feint Attack chains on the test set, demonstrating the effectiveness of bidirectional encoding in capturing causal relationships in attack sequences.
- The few-shot learning model with SMOTE improved recall and precision for rare attack types (U2R and R2L), which were previously under-detected due to class imbalance.
- Fuzzy clustering reduced alert redundancy and successfully reconstructed 20,718 real attacks and 189,826 virtual attacks into meaningful multi-stage attack chains.
- More than 99% of real attacks were misclassified as benign when not using the Feint Attack detection model, highlighting the necessity of the proposed method.
- The model achieved a cross-validation accuracy of 78.8764% with optimal hyperparameters c=0.5 and g=1, indicating strong generalization on the training data.
- The confusion matrix showed high precision (0.998) and recall (0.975) for DoS attacks, while U2R and R2L types had lower but significantly improved performance with SMOTE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.