Skip to content

SMSerg2000/LockWall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ LockWall

Windows Server Brute-Force Protection

Lock down your Windows server like a real fortress.

Version Platform License Downloads

⬇️ Download Β· 🌐 lockwall.app Β· πŸ“– Docs


What is LockWall?

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.

Protected services

  • πŸ–₯️ 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

Why LockWall?

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.


✨ Features

Detection

  • πŸ” 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)

Web Interface

  • πŸ“Š 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)

Integration & Automation

  • πŸ”” 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)

Architecture

  • πŸͺŸ 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

πŸš€ Quick Start

  1. Download LockWall-Setup-x64.msi (~14.4 MB)
  2. Run the installer (accept the license) β€” it installs to C:\LockWall and registers + starts the Windows service automatically
  3. Open the web UI: http://127.0.0.1:8880/
  4. Login: admin / lockwall (you'll be forced to change the password)

That's it β€” LockWall is now watching your Event Log and blocking attackers.

⚠️ First-time setup β€” whitelist your network!

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 IP

This prevents you from ever locking yourself out.


πŸŽ›οΈ Service Management

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_BLOCK

To uninstall, use Add/Remove Programs (or re-run the MSI).


βš™οΈ Configuration

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: 8880

Full reference: docs/USER_GUIDE.md.


πŸ” Trust & Verification

⚠️ 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 SHA256

Found a vulnerability? See SECURITY.md β€” please disclose responsibly.


πŸ“š Documentation

File Audience Language
USER_GUIDE.md End users / administrators English
PHILOSOPHY.md Why LockWall is free English

πŸ›‘οΈ Security Best Practices

  1. βœ… Change the default password immediately (forced on first login)
  2. βœ… Whitelist your trusted networks before exposing the service
  3. βœ… Keep host: 127.0.0.1 unless you put an HTTPS reverse proxy in front
  4. βœ… Back up config.yaml and data\lockwall.db regularly

🌟 What's Coming Next

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.


πŸ“‹ Requirements

  • 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)

πŸ“„ License

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.

🌐 Links


LockWall β€” Lock down your Windows server like a real fortress. πŸ›‘οΈ

About

LockWall - free Windows Server brute-force protection for RDP, OWA & SQL Server. Closed-source freeware.

Topics

Resources

License

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors