emulating-cloud-attacks-with-stratus-red-team
Skill này làm gì
Công cụ này mô phỏng các cuộc tấn công thực tế trên đám mây (AWS, Azure, GCP, Kubernetes) để kiểm tra xem hệ thống bảo mật của bạn có hoạt động không. Nó thực hiện một đợt tấn công, kiểm tra xem phòng thủ có được kích hoạt không, rồi hoàn tác mọi thứ đã làm.
Khi nào nên dùng
- ✓Để kiểm tra xem một quy tắc bảo mật đám mây có gửi cảnh báo khi có tấn công thật không.
- ✓Để tạo các bài tập bảo mật lặp lại được mà không cần viết kịch bản tấn công phức tạp.
- ✓Để tạo dữ liệu tấn công thực tế và kiểm tra cách hệ thống giám sát (SIEM) nhận và xử lý dữ liệu đó.
Liên kết skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/emulating-cloud-attacks-with-stratus-red-team/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy mô phỏng một cuộc tấn công đánh cắp thông tin đăng nhập trên AWS và cho tôi biết có tạo ra cảnh báo không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ cài một chương trình biết cách thực hiện nhiều kiểu tấn công đám mây khác nhau. Bạn chọn kiểu tấn công, công cụ chuẩn bị môi trường, thực hiện tấn công, kiểm tra phòng thủ rồi dọn dẹp mọi thứ.
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.
Emulating Cloud Attacks with Stratus Red Team
Legal Notice: This skill is for authorized security testing and detection-validation purposes only. Stratus Red Team spins up and modifies real cloud infrastructure in the account whose credentials you supply. Only run it in accounts you own or are explicitly authorized to test. Always
cleanupafterwards to avoid orphaned, billable, or insecure resources. Unauthorized use against systems you do not control is illegal.
Overview
Stratus Red Team is an open-source "Atomic Red Team for the cloud," maintained by Datadog. It is a self-contained Go binary that programmatically detonates granular, well-documented offensive techniques against AWS, Azure, GCP, and Kubernetes, then lets you cleanly revert and remove everything it created. Unlike a full exploitation framework, Stratus is purpose-built for detection engineering and purple teaming: each technique maps to a MITRE ATT&CK tactic and ships with a precise description of the cloud API calls it generates, so a blue team can confirm whether their CloudTrail/GuardDuty/Sentinel/Falco detections actually fire.
Every technique has a deterministic lifecycle. Stratus first provisions any prerequisite infrastructure with embedded Terraform (the warmup phase), then performs the malicious actions (detonate), optionally reverts the side effects so you can detonate again, and finally cleanups the prerequisite infrastructure. Because the prerequisites and the attack are decoupled, you can iterate on a detection by detonating the same technique repeatedly without re-provisioning. The tool uses your standard cloud SDK credential chain (AWS profiles/env vars, az login, GCP ADC, kubeconfig), so it operates with exactly the permissions of the identity you authenticate as.
This skill covers installing Stratus, listing and filtering the technique catalog, running the full warmup-detonate-revert-cleanup lifecycle, mapping detonations to the telemetry they produce, and wiring the results into a detection-validation workflow. Source: github.com/DataDog/stratus-red-team and stratus-red-team.cloud official documentation.
When to Use
- Validating that a new or existing cloud detection rule (CloudTrail, GuardDuty, Microsoft Sentinel, GCP SCC, Falco) actually triggers on real attacker activity
- Building a repeatable purple-team exercise for cloud TTPs without writing bespoke attack scripts
- Generating realistic, MITRE-mapped telemetry to test SIEM ingestion and alert routing
- Measuring detection coverage of a cloud environment against a known catalog of techniques
- Onboarding analysts with safe, reversible hands-on cloud attack simulations
Prerequisites
- Stratus Red Team binary (Go 1.23+ to build from source, or Homebrew/Docker):
# Go install go install -v github.com/datadog/stratus-red-team/v2/cmd/stratus@latest # Homebrew brew tap datadog/stratus-red-team https://github.com/DataDog/stratus-red-team brew install datadog/stratus-red-team/stratus-red-team # Docker docker run --rm -v $HOME/.stratus-red-team/:/root/.stratus-red-team/ \ -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN \ ghcr.io/datadog/stratus-red-team list - Authenticated cloud credentials for the target provider:
# AWS — verify identity before detonating export AWS_PROFILE=stratus-lab aws sts get-caller-identity # Azure az login # GCP gcloud auth application-default login # Kubernetes kubectl config current-context - A dedicated, non-production lab account or subscription (techniques create real resources)
- Terraform is embedded; no separate install is required, but outbound HTTPS to download provider plugins on first warmup is needed
Objectives
- Install Stratus Red Team and confirm the target cloud identity
- Enumerate and filter techniques by platform and MITRE ATT&CK tactic
- Execute the warmup -> detonate -> revert -> cleanup lifecycle safely
- Map each detonation to the cloud API calls and log sources it generates
- Validate detection rules against the produced telemetry and track coverage
- Guarantee no residual infrastructure remains after testing
MITRE ATT&CK Mapping
| ID | Name | Use in this skill |
|---|---|---|
| T1078 | Valid Accounts | Emulation runs as a valid cloud identity; many techniques abuse legitimate credentials/API access |
…
Câu hỏi thường gặp
Tôi có cần cẩn thận khi dùng công cụ này không?
Có, rất cẩn thận. Công cụ thay đổi tài nguyên thực trong tài khoản đám mây của bạn. Chỉ dùng trên tài khoản bạn sở hữu hoặc được phép kiểm thử rõ ràng. Luôn dọn dẹp tài nguyên sau khi dùng để tránh phát sinh chi phí hoặc rủi ro bảo mật.
“Kỹ thuật” là gì?
Đó là những hành động cụ thể mà kẻ tấn công có thể thực hiện trên đám mây, như đánh cắp thông tin đăng nhập hoặc truy cập dữ liệu. Mỗi kỹ thuật được gắn với một mẫu tấn công đã biết (MITRE ATT&CK).
“Purple teaming” là gì?
Đó là bài tập bảo mật trong đó đội tấn công (red team) và đội phòng thủ (blue team) cùng làm việc. Công cụ này giúp mô phỏng tấn công để đội phòng thủ kiểm tra khả năng phát hiện của mình.
Chi tiết
Mô tả gốc của tác giả
Install and run Stratus Red Team to detonate granular, MITRE ATT&CK-mapped AWS, Azure, GCP, and Kubernetes attack techniques through their warmup-detonate-revert-cleanup lifecycle, then verify the telemetry they generate. Use to validate that cloud detections (CloudTrail, GuardDuty, Microsoft Sentinel, GCP SCC, Falco) actually fire, or to run a repeatable purple-team exercise generating realistic
Độ phổ biến
- Sao GitHub
- 35k
- Vị trí xếp hạng
- #7887
- Giấy phép
- Apache-2.0
- Cập nhật
- 31/8/2026
Bình luận
- …
Thêm skill từ kho mã này
abusing-dpapi-for-credential-access
35kCung cấp cho agent AI của bạn hướng dẫn có sẵn cho một tác vụ cụ thể, giúp nó làm việc tốt hơn và nhanh hơn.
abusing-shadow-credentials-for-privesc
35kDạy agent AI của bạn viết văn bản rõ ràng và có cấu trúc tốt.
achieving-cmmc-level-2-compliance
35kGiúp agent của bạn chuẩn bị môi trường để tuân thủ CMMC Level 2. Triển khai các yêu cầu bảo mật và quản lý tài liệu cần thiết.
acquiring-disk-image-with-dd-and-dcfldd
35kGiúp agent của bạn tạo bản sao chính xác của ổ đĩa. Cách này đảm bảo không mất hay thay đổi thông tin trong quá trình điều tra.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.