Skip to content

LegionnaireDevs/legionnaire

Repository files navigation

Legionnaire Logo

Legionnaire

Legionnaire is an AI-powered SIEM (Security Information and Event Management) platform designed for comprehensive, automated threat detection and response. It operates as a modular, GUI-less system running in the background, consisting of a client and a control server.

Built for the UQCS Hackathon 2025.

Features

XGBoost Binary Classification

The model being used is the XGBClassification algorithm, which is an extremely optimised gradient boosting ensemble algorithm. This model was trained and tested on real collected data and verified using the CIC-IDS-2017 dataset. Throughout the hackathon, the model was trained a variety of times, attempting multiclass classification and binary classification of attacks. The final model used is a logistic binary classifier trained with L1 and L2 regularisation, also implementing methods to deal with class imbalances such as weight scaling. This classifier predicts the labels of data containing 79 columns of network traffic to either Benign (0) or Attack (1).

Network Module

Captures network traffic and performs feature analysis using machine learning to identify suspicious network activity.

Log Module

Monitors and analyses system logs on Windows, Linux, and Mac to detect anomalous or potentially harmful events.

Program Analysis

Hashes all running executables on the device and compares them against external threat databases to detect malicious programs in real time.

Action Module

Acts as a response system, capable of blocking network attacks via firewall rules, killing processes, and deleting files.

Authors

Demo

Here's a short demo of the Web-Dashboard in action:

demo.mp4

Per Page Module Overview

Graphing and General Statistics: Dashboard Stats

Program Analysis Logs: Program Analysis

Network Analysis Logs: Network Analysis

System Logs Analysis Logs: System Logs

Endpoint (Client) Management: Endpoint Management

Client Specific Logs and Actions:

Client Logs

API Reference

Malware Bazaar

https://bazaar.abuse.ch/browse/

Appendix

SysLog Rules

https://github.com/ossec/ossec-hids/blob/f6502012b7380208db81f82311ad4a1994d39905/etc/rules/syslog_rules.xml

About

Legionnaire is an AI powered SIEM.

Resources

Stars

Watchers

Forks

Contributors 6