Network intrusion detection system based on Isolation Forest and PyShark
Project description
IDS-IForest
Network intrusion detection system based on Isolation Forest and PyShark.
Overview
This package provides tools for network traffic analysis and anomaly detection using machine learning. It uses the Isolation Forest algorithm to detect unusual network behavior that may indicate potential security threats.
Features
- Train anomaly detection models on network traffic data
- Detect anomalies in live network traffic or PCAP files
- Convert PCAP files to flow-based CSV format
- Generate synthetic datasets for testing
Installation
pip install ids-iforest
Usage
Training a model
ids-iforest-train --input data/train.csv --output models/ids_iforest.joblib
Detecting anomalies
ids-iforest-detect --model models/ids_iforest.joblib --interface eth0
Converting PCAP to CSV
ids-iforest-pcap2csv --input capture.pcap --output flows.csv
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ids_iforest-0.1.0.tar.gz.
File metadata
- Download URL: ids_iforest-0.1.0.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6139545400b1faf0aa229163479a5a3f4dd89fbc8c11d0f7bfecf1d3bb9242af
|
|
| MD5 |
59b48568663ea8478f0bac484b31898e
|
|
| BLAKE2b-256 |
e2ced8439db1a0928fd2c53cefef91a98913829c62b0334fbd09319d98de13cf
|
File details
Details for the file ids_iforest-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ids_iforest-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
704574ccc92ecf3274c32f96a148930132c646109f4656fe83ef60b64ef868d4
|
|
| MD5 |
e96516d05b2213d7d2aba238be9d17e8
|
|
| BLAKE2b-256 |
526b3203f92b22d571bbbeae7c1f896fb46b130489db78f15949a9765b9cf6dd
|