From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 151EF1393E9 for ; Sun, 30 Mar 2014 18:29:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F770E0AD3; Sun, 30 Mar 2014 18:29:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8ADAE0AD3 for ; Sun, 30 Mar 2014 18:29:41 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FB0233FBE4 for ; Sun, 30 Mar 2014 18:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3BDE2188A2 for ; Sun, 30 Mar 2014 18:29:39 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1396194235.68e7c5b954197805e82752021032cf8e0fc97a96.swift@gentoo> Subject: [gentoo-commits] proj/hardened-docs:master commit in: xml/SCAP/ X-VCS-Repository: proj/hardened-docs X-VCS-Files: xml/SCAP/Makefile xml/SCAP/gentoo-oval.xml xml/SCAP/gentoo-xccdf.xml X-VCS-Directories: xml/SCAP/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 68e7c5b954197805e82752021032cf8e0fc97a96 X-VCS-Branch: master Date: Sun, 30 Mar 2014 18:29:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9d2f9a1c-bb09-44f5-948d-914f7d96238f X-Archives-Hash: 3cd11fe8feccb234990c2cfb8708861d commit: 68e7c5b954197805e82752021032cf8e0fc97a96 Author: Sven Vermeulen siphos be> AuthorDate: Sun Mar 30 15:43:55 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Mar 30 15:43:55 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=68e7c5b9 Handle version and add in hidepid check --- xml/SCAP/Makefile | 2 ++ xml/SCAP/gentoo-oval.xml | 35 +++++++++++++++++++++++++++++++++++ xml/SCAP/gentoo-xccdf.xml | 20 +++++++++++++++++--- 3 files changed, 54 insertions(+), 3 deletions(-) diff --git a/xml/SCAP/Makefile b/xml/SCAP/Makefile index f0b8628..1a48ecf 100644 --- a/xml/SCAP/Makefile +++ b/xml/SCAP/Makefile @@ -28,6 +28,8 @@ prep: -cp -R bin/ ~/tmp/ -cp ~/tmp/gentoo-oval.xml ~/tmp/cpe-oval.xml -sed -i 's|gentoo-oval.xml|cpe-oval.xml|g' ~/tmp/gentoo-cpe.xml + -sed -i "s|@@VERSION@@|`date +%Y%m%d`|g" ~/tmp/gentoo-xccdf.xml + -sed -i "s|@@DATE@@|`date +%Y-%m-%d`|g" ~/tmp/gentoo-xccdf.xml upload: -pushd ~/tmp; scp gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml gentoo-ds.xml guide-gentoo-xccdf.html report-gentoo-oval.html report-gentoo-xccdf.html $(location)/; popd; diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml index a031348..7f6e674 100644 --- a/xml/SCAP/gentoo-oval.xml +++ b/xml/SCAP/gentoo-oval.xml @@ -547,6 +547,21 @@ + + + /proc is mounted with hidepid=1 or hidepid=2 + + Gentoo Linux + + + The /proc file system should be mounted with hidepid=1 or 2 so that other users' processes are not visible to non-authorized accounts. + + + + + + + @@ -824,6 +839,16 @@ + + + + + + + + @@ -944,6 +969,11 @@ 1 + + /proc + + @@ -1013,6 +1043,11 @@ (console|tty[[:digit:]]+) + + hidepid=[12] + + diff --git a/xml/SCAP/gentoo-xccdf.xml b/xml/SCAP/gentoo-xccdf.xml index 5fe590d..3c3afcd 100644 --- a/xml/SCAP/gentoo-xccdf.xml +++ b/xml/SCAP/gentoo-xccdf.xml @@ -1,13 +1,13 @@ - - draft + + draft Gentoo Security Benchmark This benchmarks helps people in improving their system configuration to be more resilient against attacks and vulnerabilities. - 20140326.1 + @@VERSION@@ @@ -101,6 +101,8 @@ + +