From 6365f58b4c2034a60c2d679cf0f44300c2d14989 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Wed, 28 Aug 2019 17:26:27 +0200 Subject: [PATCH] Renumbering 4.x checks renamed: 4.1_restrict_core_dumps.sh -> 1.5.1_restrict_core_dumps.sh renamed: 4.2_enable_nx_support.sh -> 1.5.2_enable_nx_support.sh renamed: 4.3_enable_randomized_vm_placement.sh -> 1.5.3_enable_randomized_vm_placement.sh renamed: 4.4_disable_prelink.sh -> 1.5.4_disable_prelink.sh renamed: ../../tests/hardening/4.4_disable_prelink.sh -> ../../tests/hardening/1.5.1_restrict_core_dumps.sh renamed: ../../tests/hardening/4.3_enable_randomized_vm_placement.sh -> ../../tests/hardening/1.5.2_enable_nx_support.sh renamed: ../../tests/hardening/4.2_enable_nx_support.sh -> ../../tests/hardening/1.5.3_enable_randomized_vm_placement.sh renamed: ../../tests/hardening/4.1_restrict_core_dumps.sh -> ../../tests/hardening/1.5.4_disable_prelink.sh --- ...{4.1_restrict_core_dumps.sh => 1.5.1_restrict_core_dumps.sh} | 2 +- .../{4.2_enable_nx_support.sh => 1.5.2_enable_nx_support.sh} | 2 +- ..._vm_placement.sh => 1.5.3_enable_randomized_vm_placement.sh} | 2 +- .../{4.4_disable_prelink.sh => 1.5.4_disable_prelink.sh} | 2 +- ...{4.1_restrict_core_dumps.sh => 1.5.1_restrict_core_dumps.sh} | 0 .../{4.2_enable_nx_support.sh => 1.5.2_enable_nx_support.sh} | 0 ..._vm_placement.sh => 1.5.3_enable_randomized_vm_placement.sh} | 0 .../{4.4_disable_prelink.sh => 1.5.4_disable_prelink.sh} | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename bin/hardening/{4.1_restrict_core_dumps.sh => 1.5.1_restrict_core_dumps.sh} (98%) rename bin/hardening/{4.2_enable_nx_support.sh => 1.5.2_enable_nx_support.sh} (97%) rename bin/hardening/{4.3_enable_randomized_vm_placement.sh => 1.5.3_enable_randomized_vm_placement.sh} (96%) rename bin/hardening/{4.4_disable_prelink.sh => 1.5.4_disable_prelink.sh} (97%) rename tests/hardening/{4.1_restrict_core_dumps.sh => 1.5.1_restrict_core_dumps.sh} (100%) rename tests/hardening/{4.2_enable_nx_support.sh => 1.5.2_enable_nx_support.sh} (100%) rename tests/hardening/{4.3_enable_randomized_vm_placement.sh => 1.5.3_enable_randomized_vm_placement.sh} (100%) rename tests/hardening/{4.4_disable_prelink.sh => 1.5.4_disable_prelink.sh} (100%) diff --git a/bin/hardening/4.1_restrict_core_dumps.sh b/bin/hardening/1.5.1_restrict_core_dumps.sh similarity index 98% rename from bin/hardening/4.1_restrict_core_dumps.sh rename to bin/hardening/1.5.1_restrict_core_dumps.sh index 5c3026b..8fa7a07 100755 --- a/bin/hardening/4.1_restrict_core_dumps.sh +++ b/bin/hardening/1.5.1_restrict_core_dumps.sh @@ -5,7 +5,7 @@ # # -# 4.1 Restrict Core Dumps (Scored) +# 1.5.1 Ensure core dumps are restricted (Scored) # set -e # One error, it's over diff --git a/bin/hardening/4.2_enable_nx_support.sh b/bin/hardening/1.5.2_enable_nx_support.sh similarity index 97% rename from bin/hardening/4.2_enable_nx_support.sh rename to bin/hardening/1.5.2_enable_nx_support.sh index 0393a4d..576f417 100755 --- a/bin/hardening/4.2_enable_nx_support.sh +++ b/bin/hardening/1.5.2_enable_nx_support.sh @@ -5,7 +5,7 @@ # # -# 4.2 Enable XD/NX Support on 32-bit x86 Systems (Not Scored) +# 1.5.2 Ensure XD/NX support is enabled (Not Scored) # set -e # One error, it's over diff --git a/bin/hardening/4.3_enable_randomized_vm_placement.sh b/bin/hardening/1.5.3_enable_randomized_vm_placement.sh similarity index 96% rename from bin/hardening/4.3_enable_randomized_vm_placement.sh rename to bin/hardening/1.5.3_enable_randomized_vm_placement.sh index a7a566f..d45358a 100755 --- a/bin/hardening/4.3_enable_randomized_vm_placement.sh +++ b/bin/hardening/1.5.3_enable_randomized_vm_placement.sh @@ -5,7 +5,7 @@ # # -# 4.3 Enable Randomized Virtual Memory Region Placement (Scored) +# 1.5.3 Ensure address space layout randomization (ASLR) is enabled (Scored) # set -e # One error, it's over diff --git a/bin/hardening/4.4_disable_prelink.sh b/bin/hardening/1.5.4_disable_prelink.sh similarity index 97% rename from bin/hardening/4.4_disable_prelink.sh rename to bin/hardening/1.5.4_disable_prelink.sh index e46990b..7a4131a 100755 --- a/bin/hardening/4.4_disable_prelink.sh +++ b/bin/hardening/1.5.4_disable_prelink.sh @@ -5,7 +5,7 @@ # # -# 4.4 Disable Prelink (Scored) +# 1.5.4 Ensure prelink is disabled (Scored) # set -e # One error, it's over diff --git a/tests/hardening/4.1_restrict_core_dumps.sh b/tests/hardening/1.5.1_restrict_core_dumps.sh similarity index 100% rename from tests/hardening/4.1_restrict_core_dumps.sh rename to tests/hardening/1.5.1_restrict_core_dumps.sh diff --git a/tests/hardening/4.2_enable_nx_support.sh b/tests/hardening/1.5.2_enable_nx_support.sh similarity index 100% rename from tests/hardening/4.2_enable_nx_support.sh rename to tests/hardening/1.5.2_enable_nx_support.sh diff --git a/tests/hardening/4.3_enable_randomized_vm_placement.sh b/tests/hardening/1.5.3_enable_randomized_vm_placement.sh similarity index 100% rename from tests/hardening/4.3_enable_randomized_vm_placement.sh rename to tests/hardening/1.5.3_enable_randomized_vm_placement.sh diff --git a/tests/hardening/4.4_disable_prelink.sh b/tests/hardening/1.5.4_disable_prelink.sh similarity index 100% rename from tests/hardening/4.4_disable_prelink.sh rename to tests/hardening/1.5.4_disable_prelink.sh