draft SCAP 1.1 XCCDF Benchmark for testing the SCAP.R.1100 requirement on Windows\RHEL This XCCDF Benchmark references the OVAL Definitions in the validation content for the R1100 requirement. Do not attempt to implement any of the settings in this guide without first testing them in a non-operational environment. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. NIST would appreciate acknowledgement if the document and template are used. The Federal CIO council created the Technology Information Subcommittee (TIS) at the direction of OMB to govern, among other federal activities, the FDCC iniatitive. The TIS, based on federal agency input, selects platforms and applcations for federal implementation. The TIS also is the Change Control Board (CCB) for configuration settings. As stated in the Federal CIO Council Memo to federal agencies, "The USGCB settings replace the Federal Desktop Core Configuration (FDCC) settings and provide the recommended security baselines for Information Technology products widely deployed across the agencies." Trademark Information Microsoft, Windows, Windows 7, Windows Vista, Windows 7, Internet Explorer, and Windows Firewall are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries.All other names are registered trademarks or trademarks of their respective companies. National Institute of Standards and Technology SP 800-68 1-2.1.1.0 National Institute of Standards and Technology National Institute of Standards and Technology National Institute of Standards and Technology Melanie Cook Dragos Prisaca http://scap.nist.gov 800-53 Low This profile selects specific controls that are recommended by Special Publication 800-53 for information systems in which all three security objectives (i.e., confidentiality, integrity, and availability) are assigned a FIPS 199 potential impact value of low. Each control has an effect on other groups within this document as individual rule require certain controls to be selected. 800-53 Moderate This profile selects specific controls that are recommended by Special Publication 800-53 for information systems in which at least one security objectives (i.e., confidentiality, integrity, and availability) are assigned a FIPS 199 potential impact value of moderate and no security objective is assigned a FIPS 199 potential impact value of high. Each control has an effect on other groups within this document as individual rule require certain controls to be selected. 800-53 High This profile selects specific controls that are recommended by Special Publication 800-53 for information systems in which at least one security objectives (i.e., confidentiality, integrity, and availability) are assigned a FIPS 199 potential impact value of high. Each control has an effect on other groups within this document as individual rule require certain controls to be selected. 800-53 All This profile selects all the security controls that are recommended by Special Publication 800-53 for information systems. Each control has an effect on other groups within this document as individual rule require certain controls to be selected. XCCDF Profile That References the Validation Content for the R1100 requirement This Profile allows for the tailoring of the validation content for the R1100 requirement. Introduction This guide has been created to assist federal agencies in effectively securing systems with Microsoft Windows and RHEL based on OMB US Government Configuration Baseline (USGCB) recommendations.Under the direction of OMB and in collaboration with DHS, DISA, NSA, USAF, and Microsoft, NIST has provided the following baseline to help agencies test, implement, and deploy the Microsoft Windows 7 and RHEL baseline. The USGCB is an OMB-mandated security configuration.Please refer to the USGCB home page for additional information: http://usgcb.nist.gov/ R1100 title Attackers often attempt to gain access to user accounts by guessing passwords. Windows 7 can be configured to lock out (disable) an account when too many failed login attempts occur for a single user account in a certain time period. The following account lockout parameters are set in the NIST templates:One of the main challenges in setting account policies is balancing security, functionality, and usability. For example, locking out user accounts after only a few failed logon attempts in a long time period may make it more difficult to gain unauthorized access to accounts by guessing passwords, but may also sharply increase the number of calls to the help desk to unlock accounts accidentally locked by failed attempts from legitimate users. This could also cause more users to write down their passwords or choose easier-to-remember passwords. Organizations should carefully think out such issues before setting Windows 7 account policies. GPO Computer Configuration\Windows Settings\Security Settings\Account Policies\Account Lockout Policy Account Lockout Duration The amount of time in seconds that an account is locked before it is automatically unlocked by the system. 15 minutes = 900 seconds A value of 0 means that an administrator must unlock the account. 900 0 900 3600 86400 XCCDF rule for R1100 SCAP 1.1 Should return pass U.S. Department of Commerce, National Institute of Standards and Technology. (2009). Recommended security controls for federal information systems and organizations (800-53). Retrieved from website: http://csrc.nist.gov/publications/PubsSPs.html Failure to utilize a supported version of the software in a production environment can lead to outages, unresolvable problems, no access to security or functional updates, etc. CCE-3744-0 7.5 High CAT I (AV:N/AC:L/Au:N/C:P/I:P/A:P) CM-6 DCCS-1,DCCS-2,DCCT-1,ECSC-1,DCSS-1 To determine the version of the Software installed, perform the following actions: Execute run.bat --version or run.sh --version The output of the command above will display a variety of information; including the version and build information for Software. Next, review support documentation and interview administrators. (https://access.nist.gov/home). Additionally, ensure the version of Software has not reached end-of-life. Organizations using the Software must use a vendor supported version with an active support contract. Other environments should install a vendor supported version of Software (http://www.nist.gov). Ensure downloaded software is checked against vendor supplied hashes to ensure the software has not been modified in transit. Tools such as sha1sum or md5sum (Linux) or File Checksum Integrity Verifier (FCIV) for Windows can be used to generate hash checksums for downloaded files. XCCDF rule for R1100 SCAP 1.1 should not be applicable GPO Computer Configuration\Windows Settings\Security Settings\Account Policies\Account Lockout Policy CCE-3993-3 XCCDF rule for R1100 SCAP 1.1 Should Pass CCE-3207-8 XCCDF rule for R1100 SCAP 1.1 Should be not applicable CCE-3929-7 XCCDF rule for R1100 SCAP 1.1 Should Pass CCE-3933-9 Ensure all configurations are made to the appropriate server profile Production environments should utilize the production server profile. Development and test environments should choose the profile that best fits their needs. U.S. Department of Commerce, National Institute of Standards and Technology. (2009). Recommended security controls for federal information systems and organizations (800-53). Retrieved from website: http://csrc.nist.gov/publications/PubsSPs.html The Software server profiles are preconfigured with various deployed applications. Using a more restrictive profile ensures that less applications are deployed, minimizing the attack surface of the Software server and decreasing the amount of trimming that must be performed. 3 Low CAT III CM-6 DCCS-1,DCCS-2,DCCT-1,ECSC-1,DCSS-1 Ensure that all configuration changes and deployments are made to the appropriate server profile. Production environments should utilize the production server profile. Development and test environments should choose the profile that best fits their needs. Software administrators should use the profiles as defined in the validation text. Declare an EJB authorization policy for deployed applications When configuring your application specific security policy, you must declare one (or more) of the following authorization modules in the security domain <policy-module> element. org.Software.security.authorization.modules.DelegatingAuthorizationModule org.Software.security.authorization.modules.JACCAuthorizationModule A security domain does not explicitly require an authorization policy. If an authorization policy is not specified, the default Software-web-policy and Software-ejb-policy authorization configured in Software-as/server/$PROFILE/deploy/security/security-policies-Software-beans.xml is used. If you do choose to specify an authorization policy, or create a custom deployment descriptor file with a valid authorization policy, these settings override the default settings in security-policies-Software-beans.xml. U.S. Department of Commerce, National Institute of Standards and Technology. (2009). Recommended security controls for federal information systems and organizations (800-53). Retrieved from website: http://csrc.nist.gov/publications/PubsSPs.html Explicitly referencing one of the identified authorization modules ensures that applications extend the security policies defined in security-policies-Software-beans.xml. This allows Software administrators to set a secure baseline that can be tuned on a per-application basis. 3.5 Medium CAT II AC-3,AC-4 ECAN-1,ECCD-1,ECCD-2,ECCR-2,ECIC-1,ECAN-1,EBBD-1,EBBD-2,EBBD-3 Review possible locations for definition of <application-policy> elements. Specifically, ensure that 'code' attributes for <authorization><policy-module> elements are either 'org.Software.security.authorization.modules.DelegatingAuthorizationModule' or 'org.Software.security.authorization.modules.JACCAuthorizationModule'. These <application-policy> can be defined in the server profile conf directory, in an application deployment descriptor, or directly deployed as an MBean. Software_HOME/server/[PROFILE]/conf/login-config.xml Software_HOME/server/[PROFILE]/deploy/[APPLICATION]/META-INF/*-Software-beans.xml Software_HOME/server/[PROFILE]/deploy/[APPLICATION]/WEB-INF/*-Software-beans.xml Software_HOME/server/[PROFILE]/deploy/*-Software-beans.xml NOTE: This applies even if the application is using Extensible Access Control Markup Language (XACML) Authorization Module. Applications deploying their own security policies must specify one of the following <policy-module> within their 'code' attributes: org.Software.security.authorization.modules.DelegatingAuthorizationModule org.Software.security.authorization.modules.JACCAuthorizationModule Example: <application-policy name="demo"> <authorization> <policy-module code="org.Software.security.authorization.modules.JACCAuthorizationModule"></policy-module> </authorization> </application-policy> Security Patches Securing a given computer has become increasingly important. As such, it is essential to keep a host up to current patch levels to eliminate known vulnerabilities and weaknesses. In conjunction with antivirus software and a personal firewall, patching goes a long way to securing a host against outside attacks and exploitation. Microsoft provides two mechanisms for distributing security updates: Automatic Updates and Microsoft Update. In smaller environments, either method may be sufficient for keeping systems current with patches. Other environments typically have a software change management control process or a patch management program that tests patches before deploying them; distribution may then occur through local Windows Update Services (WUS) or Windows Server Update Services (WSUS) servers, which provide approved security patches for use by the Automatic Updates feature. Security Patches Up-To-Date All known security patches have been installed.