मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7800

detecting-aws-iam-privilege-escalation

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

यह टूल आपके Amazon Web Services (AWS) account में उन तरीकों को खोजता है जिनसे हमलावर ज़्यादा permissions हासिल कर सकता है। यह मौजूदा permissions का विश्लेषण करके ऐसी खतरनाक settings खोजता है जिनका फायदा उठाया जा सके।

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

  • ✓अगर आपको अपने AWS account में अनधिकृत access का शक हो।
  • ✓यह जांचने के लिए कि आपकी AWS permissions सुरक्षित हैं या नहीं।
  • ✓संभावित breaches के बारे में security alerts बनाने के लिए।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-aws-iam-privilege-escalation/SKILL.md

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

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

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

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

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

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

“मेरे AWS account में privilege escalation के रास्ते जांचो।”

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

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

यह टूल आपके AWS account की permission जानकारी डाउनलोड करता है और खतरनाक action combinations खोजता है। यह बहुत ज़्यादा खुली policies की पहचान करता है और उन्हें ठीक करने के तरीके सुझाता है।

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

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

Detecting AWS IAM Privilege Escalation

Overview

This skill uses boto3 and Cloudsplaining-style analysis to identify IAM privilege escalation paths in AWS accounts. It downloads the account authorization details, analyzes each policy for dangerous permission combinations (iam:PassRole + lambda:CreateFunction, iam:CreatePolicyVersion, sts:AssumeRole), and flags policies that violate least-privilege principles.

When to Use

  • When investigating security incidents that require detecting aws iam privilege escalation
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.8+ with boto3 library
  • AWS credentials with IAM read-only access (iam:GetAccountAuthorizationDetails)
  • Optional: cloudsplaining Python package for HTML report generation

Steps

  1. Download IAM Authorization Details — Call iam:GetAccountAuthorizationDetails to retrieve all users, groups, roles, and policies
  2. Analyze Policies for Privilege Escalation — Check each policy for known escalation permission combinations
  3. Identify Wildcard Resource Policies — Flag policies using Resource: "*" with dangerous actions
  4. Map Principal-to-Policy Relationships — Build a graph of which principals can access which escalation paths
  5. Score and Prioritize Findings — Rank findings by severity based on escalation vector type
  6. Generate Report — Produce structured JSON report with remediation guidance

Expected Output

  • JSON report of privilege escalation findings with severity scores
  • List of dangerous permission combinations per principal
  • Wildcard resource policy audit results
  • Remediation recommendations for each finding
अक्सर पूछे जाने वाले सवाल

'privilege escalation' क्या है?

जब किसी ऐसे व्यक्ति को, जिसके पास सीमित access है, उससे ज़्यादा permissions मिल जाती हैं, जैसे किसी साधारण कर्मचारी को CEO के ऑफिस तक पहुंच मिल जाए।

क्या इसे इस्तेमाल करने के लिए तकनीकी ज्ञान चाहिए?

AWS कैसे काम करता है, इसकी बुनियादी जानकारी उपयोगी है, लेकिन टूल नतीजों को यथासंभव आसानी से समझने लायक बनाने के लिए डिज़ाइन किया गया है।

AWS में 'policies' क्या हैं?

Policies नियमों के सेट हैं जो तय करते हैं कि कोई user या service AWS के अंदर क्या कर सकती है और क्या नहीं।

जानकारी

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

Detect AWS IAM privilege escalation paths using boto3 and Cloudsplaining policy analysis to identify overly permissive policies, dangerous permission combinations, and least-privilege violations

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

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