CoCoineticBack to coinetic.io

Windows Server hardening checklist (practical, network side)

Most break-ins on Windows Servers do not need clever exploits. They walk through an open RDP port with a guessed password, an old SMB version or a firewall someone switched off "just for a test". This checklist covers exactly that side: what can be reached, who can log on, and whether you would notice.

In short
  • Patch, and remove roles and programs you do not use.
  • Firewall on for all three profiles, inbound blocked by default.
  • No RDP (3389) or SMB (445) open to the internet. Use a VPN, a gateway, or limit the rule to known addresses.
  • NLA on, SMBv1 off, unique strong admin passwords (Windows LAPS), MFA for remote access.
  • Audit logons, make the Security log big enough, and keep an offline backup.

1. Updates and a small attack surface

2. Windows Firewall: on everywhere, inbound blocked

3. Open ports: close or scope them

List what is listening, with the program behind it:

Get-NetTCPConnection -State Listen | Sort-Object LocalPort |
  Select-Object LocalAddress, LocalPort, @{n='Program';e={(Get-Process -Id $_.OwningProcess).ProcessName}}

Listening is not the same as reachable: the firewall and your router decide that. For each port, ask: who really needs it, and from where?

PortServiceRecommendation
3389Remote DesktopNever open to the whole internet. VPN, Remote Desktop Gateway, or the firewall rule's Remote IP address limited to your own addresses.
445, 139SMB / file sharingLAN only. Never forwarded from the internet.
135, 5985 / 5986RPC, WinRM (remote PowerShell)LAN or management network only.
1433, 3306, 5432SQL Server, MySQL, PostgreSQLOnly from the application Servers that need them.
5900+VNCRemove, or reach it through a VPN only.

Also check your router or cloud security group for port forwardings nobody remembers.

4. RDP hardening

More on reading RDP attacks: Event ID 4625 and secure RDP without a VPN.

5. SMB and old protocols

6. Accounts and passwords

7. Logging: would you notice?

8. Backups that survive an attack

9. References

For the complete list of settings, use the CIS Benchmarks for Windows Server (cisecurity.org) and the Microsoft Security Baselines in the Security Compliance Toolkit. They cover hundreds of settings; this page covers the network and logon side that is attacked most often.

10. Keep it hardened: Coinetic checks and watches it for you

Doing this by hand means: running the checks above on every Server, understanding each result, and repeating it after every update, installer and colleague's "quick test", because a hardened Server does not stay hardened by itself. A firewall switched off on Friday or a new rule allowing everyone in is easy to miss until the logs show the damage.

Coinetic does the network side of this checklist with you, on every Windows Server and PC:

Protect this Server or PC in 5 minutes

Download Coinetic, install, done: it starts protecting at once. 30 days free with all features, no payment details. From $20 per computer per year.

Start the free 30-day trial →

More guides: all Coinetic guides.

Frequently asked

What is the most important Windows Server hardening step?

Not exposing Remote Desktop and SMB to the internet. Most attacks on Windows Servers start with password guessing on an open RDP port.

Is changing the RDP port enough?

No. Scanners find RDP on any port within minutes. Use a VPN or gateway, limit the rule to known addresses, and keep NLA and strong passwords.

Should I apply the whole CIS Benchmark?

Use it as the reference, but test before you apply it everywhere: some settings break older applications or remote management. Start with the network and logon items on this page.

How often should I check a hardened Server?

After every update, new software or change by a colleague, and at least monthly. Settings drift; a tool that watches continuously catches the changes in between.