๐Ÿ”’ Always-On Agent โ€ข Open Source โ€ข MIT License

WinSentinel

Your always-on Windows security agent. Real-time monitoring with 4 live watchers, AI-powered threat correlation, autonomous remediation, and 13 audit modules โ€” all running locally.

๐Ÿ—๏ธ Agent Architecture

A two-process design: a background agent that never sleeps, and a dashboard that connects in real time

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ WinSentinel Agent (Win Service) โ”‚ โ”‚ โ”œโ”€โ”€ Process Monitor โ”‚ โ”‚ โ”œโ”€โ”€ File System Watcher โ”‚ โ”‚ โ”œโ”€โ”€ Event Log Listener โ”‚ โ”‚ โ”œโ”€โ”€ Network Monitor โ”‚ โ”‚ โ”œโ”€โ”€ Scheduled Auditor (13 mods) โ”‚ โ”‚ โ”œโ”€โ”€ Agent Brain + Correlator โ”‚ โ”‚ โ”œโ”€โ”€ Auto-Remediator (7 actions) โ”‚ โ”‚ โ””โ”€โ”€ IPC Server (named pipe) โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ WinSentinel UI (WPF Dashboard) โ”‚ โ”‚ โ”œโ”€โ”€ Live Dashboard โ”‚ โ”‚ โ”œโ”€โ”€ Real-time Threat Feed โ”‚ โ”‚ โ”œโ”€โ”€ Chat Control Plane โ”‚ โ”‚ โ”œโ”€โ”€ Score History & Trends โ”‚ โ”‚ โ”œโ”€โ”€ Policy Configuration โ”‚ โ”‚ โ””โ”€โ”€ Export Reports โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Real-Time Monitoring

Four always-on watchers that detect threats the moment they happen

โš™๏ธ

Process Monitor

Watches process creation & termination. Detects suspicious executables, unsigned binaries, temp-path launches.

๐Ÿ“

File System Watcher

Monitors file changes in critical directories. Detects hosts file tampering, new executables in startup folders.

๐Ÿ“‹

Event Log Listener

Watches Windows Security & System logs. Detects failed logons, privilege escalation, service installations.

๐ŸŒ

Network Monitor

Tracks active connections & listening ports. Detects new services, suspicious outbound connections, DNS anomalies.

๐Ÿ“Š Real-Time Security Score

See your Windows security posture at a glance โ€” 13 modules, per-module breakdown

WinSentinel Security Audit Report
92 / 100
Grade: A โ€” Excellent
๐Ÿ”ฅ Firewall
100
๐Ÿ”„ Updates
95
๐Ÿ›ก๏ธ Defender
100
๐Ÿ‘ค Accounts
100
๐ŸŒ Network
80
โš™๏ธ Processes
90
๐Ÿš€ Startup
95
๐Ÿ’ป System
100
๐Ÿ”’ Privacy
95
๐ŸŒ Browser
85
๐Ÿ“ฆ App Security
90
๐Ÿ” Encryption
80
๐Ÿ“‹ Event Log
85

โšก Why WinSentinel?

More than an auditor โ€” a living security agent that watches, thinks, and acts

๐Ÿค–

Always-On Agent

Runs as a Windows Service 24/7. Monitors processes, files, event logs, and network in real time โ€” even when the dashboard is closed.

๐Ÿง 

AI-Powered Threat Correlation

Agent Brain correlates individual events into attack chains. Detects multi-stage attacks that single-event analysis misses.

๐Ÿ”ง

Auto-Remediation + Undo

7 autonomous response actions: kill process, quarantine file, block IP, and more. Every action has full undo support.

๐Ÿ’ฌ

Chat Control Plane

25+ commands plus natural language. Ask questions, run audits, configure policies โ€” talk to your agent like a colleague.

๐Ÿ“Š

13 Audit Modules

Comprehensive coverage: Firewall, Defender, Network, Privacy, Browser, Encryption, Event Log, and more. Real Windows API calls.

๐Ÿ 

100% Local

Everything runs on your machine. No cloud, no telemetry, no accounts. Your security data never leaves your system.

๐Ÿ“ˆ

Score History & Trends

SQLite-backed audit history with score tracking. See how your security posture changes over days and weeks.

๐Ÿ“‹

Multi-Format Export

Generate reports in HTML, JSON, Text, and Markdown. Share results, feed into pipelines, keep records.

โš™๏ธ

Configurable Policies

Risk tolerance, per-category rules, auto-remediation triggers โ€” tune the agent to match your environment and risk appetite.

๐Ÿ” 13 Security Audit Modules

Comprehensive coverage of your Windows security configuration

๐Ÿ”ฅ

Firewall

Profile states, rules, port exposure

๐Ÿ”„

Updates

Pending updates, install history

๐Ÿ›ก๏ธ

Defender

Real-time protection, definitions

๐Ÿ‘ค

Accounts

Admin audit, password policies

๐ŸŒ

Network

Open ports, LLMNR, SMB, ARP

โš™๏ธ

Processes

Unsigned exes, suspicious paths

๐Ÿš€

Startup

Registry keys, scheduled tasks

๐Ÿ’ป

System

SecureBoot, BitLocker, UAC, RDP

๐Ÿ”’

Privacy

Telemetry, tracking, permissions

๐ŸŒ

Browser

Chrome/Edge settings, extensions

๐Ÿ“ฆ

App Security

Outdated software, EOL detection

๐Ÿ”

Encryption

BitLocker, EFS, TPM, certificates

๐Ÿ“‹

Event Log

Failed logins, security events

๐Ÿš€ Get Started in 30 Seconds

Clone, build, and start your security agent

# Clone the repo
git clone https://github.com/sauravbhattacharya001/WinSentinel.git
cd WinSentinel

# Build everything
dotnet build WinSentinel.sln -p:Platform=x64

# Run the dashboard
dotnet run --project src/WinSentinel.App -p:Platform=x64

# Install the agent as a Windows Service
.\Install-Agent.ps1 -Install

# Or run a quick CLI audit
.\RunAudit.ps1

๐Ÿ—๏ธ Built With

๐Ÿ’œ .NET 8 ๐Ÿ–ฅ๏ธ WPF # C# 12 ๐Ÿงช xUnit (192+ tests) ๐Ÿ“ฆ MSIX โš™๏ธ GitHub Actions ๐Ÿ—„๏ธ SQLite ๐Ÿ”Œ Named Pipes IPC ๐Ÿค– Ollama ๐Ÿ›ก๏ธ CommunityToolkit.Mvvm

Ready for always-on Windows security?

WinSentinel is free, open source, and runs entirely on your machine.