[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADVZMP9VBN08GZZXJS2XX4":3,"skill-same:01M6ADVZMP9VBN08GZZXJS2XX4":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":73,"commitSha":74,"skillDirectory":75,"forksCount":76,"repositoryHtmlUrl":77,"repositoryHomepageUrl":78,"ownerHtmlUrl":79,"ownerBlogUrl":80,"ownerDescription":81,"updatedAt":82,"install":83,"resources":96},"01M6ADVZMP9VBN08GZZXJS2XX4","auditing-cloud-with-cis-benchmarks","云环境 CIS 基准安全审计","Audit AWS, Azure, and GCP environments against the CIS Foundations Benchmarks by running automated scans with tools like Prowler and ScoutSuite, interpreting failed controls, and tracking remediation for continuous compliance. Use when conducting a cloud security audit, validating CIS benchmark compliance (CIS v5 AWS, v4 Azure, v4 GCP), or setting up continuous cloud compliance monitoring.","依据 CIS 基础基准（CIS Foundations Benchmarks）审计 AWS、Azure 和 GCP 环境，通过 Prowler 和 ScoutSuite 等工具运行自动化扫描，解读未通过的控制项，并跟踪整改以实现持续合规。当进行云安全审计、验证 CIS 基准合规（CIS v5 AWS、v4 Azure、v4 GCP）或建立持续云合规监控时使用。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C664K3JQN4CNXKYKQEDRQK","云平台安全加固","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"auditing cloud with cis benchmarks","cloud","cloud security","security-hardening","prowler","compliance-assessment","cloud-audit","cis-benchmarks","aws","cloud-security","compliance","security","monitoring","audit","benchmark","assessment","pr","azure","cybersecurity","2026-11-10 10:12:30",false,"---\nname: auditing-cloud-with-cis-benchmarks\ndescription: Audit AWS, Azure, and GCP environments against the CIS Foundations Benchmarks by running automated scans with tools like Prowler and ScoutSuite, interpreting failed controls, and tracking remediation for continuous compliance. Use when conducting a cloud security audit, validating CIS benchmark compliance (CIS v5 AWS, v4 Azure, v4 GCP), or setting up continuous cloud compliance monitoring.\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cis-benchmarks\n- cloud-audit\n- compliance-assessment\n- prowler\n- security-hardening\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- GOVERN-1.1\n- GOVERN-4.2\n- MAP-2.3\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1098.003\n- T1685.002\n- T1580\n---\n\n# Auditing Cloud with CIS Benchmarks\n\n## When to Use\n\n- When performing initial security audits of cloud environments against industry-standard benchmarks\n- When preparing for SOC 2, ISO 27001, or regulatory audits that reference CIS controls\n- When establishing a measurable security baseline for new cloud accounts or subscriptions\n- When tracking compliance improvement over time with periodic reassessment\n- When evaluating the security posture of acquired or inherited cloud environments\n\n**Do not use** for runtime threat detection (see detecting-cloud-threats-with-guardduty), for application-level security testing (see conducting-cloud-penetration-testing), or for compliance frameworks not based on CIS (refer to specific regulatory skill files).\n\n## Prerequisites\n\n- Read-only access to target cloud accounts (AWS SecurityAudit policy, Azure Reader role, GCP Viewer role)\n- Prowler, ScoutSuite, or cloud-native CSPM tools installed and configured\n- Understanding of CIS benchmark structure: sections, controls, profiles (Level 1 and Level 2)\n- Remediation access for implementing fixes (separate from audit credentials)\n\n## Workflow\n\n### Step 1: Select Appropriate CIS Benchmark Version\n\nChoose the correct benchmark version for each cloud provider. Current versions as of 2025 include CIS AWS Foundations Benchmark v5.0, CIS Azure Foundations Benchmark v4.0, and CIS GCP Foundations Benchmark v4.0.\n\n```\nCIS Benchmark Coverage Areas:\n+-------------------+-------------------------+------------------------+\n| Section           | AWS v5.0                | Azure v4.0             |\n+-------------------+-------------------------+------------------------+\n| Identity & Access | IAM policies, MFA, root | Azure AD, RBAC, PIM    |\n| Logging           | CloudTrail, Config      | Activity Log, Diag     |\n| Monitoring        | CloudWatch alarms       | Defender, Sentinel     |\n| Networking        | VPC, SG, NACLs         | NSG, ASG, Firewall     |\n| Storage           | S3 encryption, access   | Storage encryption     |\n| Database          | RDS encryption          | SQL TDE, auditing      |\n+-------------------+-------------------------+------------------------+\n\nCIS Profile Levels:\n  Level 1: Practical security settings that can be implemented without significant\n           performance impact or reduced functionality\n  Level 2: Defense-in-depth settings that may reduce functionality or require\n           additional planning for implementation\n```\n\n### Step 2: Run Automated Assessment with Prowler\n\nExecute comprehensive CIS benchmark scans using Prowler for automated control evaluation across AWS, Azure, and GCP.\n\n```bash\n# AWS CIS v5.0 assessment\nprowler aws \\\n  --compliance cis_5.0_aws \\\n  --profile audit-account \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-$(date +%Y%m%d)\n\n# Azure CIS v4.0 assessment\nprowler azure \\\n  --compliance cis_4.0_azure \\\n  --subscription-ids \"sub-id-1,sub-id-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-azure-$(date +%Y%m%d)\n\n# GCP CIS v4.0 assessment\nprowler gcp \\\n  --compliance cis_4.0_gcp \\\n  --project-ids \"project-1,project-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-gcp-$(date +%Y%m%d)\n\n# Multi-account AWS scan using ScoutSuite\nscout suite aws \\\n  --profile audit-account \\\n  --report-dir .\u002Fscout-report \\\n  --ruleset cis-5.0 \\\n  --force\n```\n\n### Step 3: Interpret Results and Prioritize Remediation\n\nAnalyze audit results by section and severity. Prioritize Level 1 controls first as they represent fundamental security hygiene, then address Level 2 controls for defense in depth.\n\n```bash\n# Parse Prowler results for failed controls\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq '[.[] | select(.StatusExtended == \"FAIL\")] | group_by(.CheckID) |\n  map({control: .[0].CheckID, description: .[0].CheckTitle,\n  failed_resources: length, severity: .[0].Severity}) |\n  sort_by(-.failed_resources)'\n\n# Generate compliance score by section\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq 'group_by(.Section) | map({\n    section: .[0].Section,\n    total: length,\n    passed: [.[] | select(.StatusExtended == \"PASS\")] | length,\n    failed: [.[] | select(.StatusExtended == \"FAIL\")] | length,\n    score: (([.[] | select(.StatusExtended == \"PASS\")] | length) \u002F length * 100 | round)\n  })'\n```\n\n### Step 4: Remediate Critical and High Controls\n\nAddress failed controls starting with the highest impact items. Use AWS Config remediation, Azure Policy, or Terraform to apply fixes systematically.\n\n```bash\n# CIS 1.4: Ensure no root account access key exists\naws iam list-access-keys --user-name root\n# If keys exist, delete them\naws iam delete-access-key --user-name root --access-key-id AKIAEXAMPLE\n\n# CIS 2.1.1: Ensure S3 bucket default encryption is enabled\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  aws s3api put-bucket-encryption --bucket \"$bucket\" \\\n    --server-side-encryption-configuration '{\n      \"Rules\": [{\"ApplyServerSideEncryptionByDefault\": {\"SSEAlgorithm\": \"AES256\"}}]\n    }' 2>\u002Fdev\u002Fnull && echo \"Encrypted: $bucket\" || echo \"FAILED: $bucket\"\ndone\n\n# CIS 3.1: Ensure CloudTrail is enabled in all regions\naws cloudtrail create-trail \\\n  --name organization-trail \\\n  --s3-bucket-name cloudtrail-logs-bucket \\\n  --is-multi-region-trail \\\n  --enable-log-file-validation \\\n  --kms-key-id arn:aws:kms:us-east-1:123456789012:key\u002Fkey-id\n\naws cloudtrail start-logging --name organization-trail\n\n# CIS 4.x: Configure CloudWatch metric filters and alarms\naws logs put-metric-filter \\\n  --log-group-name CloudTrail\u002FDefaultLogGroup \\\n  --filter-name UnauthorizedAPICalls \\\n  --filter-pattern '{ ($.errorCode = \"*UnauthorizedAccess*\") || ($.errorCode = \"AccessDenied*\") }' \\\n  --metric-transformations metricName=UnauthorizedAPICalls,metricNamespace=CISBenchmark,metricValue=1\n```\n\n### Step 5: Establish Continuous Compliance Monitoring\n\nDeploy automated compliance monitoring to detect configuration drift between periodic audits. Use AWS Security Hub, Azure Policy, or GCP Security Command Center.\n\n```bash\n# AWS: Enable CIS v5.0 in Security Hub\naws securityhub batch-enable-standards \\\n  --standards-subscription-requests '[\n    {\"StandardsArn\": \"arn:aws:securityhub:::ruleset\u002Fcis-aws-foundations-benchmark\u002Fv\u002F5.0.0\"}\n  ]'\n\n# Azure: Assign CIS benchmark policy initiative\naz policy assignment create \\\n  --name cis-azure-benchmark \\\n  --scope \"\u002Fsubscriptions\u002F\u003Csub-id>\" \\\n  --policy-set-definition \"1a5bb27d-173f-493e-9568-eb56638dbd0e\" \\\n  --params '{\"effect\": {\"value\": \"AuditIfNotExists\"}}'\n\n# Schedule periodic Prowler assessments\n# Run weekly via cron or CI\u002FCD pipeline\n0 2 * * 1 prowler aws --compliance cis_5.0_aws --output-formats csv --output-directory \u002Fopt\u002Faudits\u002Fweekly-$(date +\\%Y\\%m\\%d)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| CIS Benchmark | Prescriptive security configuration guidelines developed by the Center for Internet Security through community consensus |\n| Level 1 Profile | Practical security controls implementable without significant performance or functionality impact, representing security hygiene |\n| Level 2 Profile | Defense-in-depth controls that may restrict functionality and require careful planning before implementation |\n| Foundations Benchmark | CIS benchmark specifically for cloud providers covering IAM, logging, monitoring, networking, and storage security |\n| Control ID | Unique numerical identifier for each CIS recommendation (e.g., 1.4 for root access key checks, 2.1.1 for S3 encryption) |\n| Compliance Score | Percentage of CIS controls in a passing state, tracked over time to measure security posture improvement |\n| Automated Assessment | Tool-driven evaluation of CIS controls using cloud provider APIs to check resource configurations against benchmark requirements |\n| Remediation Runbook | Documented step-by-step procedure for fixing a specific failed CIS control, including pre-checks and validation |\n\n## Tools & Systems\n\n- **Prowler**: Open-source cloud security tool performing 300+ checks including CIS benchmark assessments for AWS, Azure, and GCP\n- **ScoutSuite**: Multi-cloud security auditing tool with CIS benchmark rule sets generating HTML reports\n- **AWS Security Hub**: Native AWS service supporting CIS AWS Foundations Benchmark as a security standard\n- **Azure Policy**: Governance service with built-in CIS benchmark policy initiatives for automated compliance monitoring\n- **GCP Security Command Center**: Native GCP service evaluating configurations against CIS GCP Foundations Benchmark\n\n## Common Scenarios\n\n### Scenario: Pre-Audit CIS Assessment for SOC 2 Certification\n\n**Context**: A SaaS company pursuing SOC 2 Type II certification needs to demonstrate cloud security controls aligned to CIS benchmarks. The auditor requires evidence of continuous compliance monitoring across 45 AWS accounts.\n\n**Approach**:\n1. Run Prowler CIS v5.0 assessment across all 45 accounts to establish the baseline compliance score\n2. Export results to CSV and categorize failures by section (IAM, Logging, Monitoring, Networking)\n3. Map each CIS control to the relevant SOC 2 Trust Services Criteria (CC6.1, CC6.6, CC7.1, etc.)\n4. Remediate all Level 1 control failures within 30 days and Level 2 within 60 days\n5. Enable CIS v5.0 in AWS Security Hub for continuous monitoring and automated drift detection\n6. Generate weekly compliance reports showing improvement trajectory for the auditor\n7. Document exceptions for controls intentionally not implemented with risk acceptance justification\n\n**Pitfalls**: Remediating controls without testing in a staging environment first can break production workloads. Ignoring Level 2 controls entirely weakens the audit narrative even if they are not strictly required.\n\n## Output Format\n\n```\nCIS Benchmark Audit Report\n============================\nCloud Provider: AWS\nBenchmark Version: CIS AWS Foundations Benchmark v5.0\nAccounts Assessed: 45\nAssessment Date: 2025-02-23\nTool: Prowler v4.3.0\n\nOVERALL COMPLIANCE SCORE: 74%\n\nCOMPLIANCE BY SECTION:\n  1. Identity and Access Management:  68% (41\u002F60 controls passed)\n  2. Storage:                         82% (28\u002F34 controls passed)\n  3. Logging:                         91% (20\u002F22 controls passed)\n  4. Monitoring:                      55% (18\u002F33 controls passed)\n  5. Networking:                      78% (32\u002F41 controls passed)\n\nTOP FAILED CONTROLS (by affected accounts):\n  [1.4]   Root account has active access keys           - 3\u002F45 accounts\n  [1.5]   MFA not enabled for root account              - 2\u002F45 accounts\n  [2.1.1] S3 default encryption not enabled             - 12\u002F45 accounts\n  [3.1]   CloudTrail not multi-region                   - 8\u002F45 accounts\n  [4.3]   No alarm for root account usage               - 28\u002F45 accounts\n  [5.1]   VPC flow logs not enabled                     - 15\u002F45 accounts\n  [5.4]   Security groups allow 0.0.0.0\u002F0 ingress      - 22\u002F45 accounts\n\nREMEDIATION PRIORITY:\n  Critical (Fix within 7 days):  Root access keys, missing root MFA\n  High (Fix within 30 days):     S3 encryption, CloudTrail, VPC flow logs\n  Medium (Fix within 60 days):   CloudWatch alarms, security group restrictions\n  Low (Fix within 90 days):      Level 2 controls, informational items\n```\n","# Auditing Cloud with CIS Benchmarks\n\n## When to Use\n\n- When performing initial security audits of cloud environments against industry-standard benchmarks\n- When preparing for SOC 2, ISO 27001, or regulatory audits that reference CIS controls\n- When establishing a measurable security baseline for new cloud accounts or subscriptions\n- When tracking compliance improvement over time with periodic reassessment\n- When evaluating the security posture of acquired or inherited cloud environments\n\n**Do not use** for runtime threat detection (see detecting-cloud-threats-with-guardduty), for application-level security testing (see conducting-cloud-penetration-testing), or for compliance frameworks not based on CIS (refer to specific regulatory skill files).\n\n## Prerequisites\n\n- Read-only access to target cloud accounts (AWS SecurityAudit policy, Azure Reader role, GCP Viewer role)\n- Prowler, ScoutSuite, or cloud-native CSPM tools installed and configured\n- Understanding of CIS benchmark structure: sections, controls, profiles (Level 1 and Level 2)\n- Remediation access for implementing fixes (separate from audit credentials)\n\n## Workflow\n\n### Step 1: Select Appropriate CIS Benchmark Version\n\nChoose the correct benchmark version for each cloud provider. Current versions as of 2025 include CIS AWS Foundations Benchmark v5.0, CIS Azure Foundations Benchmark v4.0, and CIS GCP Foundations Benchmark v4.0.\n\n```\nCIS Benchmark Coverage Areas:\n+-------------------+-------------------------+------------------------+\n| Section           | AWS v5.0                | Azure v4.0             |\n+-------------------+-------------------------+------------------------+\n| Identity & Access | IAM policies, MFA, root | Azure AD, RBAC, PIM    |\n| Logging           | CloudTrail, Config      | Activity Log, Diag     |\n| Monitoring        | CloudWatch alarms       | Defender, Sentinel     |\n| Networking        | VPC, SG, NACLs         | NSG, ASG, Firewall     |\n| Storage           | S3 encryption, access   | Storage encryption     |\n| Database          | RDS encryption          | SQL TDE, auditing      |\n+-------------------+-------------------------+------------------------+\n\nCIS Profile Levels:\n  Level 1: Practical security settings that can be implemented without significant\n           performance impact or reduced functionality\n  Level 2: Defense-in-depth settings that may reduce functionality or require\n           additional planning for implementation\n```\n\n### Step 2: Run Automated Assessment with Prowler\n\nExecute comprehensive CIS benchmark scans using Prowler for automated control evaluation across AWS, Azure, and GCP.\n\n```bash\n# AWS CIS v5.0 assessment\nprowler aws \\\n  --compliance cis_5.0_aws \\\n  --profile audit-account \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-$(date +%Y%m%d)\n\n# Azure CIS v4.0 assessment\nprowler azure \\\n  --compliance cis_4.0_azure \\\n  --subscription-ids \"sub-id-1,sub-id-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-azure-$(date +%Y%m%d)\n\n# GCP CIS v4.0 assessment\nprowler gcp \\\n  --compliance cis_4.0_gcp \\\n  --project-ids \"project-1,project-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-gcp-$(date +%Y%m%d)\n\n# Multi-account AWS scan using ScoutSuite\nscout suite aws \\\n  --profile audit-account \\\n  --report-dir .\u002Fscout-report \\\n  --ruleset cis-5.0 \\\n  --force\n```\n\n### Step 3: Interpret Results and Prioritize Remediation\n\nAnalyze audit results by section and severity. Prioritize Level 1 controls first as they represent fundamental security hygiene, then address Level 2 controls for defense in depth.\n\n```bash\n# Parse Prowler results for failed controls\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq '[.[] | select(.StatusExtended == \"FAIL\")] | group_by(.CheckID) |\n  map({control: .[0].CheckID, description: .[0].CheckTitle,\n  failed_resources: length, severity: .[0].Severity}) |\n  sort_by(-.failed_resources)'\n\n# Generate compliance score by section\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq 'group_by(.Section) | map({\n    section: .[0].Section,\n    total: length,\n    passed: [.[] | select(.StatusExtended == \"PASS\")] | length,\n    failed: [.[] | select(.StatusExtended == \"FAIL\")] | length,\n    score: (([.[] | select(.StatusExtended == \"PASS\")] | length) \u002F length * 100 | round)\n  })'\n```\n\n### Step 4: Remediate Critical and High Controls\n\nAddress failed controls starting with the highest impact items. Use AWS Config remediation, Azure Policy, or Terraform to apply fixes systematically.\n\n```bash\n# CIS 1.4: Ensure no root account access key exists\naws iam list-access-keys --user-name root\n# If keys exist, delete them\naws iam delete-access-key --user-name root --access-key-id AKIAEXAMPLE\n\n# CIS 2.1.1: Ensure S3 bucket default encryption is enabled\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  aws s3api put-bucket-encryption --bucket \"$bucket\" \\\n    --server-side-encryption-configuration '{\n      \"Rules\": [{\"ApplyServerSideEncryptionByDefault\": {\"SSEAlgorithm\": \"AES256\"}}]\n    }' 2>\u002Fdev\u002Fnull && echo \"Encrypted: $bucket\" || echo \"FAILED: $bucket\"\ndone\n\n# CIS 3.1: Ensure CloudTrail is enabled in all regions\naws cloudtrail create-trail \\\n  --name organization-trail \\\n  --s3-bucket-name cloudtrail-logs-bucket \\\n  --is-multi-region-trail \\\n  --enable-log-file-validation \\\n  --kms-key-id arn:aws:kms:us-east-1:123456789012:key\u002Fkey-id\n\naws cloudtrail start-logging --name organization-trail\n\n# CIS 4.x: Configure CloudWatch metric filters and alarms\naws logs put-metric-filter \\\n  --log-group-name CloudTrail\u002FDefaultLogGroup \\\n  --filter-name UnauthorizedAPICalls \\\n  --filter-pattern '{ ($.errorCode = \"*UnauthorizedAccess*\") || ($.errorCode = \"AccessDenied*\") }' \\\n  --metric-transformations metricName=UnauthorizedAPICalls,metricNamespace=CISBenchmark,metricValue=1\n```\n\n### Step 5: Establish Continuous Compliance Monitoring\n\nDeploy automated compliance monitoring to detect configuration drift between periodic audits. Use AWS Security Hub, Azure Policy, or GCP Security Command Center.\n\n```bash\n# AWS: Enable CIS v5.0 in Security Hub\naws securityhub batch-enable-standards \\\n  --standards-subscription-requests '[\n    {\"StandardsArn\": \"arn:aws:securityhub:::ruleset\u002Fcis-aws-foundations-benchmark\u002Fv\u002F5.0.0\"}\n  ]'\n\n# Azure: Assign CIS benchmark policy initiative\naz policy assignment create \\\n  --name cis-azure-benchmark \\\n  --scope \"\u002Fsubscriptions\u002F\u003Csub-id>\" \\\n  --policy-set-definition \"1a5bb27d-173f-493e-9568-eb56638dbd0e\" \\\n  --params '{\"effect\": {\"value\": \"AuditIfNotExists\"}}'\n\n# Schedule periodic Prowler assessments\n# Run weekly via cron or CI\u002FCD pipeline\n0 2 * * 1 prowler aws --compliance cis_5.0_aws --output-formats csv --output-directory \u002Fopt\u002Faudits\u002Fweekly-$(date +\\%Y\\%m\\%d)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| CIS Benchmark | Prescriptive security configuration guidelines developed by the Center for Internet Security through community consensus |\n| Level 1 Profile | Practical security controls implementable without significant performance or functionality impact, representing security hygiene |\n| Level 2 Profile | Defense-in-depth controls that may restrict functionality and require careful planning before implementation |\n| Foundations Benchmark | CIS benchmark specifically for cloud providers covering IAM, logging, monitoring, networking, and storage security |\n| Control ID | Unique numerical identifier for each CIS recommendation (e.g., 1.4 for root access key checks, 2.1.1 for S3 encryption) |\n| Compliance Score | Percentage of CIS controls in a passing state, tracked over time to measure security posture improvement |\n| Automated Assessment | Tool-driven evaluation of CIS controls using cloud provider APIs to check resource configurations against benchmark requirements |\n| Remediation Runbook | Documented step-by-step procedure for fixing a specific failed CIS control, including pre-checks and validation |\n\n## Tools & Systems\n\n- **Prowler**: Open-source cloud security tool performing 300+ checks including CIS benchmark assessments for AWS, Azure, and GCP\n- **ScoutSuite**: Multi-cloud security auditing tool with CIS benchmark rule sets generating HTML reports\n- **AWS Security Hub**: Native AWS service supporting CIS AWS Foundations Benchmark as a security standard\n- **Azure Policy**: Governance service with built-in CIS benchmark policy initiatives for automated compliance monitoring\n- **GCP Security Command Center**: Native GCP service evaluating configurations against CIS GCP Foundations Benchmark\n\n## Common Scenarios\n\n### Scenario: Pre-Audit CIS Assessment for SOC 2 Certification\n\n**Context**: A SaaS company pursuing SOC 2 Type II certification needs to demonstrate cloud security controls aligned to CIS benchmarks. The auditor requires evidence of continuous compliance monitoring across 45 AWS accounts.\n\n**Approach**:\n1. Run Prowler CIS v5.0 assessment across all 45 accounts to establish the baseline compliance score\n2. Export results to CSV and categorize failures by section (IAM, Logging, Monitoring, Networking)\n3. Map each CIS control to the relevant SOC 2 Trust Services Criteria (CC6.1, CC6.6, CC7.1, etc.)\n4. Remediate all Level 1 control failures within 30 days and Level 2 within 60 days\n5. Enable CIS v5.0 in AWS Security Hub for continuous monitoring and automated drift detection\n6. Generate weekly compliance reports showing improvement trajectory for the auditor\n7. Document exceptions for controls intentionally not implemented with risk acceptance justification\n\n**Pitfalls**: Remediating controls without testing in a staging environment first can break production workloads. Ignoring Level 2 controls entirely weakens the audit narrative even if they are not strictly required.\n\n## Output Format\n\n```\nCIS Benchmark Audit Report\n============================\nCloud Provider: AWS\nBenchmark Version: CIS AWS Foundations Benchmark v5.0\nAccounts Assessed: 45\nAssessment Date: 2025-02-23\nTool: Prowler v4.3.0\n\nOVERALL COMPLIANCE SCORE: 74%\n\nCOMPLIANCE BY SECTION:\n  1. Identity and Access Management:  68% (41\u002F60 controls passed)\n  2. Storage:                         82% (28\u002F34 controls passed)\n  3. Logging:                         91% (20\u002F22 controls passed)\n  4. Monitoring:                      55% (18\u002F33 controls passed)\n  5. Networking:                      78% (32\u002F41 controls passed)\n\nTOP FAILED CONTROLS (by affected accounts):\n  [1.4]   Root account has active access keys           - 3\u002F45 accounts\n  [1.5]   MFA not enabled for root account              - 2\u002F45 accounts\n  [2.1.1] S3 default encryption not enabled             - 12\u002F45 accounts\n  [3.1]   CloudTrail not multi-region                   - 8\u002F45 accounts\n  [4.3]   No alarm for root account usage               - 28\u002F45 accounts\n  [5.1]   VPC flow logs not enabled                     - 15\u002F45 accounts\n  [5.4]   Security groups allow 0.0.0.0\u002F0 ingress      - 22\u002F45 accounts\n\nREMEDIATION PRIORITY:\n  Critical (Fix within 7 days):  Root access keys, missing root MFA\n  High (Fix within 30 days):     S3 encryption, CloudTrail, VPC flow logs\n  Medium (Fix within 60 days):   CloudWatch alarms, security group restrictions\n  Low (Fix within 90 days):      Level 2 controls, informational items\n```\n",{"name":5,"tags":55,"author":56,"domain":49,"license":16,"version":57,"nist_csf":58,"subdomain":40,"description":7,"nist_ai_rmf":63,"mitre_attack":67},[38,37,36,35,34],"mahipal","1.0.0",[59,60,61,62],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01",[64,65,66],"GOVERN-1.1","GOVERN-4.2","MAP-2.3",[68,69,70,71,72],"T1078.004","T1530","T1098.003","T1685.002","T1580","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fauditing-cloud-with-cis-benchmarks",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":84,"prompt":94,"zipAvailable":95},[85,88,91],{"tool":86,"command":87},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill auditing-cloud-with-cis-benchmarks",{"tool":89,"command":90},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill auditing-cloud-with-cis-benchmarks",{"tool":92,"command":93},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill auditing-cloud-with-cis-benchmarks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FSKILL.md",true,[97,102,108,114,118,122,126,130,134,138],{"path":98,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FLICENSE",{"path":103,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fapi-reference.md","REFERENCE","参考文档",1956,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002Freferences\u002Fapi-reference.md",{"path":109,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fagent.py","SCRIPT","脚本",6392,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002Fscripts\u002Fagent.py",{"path":115,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002Fgate_compare.py",8337,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Fscripts\u002Fgate_compare.py",{"path":119,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":120,"sourceHtmlUrl":121},"scripts\u002Fgate_ptq.py",14298,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Fscripts\u002Fgate_ptq.py",{"path":123,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Fgate_run.py",5825,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Fscripts\u002Fgate_run.py",{"path":127,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":128,"sourceHtmlUrl":129},"scripts\u002Fgate_verbosity.py",22981,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Fscripts\u002Fgate_verbosity.py",{"path":131,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":132,"sourceHtmlUrl":133},"tests\u002Fevals.json",6612,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Ftests\u002Fevals.json",{"path":135,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":136,"sourceHtmlUrl":137},"tests\u002Ftest_agent_definitions.py",3668,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Ftests\u002Ftest_agent_definitions.py",{"path":139,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":140,"sourceHtmlUrl":141},"tests\u002Ftest_gates.py",33430,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fplugins\u002Fmodelopt\u002Fskills\u002Fday0-release\u002Ftests\u002Ftest_gates.py",[143,173,202,233,264,296],{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":50},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[156,157,158,159,42,49,160,161,47,162,163,164,165,166,167,168,169,170,171,172],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":185,"publishedAt":50},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[181,182],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":183,"categoryName":184,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[186,169,187,188,42,189,49,47,190,191,192,193,194,195,196,197,198,199,200,201],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":203,"name":204,"nameZh":205,"description":206,"descriptionZh":207,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":208,"categories":209,"keywords":216,"publishedAt":50},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[210,213],{"categoryNo":211,"categoryName":212,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":214,"categoryName":215,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[196,217,218,219,220,49,221,222,190,41,223,224,225,226,227,228,229,230,231,232],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":234,"name":235,"nameZh":236,"description":237,"descriptionZh":238,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":239,"categories":240,"keywords":245,"publishedAt":50},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[241,242],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[246,247,248,49,249,250,251,252,253,254,255,256,257,258,259,260,193,261,262,263],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":265,"name":266,"nameZh":267,"description":268,"descriptionZh":269,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":270,"categories":271,"keywords":276,"publishedAt":50},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[272,275],{"categoryNo":273,"categoryName":274,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[277,278,279,49,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":297,"name":298,"nameZh":299,"description":300,"descriptionZh":301,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":302,"categories":303,"keywords":308,"publishedAt":50},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[304,305],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":306,"categoryName":307,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[42,309,49,310,311,312,313,314,315,316,317,228,318,229,319,320,321,322,323,324],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]