Blame SOURCES/scap-security-guide-0.1.49-update-ospp-baseline-package-list.patch

05062e
From 38cc9c9eb785f17fbc23a2e7ccbb9902d069f4b3 Mon Sep 17 00:00:00 2001
05062e
From: Vojtech Polasek <vpolasek@redhat.com>
05062e
Date: Mon, 10 Feb 2020 16:16:17 +0100
05062e
Subject: [PATCH 1/4] create new rules, add missing reference to older rule
05062e
05062e
---
05062e
 .../rule.yml                                  | 26 +++++++++++++++
05062e
 .../package_openssh-server_installed/rule.yml |  1 +
05062e
 .../rule.yml                                  | 32 +++++++++++++++++++
05062e
 .../rule.yml                                  | 29 +++++++++++++++++
05062e
 5 files changed, 88 insertions(+), 3 deletions(-)
05062e
 create mode 100644 linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
 create mode 100644 linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
 create mode 100644 linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
05062e
diff --git a/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml b/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
new file mode 100644
05062e
index 0000000000..9b3c55f23b
05062e
--- /dev/null
05062e
+++ b/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
@@ -0,0 +1,26 @@
05062e
+documentation_complete: true
05062e
+
05062e
+prodtype: rhel8
05062e
+
05062e
+title: 'Install OpenSSH client software'
05062e
+
05062e
+description: |-
05062e
+    {{{ describe_package_install(package="openssh-clients") }}}
05062e
+
05062e
+rationale: 'The <tt>openssh-clients</tt> package needs to be installed to meet OSPP criteria.'
05062e
+
05062e
+severity: medium
05062e
+
05062e
+identifiers:
05062e
+    cce@rhel8: 82722-0
05062e
+
05062e
+references:
05062e
+    srg: SRG-OS-000480-GPOS-00227
05062e
+    ospp: FIA_UAU.5,FTP_ITC_EXT.1
05062e
+
05062e
+{{{ complete_ocil_entry_package(package='openssh-clients') }}}
05062e
+
05062e
+template:
05062e
+    name: package_installed
05062e
+    vars:
05062e
+        pkgname: openssh-clients
05062e
diff --git a/linux_os/guide/services/ssh/package_openssh-server_installed/rule.yml b/linux_os/guide/services/ssh/package_openssh-server_installed/rule.yml
05062e
index c18e604a5c..ba013ec509 100644
05062e
--- a/linux_os/guide/services/ssh/package_openssh-server_installed/rule.yml
05062e
+++ b/linux_os/guide/services/ssh/package_openssh-server_installed/rule.yml
05062e
@@ -28,6 +28,7 @@ references:
05062e
     cobit5: APO01.06,DSS05.02,DSS05.04,DSS05.07,DSS06.02,DSS06.06
05062e
     iso27001-2013: A.10.1.1,A.11.1.4,A.11.1.5,A.11.2.1,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.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.3,A.9.4.1,A.9.4.4,A.9.4.5
05062e
     cis-csc: 13,14
05062e
+    ospp: FIA_UAU.5,FTP_ITC_EXT.1
05062e
 
05062e
 ocil_clause: 'the package is not installed'
05062e
 
05062e
diff --git a/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml b/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
new file mode 100644
05062e
index 0000000000..6025f0cd33
05062e
--- /dev/null
05062e
+++ b/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
@@ -0,0 +1,32 @@
05062e
+documentation_complete: true
05062e
+
05062e
+prodtype: rhel8
05062e
+
05062e
+title: 'Install policycoreutils-python-utils package'
05062e
+
05062e
+description: |-
05062e
+    {{{ describe_package_install(package="policycoreutils-python-utils") }}}
05062e
+
05062e
+rationale: |-
05062e
+    Security-enhanced Linux is a feature of the Linux kernel and a number of utilities
05062e
+    with enhanced security functionality designed to add mandatory access controls to Linux.
05062e
+    The Security-enhanced Linux kernel contains new architectural components originally
05062e
+    developed to improve security of the Flask operating system. These architectural components
05062e
+    provide general support for the enforcement of many kinds of mandatory access control
05062e
+    policies, including those based on the concepts of Type Enforcement, Role-based Access
05062e
+    Control, and Multi-level Security. 
05062e
+
05062e
+severity: medium
05062e
+
05062e
+identifiers:
05062e
+    cce@rhel8: 82724-6
05062e
+
05062e
+references:
05062e
+    srg: SRG-OS-000480-GPOS-00227 
05062e
+
05062e
+{{{ complete_ocil_entry_package(package='policycoreutils-python-utils') }}}
05062e
+
05062e
+template:
05062e
+    name: package_installed
05062e
+    vars:
05062e
+        pkgname: policycoreutils-python-utils
05062e
diff --git a/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml b/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
new file mode 100644
05062e
index 0000000000..c418518e7a
05062e
--- /dev/null
05062e
+++ b/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
@@ -0,0 +1,29 @@
05062e
+documentation_complete: true
05062e
+
05062e
+prodtype: rhel8
05062e
+
05062e
+title: 'Install crypto-policies package'
05062e
+
05062e
+description: |-
05062e
+    {{{ describe_package_install(package="crypto-policies") }}}
05062e
+
05062e
+rationale: |-
05062e
+    The <tt>crypto-policies</tt> package provides configuration and tools to
05062e
+    apply centralizet cryptographic policies for backends such as SSL/TLS libraries.
05062e
+    
05062e
+
05062e
+severity: medium
05062e
+
05062e
+identifiers:
05062e
+    cce@rhel8: 82723-8
05062e
+
05062e
+references:
05062e
+    ospp: FCS_COP*
05062e
+    srg: SRG-OS-000396-GPOS-00176,SRG-OS-000393-GPOS-00173,SRG-OS-000394-GPOS-00174
05062e
+
05062e
+{{{ complete_ocil_entry_package(package='crypto-policies') }}}
05062e
+
05062e
+template:
05062e
+    name: package_installed
05062e
+    vars:
05062e
+        pkgname: crypto-policies
05062e
From 0c54cbf24a83e38c89841d4dc65a5fbe51fd2f99 Mon Sep 17 00:00:00 2001
05062e
From: Vojtech Polasek <vpolasek@redhat.com>
05062e
Date: Mon, 10 Feb 2020 16:18:03 +0100
05062e
Subject: [PATCH 2/4] modify ospp profile
05062e
05062e
---
05062e
 rhel8/profiles/ospp.profile | 10 +++++-----
05062e
 1 file changed, 5 insertions(+), 5 deletions(-)
05062e
05062e
diff --git a/rhel8/profiles/ospp.profile b/rhel8/profiles/ospp.profile
05062e
index 4d5a9edd8e..c672066050 100644
05062e
--- a/rhel8/profiles/ospp.profile
05062e
+++ b/rhel8/profiles/ospp.profile
05062e
@@ -169,17 +169,17 @@ selections:
05062e
     - package_dnf-plugin-subscription-manager_installed
05062e
     - package_firewalld_installed
05062e
     - package_iptables_installed
05062e
-    - package_libcap-ng-utils_installed
05062e
     - package_openscap-scanner_installed
05062e
     - package_policycoreutils_installed
05062e
     - package_rng-tools_installed
05062e
     - package_sudo_installed
05062e
     - package_usbguard_installed
05062e
-    - package_audispd-plugins_installed
05062e
     - package_scap-security-guide_installed
05062e
     - package_audit_installed
05062e
-    - package_gnutls-utils_installed
05062e
-    - package_nss-tools_installed
05062e
+    - package_crypto-policies_installed
05062e
+    - package_openssh-server_installed
05062e
+    - package_openssh-clients_installed
05062e
+    - package_policycoreutils-python-utils_installed
05062e
 
05062e
     ### Remove Prohibited Packages
05062e
     - package_sendmail_removed
05062e
@@ -316,7 +316,7 @@ selections:
05062e
     ## Configure the System to Offload Audit Records to a Log
05062e
     ##  Server
05062e
     ## AU-4(1) / FAU_GEN.1.1.c
05062e
-    - auditd_audispd_syslog_plugin_activated
05062e
+    # temporarily dropped
05062e
 
05062e
     ## Set Logon Warning Banner
05062e
     ## AC-8(a) / FMT_MOF_EXT.1
05062e
05062e
From 105efe3a51118eca22c36771ce22d45778a4c34f Mon Sep 17 00:00:00 2001
05062e
From: Vojtech Polasek <vpolasek@redhat.com>
05062e
Date: Mon, 10 Feb 2020 16:18:52 +0100
05062e
Subject: [PATCH 3/4] add rules to rhel8 stig profile
05062e
05062e
---
05062e
 rhel8/profiles/stig.profile | 3 +++
05062e
 1 file changed, 3 insertions(+)
05062e
05062e
diff --git a/rhel8/profiles/stig.profile b/rhel8/profiles/stig.profile
05062e
index 821cc26914..7eb1869a3c 100644
05062e
--- a/rhel8/profiles/stig.profile
05062e
+++ b/rhel8/profiles/stig.profile
05062e
@@ -33,6 +33,9 @@ selections:
05062e
     - encrypt_partitions
05062e
     - sysctl_net_ipv4_tcp_syncookies
05062e
     - clean_components_post_updating
05062e
+    - package_audispd-plugins_installed
05062e
+    - package_libcap-ng-utils_installed
05062e
+    - auditd_audispd_syslog_plugin_activated
05062e
 
05062e
     # Configure TLS for remote logging
05062e
     - package_rsyslog_installed
05062e
05062e
From 1a5e17c9a6e3cb3ad6cc2cc4601ea49f2f6278ce Mon Sep 17 00:00:00 2001
05062e
From: Vojtech Polasek <vpolasek@redhat.com>
05062e
Date: Mon, 10 Feb 2020 17:42:43 +0100
05062e
Subject: [PATCH 4/4] rephrase some rationales, fix SFR
05062e
05062e
---
05062e
 .../ssh/package_openssh-clients_installed/rule.yml       | 4 +++-
05062e
 .../rule.yml                                             | 9 ++-------
05062e
 .../crypto/package_crypto-policies_installed/rule.yml    | 8 ++++----
05062e
 3 files changed, 9 insertions(+), 12 deletions(-)
05062e
05062e
diff --git a/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml b/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
index 9b3c55f23b..f5b29d32e8 100644
05062e
--- a/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
+++ b/linux_os/guide/services/ssh/package_openssh-clients_installed/rule.yml
05062e
@@ -7,7 +7,9 @@ title: 'Install OpenSSH client software'
05062e
 description: |-
05062e
     {{{ describe_package_install(package="openssh-clients") }}}
05062e
 
05062e
-rationale: 'The <tt>openssh-clients</tt> package needs to be installed to meet OSPP criteria.'
05062e
+rationale: |-
05062e
+    This package includes utilities to make encrypted connections and transfer
05062e
+    files securely to SSH servers. 
05062e
 
05062e
 severity: medium
05062e
 
05062e
diff --git a/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml b/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
index 6025f0cd33..7ae7461077 100644
05062e
--- a/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
+++ b/linux_os/guide/system/selinux/package_policycoreutils-python-utils_installed/rule.yml
05062e
@@ -8,13 +8,8 @@ description: |-
05062e
     {{{ describe_package_install(package="policycoreutils-python-utils") }}}
05062e
 
05062e
 rationale: |-
05062e
-    Security-enhanced Linux is a feature of the Linux kernel and a number of utilities
05062e
-    with enhanced security functionality designed to add mandatory access controls to Linux.
05062e
-    The Security-enhanced Linux kernel contains new architectural components originally
05062e
-    developed to improve security of the Flask operating system. These architectural components
05062e
-    provide general support for the enforcement of many kinds of mandatory access control
05062e
-    policies, including those based on the concepts of Type Enforcement, Role-based Access
05062e
-    Control, and Multi-level Security. 
05062e
+    This package is required to operate and manage an SELinux environment and its policies.
05062e
+    It provides utilities such as semanage, audit2allow, audit2why, chcat and sandbox.
05062e
 
05062e
 severity: medium
05062e
 
05062e
diff --git a/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml b/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
index c418518e7a..bb07f9d617 100644
05062e
--- a/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
+++ b/linux_os/guide/system/software/integrity/crypto/package_crypto-policies_installed/rule.yml
05062e
@@ -8,9 +8,9 @@ description: |-
05062e
     {{{ describe_package_install(package="crypto-policies") }}}
05062e
 
05062e
 rationale: |-
05062e
-    The <tt>crypto-policies</tt> package provides configuration and tools to
05062e
-    apply centralizet cryptographic policies for backends such as SSL/TLS libraries.
05062e
-    
05062e
+    Centralized cryptographic policies simplify applying secure ciphers across an operating system and
05062e
+    the applications that run on that operating system. Use of weak or untested encryption algorithms
05062e
+    undermines the purposes of utilizing encryption to protect data.
05062e
 
05062e
 severity: medium
05062e
 
05062e
@@ -18,7 +18,7 @@ identifiers:
05062e
     cce@rhel8: 82723-8
05062e
 
05062e
 references:
05062e
-    ospp: FCS_COP*
05062e
+    ospp: FCS_COP.1(1),FCS_COP.1(2),FCS_COP.1(3),FCS_COP.1(4)
05062e
     srg: SRG-OS-000396-GPOS-00176,SRG-OS-000393-GPOS-00173,SRG-OS-000394-GPOS-00174
05062e
 
05062e
 {{{ complete_ocil_entry_package(package='crypto-policies') }}}