跳到正文
Skillpedia
智能体35k · #7887

emulating-cloud-attacks-with-stratus-red-team

它能做什么

这个工具可以模拟真实的云端攻击(AWS、Azure、GCP、Kubernetes),以测试你的安全系统是否正常工作。它会执行一次攻击,检查防御是否被触发,然后撤销它所做的一切。

适用场景

  • ✓验证云安全规则在真实攻击发生时是否会触发告警。
  • ✓无需编写复杂的攻击脚本,就能进行可重复的安全演练。
  • ✓生成逼真的攻击数据,测试你的监控系统(SIEM)如何接收和处理这些数据。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/emulating-cloud-attacks-with-stratus-red-team/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/emulating-cloud-attacks-with-stratus-red-team/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在 AWS 上模拟一次凭证窃取攻击,并告诉我是否生成了告警。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会安装一个程序,它知道如何执行各种类型的云端攻击。你选择攻击类型,工具会准备环境、执行攻击、检查防御,然后清理所有内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 cleanup afterwards 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

…

常见问题

使用这个工具需要特别注意什么吗?

需要非常小心。它会修改你云账户中的真实资源。请只在你拥有或已获明确授权测试的账户中使用。使用完毕后务必清理资源,以免产生费用或留下安全隐患。

什么是“技术”(techniques)?

这些是攻击者在云端可能采取的具体行动,比如窃取凭证或访问数据。每种技术都对应到一个已知的攻击模式(MITRE ATT&CK)。

什么是“紫队”(purple teaming)?

这是一种安全演练,攻击团队(红队)与防御团队(蓝队)协同工作。这个工具可以模拟攻击,帮助防御团队测试他们的检测能力。

详情

作者的原始描述

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

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7887
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能