Windows hardening: the settings that matter most

Which ten group policy settings give the most protection, what to disable right away, and how to roll them out without disrupting operations.

Topic
IT security
Author
ARLITECH expert team
Published
Updated

Windows defaults put compatibility ahead of security. A handful of group policy settings give a disproportionate amount of protection, and most of them need no new product.

The list is ordered by expected benefit.

1. Disable LLMNR and NetBIOS name resolution

When a machine cannot resolve a name through DNS, it asks around on the local network. An attacker’s device answers and receives the credential hash. The attack is passive and needs no action from anyone.

Disabling it takes a few clicks in group policy and breaks nothing in modern environments. It is the best value-for-money setting on the list.

2. Enforce SMB signing

Without signing, intercepted authentication can be relayed to another machine. Once signing is enforced, relaying stops working. It can cause problems with older devices, so assess them first.

3. Disable SMBv1 and NTLMv1

Both are obsolete, and both have known weaknesses that are exploited in practice. SMBv1 often stays enabled only because of old printers and scanners.

4. Unique local admin passwords (LAPS)

If every machine has the same local admin password, compromising one machine means compromising the whole fleet. LAPS is free and gives each machine a unique, automatically rotated password.

5. Credential Guard

It prevents credentials from being read out of memory. On supported hardware it is a single setting, and it takes away one of the main tools of lateral movement.

6. Command-line argument logging

It is off by default. Without it, the process log only shows that a script engine started, not what it ran. It is a single setting, yet it makes your logs several times more valuable. We covered this in our article on logging.

7. PowerShell logging and restrictions

Turn on script block logging and, where possible, a restricted execution mode. The vast majority of attackers use PowerShell because it is already on the machine.

8. Block macros in files from the internet

Macro-infected documents are the most common initial delivery method. Blocking macros by default in files that come from the internet is now a built-in option.

9. Application control

Only approved applications can run. Doing it fully is a lot of work, but even blocking execution from user profiles and temporary folders is worth a great deal, because that is typically where malware installs itself.

10. Attack Surface Reduction rules

A built-in rule set: office applications may not start child processes, scripts may not run downloaded content, and so on. Run them in audit mode first, then switch to blocking.

Rollout order: apply every setting to a test group first, in audit mode. The typical pitfall of hardening is that an old application breaks and from then on the whole project stalls. A small group of volunteer pilot users prevents this.

What not to do

Don’t apply a ready-made baseline without testing it. Vendor and community baselines are good starting points, but they contain hundreds of settings, and some of them will certainly conflict with your environment.

Don’t start with the servers. Workstations are the entry point. That is where the benefit is greatest and the risk of disruption is lowest.

Don’t forget to measure. Hardening is only worth something once it has been verified. Check regularly that the settings are actually in effect, because a misconfigured group policy scope can silently cancel them out.

Our IT security services include assessing your Windows environment and building a security baseline.

Contact

Ready to secure your critical systems?

Our experts will assess where your security stands and build a roadmap that fits your organization.

ARLITECH's office in Gödöllő

Visit us

You are welcome to visit our Gödöllő office in person.

Address
Centrum Office Building, 2100 Gödöllő, Dózsa György út 13, 3rd floor, office 309
Office hours
Mon–Fri, 9 a.m. to 5 p.m.
Get directions (opens in a new tab)