用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ubuntu1804-v220-5-2-4-3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
macOS post-exploitation for credential harvesting, DTrace monitoring, TCC bypass, and stealth operations via native tools
Windows userland post-exploitation for credential harvesting, monitoring, AMSI/ETW bypass, and stealth operations
Kubernetes post-exploitation for container escape, secret extraction, RBAC abuse, and cluster persistence
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-ubuntu1804-v220-5-2-4-3 |
| description | null |
| version | 2.2.0 |
| category | cis-logging |
| tags | ["cis","ubuntu","linux","ubuntu-18.04","auditing","auditd"] |
| author | CIS Benchmarks |
| target | {"platform":"linux","version":"18.04"} |
| severity_boost | {} |
Audit log files contain information about the system and system activity.
Access to audit records can reveal system and configuration data to attackers, potentially compromising its confidentiality.
Run the following command to verify log_group parameter is set to either adm or root in /etc/audit/auditd.conf:
grep -Pws -- '^\h*log_group\h*=\h*\H+\b' /etc/audit/auditd.conf | grep -Pv -- '(adm|root)'
Expected result: Nothing should be returned
Using the path of the directory containing the audit logs, verify audit log files are owned by the "root" or "adm" group by running the following script:
#!/usr/bin/env bash
if [ -e /etc/audit/auditd.conf ]; then
l_fpath="$(dirname "$(awk -F "=" '/^\s*log_file/ {print $2}' /etc/audit/auditd.conf | xargs)")"
[ -d "$l_fpath" ] && find -L "$l_fpath" -type f \( ! -group root -a ! -group adm \) -exec ls -l {} + || echo "Pass"
fi
Expected result: Nothing should be returned
Run the following command to configure the audit log files to be group owned by adm:
find $(dirname $(awk -F"=" '/^\s*log_file/ {print $2}' /etc/audit/auditd.conf | xargs)) -type f \( ! -group root -a ! -group adm \) -exec chgrp adm {} +
Run the following command to set the log_group parameter in the audit configuration file to log_group = adm:
sed -ri 's/^\s*#?\s*log_group\s*=\s*\S+(\s*#.*)?$/log_group = adm\1/' /etc/audit/auditd.conf
Run the following command to restart the audit daemon to reload the configuration file:
systemctl restart auditd