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