मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी35k · #7733

conducting-cloud-penetration-testing

यह क्या करती है

यह टूल क्लाउड एनवायरनमेंट (जैसे AWS, Azure, GCP) की सिक्योरिटी को अधिकृत तरीके से टेस्ट करने में मदद करता है। यह देखता है कि सिक्योरिटी कॉन्फ़िगरेशन सही है या नहीं, कहां कमजोरियां हैं जिनका हमलावर फायदा उठा सकता है, और इन नतीजों की रिपोर्ट कैसे बनानी है।

कब इस्तेमाल करें

  • ✓क्लाउड सिस्टम को प्रोडक्शन में लॉन्च करने से पहले।
  • ✓क्लाउड इंफ्रास्ट्रक्चर में बड़े बदलाव के बाद।
  • ✓हमलों की नकल करके यह जांचने के लिए कि इंसिडेंट रिस्पॉन्स कैसा है।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-cloud-penetration-testing/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-cloud-penetration-testing/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं अपनी एप्लिकेशन लॉन्च करने से पहले अपने AWS अकाउंट की सिक्योरिटी टेस्ट करना चाहता हूं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह टूल क्लाउड-स्पेसिफिक तरीकों और टूल्स का इस्तेमाल करके कमजोरियां ढूंढता है। यह एक्सेस परमिशन, नेटवर्क कॉन्फ़िगरेशन और दूसरी कमजोरियों की जांच करता है, और एक तय प्लान के हिसाब से काम करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Conducting Cloud Penetration Testing

When to Use

  • When performing authorized security assessments of cloud environments before production deployment
  • When validating cloud security controls after a major architectural change or migration
  • When compliance requirements mandate annual penetration testing of cloud infrastructure
  • When testing incident response readiness by simulating realistic cloud-based attack scenarios
  • When assessing lateral movement risk across multi-account or multi-cloud environments

Do not use for unauthorized testing against cloud accounts, for testing cloud provider infrastructure itself (covered by the shared responsibility model), or for DDoS simulation without explicit cloud provider approval.

Prerequisites

  • Written authorization from the cloud account owner and scope definition document
  • AWS, Azure, or GCP penetration testing policy acknowledgment (AWS no longer requires pre-approval for most services)
  • Isolated testing account or explicitly scoped production account with breakglass procedures
  • Cloud-specific offensive tooling installed: Pacu (AWS), ScoutSuite, Prowler, CloudFox
  • MITRE ATT&CK Cloud matrix for finding classification

Workflow

Step 1: Define Scope and Rules of Engagement

Establish testing boundaries based on the shared responsibility model. The customer is responsible for testing configurations, IAM policies, application security, and data protection. The cloud provider manages physical infrastructure, hypervisor, and managed service internals.

Cloud Penetration Test Scope Document
=======================================
Target: AWS Account 123456789012 (Production)
Testing Window: 2025-02-24 08:00 UTC to 2025-02-28 18:00 UTC
Authorization: Signed by CISO, dated 2025-02-20

IN SCOPE:
  - IAM users, roles, policies, and cross-account trust
  - EC2 instances, security groups, and network ACLs
  - S3 bucket policies and data access controls
  - Lambda functions, API Gateway endpoints
  - RDS/DynamoDB access controls and encryption
  - EKS cluster RBAC and network policies
  - CloudTrail, Config, and monitoring gaps

OUT OF SCOPE:
  - AWS managed service internals (RDS engine, Lambda runtime)
  - DDoS attacks or volumetric testing
  - Physical infrastructure or hypervisor attacks
  - Social engineering of AWS support

EMERGENCY CONTACT: security-ops@company.com, +1-555-0199

Step 2: Reconnaissance and Cloud Enumeration

Use cloud-specific tools to enumerate the attack surface: exposed services, public IPs, S3 buckets, IAM configurations, and metadata endpoints.

# ScoutSuite multi-cloud assessment
scout suite aws --profile target-account --report-dir ./scout-report

# Prowler comprehensive AWS security assessment
prowler aws -M json-ocsf -o ./prowler-output --profile target-account

# CloudFox for identifying privilege escalation paths
cloudfox aws --profile target-account all-checks

# Enumerate public S3 buckets
for bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do
  aws s3api get-bucket-policy-status --bucket $bucket 2>/dev/null | grep -q "true" && echo "PUBLIC: $bucket"
done

# Check for IMDS v1 (vulnerable to SSRF)
aws ec2 describe-instances \
  --query 'Reservations[*].Instances[*].[InstanceId,MetadataOptions.HttpTokens]' \
  --output table

Step 3: IAM Privilege Escalation Testing

Use Pacu to identify and exploit IAM misconfigurations that allow privilege escalation from a low-privilege starting point to administrative access.

# Initialize Pacu session
pacu

# Set stolen or test credentials
set_keys --key-alias test-creds

# Run IAM enumeration modules
run iam__enum_users_roles_policies_groups
run iam__enum_permissions

# Check for privilege escalation paths
run iam__privesc_scan

# Common escalation paths to test:
# 1. iam:CreatePolicyVersion - Create new policy version with admin access
# 2. iam:AttachUserPolicy - Attach AdministratorAccess to self
# 3. iam:PassRole + lambda:CreateFunction - Create Lambda with admin role
# 4. iam:PassRole + ec2:RunInstances - Launch EC2 with admin instance profile
# 5. sts:AssumeRole - Cross-account role assumption without MFA condition

Step 4: SSRF to Cloud Metadata Service Exploitation

Test web applications for Server-Side Request Forgery vulnerabilities that can reach the instance metadata service (IMDS) at 169.254.169.254 to steal IAM role credentials.

# Test for IMDS v1 access (no token required)

…
अक्सर पूछे जाने वाले सवाल

'शेयर्ड रिस्पॉन्सिबिलिटी मॉडल' क्या है?

यह एक समझौता है जो बताता है कि क्लाउड प्रोवाइडर (AWS, Azure, GCP) किन चीज़ों को संभालता है (जैसे डेटा सेंटर की फिजिकल सिक्योरिटी) और ग्राहक किन चीज़ों को संभालता है (जैसे उसके अकाउंट की सिक्योरिटी सेटिंग्स)।

क्या मैं इसका इस्तेमाल किसी भी क्लाउड अकाउंट पर कर सकता हूं?

नहीं, आप इस टूल का इस्तेमाल सिर्फ उन एनवायरनमेंट में कर सकते हैं जिनके लिए आपके पास अकाउंट मालिक की साफ़ और लिखित अनुमति हो।

कौन से टूल्स इस्तेमाल होते हैं?

Pacu, ScoutSuite और Prowler जैसे टूल्स आम तौर पर क्लाउड एनवायरनमेंट में कमजोरियां ढूंढने के काम को ऑटोमेट करने के लिए इस्तेमाल होते हैं।

जानकारी

लेखक का मूल विवरण

This skill outlines methodologies for performing authorized penetration testing against AWS, Azure, and GCP cloud environments. It covers understanding the shared responsibility model for testing scope, leveraging cloud-specific attack tools like Pacu and ScoutSuite, exploiting IAM misconfigurations, testing for SSRF to cloud metadata services, and reporting findings aligned to MITRE ATT&CK Cloud

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7733
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills