{"description": "Crypto Policies provide a centralized control over crypto algorithms usage of many packages.\nBIND is supported by crypto policy, but the BIND configuration may be\nset up to ignore it.\n\nTo check that Crypto Policies settings are configured correctly, ensure that the <tt>/etc/named.conf</tt>\nincludes the appropriate configuration:\nIn the <tt>options</tt> section of <tt>/etc/named.conf</tt>, make sure that the following line\nis not commented out or superseded by later includes:\n<tt>include \"/etc/crypto-policies/back-ends/bind.config\";</tt>", "rationale": "Overriding the system crypto policy makes the behavior of the BIND service violate expectations,\nand makes system configuration more fragmented.", "severity": "high", "references": {"nerc-cip": ["CIP-003-8 R4.2", "CIP-007-3 R5.1"], "nist": ["SC-13", "SC-12(2)", "SC-12(3)"], "srg": ["SRG-OS-000423-GPOS-00187", "SRG-OS-000426-GPOS-00190"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "BIND is installed and the BIND config file doesn't contain the\n<pre>include \"/etc/crypto-policies/back-ends/bind.config\";</pre> directive", "ocil": "To verify that BIND uses the system crypto policy, check out that the BIND config file\n<pre>/etc/named.conf</pre> contains the <pre>include \"/etc/crypto-policies/back-ends/bind.config\";</pre>\ndirective:\n<pre>$ sudo grep 'include \"/etc/crypto-policies/back-ends/bind.config\";' /etc/named.conf</pre>\nVerify that the directive is at the bottom of the <pre>options</pre> section of the config file.", "oval_external_content": null, "fixtext": "Configure BIND to use the system crypto policy.\n\nAdd the following line to the \"options\" section in \"/etc/named.conf\":\n\ninclude \"/etc/crypto-policies/back-ends/bind.config\";", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 BIND crypto policy must use approved ciphers.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must implement DOD-approved encryption in the bind package.", "vuldiscussion": "Without cryptographic integrity protections, information can be altered by unauthorized users without detection.\n\nCryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the secret key used to generate the hash.\n\nUbuntu 22.04 incorporates system-wide crypto policies by default. The employed algorithms can be viewed in the /etc/crypto-policies/back-ends/ directory.", "checktext": "Verify that BIND uses the system crypto policy with the following command:\n\nNote: If the \"bind\" package is not installed, this requirement is Not Applicable.\n\n$ sudo grep include /etc/named.conf\n\ninclude \"/etc/crypto-policies/back-ends/bind.config\";'\n\nIf BIND is installed and the BIND config file doesn't contain the  include \"/etc/crypto-policies/back-ends/bind.config\" directive, or the line is commented out, this is a finding.", "fixtext": "Configure BIND to use the system crypto policy.\n\nAdd the following line to the \"options\" section in \"/etc/named.conf\":\n\ninclude \"/etc/crypto-policies/back-ends/bind.config\";"}}, "platform": "package[bind]", "platforms": ["package[bind]"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["package_bind"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Configure BIND to use System Crypto Policy", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/integrity/crypto/configure_bind_crypto_policy/rule.yml", "template": null}