用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-euc-2-14命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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-aws-euc-2.14 |
| description | Ensure WorkSpaces that are not being utilized are removed |
| category | cis-end-user-compute |
| version | 1.2.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","end-user-compute","workspaces","resource-management","unused-resources"] |
| cis_id | 2.14 |
| cis_benchmark | CIS AWS End User Compute Services Benchmark v1.2.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Identify and remove any WorkSpace instances available within your AWS account that are not being utilized.
An AWS WorkSpaces instance is considered unused if has 0 (zero) known user connections registered within the past 30 days.
None
Perform the following to ensure WorkSpaces not being utilized have been removed.
If the User Last Active was registered more than 30 days ago (e.g. Feb 16, 2017 10:32:54 UTC), the selected WorkSpaces instance is not in use anymore and can be safely removed from your AWS account. Refer to the remediation procedure below.
aws workspaces describe-workspaces \
--region us-east-1 \
--output table \
--query 'Workspaces[*].WorkspaceId'
+-------------------+
|DescribeWorkspaces|
+-------------------+
| ws-7cgsl2k65 |
| ws-8d6il5kr3 |
| ws-2dtyllq47 |
+-------------------+
aws workspaces describe-workspaces-connection-status \
--region us-east-1 \
--workspace-ids ws-7cgsl2k65 \
--query \
'WorkspacesConnectionStatus[*].LastKnownUserConnectionTimestamp'
[
1489139777.721
]
date -d @1489139777.721
Fri Mar 10 09:56:17 UTC 2017
If the User last active date returned is more than 30 days ago, the selected WorkSpaces instance is not utilized anymore and can be safely removed from your AWS account. Refer to the remediation procedure below to remove the WorkSpaces.
All WorkSpaces instances have been accessed within the last 30 days.
Perform the following to remove unused WorkSpaces based on the output collected from the audit procedure.
Note that running this command does not prompt you to confirm that you are removing the correct WorkSpaces ID.
aws workspaces terminate-workspaces \
--region us-east-1 \
--terminate-workspace-requests ws-0cgsl1k23
By default, Workspaces are not deleted after a defined period of inactivity.
Controls Version v8:
Controls Version v7:
Level 1