The Java Network Intrusion Detection System (NIDS) is a real-time traffic analysis and monitoring tool designed to detect suspicious activities within a network. It utilizes Pcap4J for packet capturing and JavaFX for a user-friendly interface, enabling security analysts to identify potential threats effectively.
- Real-time packet capturing using Pcap4J.
- Traffic analysis and visualization with JavaFX.
- Detection of malicious patterns based on predefined rules.
- Logging of suspicious activities for further investigation.
- User-friendly interface for monitoring network traffic.
Ensure you have the following installed on your system:
- Java Development Kit (JDK) 11+
- Pcap4J library
- JavaFX library
- WinPcap/libpcap (depending on your OS)
- Clone the repository:
git clone https://github.com/AbdrrahimDahmani/Java-Network-Intrusion-Detection-System.git cd Java-Network-Intrusion-Detection-System - Install dependencies:
- Add Pcap4J and JavaFX to your project's classpath.
- Ensure your system has WinPcap (Windows) or libpcap (Linux/Mac) installed.
- Compile and run the project:
javac -cp ".;lib/*" src/Main.java java -cp ".;lib/*" src.Main
- Launch the application.
- Select a network interface for packet capturing.
- Start monitoring network traffic in real-time.
- View detected anomalies and logs for analysis.
Feel free to submit issues, suggestions, or pull requests to improve this project.
This project is licensed under the MIT License.
Abderrahim Dahmani – Cybersecurity & Digital Trust Engineering Student @ ENSET Mohammedia