[Paper Review] RNNSecureNet: Recurrent neural networks for Cyber security use-cases
This paper proposes an RNN-based framework, RNNSecureNet, for cyber security use cases including Android malware classification, incident detection, and fraud detection. By leveraging sequential data modeling through stacked RNN layers with batch normalization and dropout, the model achieves superior accuracy—outperforming SVMs—especially in incident detection (99.7% accuracy) and fraud detection (91.8% accuracy), demonstrating RNNs' effectiveness in learning complex, sequential patterns in security data.
Recurrent neural network (RNN) is an effective neural network in solving very complex supervised and unsupervised tasks. There has been a significant improvement in RNN field such as natural language processing, speech processing, computer vision and other multiple domains. This paper deals with RNN application on different use cases like Incident Detection, Fraud Detection, and Android Malware Classification. The best performing neural network architecture is chosen by conducting different chain of experiments for different network parameters and structures. The network is run up to 1000 epochs with learning rate set in the range of 0.01 to 0.5.Obviously, RNN performed very well when compared to classical machine learning algorithms. This is mainly possible because RNNs implicitly extracts the underlying features and also identifies the characteristics of the data. This helps to achieve better accuracy.
Motivation & Objective
- To evaluate the effectiveness of recurrent neural networks (RNNs) in cyber security use cases such as malware detection, incident detection, and fraud detection.
- To compare RNN performance against classical machine learning models like SVM in detecting complex, evolving cyber threats.
- To identify optimal RNN architectures, hyperparameters (learning rate, layer depth, units), and regularization techniques for security applications.
- To demonstrate that RNNs can learn hierarchical, sequential features from raw security data more effectively than traditional methods.
Proposed method
- Proposed a deep RNN architecture with 1–7 stacked recurrent layers, using 768 units per layer after hyperparameter tuning.
- Employed batch normalization and dropout (0.001) to prevent overfitting and accelerate training.
- Used binary cross-entropy loss for binary classification tasks (malware and incident detection), and categorical cross-entropy for multi-class fraud detection.
- Applied stochastic gradient descent (SGD) as the optimizer to minimize classification loss.
- Selected optimal learning rate (0.01) and network depth (6 layers for malware, 3 for incident/fraud) via 10-fold cross-validation and 700–1000 epoch training.
- Used API call sequences from APK files and log/event sequences from UTM and synthetic financial data as input sequences for training.
Experimental results
Research questions
- RQ1Can RNNs outperform classical machine learning models like SVM in detecting Android malware based on API call sequences?
- RQ2How effective are RNNs in modeling sequential patterns for incident detection in unified threat management (UTM) logs?
- RQ3To what extent can RNNs improve fraud detection accuracy in financial transactions compared to traditional classifiers?
- RQ4What is the optimal RNN architecture (depth, width, learning rate) for different cyber security use cases?
Key findings
- RNNs achieved 99.7% accuracy in incident detection, surpassing SVM’s 99.3%, demonstrating strong sequential pattern learning.
- For fraud detection, RNNs reached 91.8% accuracy and F-score, slightly outperforming SVM (91.7% accuracy, 91.7% F-score).
- In Android malware classification, RNNs achieved 74.1% accuracy, exceeding SVM’s 72.3%, with improved detection of complex malware behaviors.
- The 6-layer RNN architecture performed best for malware detection, while 3-layer RNNs were optimal for incident and fraud detection.
- Optimal learning rate was found to be 0.01, with higher values (e.g., 0.05) causing accuracy drops, indicating sensitivity to hyperparameter tuning.
- The use of batch normalization and dropout significantly reduced overfitting, especially in deep RNNs trained on large security datasets.
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.