跳到正文
Skillpedia
测试35k · #8234

performing-gcp-penetration-testing-with-gcpbucketbrute

它能做什么

这个工具用于测试 Google Cloud 项目的安全性。它会查找可能被公开访问的“存储桶”(存储位置),检查访问权限是否过于宽松,并搜索暴露在外的服务账号密钥。

适用场景

  • ✓当你要测试 Google Cloud 项目的安全性时。
  • ✓当你要调查 Google Cloud 存储桶中可能存在的数据泄露时。
  • ✓当你要验证 Google Cloud 资源的访问权限设置是否正确时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-gcp-penetration-testing-with-gcpbucketbrute/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-gcp-penetration-testing-with-gcpbucketbrute/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“检查我的 Google Cloud 存储桶的安全性,并查找未经授权的访问。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具使用名为 GCPBucketBrute 的程序查找开放的存储桶,然后借助其他 Google Cloud 工具,查看谁有权访问它们,以及是否可能获得更多权限。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing GCP Penetration Testing with GCPBucketBrute

Overview

This skill covers Google Cloud Platform security testing using GCPBucketBrute for storage bucket enumeration and access permission testing, combined with gcloud CLI IAM enumeration to identify privilege escalation paths. The approach tests for publicly accessible buckets, overly permissive IAM bindings, and service account key exposure.

When to Use

  • When conducting security assessments that involve performing gcp penetration testing with gcpbucketbrute
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Python 3.8+ with google-cloud-storage library
  • GCPBucketBrute installed from RhinoSecurityLabs GitHub
  • gcloud CLI authenticated with test credentials
  • Authorized penetration testing scope for target GCP project
  • google-api-python-client and google-auth libraries

Steps

  1. Enumerate Storage Buckets — Use GCPBucketBrute with keyword permutations to discover accessible GCP storage buckets
  2. Test Bucket Permissions — Call TestIamPermissions API on each discovered bucket to determine read/write/admin access levels
  3. Audit IAM Bindings — Enumerate project-level IAM policies to identify overly permissive role bindings
  4. Check Service Account Keys — Identify service accounts with user-managed keys and test for privilege escalation via impersonation
  5. Test Privilege Escalation Paths — Check for iam.serviceAccounts.actAs, setIamPolicy, and other privilege escalation vectors
  6. Generate Findings Report — Produce a structured security assessment with risk severity ratings

Expected Output

  • JSON report of discovered buckets with permission levels
  • IAM privilege escalation path analysis
  • Service account security assessment
  • Risk-scored findings with remediation recommendations
常见问题

Google Cloud 中的“存储桶”是什么?

它们就像文件夹或存放位置,可以把文件和数据保存在 Google 的云端。

什么是“权限提升”?

指权限有限的人设法获得了本不应拥有的更高权限,就像未经授权拿到了总钥匙。

我需要有技术基础才能使用吗?

这是一个安全测试工具,最好对 Google Cloud 有一定了解。不过描述中已经用简单的方式解释了它的作用。

详情

作者的原始描述

Performs authorized GCP security testing using GCPBucketBrute to enumerate publicly accessible storage buckets, combined with gcloud CLI IAM enumeration to find privilege escalation paths and audit service account permissions. Use when penetration testing a GCP project for exposed buckets, overly permissive IAM bindings, or service account key exposure.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8234
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能