본문으로 건너뛰기
Skillpedia
보안29k · #9492

cloud-security

하는 일

이 스킬은 공격자가 침투할 수 있는 실수를 찾아 클라우드 계정 설정을 검토하게 합니다. AWS, Azure, Google Cloud에서 앱을 운영하며 위험을 일찍 잡으려는 팀을 위한 스킬입니다.

사용하는 경우

  • ✓클라우드 계정에 공개 스토리지 버킷이 있는지 확인하고 싶을 때.
  • ✓일부 사용자나 서비스가 필요 이상의 접근 권한을 가진 것 같을 때.
  • ✓배포 전에 인프라 코드를 검토하고 싶을 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/cloud-security/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/cloud-security/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AWS 계정의 공개 스토리지와 열린 보안 그룹을 점검하고, 무엇을 고쳐야 하는지 설명해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 권한, 스토리지 노출, 네트워크 규칙, 인프라 코드를 검토합니다. 그다음 발견 사항을 MITRE ATT&CK 프레임워크에 대응시키고 수정안을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Cloud Security

Cloud security posture assessment skill for detecting IAM privilege escalation, public storage exposure, network configuration risks, and infrastructure-as-code misconfigurations. This is NOT incident response for active cloud compromise (see incident-response) or application vulnerability scanning (see security-pen-testing) — this is about systematic cloud configuration analysis to prevent exploitation.


Table of Contents


Overview

What This Skill Does

This skill provides the methodology and tooling for cloud security posture management (CSPM) — systematically checking cloud configurations for misconfigurations that create exploitable attack surface. It covers IAM privilege escalation paths, storage public exposure, network over-permissioning, and infrastructure code security.

Distinction from Other Security Skills

Skill Focus Approach
cloud-security (this) Cloud configuration risk Preventive — assess before exploitation
incident-response Active cloud incidents Reactive — triage confirmed cloud compromise
threat-detection Behavioral anomalies Proactive — hunt for attacker activity in cloud logs
security-pen-testing Application vulnerabilities Offensive — actively exploit found weaknesses

Prerequisites

Read access to IAM policy documents, S3 bucket configurations, and security group rules in JSON format. For continuous monitoring, integrate with cloud provider APIs (AWS Config, Azure Policy, GCP Security Command Center).


Cloud Posture Check Tool

The cloud_posture_check.py tool runs three types of checks: iam (privilege escalation), s3 (public access), and sg (network exposure). It auto-detects the check type from the config file structure or accepts explicit --check flags.

# Analyze an IAM policy for privilege escalation paths
python3 scripts/cloud_posture_check.py policy.json --check iam --json

# Assess S3 bucket configuration for public access
python3 scripts/cloud_posture_check.py bucket_config.json --check s3 --json

# Check security group rules for open admin ports
python3 scripts/cloud_posture_check.py sg.json --check sg --json

# Run all checks with internet-facing severity bump
python3 scripts/cloud_posture_check.py config.json --check all \
  --provider aws --severity-modifier internet-facing --json

# Regulated data context (bumps severity by one level for all findings)
python3 scripts/cloud_posture_check.py config.json --check all \
  --severity-modifier regulated-data --json

# Pipe IAM policy from AWS CLI
aws iam get-policy-version --policy-arn arn:aws:iam::123456789012:policy/MyPolicy \
  --version-id v1 | jq '.PolicyVersion.Document' | \
  python3 scripts/cloud_posture_check.py - --check iam --json

Exit Codes

Code Meaning Required Action
0 No high/critical findings No action required
1 High-severity findings Remediate within 24 hours
2 Critical findings Remediate immediately — escalate to incident-response if active

IAM Policy Analysis

IAM analysis detects privilege escalation paths, overprivileged grants, public principal exposure, and data exfiltration risk.

Privilege Escalation Patterns

Pattern Severity Key Action Combination MITRE
Lambda PassRole escalation Critical iam:PassRole + lambda:CreateFunction T1078.004
EC2 instance profile abuse Critical iam:PassRole + ec2:RunInstances T1078.004
CloudFormation PassRole Critical iam:PassRole + cloudformation:CreateStack T1078.004
Self-attach policy escalation Critical iam:AttachUserPolicy + sts:GetCallerIdentity T1484.001
Inline policy self-escalation Critical iam:PutUserPolicy + sts:GetCallerIdentity T1484.001
Policy version backdoor Critical iam:CreatePolicyVersion + iam:ListPolicies T1484.001
Credential harvesting High iam:CreateAccessK
자주 묻는 질문

실제 공격에 대응하는 스킬인가요?

아닙니다. 공격자가 쓰기 전에 잘못된 설정을 찾는 용도이며, 진행 중인 침해를 처리하는 용도는 아닙니다.

어떤 클라우드 공급자를 다루나요?

AWS, Azure, GCP입니다.

인프라 코드도 점검하나요?

네. 코드형 인프라 파일을 검토해 보안 빈틈을 찾습니다.

상세 정보

작성자의 원본 설명

Use when checking AWS, Azure or GCP for security misconfigurations: IAM privilege escalation, public buckets, open security groups, IaC gaps. Runs cloud_posture_check.py and maps findings to MITRE ATT&CK.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9492
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬