update README-CN.md README.md for Debian12

This commit is contained in:
Samson-w 2023-06-17 16:22:37 +08:00
parent 195ec744e0
commit 76c9070615
2 changed files with 22 additions and 27 deletions

View File

@ -1,7 +1,7 @@
# harbian-audit审计与加固
## 简介
此项目是一个Debian GNU/Linux及CentOS 8发行版加固的审计工具。主要的测试环境是基于Debian GNU/Linux 9/10及CentOS 8其它版本未充分测试。此项目主要是针对的Debian GNU/Linux服务器版本对桌面版本的项没有实现。
此项目是一个Debian GNU/Linux及CentOS 8发行版加固的审计工具。主要的测试环境是基于Debian GNU/Linux 9/10/11/12及CentOS 8其它版本未充分测试。此项目主要是针对的Debian GNU/Linux服务器版本对桌面版本的项没有实现。
此项目的框架基于[OVH-debian-cis](https://github.com/ovh/debian-cis)根据Debian GNU/Linux 9的一些特性进行了优化并根据安全部署合规STIG[STIG Red_Hat_Enterprise_Linux_7_V2R5](redhat-STIG-DOCs/U_Red_Hat_Enterprise_Linux_7_V2R5_STIG.zip)及[STIG Ubuntu V1R2](https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Canonical_Ubuntu_16-04_LTS_V1R2_STIG.zip)及CIS[cisecurity.org](https://www.cisecurity.org/)进行了安全检查项的添加同时也根据HardenedLinux社区就具体生产环境添加了一些安全检查项的审计功能的实现。此项目不仅具有安全项的审计功能同时也有自动修改的功能。
审计功能的使用示例:
@ -17,12 +17,12 @@ hardening [INFO] Treating /home/test/harbian-audit/bin/hardening
[...]
################### SUMMARY ###################
Total Available Checks : 272
Total Runned Checks : 272
Total Passed Checks : [ 240/272 ]
Total Failed Checks : [ 32/272 ]
Total Available Checks : 268
Total Runned Checks : 268
Total Passed Checks : [ 224/268 ]
Total Failed Checks : [ 44/268 ]
Enabled Checks Percentage : 100.00 %
Conformity Percentage : 88.24 %
Conformity Percentage : 83.58 %
```
## 快速上手使用介绍
@ -46,12 +46,12 @@ hardening [INFO] Treating /home/test/harbian-audit/bin/hardening
1.1_install_updates [ OK ] Check Passed
[...]
################### SUMMARY ###################
Total Available Checks : 272
Total Runned Checks : 272
Total Passed Checks : [ 240/272 ]
Total Failed Checks : [ 32/272 ]
Total Available Checks : 268
Total Runned Checks : 268
Total Passed Checks : [ 224/268 ]
Total Failed Checks : [ 44/268 ]
Enabled Checks Percentage : 100.00 %
Conformity Percentage : 88.24 %
Conformity Percentage : 83.58 %
```
### 设置加固级别并进行自动修复
```

View File

@ -4,7 +4,7 @@
Hardened Debian GNU/Linux and CentOS 8 distro auditing.
The main test environment is in debian GNU/Linux 9/10/11 and CentOS 8, and other versions are not fully tested. There are no implementations of desktop related items in this release.
The main test environment is in debian GNU/Linux 9/10/11/12 and CentOS 8, and other versions are not fully tested. There are no implementations of desktop related items in this release.
The code framework is based on the [OVH-debian-cis](https://github.com/ovh/debian-cis) project, Modified some of the original implementations according to the features of Debian 9/10/11 and CentOS 8, added and implemented check items for [STIG Red_Hat_Enterprise_Linux_7_V2R5](https://github.com/hardenedlinux/STIG-OS-mirror/blob/master/redhat-STIG-DOCs/U_Red_Hat_Enterprise_Linux_7_V2R5_STIG.zip) [STIG Ubuntu V1R2](https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Canonical_Ubuntu_16-04_LTS_V1R2_STIG.zip) and [cisecurity.org](https://www.cisecurity.org/) recommendations, and also added and implemented some check items by the HardenedLinux community. The audit and apply functions of the infrastructure are implemented, and the automatic fix function is implemented for the items that can be automatically fixed.
@ -21,12 +21,12 @@ hardening [INFO] Treating /home/test/harbian-audit/bin/hardening
[...]
################### SUMMARY ###################
Total Available Checks : 272
Total Runned Checks : 272
Total Passed Checks : [ 240/272 ]
Total Failed Checks : [ 32/272 ]
Total Available Checks : 268
Total Runned Checks : 268
Total Passed Checks : [ 224/268 ]
Total Failed Checks : [ 44/268 ]
Enabled Checks Percentage : 100.00 %
Conformity Percentage : 88.24 %
Conformity Percentage : 83.58 %
```
## Quickstart
@ -46,12 +46,12 @@ hardening [INFO] Treating /home/test/harbian-audit/bin/hardening
1.1_install_updates [ OK ] Check Passed
[...]
################### SUMMARY ###################
Total Available Checks : 272
Total Runned Checks : 272
Total Passed Checks : [ 240/272 ]
Total Failed Checks : [ 32/272 ]
Total Available Checks : 268
Total Runned Checks : 268
Total Passed Checks : [ 224/268 ]
Total Failed Checks : [ 44/268 ]
Enabled Checks Percentage : 100.00 %
Conformity Percentage : 88.24 %
Conformity Percentage : 83.58 %
# bin/hardening.sh --set-hardening-level 5
# bin/hardening.sh --apply
hardening [INFO] Treating /home/test/harbian-audit/bin/hardening/1.1_install_updates.sh
@ -318,13 +318,8 @@ Additionally, quoting the License:
3-Clause BSD
## Reference
- **Center for Internet Security**: [https://www.cisecurity.org](https://www.cisecurity.org)
- **STIG V1R4**: [https://iasecontent.disa.mil/stigs/zip/U_Red_Hat_Enterprise_Linux_7_V1R4_STIG.zip](https://iasecontent.disa.mil/stigs/zip/U_Red_Hat_Enterprise_Linux_7_V1R4_STIG.zip)
- **Firewall Rules**: [https://github.com/citypw/arsenal-4-sec-testing/blob/master/bt5_firewall/debian_fw](https://github.com/citypw/arsenal-4-sec-testing/blob/master/bt5_firewall/debian_fw)