| Windows NT Security Guide |
This document provides a list of configuration changes which enhance the security of a Windows NT 4 system.
Enable auditing. Launch the User Manager application. Select Audit... from the Policies menu. Select the following events for auditing:
Event Success Failure Logon and Logoff X X File and Object Access X X Use of User Rights X X User and Group Management X X Security Policy Changes X X Restart, Shutdown, and System X X Process Tracking X X
Configure log parameters. Launch the Event Viewer. Select Log Settings... from the Log menu. Make the following changes:
Enable encryption of the SAM database with the SYSKEY command:
See KB Article Q143475 for more details.
Registry Settings
The ntsg.reg file contains items 1-11, 18, and 20.
Microsoft has released a tool that installs tighter permissions on three sets of registry values. The default permissions could allow a malicious user to gain additional privileges on a machine that they can interactively log onto.
Set the Registry value of DontDisplayLastUsername to 1.
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: \Microsoft\Windows NT\Current Version\Winlogon Name: DontDisplayLastUsername Type: REG_STRING Value: 1
Also in the same location in the Registry, delete the entry DefaultPassword if it is present.
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: \Microsoft\Windows NT\Current Version\Winlogon
WARNING
LegalNoticeText:
To protect the system from unauthorized use and to ensure that the system is functioning properly, activities on this system are monitored and recorded and subject to audit. Use of this system is expressed consent to such monitoring and recording. Any unauthorized access or use of this Automated Information System is prohibited and could be subject to criminal and civil penalties.
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: \Windows NT\Current Version\Winlogon Name: CachedLogonsCount Type: REG_DWORD Value: 0
Hive: HKEY_LOCAL_MACHINE\System Key: \CurrentControlSet\Services\EventLog\[LogName]\RestrictGuestAccess Name: RestrictGuestAccess Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: \CurrentControlSet\Control\LSA Name: RestrictAnonymous Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: \CurrentControlSet\Services\LanManServer\Parameters Name: RequireSecuritySignature Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: \CurrentControlSet\Services\Rdr\Parameters Name: RequireSecuritySignature Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: \CurrentControlSet\Control\LSA Name: LMCompatibilityLevel Type: REG_DWORD Value: 2
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: \CurrentControlSet\Control\LSA Name: Submit Control Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Control\LSA Name: Notification Packages Type: REG_MULTI_SZ Value: PASSFILT
You will need to use regedt32 to make this change. Remove the data 'FPNWCLNT' if it is present.
Passwords must contain characters from at least three (3) of the following four (4) classes:
Passwords may not contain your user name or any part of your full name.
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Services\Cdrom Name: AutoRun Type: REG_DWORD Value: 0
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: Classes\regfile\shell\open\command Security Permissions: Restrict non-Administrators write access
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Control\SecurePipeServers\winreg Security Permissions: Restrict access for the Everyone group
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Services\Schedule Security Permissions: Remove write access for Server Operator
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: Microsoft\Windows NT\CurrentVersion\Winlogon Security Permissions: Remove Server Operator write access
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Control\Session Manager\SubSystems Name: Os2
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Control\Session Manager\SubSystems Name: Posix
Hive: HKEY_LOCAL_MACHINE\SYSTEM Key: CurrentControlSet\Control\Session Manager\Memory Management Name: ClearPageFileAtShutdown Type: REG_DWORD Value: 1
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: Classes\AppID Security Permissions: Remove INTERACTIVE Set, Create, and Write permissions. Select the option to replace permisisons on existing subkeys.
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: Microsoft\Ole Name: EnableDCOM Type: REG_SZ Value: N
Hive: HKEY_LOCAL_MACHINE\SOFTWARE Key: Microsoft\Windows NT\CurrentVersion\Perflib Security Permissions: Allow read/write for Administrators and System only.
Hive: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Serivices\LanManServer Key: Parameters Name: AutoShareServer Type: REG_DWORD Value: 0 Hive: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer Key: Parameters Name: AutoShareWks Type: REG_DWORD Value: 0
File Permissions
Admin: Full Control
Everyone: Read
System: Full Control
Creator/Owner: Full Control
A FAT partition can be converted to NTFS using the following command:
convert drive /fs:ntfs
Services
Disable all non-essential services from the Services Control Panel.
Disable all non-essential shares such as C$.
If the SNMP service is required, the following steps to control access to SNMP information. These settings are available with SP4 and later.
To configure the SNMP service go to:
"Control Panel" -> "Network" -> "Services" -> "SNMP Service"
- From this window, select the "Security" tab. Once within the security tab, the security settings of each community name can be configured. It is recommended that each community name be configured READ ONLY unless otherwise required.
The permissions on the SNMP registry key allow "Everyone" access by default. This access allows any system user to obtain the community names utilized by the SNMP service. The permissions on this registry key should also be set more strictly by the Administrator. Ensure that only Administrator and other authorized users can access the contents of the following registry key:
Hive : HKEY_LOCAL_MACHINE Key : System\CurrentControlSet\Services\SNMP\Parameters
Ensure that the community name is changed from the default "public" community name to a more obscure name.
User Accounts
Verify that the Guest account is disabled.
In User Rights, remove the following items from the listed resource:
| Item(s) | Resource |
|---|---|
| All except Administrators | Logon locally |
| Everyone, Guests, Users | Shut down the system |
| Everyone, Guests | Access this computer from the Network |
Add Backup Operators to Access this computer from the Network.
Time Synchronization
Resources
Microsoft Windows NT Server Support
Navy Secure Windows NT Installation and Configuration Guide
NSA Windows NT Security Guidelines
SANS Windows NT Security: Step-by-Step
Microsoft Internet Information Server 4.0 Security Checklist