{"description": "Limit the MACs to those hash algorithms which are FIPS-approved.\nThe following line in <tt>/etc/ssh/sshd_config</tt>\ndemonstrates use of FIPS-approved MACs:\n\n<pre>MACs hmac-sha2-512,hmac-sha2-256,hmac-sha1</pre>\n\nThe man page <tt>sshd_config(5)</tt> contains a list of supported MACs.\n\nThe rule is parametrized to use the following MACs: <code><sub idref=\"sshd_approved_macs\" /></code>.", "rationale": "FIPS-approved cryptographic hash functions are required to be used.\nThe only SSHv2 hash algorithms meeting this requirement is SHA2.", "severity": "medium", "references": {"cis-csc": ["1", "12", "13", "15", "16", "5", "8"], "cobit5": ["APO01.06", "APO13.01", "DSS01.04", "DSS05.02", "DSS05.03", "DSS05.04", "DSS05.07", "DSS06.02", "DSS06.03"], "cui": ["3.1.13", "3.13.11", "3.13.8"], "hipaa": ["164.308(b)(1)", "164.308(b)(2)", "164.312(e)(1)", "164.312(e)(2)(i)", "164.312(e)(2)(ii)", "164.314(b)(2)(i)"], "isa-62443-2009": ["4.3.3.5.1", "4.3.3.6.6"], "isa-62443-2013": ["SR 1.1", "SR 1.13", "SR 1.2", "SR 1.3", "SR 1.4", "SR 1.5", "SR 1.7", "SR 1.8", "SR 1.9", "SR 2.6", "SR 3.1", "SR 3.5", "SR 3.8", "SR 4.1", "SR 4.3", "SR 5.1", "SR 5.2", "SR 5.3", "SR 7.1", "SR 7.6"], "iso27001-2013": ["A.10.1.1", "A.11.1.4", "A.11.1.5", "A.11.2.1", "A.11.2.6", "A.13.1.1", "A.13.1.3", "A.13.2.1", "A.13.2.3", "A.13.2.4", "A.14.1.2", "A.14.1.3", "A.6.1.2", "A.6.2.1", "A.6.2.2", "A.7.1.1", "A.7.1.2", "A.7.3.1", "A.8.2.2", "A.8.2.3", "A.9.1.1", "A.9.1.2", "A.9.2.1", "A.9.2.2", "A.9.2.3", "A.9.2.4", "A.9.2.6", "A.9.3.1", "A.9.4.1", "A.9.4.2", "A.9.4.3", "A.9.4.4", "A.9.4.5"], "nist": ["CM-6(a)", "AC-17(a)", "AC-17(2)", "SC-13", "MA-4(6)", "SC-12(2)", "SC-12(3)"], "nist-csf": ["PR.AC-1", "PR.AC-3", "PR.DS-5", "PR.PT-4"], "srg": ["SRG-OS-000125-GPOS-00065", "SRG-OS-000250-GPOS-00093", "SRG-OS-000394-GPOS-00174"], "pcidss4": ["2.2.7", "2.2"]}, "control_references": {"pcidss4": ["2.2.7", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "MACs option is commented out or not using FIPS-approved hash algorithms", "ocil": "Only FIPS-approved MACs should be used. To verify that only FIPS-approved\nMACs are in use, run the following command:\n<pre>$ sudo grep -i macs /etc/ssh/sshd_config</pre>\nThe output should contain only those MACs which are FIPS-approved. Any use of other\nciphers or algorithms will result in the module entering the non-FIPS mode of\noperation.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"general": "The system needs to be rebooted for these changes to take effect."}, {"regulatory": "System Crypto Modules must be provided by a vendor that undergoes\nFIPS-140 certifications.\nFIPS-140 is applicable to all Federal agencies that use\ncryptographic-based security systems to protect sensitive information\nin computer and telecommunication systems (including voice systems) as\ndefined in Section 5131 of the Information Technology Management Reform\nAct of 1996, Public Law 104-106. This standard shall be used in\ndesigning and implementing cryptographic modules that Federal\ndepartments and agencies operate or are operated for them under\ncontract. See <b>\n<a xmlns='http://www.w3.org/1999/xhtml' href='https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.140-2.pdf'>https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.140-2.pdf</a></b>\nTo meet this, the system has to have cryptographic software provided by\na vendor that has undergone this certification. This means providing\ndocumentation, test results, design information, and independent third\nparty review by an accredited lab. While open source software is\ncapable of meeting this, it does not meet FIPS-140 unless the vendor\nsubmits to this process."}], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Use Only FIPS 140-2 Validated MACs", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ssh/ssh_server/sshd_use_approved_macs/rule.yml", "template": null}