用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-compute-2-5命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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.5 |
| description | Ensure no AWS EC2 Instances are Older than 180 days |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","ec2","instance-age","lifecycle","patching"] |
| cis_id | 2.5 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-2.1.4","cis-aws-compute-2.11"] |
| prerequisites | [] |
| severity_boost | {} |
Identify any running AWS EC2 instances older than 180 days.
An EC2 instance is not supposed to run indefinitely and having instance older than 180 days can increase the risk of problems and issues.
Stopping and restarting instances will change the launch time and may cause temporary service disruption. Plan for maintenance windows when refreshing long-running instances.
aws ec2 describe-instances --region us-east-1 --output json --filters "Name=instance-state-code,Values=16" --query "Reservations[*].Instances[*].{Instance:InstanceId}"
[
[
{
"Instance": "i-1234567abcdefghi0"
}
],
[
{
"Instance": "i-1234567abcdefghi0"
}
]
]
aws ec2 describe-instances --region us-east-1 --instance-ids i-1234567abcdefghi0 --query "Reservations[*].Instances[*].LaunchTime"
"2021-06-11T15:04:52+00:00"
INSTANCES, click Instances.EC2 instance. The Instance State must be 'running'.Description tab.Launch time.instance active age.AWS regions and repeat the audit process.No running EC2 instance should have a LaunchTime older than 180 days.
No specific CLI remediation command is provided. Use the console method below.
INSTANCES, click Instances.EC2 instance identified above in the audit. The Instance State must be 'running'.Actions, click Instance State, click Stop.Confirm that the instance active age is now set to today's date and time.
AWS does not enforce any default age limit on running EC2 instances.
No specific references provided in the benchmark for this control.
| 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