Skip to content

Commit

Permalink
update README-CN.md README.md for Debian12
Browse files Browse the repository at this point in the history
  • Loading branch information
Samson-W committed Jun 17, 2023
1 parent 195ec74 commit 76c9070
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
22 changes: 11 additions & 11 deletions README-CN.md
Original file line number Diff line number Diff line change
@@ -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社区就具体生产环境添加了一些安全检查项的审计功能的实现。此项目不仅具有安全项的审计功能,同时也有自动修改的功能。

审计功能的使用示例:
Expand All @@ -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 %
```
## 快速上手使用介绍

Expand All @@ -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 %
```
### 设置加固级别并进行自动修复
```
Expand Down
27 changes: 11 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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)




0 comments on commit 76c9070

Please sign in to comment.