Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

KONGUARD

The Trust Protocol for Windows Systems

License: MIT PowerShell Status


What is KONGUARD?

KONGUARD isn't a monitoring tool. It's an immutable witness that answers one question with forensic-grade clarity:

"What actually happened to this machine?"

In a world where logs are manipulated, metrics are hidden in cloud black boxes, and systems lieβ€”KONGUARD is the offline, explainable, read-only truth layer you can trust.


Why KONGUARD Exists

The Problem:

  • Ransomware strikes β†’ "When did the disk writes spike?"
  • Server degrades β†’ "Show me 90 days of hardware health"
  • Audit demands proof β†’ "Evidence this system wasn't compromised"

Current Solutions Fail:

  • Cloud-dependent (vendor-controlled)
  • Black-box algorithms (unexplainable)
  • Mutable logs (can be tampered)
  • Reactive alerts (after disaster)

KONGUARD Delivers:

  • Offline-First: Works in airgapped networks
  • Explainable: Every metric has plain-language context
  • Immutable: Cryptographically verifiable snapshots
  • Before/After Intelligence: Detects changes over time
  • Zero Dependencies: Pure PowerShell, no installations

Quick Start

Installation (10 seconds)

# Download
git clone https://github.com/konguard/konguard.git
cd konguard

# Run first scan
.\konguard.ps1

That's it. No dependencies. No cloud signup. No configuration.

What You Get

KONGUARD v0.1.0 - System Snapshot
Generated: 2025-01-14 14:32:11 UTC
═══════════════════════════════════════════════════════════════

[βœ“] HARDWARE
    CPU:  Intel Core i7-9700K @ 3.60GHz (8 cores)
          Current: 23% | Temperature: 48Β°C | Status: Normal
    
    RAM:  32 GB DDR4
          Available: 18.4 GB (57%) | Status: Healthy
    
    Disk: Samsung SSD 970 EVO Plus 1TB
          Health: PASSED | Temperature: 36Β°C | Hours: 2,847
          Bad Sectors: 0 | Wear Level: 2%

[βœ“] SECURITY
    Antivirus:     Windows Defender (Active, Updated)
    Firewall:      Enabled (Domain, Private, Public)
    Windows Update: 0 pending updates
    User Accounts:  3 total | 0 new accounts (last 7 days)

[βœ“] SNAPSHOT SAVED
    Location: C:\KONGUARD\snapshots\snapshot_20250114_143211.json
    Size:     47 KB
    
Next Steps:
  β€’ Run again tomorrow to enable change detection
  β€’ View timeline: konguard.ps1 --report
  β€’ Generate HTML report: konguard.ps1 --export-html

Core Features

1. Immutable Snapshots

Every scan creates a timestamped, tamper-evident record:

{
  "timestamp": "2025-01-14T14:32:11Z",
  "konguard_version": "0.1.0",
  "hardware": { "cpu": {...}, "ram": {...}, "disk": {...} },
  "security": { "antivirus": {...}, "firewall": {...} },
  "signature": "sha256:a3f5..."
}

2. Change Detection (Coming Soon)

konguard.ps1 --compare-yesterday

⚠️ CHANGES DETECTED (Last 24 hours)
─────────────────────────────────────────
  β€’ Disk writes: ↑ 340% (Normal: 45 MB/hr β†’ Current: 198 MB/hr)
  β€’ New process: chrome.exe (started: 09:14:22)
  β€’ Windows Update: 3 updates installed

3. Timeline Reports (Coming Soon)

konguard.ps1 --timeline --days=30

Generates interactive HTML showing 30-day trends for every metric.

4. Offline HTML Export

konguard.ps1 --export-html

Self-contained report that works without internet. Perfect for compliance audits.


Usage

Basic Commands

# Run a scan (default)
.\konguard.ps1

# Compare with previous scan
.\konguard.ps1 --compare

# Generate HTML report
.\konguard.ps1 --export-html

# Show help
.\konguard.ps1 --help

# Paranoid mode (zero external dependencies)
.\konguard.ps1 --mode=paranoid

Advanced Usage

# Scan with cryptographic signature
.\konguard.ps1 --sign --key=company.pem

# Compare against baseline (30 days ago)
.\konguard.ps1 --compare-baseline --days=30

# Export to JSON for integration
.\konguard.ps1 --export-json --output=audit_report.json

System Requirements

  • OS: Windows 10/11, Windows Server 2016+
  • PowerShell: 5.1 or later
  • Privileges: Administrator (for hardware access)
  • Storage: 1 MB per snapshot (~30 MB/month with daily scans)
  • Dependencies: None (uses native Windows APIs)

Roadmap

Phase 0: Foundation (Week 1-2)

  • MIT License
  • Project structure
  • Core snapshot engine
  • First working prototype

Phase 1: Core Modules (Week 3-6)

  • Hardware intelligence (CPU, RAM, Disk, GPU)
  • Software visibility (OS, apps, processes)
  • Security posture (AV, firewall, updates)

Phase 2: Before/After Engine (Week 7-10)

  • Baseline learning (detect "normal")
  • Change detection algorithms
  • Forensic timeline visualization

Phase 3: Health Scoring (Week 11-14)

  • Explainable scoring algorithm
  • Risk prioritization
  • Remediation guidance

Phase 4: Enterprise (Month 6+)

  • Fleet management
  • Compliance report templates
  • API for integrations

Contributing

KONGUARD is built on trust, which means transparent development:

  1. Read CONTRIBUTING.md
  2. Discuss features in GitHub Issues
  3. Submit PRs with tests and documentation

We value:

  • Explainability over complexity
  • Offline-first over cloud-first
  • Security over convenience
  • Community over corporate control

Use Cases

IT Administrators

"Check all lab machines for hardware issues before semester starts"

konguard.ps1 --fleet scan 192.168.1.0/24

Security Teams

"Detect ransomware patterns across all endpoints"

konguard.ps1 --hunt --pattern=ransomware

Compliance Officers

"Generate HIPAA audit report for all servers"

konguard.ps1 --report --template=HIPAA --date-range=2024-Q4

MSPs (Managed Service Providers)

"Monitor 500 client machines without cloud costs"

konguard.ps1 --client ACME-Corp --schedule daily

FAQ

Q: Why PowerShell instead of Python/Go/Rust?
A: Zero-dependency deployment. Every Windows machine has PowerShell. No installers, no runtimes, no friction.

Q: Why not use cloud monitoring?
A: Cloud tools have access to your data 24/7. KONGUARD data never leaves your network unless YOU choose to export it.

Q: Is this just for enterprises?
A: No. Homelab enthusiasts, students, and small businesses benefit equally. Free forever.

Q: How is this different from Task Manager / Resource Monitor?
A: Those show "right now." KONGUARD shows "what changed over 30/60/90 days" with forensic-quality evidence.

Q: Can I trust MIT-licensed software?
A: That's exactly WHY we chose MIT. You can audit every line of code. No secrets, no backdoors.


Architecture

konguard/
β”œβ”€β”€ konguard.ps1           # Entry point (single-file for simplicity)
β”œβ”€β”€ LICENSE                # MIT License
β”œβ”€β”€ README.md              # This file
β”œβ”€β”€ modules/               # Core functionality (Phase 1+)
β”‚   β”œβ”€β”€ Hardware.psm1
β”‚   β”œβ”€β”€ Software.psm1
β”‚   β”œβ”€β”€ Security.psm1
β”‚   └── Baseline.psm1
β”œβ”€β”€ snapshots/             # Local storage (git-ignored)
β”‚   β”œβ”€β”€ snapshot_20250114.json
β”‚   └── snapshot_20250115.json
β”œβ”€β”€ reports/               # Generated HTML/PDF reports
└── docs/
    β”œβ”€β”€ ARCHITECTURE.md
    β”œβ”€β”€ USAGE.md
    └── CONTRIBUTING.md

Support


License

KONGUARD is MIT-licensed. Use it anywhere, for any purpose, with zero restrictions.

See LICENSE for full details.


Acknowledgments

Built by people who believe system monitoring should be:

  • Trustworthy (open source, auditable)
  • Accessible (free, no barriers)
  • Explainable (every number has context)
  • Offline-capable (works in airgapped environments)

If you share these values, welcome to KONGUARD.


Status: Alpha | Version: 0.1.0 | Last Updated: 2025-01-14

About

πŸ¦πŸ›‘οΈ Your PC’s King Kong Guardian!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors