Chuyển đến nội dung
Skillpedia
Agent35k · #7800

detecting-aws-iam-privilege-escalation

Skill này làm gì

Công cụ này tìm các cách kẻ tấn công có thể giành thêm quyền trong tài khoản Amazon Web Services (AWS) của bạn. Nó phân tích quyền hiện có để tìm các cấu hình nguy hiểm có thể bị khai thác.

Khi nào nên dùng

  • ✓Nếu bạn nghi ngờ có truy cập trái phép vào tài khoản AWS.
  • ✓Khi kiểm tra xem quyền AWS của bạn có an toàn không.
  • ✓Để tạo cảnh báo bảo mật về các nguy cơ xâm phạm tiềm ẩn.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-aws-iam-privilege-escalation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra các đường leo thang đặc quyền trong tài khoản AWS của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ tải thông tin quyền từ tài khoản AWS của bạn và tìm các tổ hợp hành động nguy hiểm. Nó xác định các chính sách quá dễ dãi và đề xuất cách sửa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

“Privilege escalation” là gì?

Đó là khi người có quyền hạn chế trong hệ thống giành được quyền cao hơn mức được phép, giống như một nhân viên thường vào được văn phòng của giám đốc.

Tôi có cần kiến thức kỹ thuật để dùng không?

Nên hiểu cơ bản về cách AWS hoạt động, nhưng công cụ được thiết kế để kết quả dễ hiểu nhất có thể.

“Policies” trong AWS là gì?

Policy là tập quy tắc xác định người dùng hoặc dịch vụ được và không được làm gì trong AWS.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7800
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự