用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-compute-2-2-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-aws-compute-2.2.4 |
| description | Ensure unused EBS volumes are removed |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","ec2","ebs","volumes","unused","cleanup"] |
| cis_id | 2.2.4 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-2.2.1","cis-aws-compute-2.12"] |
| prerequisites | [] |
| severity_boost | {} |
Identify any unused Elastic Block Store (EBS) volumes in your AWS account and remove them.
Any Elastic Block Store volume created in your AWS account contains data, regardless of being used or not. If you have EBS volumes (other than root volumes) that are unattached to an EC2 instance they should be removed to prevent unauthorized access or data leak to any sensitive data on these volumes.
Once a EBS volume is deleted, the data will be lost. If this is data that you need to archive, create an encrypted EBS snapshot before deleting them.
aws ec2 describe-volumes --filter Name=status,Values=available --query "Volumes[*].{ID:VolumeId}"
Capture this list of volume names and refer to the remediation below.
Note: EBS volumes can be in different regions. Make sure to review all the regions being utilized.
Elastic Block Store, click Volumes.State column.Available.Volumes listed as Available can be deleted as that is the indication the volume is not attached to an instance.Capture this list of volume names and refer to the remediation below.
Note: EBS volumes can be in different regions. Make sure to review all the regions being utilized.
The CLI command should return an empty list, indicating no unattached EBS volumes exist. In the console, no volumes should be in the Available state.
Using the list of available volumes identified in the Audit above:
aws ec2 delete-volume --volume-id <vol-name>
Note: Using this command will not prompt you for confirmation. It will delete the volume and you will not be able to recover it. Please make sure you have the correct volume and that you have created a snapshot if it is something that needs to be archived.
Note: EBS volumes can be in different regions. Make sure to review all the regions being utilized.
Elastic Block Store, click Volumes.State column.Available.Actions, Delete volume, Yes, Delete.Note: EBS volumes can be in different regions. Make sure to review all the regions being utilized.
EBS volumes remain in the account after being detached from instances. AWS does not automatically clean up unused volumes.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 1.1 Establish and Maintain Detailed Enterprise Asset Inventory | x | x | x |
| v7 | 1.4 Maintain Detailed Asset Inventory | x | x | x |
Level 1 | Manual