Docsity

Windows Server Security Policy Settings, Lecture notes of Computer science

Partial preview of the text

Download Windows Server Security Policy Settings and more Lecture notes Computer science in PDF only on Docsity!

Quy chuẩn về cấu hình

Windows Client

Mã tài liệu: QĐ-.......- 01

  1. Quy chu ẩ n

1.1. Service Packs, Hot fixes và h ệ th ố ng

Cán bộ IT thự c hiệ n cài đặ t máy tính trạ m sử dụ ng ả nh (image) chuẩ n đư ợ c cung cấ p sẵ n/hoặ c cài đặ t mớ i mộ t máy tính trạ m Sau khi cài đặ t máy tính xong phả i đả m bả o các yêu cầ u sau trư ớ c khi tiế n hành thiế t lậ p khác  Cài đặ t Service Pack mớ i nhấ t  Cài đặ t Critical và Important Hotfixes mớ i nhấ t  Tấ t cả các Partion format vớ i đị nh dạ ng NTFS  Active Windows Firewall chỉ cho phép truy cậ p giớ i hạ n từ ngoài vào tớ i các Port sau: No. Services Open/Close (O/C) ICMP 8,13,15,17 (Ping)

O

TCP 445 (SMB)

O

TCP 135 (RPC)

O

TCP 5900 (VNC)

O

 Cài đặ t phầ n mề m Antivirus trên hệ thố ng và update mớ i nhấ t  Đặ t tên máy theo quy chuẩ n đặ t tên đã đư ợ c ban hành

1.2. Chính sách ki ể m soát (Audit Policy)

Đố i vớ i máy chủ Standalone thiế t lậ p Policy local như sau: Policy Recommended Setting Audit account logon events Success, Failure Audit account management Success, Failure Audit directory service access Success, Failure Audit logon events Success, Failure Audit object access Success, Failure Audit policy change Success, Failure Audit privilege use Success, Failure Audit process tracking Success, Failure Audit system events Success, Failure Đố i vớ i máy trạ m Join vào Domain sẽ apply thiế t lậ p Policy như trên từ máy chủ theo tài liệ u hardening máy Window server

1.3. Chính sách m ậ t kh ẩ u (Password Policy)

Đối với máy chủ Standalone thiết lập Policy local như sau: Policy Recommended Setting Enforce password history 4 password remembered Maximum password age 90 days

og Retention Đố i vớ i máy trạ m Join vào Domain sẽ apply thiế t lậ p Policy như trên từ máy chủ theo tài liệ u hardening máy Window server

1.6. Thi ế t l ậ p b ả o m ậ t (Security Options)

Các thiế t lậ p chính sách trong phầ n Security Options đư ợ c sử dụ ng để kích hoạ t hoặ c vô hiệ u hóa khả năng và các tính năng như truy cậ p ổ đĩa mề m đĩa, truy cậ p ổ đĩa CD-ROM, và nhắ c nhở đăng nhậ p. Các thiế t lậ p chính sách này cũng đư ợ c sử dụ ng để cấ u hình các thiế t lậ p khác nhau Đối với máy trạm Standalone thiết lập Policy local như sau: No. Policy Recommended Setting Major Security Settings 1 Network Access: Allow Anonymous SID/Name Translation: Disabled 2 Network Access: Do not allow Anonymous Enumeration of SAM Accounts Disabled 3 Network Access: Do not allow Anonymous Enumeration of SAM Accounts and Shares Disabled Minor Security Settings 1 Accounts: Administrator Account Status Not Defined 2 Accounts: Guest Account Status Disabled 4 Accounts: Limit local account use of blank passwords to console logon only Enabled 5 Accounts: Rename Administrator Account Non-Standard 6 Accounts: Rename Guest Account Non-Standard 7 Audit: Audit the access of global system objects 8 Audit: Audit the use of backup and restore privilege 9 Audit: Shut Down system immediately if unable to log security alerts 10 DCOM: Machine Access Restrictions in Security Descriptor Definition Language (SDDL) syntax 11 DCOM: Machine Launch Restrictions in Security Descriptor Definition Language (SDDL) syntax

12 Devices: Allow undock without having to log on 13 Devices: Allowed to format and eject removable media Administrator 14 Devices: Prevent users from installing printer drivers Enabled 15 Devices: Restrict CD-ROM Access to Locally Logged-On User Only Enabled 16 Devices: Restrict Floppy Access to Locally Logged-On User Only Enabled 17 Devices: Unsigned Driver Installation Behavior Warn But Allow installation 18 Domain Controller: Allow Server Operators to Schedule Tasks Disabled 19 Domain Controller: LDAP Server Signing Requirements Require Signing 20 Domain Controller: Refuse machine account password changes Disabled 21 Domain Member: Digitally Encrypt or Sign Secure Channel Data (Always) 22 Domain Member: Digitally Encrypt Secure Channel Data (When Possible) Enabled 23 Domain Member: Digitally Sign Secure Channel Data (When Possible) Enabled 24 Domain Member: Disable Machine Account Password Changes Disabled 25 Domain Member: Maximum Machine Account Password Age 30 Days 26 Domain Member: Require Strong (Windows or later) Session Key Enabled 27 Interactive logon: Display user information when the session is locked 28 Interactive Logon: Do Not Display Last User Name Enabled 29 Interactive Logon: Do not require CTRL+ALT+DEL Disabled 30 Interactive Logon: Message Text for Users Attempting to Log On This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. In the course of

50 Network Access: Remotely accessible registry paths System\CurrentControlSet\Co ntrol\ProductOptions, System\CurrentControlSet\Co ntrol\Server Applications, Software\Microsoft\WindowsN T\CurrentVersion 51 Network Access: Remotely accessible registry paths and subpaths Software\Microsoft\Windows NT\CurrentVersion\Print, Software\Microsoft\Windows NT\CurrentVersion\Windows, System\CurrentControlSet\Co ntrol\Print\Printers , System\CurrentControlSet\Se rvices\Eventlog, Software\Microsoft\OLAP Server , System\CurrentControlSet\Co ntrol\ContentIndex, System\CurrentControlSet\Co ntrol\Terminal Server, System\CurrentControlSet\Co ntrol\Terminal Server\UserConfig, System\CurrentControlSet\Co ntrol
Terminal Server
DefaultUserConfiguration, Software\Microsoft\Windows NT\CurrentVersion\Perflib, System\CurrentControlSet\Se rvices\SysmonLog 52 Network Access: Restrict anonymous access to Named Pipes and Shares Enabled 53 Network Access: Shares that can be accessed anonymously 54 Network Access: Sharing and security model for local accounts Classic 55 Network Security: Do not store LAN Manager password hash Rule on next password change Eanbled 56 Network Security: Force logoff when logon hours expire 57 Network Security: LAN Manager Authentication Level Send NTLMv2, refuse LM 58 Network Security: LDAP client signing requirements Negotiate Signing or Require Signing 59 Network Security: Minimum session security for NTLM SSP based (including secure RPC) clients Require Message Integrity, Message Confidentiality, NTLMv2 Session Security, 128 - bit Encryption

60 Network Security: Minimum session security for NTLM SSP based (including secure RPC) servers Require Message Integrity, Message Confidentiality, NTLMv2 Session Security, 128 - bit Encryption 61 Recovery Console: Allow Automatic Administrative Logon Disabled 62 Recovery Console: Allow Floppy Copy and Access to All Drives and All Folders Disabled 63 Shutdown: Allow System to be Shut Down Without Having to Log On Disabled 64 Shutdown: Clear Virtual Memory Pagefile Enabled 65 System cryptography: Force strong key protection for user keys stored on the computer User must enter a password each time they use a key 66 System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing 67 System objects: Default owner for objects created by members of the Administrators group Object Creator 68 System objects: Require case insensitivity for non-Windows subsystems 69 System objects: Strengthen default permissions of internal system objects Enabled 70 System settings: Optional subsystems 71 System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies 71 System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies 71 System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies 71 MSS: (AFD DynamicBacklogGrowthDelta) Number of connections to create when additional connections are necessary for Winsock applications

33 Profile system performance^ Administrators 34 Remove computer from docking station^ Administrators 35 Replace a process level token NETWORK SERVICE, LOCAL SERVICE 36 Restore files and directories^ Administrators 37 Shut down the system Administrators, Authenticated Users 38 Synchronize directory service data^ 39 Take ownership of file or other objects^ Administrators Đố i vớ i máy trạ m Join vào Domain sẽ apply thiế t lậ p Policy như trên từ máy chủ theo tài liệ u hardening máy Window server

1.8. Thi ế t l ậ p D ị ch v ụ (Services) -

No. Services Recommended Setting 1 Alerter Disabled 2 Automatic Updates <Not^ Defined> 3 Clipbook Disabled 4 Background Intelligent Transfer Service 5 FTP Publishing Service Disabled 6 IIS Admin Service Disabled 7 Messenger Disabled 8 Net Logon 9 NetMeeting Remote Desktop Sharing Disabled 10 Remote Desktop Help Session Manager 11 Remote Registry Service 12 Routing and Remote Access Disabled 13 Simple Mail Transfer Protocol (SMTP) Disabled 14 Simple Network Management Protocol (SNMP) Service Disabled 15 Simple Network Management Protocol (SNMP) Trap Disabled 16 Task Scheduler 17 Telnet Disabled 18 Terminal Services 21 World Wide Web Publishing Services Disabled Đố i vớ i máy trạ m Join vào Domain sẽ apply thiế t lậ p Policy như trên từ máy chủ theo tài liệ u hardening máy Window server

1.9. Quy ề n File (File Permission) - B ỏ

No. System Files Recommended Settings 1 %SystemDrive% Administrators: Full; System: Full

%SystemRoot%\system\at.exe Administrators: Full; System: Full 3 %SystemRoot%\system\attrib.exe Administrators: Full; System: Full 4 %SystemRoot%\system\cacls.exe Administrators: Full; System: Full 5 %SystemRoot%\system\debug.exe Administrators: Full; System: Full 6 %SystemRoot%\system\drwatson.exe Administrators: Full; System: Full 7 %SystemRoot%\system\drwtsn32.exe Administrators: Full; System: Full 8 %SystemRoot%\system\edlin.exe Administrators: Full; System: Full; Interactive: Full 9 %SystemRoot%\system\eventcreate.exe Administrators: Full; System: Full 10 %SystemRoot%\system\eventtriggers.exe Administrators: Full; System: Full 11 %SystemRoot%\system\ftp.exe Administrators: Full; System: Full; Interactive: Full 12 %SystemRoot%\system\net.exe Administrators: Full; System: Full; Interactive: Full 13 %SystemRoot%\system\net1.exe Administrators: Full; System: Full; Interactive: Full 14 %SystemRoot%\system\netsh.exe Administrators: Full; System: Full 15 %SystemRoot%\system\rcp.exe Administrators: Full; System: Full 16 %SystemRoot%\system\reg.exe Administrators: Full; System: Full 17 %SystemRoot%\regedit.exe Administrators: Full; System: Full 18 %SystemRoot%\system\regedt32.exe Administrators: Full; System: Full 19 %SystemRoot%\system\regsvr32.exe Administrators: Full; System: Full 20 %SystemRoot%\system\rexec.exe Administrators: Full; System: Full 21 %SystemRoot%\system\rsh.exe Administrators: Full; System: Full 22 %SystemRoot%\system\runas.exe Administrators: Full; System: Full; Interactive: Full 23 %SystemRoot%\system\sc.exe Administrators: Full; System: Full 24 %SystemRoot%\system\subst.exe^ Administrators: Full;

HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\EnableDeadGWDetect 13 Ensure ICMP Routing via shortest path first:HKLM\System\CurrentControlSet\Services\Tcpip \Parameters\EnableICMPRedirect 14 Help protect against packet fragmentation: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\EnablePMTUDiscovery 15 Manage Keep-alive times: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\KeepAliveTime 16 Protect Against Malicious Name-Release Attacks: HKLM\System\CurrentControlSet\Services\Netbt\Param eters\ NoNameReleaseOnDemand 17 Ensure Router Discovery is Disabled: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\PerformRouterDiscovery (REG_DWORD) REG_DWORD) 0 18 Protect against SYN Flood attacks: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\SynAttackProtect 19 SYN Attack protection – Manage TCP Maximum half- open sockets: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\TcpMaxHalfOpen 20 SYN Attack protection – Manage TCP Maximum half- open retired sockets: HKLM\System\CurrentControlSet\Services\Tcpip\Param eters\TcpMaxHalf OpenRetired 21 Enable IPSec to protect Kerberos RSVP Traffic:HKLM\System\CurrentControlSet\Services\IPS EC\ NoDefaultExempt (REG_DWORD) 1 22 Hide workstation from Network Browser listing: HKLM\System\CurrentControlSet\Services\Lanmanserve r\Parameters\Hidden 23 Enable Safe DLL Search Mode: HKLM\System\CurrentControlSet\Control\Session Manager\SafeDllSearchMode (REG_DWORD) 1 24 Disable WebDAV basic authentication (SP 2 only): HKLM\System\CurrentControlSet\Services\WebClient\P arameters\UseBasicAuth (REG_DWORD) 1 25 Disable basic authentication over a clear channel (SP2only):HKLM\SOFTWARE\Microsoft\Windows\CurrentV ersion\InternetSettings\DisableBasicOverClearChann el 26 USB Block Storage Device Policy (SP2 only): HKLM\System\CurrentControlSet\Control\StorageDevic ePolicies 27 DTC Access (SP only):HKLM\Software\Microsoft\MSDTC

Disable USB Flash, CDROM