用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-apache24-5-3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-apache24-5.3 |
| description | Ensure Options for Other Directories Are Minimized |
| category | cis-apache |
| version | 2.3.0 |
| author | cyberstrike-official |
| tags | ["cis","apache","linux","features","content","options"] |
| cis_id | 5.3 |
| 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 Options directive allows for specific configuration of options, including execution of CGI, following symbolic links, server side includes, and content negotiation.
Likewise, the options for other directories and hosts needs to be restricted to the minimal options required. A setting of None is recommended, however it is recognized that other options may be needed in some cases:
cgi-bin/ directory. That way you will know what is executed on the server. It is possible to enable CGI script control and management by file extension or permission settings, however this makes script control and management almost impossible as developers may install scripts without your knowledge. This may become a hosting environment.SymLinksIfOwnerMatch is much safer in that the ownership must match in order for the link to be used, however keep in mind there is additional overhead created by requiring Apache to check the ownership.IncludesNOEXEC option should only be needed when server side includes are required. The full Includes option should not be used as it also allows execution of arbitrary shell commands. See Apache Mod Include for details https://httpd.apache.org/docs/2.4/mod/mod_include.htmlIndexes option causes automatic generation of indexes, if the default index page is missing, and should be disabled unless required.Perform the following to determine if the recommended state is implemented:
httpd.conf and any included configuration files) to find all elements.DirectoryOptions directives do not enable Includes.The following may be useful for extracting Directory elements from the Apache configuration for auditing.
perl -ne 'print if /^ *<Directory */\/i .. /<\/Directory>/i'
$APACHE_PREFIX/conf/httpd.conf
or
grep -i -A 12 '<Directory[[:space:]|]' $APACHE_PREFIX/conf/httpd.conf
Perform the following to implement the recommended state:
httpd.conf and any included configuration files) to find all <Directory> elements.Options directive to NOT have a value of Includes. Other options may be set if necessary and appropriate as described above.Controls Version: v8
Controls Version: v7