https://github.com/l0g0rhythm/logtool
LogTool is an advanced toolkit, developed in PowerShell, for the collection, analysis, and reporting of Windows Event Logs, with a focus on security and efficiency.
https://github.com/l0g0rhythm/logtool
auditing automation cli diagnostics-tool log-analysis powershell powershell-script reporting security security-audit security-auditing security-hardening security-tools windows windows-event-log
Last synced: about 2 months ago
JSON representation
LogTool is an advanced toolkit, developed in PowerShell, for the collection, analysis, and reporting of Windows Event Logs, with a focus on security and efficiency.
- Host: GitHub
- URL: https://github.com/l0g0rhythm/logtool
- Owner: L0g0rhythm
- License: mit
- Created: 2025-08-01T03:13:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-01T03:28:46.000Z (10 months ago)
- Last Synced: 2025-08-01T05:30:47.529Z (10 months ago)
- Topics: auditing, automation, cli, diagnostics-tool, log-analysis, powershell, powershell-script, reporting, security, security-audit, security-auditing, security-hardening, security-tools, windows, windows-event-log
- Language: PowerShell
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🛡️ LogTool - Professional Log Analysis Toolkit



**LogTool is a high-performance PowerShell toolkit for the collection, analysis, and reporting of Windows Event Logs. Engineered for security and efficiency, the system utilizes a Single Responsibility architecture and O(n) algorithmic optimizations for processing log data in enterprise environments.**
LogTool converts raw event data into structured diagnostics for system administrators and security analysts. The current version implements a modular architecture, streaming I/O reporting, and absolute path confinement for secure operations.
- **🛡️ Security Hardened**: Verified against security vulnerabilities.
- **🚀 Ultra-Scale Performance**: Streaming I/O engine for HTML reports ($O(n)$ memory efficiency).
- **💪 Industrial Resilience**: Archive operations isolated in background jobs with safety timeouts.
- **🧠 Linear Logic**: Analysis operations optimized for linear temporal complexity.
- **🔒 Path Confinement**: Zero-Trust I/O with SHA-256 integrity validation and Regex escaping.
- **📊 Audit Logging**: Internal execution logs with automated rotation filters.
## 🚀 Getting Started
### Prerequisites
1. **Windows PowerShell 5.1** or higher.
2. **Administrator Privileges** (required for event log access).
### Installation
```bash
git clone https://github.com/L0g0rhythm/LogTool.git
cd LogTool
```
## 🛠️ Usage
All commands are executed via the smart launcher `lt.ps1` as **Administrator**.
### 1. Collect Logs
```powershell
.\lt.ps1 collect
```
### 2. Analyze (Console)
```powershell
.\lt.ps1 analyze
```
### 3. Create HTML Report
```powershell
.\lt.ps1 create-report
```
## 🔧 Configuration
Controlled by `config.psd1`. Customize logs, critical Event IDs, suspicious keywords, and maintenance cycles.
## 🛡️ Framework Integrity
LogTool implements several safety and performance benchmarks to ensure enterprise-grade stability:
- **Security**: Verified path confinement and Regex sanitization.
- **Data Integrity**: SHA-256 manifest validation for log archives.
- **Efficiency**: O(n) complexity enforcement across all analysis modules.
- **Modularity**: Strict Domain Isolation (SRP) between Shared, Backend, and Frontend layers.
## 📜 License
Distributed under the MIT License. See `LICENSE` for more information.