Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8190

performing-aws-account-enumeration-with-scout-suite

Skill này làm gì

ScoutSuite kiểm tra tài khoản Amazon Web Services (AWS) của bạn để tìm cấu hình không an toàn. Nó tạo báo cáo HTML làm nổi bật những khu vực cần chú ý, như mật khẩu yếu hoặc dữ liệu bị phơi bày.

Khi nào nên dùng

  • ✓Khi kiểm tra bảo mật tài khoản AWS.
  • ✓Trong các đợt kiểm toán bảo mật đám mây.
  • ✓Khi kiểm tra xem các biện pháp kiểm soát bảo mật có hoạt động không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-aws-account-enumeration-with-scout-suite/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/performing-aws-account-enumeration-with-scout-suite/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

“Hãy kiểm tra bảo mật tài khoản AWS của tôi và cho tôi xem những vấn đề nằm ở đâu.”

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

Cách hoạt động

ScoutSuite kết nối với tài khoản AWS của bạn bằng thông tin đăng nhập chỉ đọc. Nó kiểm tra cấu hình của nhiều dịch vụ, xác định rủi ro và tạo báo cáo tương tác để bạn xem xét.

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.

Performing AWS Account Enumeration with ScoutSuite

Overview

ScoutSuite is an open-source multi-cloud security auditing tool developed by NCC Group that enables comprehensive security posture assessment of AWS environments. It queries AWS APIs to gather configuration data across all services, stores results locally, and generates interactive HTML reports highlighting high-risk areas. ScoutSuite is agentless and works by analyzing how cloud resources are configured, accessed, and monitored.

When to Use

  • When conducting security assessments that involve performing aws account enumeration with scout suite
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Python 3.6+ installed
  • AWS CLI configured with appropriate IAM credentials
  • Read-only IAM permissions across target AWS services (SecurityAudit managed policy recommended)
  • pip package manager for ScoutSuite installation
  • Network access to AWS API endpoints

Installation and Setup

Install ScoutSuite

pip install scoutsuite

Verify installation

scout --version

Configure AWS credentials

aws configure
# Or use environment variables:
export AWS_ACCESS_KEY_ID=<your-key>
export AWS_SECRET_ACCESS_KEY=<your-secret>
export AWS_DEFAULT_REGION=us-east-1

Required IAM Policy

Attach the AWS managed policy SecurityAudit and ViewOnlyAccess to the IAM user or role running ScoutSuite. For comprehensive scanning, a custom policy may be needed:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "acm:Describe*",
        "acm:List*",
        "cloudformation:Describe*",
        "cloudformation:Get*",
        "cloudformation:List*",
        "cloudtrail:Describe*",
        "cloudtrail:Get*",
        "cloudtrail:List*",
        "cloudwatch:Describe*",
        "cloudwatch:Get*",
        "cloudwatch:List*",
        "config:Describe*",
        "config:Get*",
        "config:List*",
        "dynamodb:Describe*",
        "dynamodb:List*",
        "ec2:Describe*",
        "ec2:Get*",
        "elasticloadbalancing:Describe*",
        "iam:Generate*",
        "iam:Get*",
        "iam:List*",
        "iam:Simulate*",
        "kms:Describe*",
        "kms:Get*",
        "kms:List*",
        "lambda:Get*",
        "lambda:List*",
        "logs:Describe*",
        "logs:Get*",
        "rds:Describe*",
        "rds:List*",
        "redshift:Describe*",
        "route53:Get*",
        "route53:List*",
        "s3:Get*",
        "s3:List*",
        "ses:Get*",
        "ses:List*",
        "sns:Get*",
        "sns:List*",
        "sqs:Get*",
        "sqs:List*",
        "ssm:Describe*",
        "ssm:Get*",
        "ssm:List*"
      ],
      "Resource": "*"
    }
  ]
}

Running ScoutSuite

Full AWS scan

scout aws

Scan specific services only

scout aws --services s3 iam ec2 rds

Scan specific regions

scout aws --regions us-east-1 us-west-2 eu-west-1

Use an assumed role for cross-account scanning

scout aws --profile target-account-profile

Exclude specific services from scan

scout aws --skip iam ec2

Specify output directory

scout aws --report-dir /tmp/scoutsuite-reports/

Report Analysis

ScoutSuite generates an interactive HTML report stored locally. The report includes:

  1. Dashboard: Overview of findings by severity (danger, warning, good)
  2. Service-level findings: Grouped by AWS service (IAM, S3, EC2, RDS, etc.)
  3. Rule-based checks: Each finding maps to a security best practice rule
  4. Resource inventory: Complete listing of enumerated resources

Key areas to review in the report

Service Critical Checks
IAM Root account MFA, password policy, unused credentials, overprivileged policies
S3 Public buckets, unencrypted buckets, versioning disabled, logging disabled
EC2 Security groups with 0.0.0.0/0, unencrypted EBS volumes, public IPs
RDS Public accessibility, unencrypted databases, backup retention
CloudTrail Logging disabled, log file validation, multi-region disabled
Lambda Public access, environment variable secrets, VPC configuration

Interpreting Findings

Severity Levels

…

Câu hỏi thường gặp

Tôi có cần cài đặt gì không?

Có. Bạn cần cài Python và dùng lệnh “pip install scoutsuite” để cài công cụ. Bạn cũng cần cấu hình thông tin đăng nhập AWS.

Cần những quyền nào?

Cần quyền chỉ đọc (xem) cho các dịch vụ AWS bạn muốn kiểm tra. Nên dùng chính sách được quản lý sẵn “SecurityAudit”.

Báo cáo hiển thị những gì?

Báo cáo HTML hiển thị tóm tắt các vấn đề được tìm thấy, nhóm theo dịch vụ (như S3, IAM, EC2), phân loại theo mức độ (nguy hiểm, cảnh báo, tốt) và chỉ ra những thực hành bảo mật nào chưa được tuân theo.

Chi tiết

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

Run the agentless, open-source ScoutSuite tool (via pip install and the `scout` CLI) against an AWS account to enumerate resources across services, identify misconfigurations, and generate an interactive HTML security report. Use when assessing an AWS account's overall security posture with read-only IAM credentials, such as during a cloud security audit or compliance review.

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8190
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ự