用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-apache24-5-9命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-apache24-5.9 |
| description | Ensure Old HTTP Protocol Versions Are Disallowed |
| category | cis-apache |
| version | 2.3.0 |
| author | cyberstrike-official |
| tags | ["cis","apache","linux","features","content","options"] |
| cis_id | 5.9 |
| cis_benchmark | CIS Apache HTTP Server 2.4 Benchmark v2.3.0 |
| tech_stack | ["linux","apache"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
The Apache modules mod_rewrite or mod_security can be used to disallow old and invalid HTTP protocols versions. The HTTP version 1.1 RFC is dated June 1999 and has been supported by Apache since version 1.2. It should no longer be necessary to allow ancient versions of HTTP such as 1.0 and prior.
Many malicious automated programs, vulnerability scanners and fingerprinting tools will send abnormal HTTP protocol versions to see how the web server responds. These requests are usually part of the attacker's enumeration process and therefore it is important that we respond by denying these requests.
Perform the following to determine if the recommended state is implemented:
RewriteEngine OnRewriteCond %{THE_REQUEST} !(HTTP/1\.1|HTTP/2\.0)$RewriteRule .* - [F]RewriteEngine OnRewriteOptions InheritPerform the following to implement the recommended state:
mod_rewrite module for Apache by doing either one of the following:
mod_rewrite statically loaded during the build, by adding the --enable-rewrite option to the ./configure script../configure --enable-rewrite.LoadModule directive in the httpd.conf configuration file.LoadModule rewrite_module modules/mod_rewrite.so# aa-enforce /usr/sbin/apache2# /etc/init.d/apparmor reloadThe default Apache profile is very permissive.
No external references provided in the PDF for this control.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 2.5 Allowlist Authorized Software Use technical controls, such as application allowlisting, to ensure that only authorized software can execute or be accessed. Reassess bi-annually, or more frequently. | ● | ● | |
| v7 | 2.7 Utilize Application Whitelisting Utilize application whitelisting technology on all assets to ensure that only authorized software executes and all unauthorized software is blocked from executing on assets. | ● |