用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-storage-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-storage-2.4 |
| description | Ensure the creation of a new volume |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","ebs","encryption","kms","data-protection","delete-on-termination"] |
| cis_id | 2.4 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | ["CWE-311","CWE-404"] |
| chains_with | ["cis-aws-storage-2.3","cis-aws-storage-2.5"] |
| prerequisites | ["cis-aws-storage-2.1"] |
| severity_boost | {} |
Leave the root volume unchanged and create a new volume. To ensure the security of the instance and prevent data loss, select "no" under the "delete on termination" option and encrypt your volume using AWS KMS. A default key is available for encrypting the volume.
By leaving the root volume unchanged and creating a new volume, you separate critical data from the operating system. Selecting "no" for the "delete on termination" option ensures that data on the new volume is not automatically deleted when the instance is terminated, protecting against accidental data loss. Encrypting the volume using AWS KMS adds an additional layer of security, safeguarding the data against unauthorized access. The use of a default key for encryption simplifies the process while maintaining strong security measures.
Not following these steps can lead to data loss, security risks, operational disruptions, and prolonged recovery times. Setting "delete on termination" to "no" prevents data deletion upon instance termination, while encrypting the volume with AWS KMS protects against unauthorized access. Storing critical data separately from the root volume ensures operational continuity and easier recovery.
To audit this configuration in AWS, follow these steps:
Access the AWS Management Console
Review EBS Volumes
Check "Delete on Termination" Setting
Verify Encryption
Review IAM Policies
Use AWS Config
Generate Reports
# Check EBS volumes and their delete on termination status
aws ec2 describe-instances \
--query 'Reservations[].Instances[].[InstanceId,BlockDeviceMappings[]]' \
--output json
# Check for volumes with DeleteOnTermination=true
aws ec2 describe-instances \
--query 'Reservations[].Instances[].BlockDeviceMappings[?Ebs.DeleteOnTermination==`true`]' \
--output json
# Verify encryption status
aws ec2 describe-volumes \
--query 'Volumes[].[VolumeId,Encrypted,KmsKeyId]' \
--output table
# Check specific volume configuration
aws ec2 describe-volumes --volume-ids vol-xxxxxxxxx
Volume Configurations
Availability Zone Consistency
# Modify instance attribute to disable DeleteOnTermination
aws ec2 modify-instance-attribute \
--instance-id i-xxxxxxxxx \
--block-device-mappings '[{
"DeviceName": "/dev/sdf",
"Ebs": {
"DeleteOnTermination": false
}
}]'
# Create a new encrypted volume
aws ec2 create-volume \
--volume-type gp3 \
--size 100 \
--encrypted \
--kms-key-id arn:aws:kms:region:account:key/key-id \
--availability-zone us-east-1a
# Attach volume to instance
aws ec2 attach-volume \
--volume-id vol-xxxxxxxxx \
--instance-id i-xxxxxxxxx \
--device /dev/sdf
By default, root volumes have DeleteOnTermination set to true, while additional volumes have it set to false. Encryption is not enabled by default.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 4.2 Establish and Maintain a Secure Configuration Process for Network Infrastructure | ● | ● | ● |
| v7 | 11.1 Maintain Standard Security Configurations for Network Devices | ● | ● |