用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ocp-vm-v100-1-9命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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-ocp-vm-v100-1-9 |
| description | Ensure kubevirt cache directory permission is set to 755 or more restrictive (Automated) |
| category | cis-openshift-virtualization |
| version | 1.0 |
| author | cyberstrike-official |
| tags | ["cis","openshift","kubernetes","openshift-virtualization","kubevirt","vm","platform-configuration","file-permissions","virt-handler","cache-directory"] |
| cis_id | 1.9 |
| cis_benchmark | CIS Redhat OpenShift Virtual Machine Extension Benchmark v1.0.0 |
| tech_stack | ["kubernetes","openshift","openshift-virtualization","kubevirt"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Setting the kubevirt private directory to 755 or more restrictive limits access to security related administrative functionality to approved administrators.
This configuration ensures that the directory where virt-handler stores the virtual machine configuration for caching is restricted to administrators and Openshift Virtualization privileged node components.
None.
Directory permissions for the virt-handler pods, run the following command:
$ for pod in $(oc get po -n openshift-cnv -l kubevirt.io=virt-handler --no-headers -o custom-columns=":metadata.name"); do oc exec $pod -ti -n openshift-cnv -- stat -c %a /var/run/kubevirt-private ;done
Should return 755 or if the file doesn't exist then the corresponding feature gate is not enabled and this check can be safely ignored.
Update the permissions on each virt-handller using chmod:
$ oc exec <virt-handler-pod> -ti -n openshift-cnv -- chmod 755 /var/run/kubevirt-private
The default permissions of this directory are 755.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 3.3 Configure Data Access Control Lists | Y | Y | Y |
| v7 | 14.6 Protect Information through Access Control Lists | Y | Y | Y |
| Tactic | Technique |
|---|
| Privilege Escalation | T1068 Exploitation for Privilege Escalation |
| Defense Evasion | T1222 File and Directory Permissions Modification |