Windows Server Brute-Force Protection
Lock down your Windows server like a real fortress.
LockWall is a Windows service that protects your servers from brute-force attacks against remote access services. It monitors the Windows Event Log in real-time, detects failed login attempts, and automatically blocks attacking IPs via Windows Firewall.
- π₯οΈ RDP (Remote Desktop Protocol) β Event ID 4625 in the Security Log
- π§ OWA (Outlook Web Access) β IIS-hosted authentication via w3wp.exe
- ποΈ SQL Server β Event ID 18456 in the Application Log
- π SSH (Windows OpenSSH Server) β Event ID 4 in the OpenSSH/Operational log
RDP brute-force is one of the most common attacks on internet-facing Windows servers. A public-facing machine can receive thousands of automated login attempts a day. LockWall blocks attackers before they crack passwords β automatically, with progressive escalation, and with notifications.
Free forever β all four protocols, every feature, no license key, no seat limits.
- π RDP / OWA / SQL / SSH brute-force monitoring β four protocols, one service
- π― Password Spray Detection β blocks IPs trying multiple usernames
- π Progressive Blocking β escalating duration for repeat offenders (1h β 24h β 7d β permanent)
- βοΈ Per-source Policies β separate thresholds for RDP, OWA, SQL
- β Whitelist with CIDR support (block subnets, never block trusted networks)
- π GeoIP β optional country/city/ISP lookup for attacking IPs (multiple providers; off by default)
- π Dashboard β real-time statistics and top attackers
- π« Blocked IPs β manage blocks (manual block/unblock, change duration)
- π Analytics β graphs of hourly attempts, daily activity, top countries
- π Logs viewer β live updates, filters, search
- βοΈ Settings β edit config via the UI, no YAML editing required
- π©Ί Health page β system diagnostics (DB, firewall, notifications, disk, service)
- π Audit Log β track all admin actions
- π₯ User Management β multi-admin with RBAC (Admin / Viewer roles)
- π Notifications β Telegram + Email on every block, with GeoIP enrichment
- π€ CSV Export β Blocked IPs, Audit Log, Login Attempts
- π API Tokens β Bearer / X-API-Key auth for the current JSON endpoints (and the future versioned public API)
- πͺ Native Windows Service β lightweight, runs entirely on your server
- π₯ Smart Firewall Rules β grouped by duration category (not one rule per IP)
- βοΈ Self-hosted β no cloud backend, no external agents; your data stays on your server
- π Authentication β login, RBAC, session timeout, forced password change
- Download
LockWall-Setup-x64.msi(~14.4 MB) - Run the installer (accept the license) β it installs to
C:\LockWalland registers + starts the Windows service automatically - Open the web UI: http://127.0.0.1:8880/
- Login:
admin/lockwall(you'll be forced to change the password)
That's it β LockWall is now watching your Event Log and blocking attackers.
Before exposing the server, add your trusted networks to the whitelist
(Settings β Whitelist in the web UI, or C:\LockWall\config\config.yaml):
whitelist:
- 127.0.0.1
- "::1"
- 192.168.1.0/24 # Your local network
- 10.0.0.0/8 # VPN
- 203.0.113.5 # Your public IPThis prevents you from ever locking yourself out.
LockWall installs as a standard Windows service. Manage it from an elevated prompt:
lockwall.exe status # Check status
lockwall.exe stop # Stop
lockwall.exe start # Start
lockwall.exe restart # Restart
lockwall.exe test-notify # Send a test Telegram/Email notification
# View active firewall rules
netsh advfirewall firewall show rule name=all | findstr LOCKWALL_BLOCKTo uninstall, use Add/Remove Programs (or re-run the MSI).
Everything is editable in Settings in the web UI β no YAML required. Key options:
detection:
max_attempts: 5 # Failed attempts before block
time_window_minutes: 10 # Counting window
block_duration_minutes: 10080 # 7 days (0 = permanent)
progressive_blocking:
enabled: true
levels: [60, 1440, 10080, 0] # 1h β 24h β 7d β permanent
spray_detection:
enabled: true
unique_usernames: 3 # 3+ usernames = spray attack
owa_protection: { enabled: false } # Enable on OWA servers
sql_protection: { enabled: false } # Enable on SQL Server hosts
ssh_protection: { enabled: false } # Enable on hosts with OpenSSH Server
web:
host: 127.0.0.1 # Don't expose externally without HTTPS!
port: 8880Full reference: docs/USER_GUIDE.md.
β οΈ Download LockWall only from lockwall.app or this repository's GitHub Releases. Do not install repackaged copies from third-party mirrors or software catalogs.
LockWall is closed-source freeware. To let you trust a binary you can't read, every release is verifiable:
- β SHA-256 checksum published with each release β verify your download matches
- β VirusTotal scan linked in every release's notes
- β Open issue tracker β bugs and questions in the public Issues
# Verify your download (compare against the SHA-256 in the release notes)
Get-FileHash .\LockWall-Setup-x64.msi -Algorithm SHA256Found a vulnerability? See SECURITY.md β please disclose responsibly.
| File | Audience | Language |
|---|---|---|
| USER_GUIDE.md | End users / administrators | English |
| PHILOSOPHY.md | Why LockWall is free | English |
- β Change the default password immediately (forced on first login)
- β Whitelist your trusted networks before exposing the service
- β
Keep
host: 127.0.0.1unless you put an HTTPS reverse proxy in front - β
Back up
config.yamlanddata\lockwall.dbregularly
LockWall is free and stays free β no paid tier, no locked features, no license keys. The roadmap is simply about making the free product better:
- π Code signing β signed binaries so Windows stops warning "Unknown Publisher"
- π Versioned REST API β stable
/api/v1/β¦endpoints for automation and SIEM - π‘ Webhooks β push block events to external systems
- π More notification channels beyond Telegram / Email
Have an idea or hit a bug? Open an issue β feature requests and reports are welcome.
- OS: Windows 10 / Server 2016 (or newer), 64-bit
- RAM: 256 MB (512 recommended)
- Disk: 100 MB (500 MB for logs)
- Privileges: Administrator (for Windows Firewall + audit policy)
- Audit Policy: Logon Failure auditing (LockWall enables it automatically)
LockWall is proprietary freeware β free to use for personal and internal commercial purposes, but not open source. Modification, reverse-engineering, resale, rebranding, and public redistribution (re-hosting or mirroring the installer) are not permitted β please download only from the official sources. See LICENSE (EULA) for the full terms.
Β© 2026 Serhii Smoktii. All rights reserved.
- Website: lockwall.app
- Download: GitHub Releases
- Issues: github.com/SMSerg2000/LockWall/issues
LockWall β Lock down your Windows server like a real fortress. π‘οΈ