Skip to content

ZTECH10/machine-learning-cybersecurity-intrusion-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Machine Learning Cybersecurity Intrusion Detection

This repository contains code and data for detecting cyberattacks using machine learning techniques. The focus is on building and evaluating a Random Forest classifier to identify intrusion attempts based on network traffic data generated by the Cyber Range Lab at UNSW Canberra, Australia.

Model Performance:

The Random Forest classifier model to detect cyberattacks achieved the following performance metrics on the test set:

  • Accuracy: 95.24% - High overall correctness.
  • Recall: 93.07% - Effective in identifying actual attacks, minimizing false negatives.
  • Precision: 98.99% - High precision, minimizing false positives.

The model's high precision and recall indicate strong performance in detecting cyberattacks, making it effective and reliable for real-world application.

Data Analysis

  • Conducted correlation analysis with heatmaps to identify network variables associated with cyberattacks.
  • Identified network variables positively and negatively correlated with cyberattacks and highlighted strong correlations among variables.
  • Evaluated model performance and visualized feature importances.
Percentage of Different Types of Attacks Feature importances in Random Forest Classfier Screen Shot 2024-06-06 at 7 39 08 PM

About

Machine Learning-Based Network Traffic Analysis for Cyberattack Intrusion Detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published