SecLog Lite
Lightweight, dependency-free Python toolkit for offline SSH security log analysis and threat detection.
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.
Install the published package from PyPI:
python3 -m pip install seclog-lite
For local development, from the project directory:
python3 -m pip install -e .
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
For v0.3.0 development builds, standard input is supported:
cat sample.log | seclog - --format json
Security Dashboard
Generate a self-contained HTML report from an authorized SSH log:
seclog sample.log --format html > report.html
Open report.html in a browser to review severity counts, suspicious IP addresses, detection rules, and MITRE ATT&CK mappings.
Example dashboard generated from synthetic test logs using documentation-only IP addresses. Alerts are heuristic indicators, not confirmation of compromise.
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
Supports traditional SSH authentication logs and, in the upcoming v0.3.0, ISO 8601 timestamps. Offset-aware timestamps are normalized to UTC; timestamps without offsets are assumed to use the same time basis. Mixed local time zones and traditional year rollover are not inferred. 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
- Expanded packaging and automated releases
- Community-driven improvements
Project Status
Early-stage public project. Contributions and feedback are welcome.
Metadata
Release files for seclog-lite 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seclog_lite-0.3.0.tar.gz | 9.1 kB | With provenance | Details for seclog_lite-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seclog_lite-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for seclog_lite-0.3.0-py3-none-any.whl |
Total release size: 17.8 kB
Release files / seclog_lite-0.3.0.tar.gz
| Download URL | seclog_lite-0.3.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5302aed9ed1908aa22e2ee19c377b3c4a242331ad85ce7eef6025a517b4511f5
|
|
BLAKE2b-256 checksum How to use checksums |
3e0a41de344f6bc0767802d5aba453f80b52d201d9256de9b67b63e64eef724f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / seclog_lite-0.3.0-py3-none-any.whl
| Download URL | seclog_lite-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40cae9d2c53ce70ead1250bc1d0921dfaeb3cc75f20f4c5a2acc34e34e455b78
|
|
BLAKE2b-256 checksum How to use checksums |
8af6dbdc0cedfcf37cff4dc336d8676d820a20e2ea194154d2b6ec1f00f843e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for seclog-lite 0.3.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for seclog_lite-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA 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.