用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ubuntu1604-v200-5-4-1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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
正在显示 SKILL.md
基于 SOC 职业分类
| name | cis-ubuntu1604-v200-5-4-1 |
| description | Ensure password creation requirements are configured |
| category | cis-iam |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-16.04","authentication","pam"] |
| cis_id | 5.4.1 |
| cis_benchmark | CIS Ubuntu Linux 16.04 LTS Benchmark v2.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Profile Applicability:
Assessment Status: Automated
The pam_pwquality.so module checks the strength of passwords. It performs checks such as making sure a password is not a dictionary word, it is a certain length, contains a mix of characters (e.g. alphabet, numeric, other) and more. The following are definitions of the pam_pwquality.so options.
The following options are set in the /etc/security/pwquality.conf file:
Password Length:
minlen = 14 - password must be 14 characters or morePassword complexity:
minclass = 4 - The minimum number of required classes of characters for the new password (digits, uppercase, lowercase, others)OR
dcredit = -1 - provide at least one digitucredit = -1 - provide at least one uppercase characterocredit = -1 - provide at least one special characterlcredit = -1 - provide at least one lowercase characterThe following is set in the /etc/pam.d/common-password file:
retry=3 - Allow 3 tries before sending back a failure. The settings shown above are one possible policy. Alter these values to conform to your own organization's password policies.Strong passwords protect systems from being hacked through brute force methods.
Verify password creation requirements conform to organization policy. Run the following command to verify the minimum password length is 14 or more characters:
grep '^\s*minlen\s*' /etc/security/pwquality.conf
Expected output:
minlen = 14
Run one of the following commands to verify the required password complexity:
grep '^\s*minclass\s*' /etc/security/pwquality.conf
minclass = 4
OR
grep -E '^\s*[duol]credit\s*' /etc/security/pwquality.conf
Expected output:
dcredit = -1
ucredit = -1
lcredit = -1
ocredit = -1
Run the following command to verify the number of attempts allowed before sending back a failure are no more than 3:
grep -E '^\s*password\s+(requisite|required)\s+pam_pwquality\.so\s+(\S+\s+)*retry=[1-3]\s*(\s+\S+\s*)*(\s+#.*)?$' /etc/pam.d/common-password
Expected output:
password requisite pam_pwquality.so retry=3
Run the following command to install the pam_pwquality module:
apt install libpam-pwquality
Edit the file /etc/security/pwquality.conf and add or modify the following line for password length to conform to site policy:
minlen = 14
Edit the file /etc/security/pwquality.conf and add or modify the following line for password complexity to conform to site policy:
minclass = 4
OR
dcredit = -1
ucredit = -1
ocredit = -1
lcredit = -1
Edit the /etc/pam.d/common-password file to include the appropriate options for pam_pwquality.so and to conform to site policy:
password requisite pam_pwquality.so retry=3
Additional module options may be set, recommendation requirements only cover including try_first_pass and minlen set to 14 or more.
Settings in /etc/security/pwquality.conf must use spaces around the = symbol.
None
| Controls Version | Control |
|---|---|
| v7 | 4.4 Use Unique Passwords - Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |