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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Enumerate Storage Buckets — Use GCPBucketBrute with keyword permutations to discover accessible GCP storage buckets
- Test Bucket Permissions — Call TestIamPermissions API on each discovered bucket to determine read/write/admin access levels
- Audit IAM Bindings — Enumerate project-level IAM policies to identify overly permissive role bindings
- Check Service Account Keys — Identify service accounts with user-managed keys and test for privilege escalation via impersonation
- Test Privilege Escalation Paths — Check for iam.serviceAccounts.actAs, setIamPolicy, and other privilege escalation vectors
- 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 Cloud에 파일과 데이터를 저장할 수 있는 폴더나 저장 위치와 비슷합니다.
‘권한 상승(privilege escalation)’이란 무엇인가요?
권한이 제한된 사람이 허가 없이 더 높은 권한을 얻는 것을 말합니다. 승인 없이 마스터 키를 얻는 것과 비슷합니다.
이것을 사용하려면 기술 지식이 필요한가요?
보안 테스트 도구이므로 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.
인기도
- GitHub 스타
- 35k
- 순위
- #8234
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.