From jlieskov at redhat.com Thu Aug 20 11:37:17 2015 Content-Type: multipart/mixed; boundary="===============2492115314527673999==" MIME-Version: 1.0 From: Jan Lieskovsky To: scap-security-guide at lists.fedorahosted.org Subject: Re: [PATCH] [RHEL/6, RHEL/7, shared] Implement OVAL check & XCCDF definition for package_talk_removed rule Date: Fri, 27 Jun 2014 10:46:49 -0400 Message-ID: <1799111002.46293208.1403880409766.JavaMail.zimbra@redhat.com> In-Reply-To: 53AC66CF.5010201@redhat.com --===============2492115314527673999== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Shawn Wells" > To: scap-security-guide(a)lists.fedorahosted.org > Sent: Thursday, June 26, 2014 8:30:39 PM > Subject: Re: [PATCH] [RHEL/6, RHEL/7, shared] Implement OVAL check & XCCD= F definition for package_talk_removed rule > = > = > On 6/25/14, 10:51 AM, Jan Lieskovsky wrote: > = > = > = > The proposed patch adds OVAL check & corresponding XCCDF definition for > RHEL-6 & RHEL-7 for "package talk removed" rule. Tested on both of RHEL-6= & > RHEL-7 > (definition works as expected on both products & is displayed properly al= so > in the > HTML version[s] of the guide[s]), updated test attestations & moved the O= VAL > to shared. > = > Please review. > = > Thank you && Regards, Jan. > -- > Jan iankko Lieskovsky / Red Hat Security Technologies Team > = > 0001-RHEL-6-RHEL-7-shared-Implement-OVAL-check-XCCDF-defi.patch > From bddba46840a6d3c296241efbf9c3a10cd753897c Mon Sep 17 00:00:00 2001 > From: Jan Lieskovsky Date: Wed, 25 Jun 2014 16:44= :23 > +0200 > Subject: [PATCH] [RHEL/6, RHEL/7, shared] Implement OVAL check & XCCDF > definition for package_talk_removed rule > = > Signed-off-by: Jan Lieskovsky --- > RHEL/6/input/checks/package_talk_removed.xml | 1 + > RHEL/6/input/checks/templates/packages_removed.csv | 1 + > RHEL/6/input/services/obsolete.xml | 18 +++++++++++++++ > RHEL/7/input/checks/package_talk_removed.xml | 1 + > RHEL/7/input/services/obsolete.xml | 18 +++++++++++++++ > shared/oval/package_talk_removed.xml | 26 > ++++++++++++++++++++++ > 6 files changed, 65 insertions(+) > create mode 120000 RHEL/6/input/checks/package_talk_removed.xml > create mode 120000 RHEL/7/input/checks/package_talk_removed.xml > create mode 100644 shared/oval/package_talk_removed.xml > = > diff --git a/RHEL/6/input/checks/package_talk_removed.xml > b/RHEL/6/input/checks/package_talk_removed.xml > new file mode 120000 > index 0000000..6147e81 > --- /dev/null > +++ b/RHEL/6/input/checks/package_talk_removed.xml > @@ -0,0 +1 @@ > +../../../../shared/oval/package_talk_removed.xml > \ No newline at end of file > diff --git a/RHEL/6/input/checks/templates/packages_removed.csv > b/RHEL/6/input/checks/templates/packages_removed.csv > index 790b74d..a6c8e2a 100644 > --- a/RHEL/6/input/checks/templates/packages_removed.csv > +++ b/RHEL/6/input/checks/templates/packages_removed.csv > @@ -35,6 +35,7 @@ squid > subscription-manager > sysstat > talk-server > +talk > telnet > telnet-server > tftp > diff --git a/RHEL/6/input/services/obsolete.xml > b/RHEL/6/input/services/obsolete.xml > index b46a912..457d342 100644 > --- a/RHEL/6/input/services/obsolete.xml > +++ b/RHEL/6/input/services/obsolete.xml > @@ -422,5 +422,23 @@ risk of the accidental (or intentional) activation of > talk services. > > > = > + > +Uninstal talk Package > +The talk package contains the client program for t= he > +Internet talk protocol, which allows the user to chat with other users on > +different systems. Talk is a communication program which copies lines fr= om > one > +terminal to the terminal of another user. > + > + > + > +The talk software presents a security risk as it uses unencrypted protoc= ols > +for communications. Removing the talk package decreases the > +risk of the accidental (or intentional) activation of talk client progra= m. > + > + > + > + > + > + > > > diff --git a/RHEL/7/input/checks/package_talk_removed.xml > b/RHEL/7/input/checks/package_talk_removed.xml > new file mode 120000 > index 0000000..6147e81 > --- /dev/null > +++ b/RHEL/7/input/checks/package_talk_removed.xml > @@ -0,0 +1 @@ > +../../../../shared/oval/package_talk_removed.xml > \ No newline at end of file > diff --git a/RHEL/7/input/services/obsolete.xml > b/RHEL/7/input/services/obsolete.xml > index 4fd80a0..76f808c 100644 > --- a/RHEL/7/input/services/obsolete.xml > +++ b/RHEL/7/input/services/obsolete.xml > @@ -376,5 +376,23 @@ risk of the accidental (or intentional) activation of > talk services. > > > = > + > +Uninstal talk Package > +The talk package contains the client program for t= he > +Internet talk protocol, which allows the user to chat with other users on > +different systems. Talk is a communication program which copies lines fr= om > one > +terminal to the terminal of another user. > + > + > + > +The talk software presents a security risk as it uses unencrypted protoc= ols > +for communications. Removing the talk package decreases the > +risk of the accidental (or intentional) activation of talk client progra= m. > + > + > + > + > + > + > > > diff --git a/shared/oval/package_talk_removed.xml > b/shared/oval/package_talk_removed.xml > new file mode 100644 > index 0000000..122902a > --- /dev/null > +++ b/shared/oval/package_talk_removed.xml > @@ -0,0 +1,26 @@ > + > + > + > + Package talk Removed > + > + Red Hat Enterprise Linux 6 > + Red Hat Enterprise Linux 7 > + > + The RPM package talk should be removed. > + ref_url=3D"test_attestation"/> > + ref_url=3D"test_attestation"/> > + > + > + + test_ref=3D"test_package_talk_removed" /> > + > + > + + id=3D"test_package_talk_removed" version=3D"1" > + comment=3D"package talk is removed"> > + > + > + > + talk > + > + > -- > 1.8.3.1 > = > s/Uninstal/Uninstall/g && ack Thank you. Replaced & pushed. Regards, Jan. -- Jan iankko Lieskovsky / Red Hat Security Technologies Team > = > = > = > _______________________________________________ > scap-security-guide mailing list > scap-security-guide(a)lists.fedorahosted.org > https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide >=20 --===============2492115314527673999==--