Procedures for Hardening Windows NT Workstation:
By Luqman Mahmud, FedEx Data Security
The following hotfixes need to be applied. Please install them in the following order to ensure an older one does not replace a newer fix.
dns-fix
iis-fix
zip-fix
roll-up
winsupd-fix
ndis-fix
scsi-fix
2gcrash
simptcp-fix
ide-fix
wan-fix
pent-fix (x86 only)
joystick-fix (x86 only)
SAG-fix
iis4-fix
teardrop2-fix
tapi21-fix
pcm-fix
srv-fix
y2k-fix
euro-fix
atapi-fix
netbt-fix
prnt-fix
sfm-fix
pptp2-fix
lsa2-fix
ssl-fix
privfix
8. Implement a Hardware Power On password.
Implement the following file level security:
FILE PERMISSIONS:
| Directory | Permissions |
| \ (this is the root directory C:\) | Administrators:
Full Control System: Full Control Authenticated Users: Read |
| \Boot.ini \Ntdetect.com \Ntldr |
Administrators:
Full Control System: Full Control Authenticated Users: Read |
| \Autoexec.bat \Config.sys |
Administrators:
Full Control System: Full Control Power Users: Change Authenticated Users: Read |
| \TEMP | Administrators:
Full Control Creator Owner: Full Control System: Full Control Power Users: Change Authenticated Users: Special Directory Access-Read, Write, Execute, Special File Access: None |
| \WINNT and all subdirectories | Administrators:
Full Control Creator Owner: Full Control Authenticated Users: Read, Execute |
| \WINNT\Repair | Administrators: Full Control |
| \WINNT\System32\config | Administrators:
Full Control Creator Owner: Full Control System: Full Control Power Users: Change Authenticated Users: List |
| \WINNT\System32\spool | Administrators:
Full Control Creator Owner: Full Control System: Full Control Power Users: Change Authenticated Users: Read |
| \WINNT\Cookies \WINNT\Forms \WINNT\History \WINNT\OCCache \WINNT\Profiles \WINNT\Sendto \WINNT\Temporary Internet Files \WINNT\Downloaded Program Files |
Administrators:
Full Control Creator Owner: Full Control Authenticated Users: Special Directory Access: -Read, Write, Execute, Special File Access: None System: Full Control |
Services:
Disable or remove the following Services:
Alerter
Clipbook Server
Computer Browser
DHCP Client
Directory Replicator
Messenger
Remote Procedure Call Locator
SNMP Trap Service
Spooler (Make sure print directly to printer is checked in the Printer Properties box)
TCP/IP NetBIOS helper
Telephony Service
Protocols:
Make Sure only TCP/IP is loaded.
Under the TCP/IP Properties Advanced setting, Make sure security is enabled and disable all unnecessary ports.
Disable the NetBIOS Interface, Server and Workstation services from the WINS client in the bindings.
Policies:
Under User Manager | Policies | Accounts
Minimum password length 10 characters
Account lockout after 5 attempts.
Reset count after 30 minutes.
Account lockout forever
User must login to change password
Allow changes in 1 day
Remember last 5 passwords
Under User Manager | Policies | User Rights:
Under User Manager | Policies | Audit
Audit the following events:
Logon and Logoff Success and Failure
File and Object access Failure
User and group Management Success and Failure
Security policy Changes Success and Failure
Restart, Shutdown and System Failure
The Registry:
Display legal Notices at logon by editing the following keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Key name: LegalNoticeCaption
Data Type: REG_SZ
Value: Legal Notice!
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Key name: LegalNoticeText
Data Type: REG_SZ
Value: This system is for authorized users only! Unauthorized use is subject to prosecution.
Hide the name of the last user to logon:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Key name: DontDisplayLastUserName
Data Type: REG_SZ
Value: 1
Restrict Anonymous Access to the Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA
Key Name: RestrictAnonymous
Data Type: REG_DWORD
Value: 1
Also create the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\SecurePipeServers\winreg
Enable SMB signing
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rdr\Parameters
Add the following two keys:
Key Name: EnableSecuritySignature
Data Type: REG_DWORD
Value: 1
Key Name: RequireSecuritySignature
Data Type: REG_DWORD
Value: 1
Hide the machine in Network Neighborhood
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Key Name: Hidden
Data Type: REG_DWORD
Value: 1
Disable Default Admin Shares HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Key Name: EnableSharedNetDrives
Data Type: REG_DWORD
Value: 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Key Name: AutoAdminWKS
Data Type: REG_DWORD
Value: 0
Disable LanMan Password Hash support
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Key Name: LMCompatibilityLevel
Data Type: REG_DWORD
Value: 2
Erase Pagefile on Clean Shutdown
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Key Name: ClearPageFileAtShutdown
Data Type: REG_DWORD
Value: 1
Allocate Floppies and CD-ROMs
Create the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Key Name: AllocateFloppies
Data Type: REG_SZ
Value: 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Key Name: AllocateCDRoms
Data Type: REG_SZ
Value: 1
Disable AutoRun on CDs
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom
Key Name: Autorun
Data Type: REG_DWORD
Value: 0
Enable Full Privilege Auditing
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Key Name: FullPrivilegeAuditing
Data Type: REG_BINARY
Value: 1
Restrict Event Log Access
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
Key Name: RestrictGuestAccess
Data Type: REG_DWORD
Value: 1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security
Key Name: RestrictGuestAccess
Data Type: REG_DWORD
Value: 1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System
Key Name: RestrictGuestAccess
Data Type: REG_DWORD
Value: 1
Double Checking: