Skip to main content

SecLog Lite

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

Version Python Dependencies

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.

Metadata

Release files for seclog-lite 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seclog-lite 0.2.0
File Size Uploaded Provenance Actions
seclog_lite-0.2.0.tar.gz 7.6 kB Without provenance Details for seclog_lite-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seclog-lite 0.2.0
File Interpreter ABI Platform Actions
seclog_lite-0.2.0-py3-none-any.whl Python 3 none any Details for seclog_lite-0.2.0-py3-none-any.whl

Total release size: 15.4 kB

Release files / seclog_lite-0.2.0.tar.gz

Download URL seclog_lite-0.2.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
63d62a9d5b71e8999029f16eed920f1f1a6b31322edef675e578ea622e342c5d
BLAKE2b-256 checksum
How to use checksums
0f18243f9955b407a55804708bfbfae20c99751a2c94cf7a365f8d1eef2d8392
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / seclog_lite-0.2.0-py3-none-any.whl

Download URL seclog_lite-0.2.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27a97e8af88d6ff02dd20a6c88c20deccb05a5a47d3bc46fa5d0f64fba16daf4
BLAKE2b-256 checksum
How to use checksums
d8823f2c414fa04f2cf12acda9a6b74d2844623da3e8c7851d8cc4af4dee082e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for seclog-lite 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page