用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-storage-1-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-1.4 |
| description | Ensure to create AWS IAM Policies |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","backup","iam","iam-policy","access-control","least-privilege"] |
| cis_id | 1.4 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | ["CWE-284"] |
| chains_with | ["cis-aws-storage-1.2","cis-aws-storage-1.5","cis-aws-storage-1.6"] |
| prerequisites | ["cis-aws-storage-1.1"] |
| severity_boost | {} |
AWS IAM policies specify the desired permissions for accessing AWS resources and define the conditions under which those permissions are granted. Configure the appropriate policies to keep your resources secure.
Managing AWS IAM policies is crucial to safeguard your backups from unauthorized access, ensuring that only approved users can manipulate or view sensitive data.
Properly configured IAM policies implement the principle of least privilege, granting only the minimum permissions necessary for users and services to perform their designated tasks. This minimizes the risk of accidental or malicious data exposure and unauthorized backup modifications.
Not implementing proper IAM policies for AWS Backup can lead to:
To create a role for AWS Backup, follow these steps:
# List IAM policies related to backups
aws iam list-policies --scope Local | grep -i backup
# Get a specific policy document
aws iam get-policy --policy-arn <POLICY_ARN>
# Get policy version details
aws iam get-policy-version \
--policy-arn <POLICY_ARN> \
--version-id <VERSION_ID>
# List roles and their attached policies
aws iam list-roles | grep -i backup
# List policies attached to a specific role
aws iam list-attached-role-policies --role-name <ROLE_NAME>
Navigate to IAM Dashboard
Create Custom Policy
Example Policy Structure
Apply Policy to Roles/Users
# Create an IAM policy for backup operations
aws iam create-policy \
--policy-name BackupAdministratorPolicy \
--policy-document '{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"backup:CreateBackupPlan",
"backup:CreateBackupSelection",
"backup:StartBackupJob",
"backup:ListBackupPlans",
"backup:ListBackupVaults",
"backup:DescribeBackupVault"
],
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"backup:DeleteBackupPlan",
"backup:DeleteBackupVault"
],
"Resource": "*",
"Condition": {
"StringNotEquals": {
"aws:PrincipalArn": "arn:aws:iam::ACCOUNT:role/BackupAdministrator"
}
}
}
]
}'
# Attach policy to a role
aws iam attach-role-policy \
--role-name BackupServiceRole \
--policy-arn arn:aws:iam::ACCOUNT:policy/BackupAdministratorPolicy
AWS provides managed policies like AWSBackupServiceRolePolicyForBackup and AWSBackupServiceRolePolicyForRestores, but custom policies should be created for granular control.
Not mapped to specific CIS Controls v7 or v8 in the provided documentation.