Metadata-Version: 2.4
Name: seclog-lite
Version: 0.2.0
Summary: Offline SSH authentication log analysis
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# SecLog Lite

Lightweight, dependency-free Python toolkit for offline
SSH security log analysis and threat detection.

![Version](https://img.shields.io/badge/version-0.2.0-blue)
![Python](https://img.shields.io/badge/python-3.10%2B-blue)
![Dependencies](https://img.shields.io/badge/dependencies-zero-green)

## Overview

SecLog Lite helps cybersecurity students, developers,
system administrators and security analysts identify
suspicious authentication activity in SSH logs.

All analysis runs locally without cloud services,
external APIs or third-party runtime dependencies.

## Features

- SSH brute-force detection
- Potential password spraying detection
- Invalid account probing detection
- Successful login after repeated failures
- IPv4 and IPv6 support
- Configurable detection thresholds
- MITRE ATT&CK mappings
- JSON, CSV, text and HTML reports
- Offline security reporting dashboard

## Installation

Python 3.10 or later is required.

From the project directory:

    python3 -m pip install .

## Quick Start

    seclog sample.log

Generate a JSON report:

    seclog sample.log --format json

Generate a CSV report:

    seclog sample.log --format csv

Generate an HTML dashboard:

    seclog sample.log --format html > report.html

Customize detection:

    seclog sample.log --threshold 5 --window 300

## Detection Rules

| Rule | MITRE ATT&CK |
| --- | --- |
| Repeated SSH failures | T1110.001 |
| Possible password spraying | T1110.003 |
| Invalid account probing | T1110 |
| Success after failures | T1110.001 |

## Testing

    python3 -m unittest discover -s tests -v

## Privacy

SecLog Lite processes logs locally.
No telemetry or external data transmission is required.

## Limitations

Currently supports traditional SSH authentication logs.
Detection rules are heuristic indicators and do not
confirm that an attack or compromise has occurred.

Analyze only logs you are authorized to access.

## Roadmap

- Additional Linux log formats
- Real-time log monitoring
- Improved threat analytics
- Configurable detection rules
- PyPI distribution
- Community-driven improvements

## Project Status

Early-stage development. Contributions and feedback
are welcome once the public repository is available.
