Skip to main content

Innovative Network Security Technologies

Project description

# INSyT - Innovative Network Security Technologies

INSyT is a LLM-based Network Instrusion Detection System designed to detect and analyze anomalous and dangerous network and system behavior.

## Installation

This software can be installed using pip on the github directory: `bash pip install git+https://github.com/Isaacwilliam4/Network_Intrusion.git `

## Usage

### File Watcher To use the file watcher, run the following command in your terminal: `bash insyt --watch /path/to/your/file1 /path/to/your/file2 ` Replace /path/to/your/file1 and /path/to/your/file2 with the actual paths to the files you want to watch. The file watcher will then monitor these files for any changes and load the new lines into the database. It will also place new lines into a redis queue for classification.

Note: Currently the file watcher will clear the database every time you run it. This will be changed in the future.

### Detecting and Analyzing Attacks To detect attacks and suspicious behavior, you can use the –run option: `bash insyt --run ` This will run start pulling jobs off of the redis queue, in the order that they were put on the queue. This will either classify new lines in the database, or analyze classified lines, depending on what is in the queue.

Note: Generative AI analysis is built on [ollama](https://github.com/ollama/ollama). And as such it is important that ollama is installed on your machine. Visit there github to learn how to install on you specific system. After installing ollama, run the following to create the insyt model: `bash ollama create insyt -f insyt/models/ollama/Modelfile `

### Custom database paths You can also pass in a different database filename using –db. For example: `bash insyt --watch /path/to/your/file1 /path/to/your/file2 --db /path/to/your/db ` Replace /path/to/your/db with the actual path to the database file you want to use.

### Debug

If you want to run in debug mode, use the flag –debug

TODO: Explain the rest of the usage

## For Developers/Contributors

You can run all unit tests by running python -m unittest after isntalling insyt in your venv.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

insyt-0.0.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

insyt-0.0.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file insyt-0.0.1.tar.gz.

File metadata

  • Download URL: insyt-0.0.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for insyt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 04d43c667c99f0483fb7f4a6bae5d6006132c0fe0861a78c18abfe2d8127962b
MD5 9348a6bfac95fbf08ab9ecd297f4a296
BLAKE2b-256 a38d5999203907b9f6a54f2f8799fe36339513b72e0bafaee355111fbaf88797

See more details on using hashes here.

File details

Details for the file insyt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: insyt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for insyt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfde6cd500a18798aee7b20130cd963b346cf40a5bab54569b6114b02e87af08
MD5 7de00759d4f9594074481cfa80251a31
BLAKE2b-256 171d30a64e6019e3a29c8799bdf19fb040edee9188260f30cd897f009bd307bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page