A comprehensive PowerShell-based security auditing tool for Windows systems that generates detailed HTML reports with security findings, risk assessments, and remediation recommendations.
- Overview
- Features
- Installation
- Usage
- Report Sections
- Configuration
- Security Scoring
- Troubleshooting
- Contributing
- License
The Windows Security Auditor is a PowerShell script that performs comprehensive security assessments of Windows systems. It analyzes system configuration, installed applications, security settings, event logs, and detects security software like EDR (Endpoint Detection and Response) and backup solutions. The tool generates an interactive HTML report with detailed findings and remediation recommendations.
- System Information: OS details, hardware specs, uptime, domain membership
- Security Configuration: Firewall status, UAC settings, SMB protocols, Windows Defender
- User & Group Analysis: Local users, Administrators, Remote Desktop Users
- Network Configuration: IP addresses, DNS, gateways, MAC addresses
- Installed Applications: Security scoring based on vendor reputation
- Startup Applications: Analysis of auto-start programs with risk classification
- Security Events: Review of Windows Event Logs for critical events
- EDR Detection: Sophos and other Endpoint Detection & Response solutions
- Backup Solution Detection: Acronis and other backup software monitoring
- Interactive HTML Report: Collapsible sections, search functionality
- Security Scoring: Overall security score with color-coded risk levels
- Executive Summary: Quick overview with priority actions
- Detailed Findings: Severity-based findings with remediation steps
- Statistics Dashboard: Visual representation of security posture
- Robust Error Handling: Continues execution even when components fail
- Exception Management: Comprehensive error logging and reporting
- Domain Controller Support: Special checks for AD environments
- Extensible Architecture: Easy to add new detection modules
- Windows PowerShell 5.1+ or PowerShell 7+
- Administrator privileges (recommended for full access)
- Execution Policy: Set to
RemoteSignedor useBypassfor execution
# Download the latest version
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/3ls3if/Windows-Server-Audit-Script/refs/heads/main/server_audit.ps1" -OutFile "SecurityAudit.ps1"