Langsung ke konten
Skillpedia
Keamanan29k Β· #9492

cloud-security

Fungsinya

Skill ini membuat agent meninjau pengaturan akun cloud Anda untuk kesalahan yang bisa membuka celah bagi penyerang. Skill ini untuk tim yang menjalankan aplikasi di AWS, Azure, atau Google Cloud dan ingin menangkap risiko sejak dini.

Kapan dipakai

  • βœ“Saat Anda ingin memeriksa akun cloud dari bucket penyimpanan publik.
  • βœ“Saat Anda curiga ada pengguna atau layanan yang punya akses lebih dari yang dibutuhkan.
  • βœ“Saat Anda ingin meninjau kode infrastruktur sebelum men-deploy-nya.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/cloud-security/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa akun AWS kami dari penyimpanan publik dan security group yang terbuka, lalu jelaskan apa yang harus diperbaiki.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent meninjau izin, paparan penyimpanan, aturan jaringan, dan kode infrastruktur. Agent lalu memetakan temuan ke kerangka MITRE ATT&CK dan menyarankan perbaikan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah ini untuk merespons serangan yang sedang berlangsung?

Tidak. Skill ini untuk menemukan kesalahan konfigurasi sebelum penyerang memakainya, bukan untuk menangani pelanggaran yang sedang aktif.

Penyedia cloud apa saja yang dicakup?

AWS, Azure, dan GCP.

Apakah skill ini juga memeriksa kode infrastruktur?

Ya. Skill ini meninjau file infrastructure-as-code untuk celah keamanan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
29k
Peringkat
#9492
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa