用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-database-2-7命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
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 职业分类
| name | cis-aws-database-2.7 |
| description | Ensure Least Privilege Access |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","aurora","least-privilege","iam","polp","access-control"] |
| cis_id | 2.7 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-2.4","cis-aws-database-2.10"] |
| prerequisites | [] |
| severity_boost | {} |
Use the principle of least privilege when granting access to your Amazon Aurora resources. This principle of least privilege (POLP) is a computer security concept where users are given the minimum access levels necessary to complete their job functions.
In Amazon Aurora, this can be implemented at various levels, including AWS IAM for managing AWS resources and within the database for managing database users and roles.
Here is a step-by-step guide for each:
POLP limits the user interaction on the database, and it only gives the database permission to complete the necessary or mandatory task. AWS IAM gives permission for what the entity can and cannot do. Incorporating both POLP and AWS IAM in a database gives limited permission to the user to complete the tasks.
Users would need to create a IAM role to implement POLP into their database.
Sign in to AWS Management Console
Navigate to IAM Dashboard
Security, Identity, & Compliance category.Create a new IAM role or user
Roles or Users.Create role or Create user.Attach minimum necessary permissions
Log into your Aurora Database
Create a new user
For example:
CREATE USER '<username>'@'<localhost>' IDENTIFIED BY 'password';
For example:
GRANT SELECT, INSERT ON <mydb.mytbl> TO '<username>'@'<localhost>';
SHOW GRANTS FOR '<username>'@'<localhost>';
This is important because it reduces and secures any possible threat that an unauthorized user can gain by hacking into the system.
Follow the audit procedure steps above to implement least privilege access at both the AWS IAM level and within the Aurora database.
By default, newly created IAM users have no permissions. Database master users created during Aurora cluster setup have full administrative privileges.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 3.3 Configure Data Access Control Lists - Configure data access control lists based on a user's need to know. Apply data access control lists, also known as access permissions, to local and remote file systems, databases, and applications. | x | x | x |
| v7 | 14.6 Protect Information through Access Control Lists - Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. | x | x | x |
Level 1 | Manual