用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ubuntu1604-v200-2-1-1-4命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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-ubuntu1604-v200-2-1-1-4 |
| description | Ensure ntp is configured |
| category | cis-networking |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-16.04","services"] |
| cis_id | 2.1.1.4 |
| cis_benchmark | CIS Ubuntu Linux 16.04 LTS Benchmark v2.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
ntp is a daemon which implements the Network Time Protocol (NTP). It is designed to synchronize system clocks across a variety of systems and use a source that is highly accurate. More information on NTP can be found at http://www.ntp.org. ntp can be configured to be a client and/or a server.
Notes:
If ntp is in use on the system proper configuration is vital to ensuring time synchronization is working properly.
Verify that only one time synchronization method is in use on the system:
Run the following command to verify chrony is not in use on the system:
dpkg -s chrony | grep -E '(Status:|not installed)'
Run the following command to verify that systemd-timesyncd is not in use on the system:
systemctl is-enabled systemd-timesyncd
Verify that ntp is configured:
Run the following command and verify output matches:
grep "^restrict" /etc/ntp.conf
Run the following command and verify remote server is configured properly:
grep -E "^(server|pool)" /etc/ntp.conf
Verify that ntp is configured to run as the ntp user by running the following command and verifying output matches:
grep "RUNASUSER=ntp" /etc/init.d/ntp
dpkg-query: package 'chrony' is not installed and no information is availablemasked/etc/ntp.conf should contain: restrict -4 default kod nomodify notrap nopeer noquery and restrict -6 default kod nomodify notrap nopeer noquery-4 in the first line is optional and options after default can appear in any order. Additional restriction lines may existserver <remote-server>/etc/init.d/ntp should contain: RUNASUSER=ntpRemove and/or disable additional time synchronization methods:
Run the following command to remove chrony:
apt purge chrony
Run the following command to stop and mask systemd-timesyncd:
systemctl --now mask systemd-timesyncd
Configure ntp:
Add or edit restrict lines in /etc/ntp.conf to match the following:
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
Add or edit server or pool lines to /etc/ntp.conf as appropriate:
server <remote-server>
Configure ntp to run as the ntp user by adding or editing the /etc/init.d/ntp file:
RUNASUSER=ntp
ntp is not configured by default.