跳到正文
Skillpedia
安全35k · #8116

implementing-security-chaos-engineering

它能做什么

这个工具可以模拟安全控制措施的故障,用来测试你的检测和响应系统能否正常工作。它会有意禁用或削弱某些安全措施,检查是否能发现问题,以及响应是否及时。

适用场景

  • ✓当你想测试安全系统能否检测到攻击时。
  • ✓当你做了改动后,想验证防御措施是否仍然有效时。
  • ✓当你想确认安全告警能够正常触发时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-security-chaos-engineering/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“模拟关闭日志监控,看看我们会不会收到告警。”

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

工作原理

这个工具会运行一些实验,有意“破坏”安全控制措施。例如,它可能临时打开一个网络端口,或者关闭活动日志,然后检查监控和告警系统能否及时发现问题并作出响应。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implementing Security Chaos Engineering

When to Use

  • When deploying or configuring implementing security chaos engineering capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Design and execute security chaos experiments that intentionally break security controls to verify that detection, alerting, and response systems work correctly.

# Example: Verify detection when a security group is opened
import boto3
ec2 = boto3.client("ec2")

# Chaos experiment: temporarily add 0.0.0.0/0 rule
ec2.authorize_security_group_ingress(
    GroupId="sg-12345",
    IpProtocol="tcp", FromPort=22, ToPort=22,
    CidrIp="0.0.0.0/0",
)
# Verify: does GuardDuty/Config alert fire within SLA?
# Rollback: remove the rule after verification

Key experiments:

  1. Open a security group and verify Config Rule alerts
  2. Disable CloudTrail and verify detection time
  3. Create IAM admin user and verify alert triggers
  4. Simulate log pipeline failure and check monitoring gaps
  5. Deploy test malware hash and verify EDR response

Examples

# Rollback function for safe experiment execution
def run_experiment(setup_fn, verify_fn, rollback_fn, timeout=300):
    try:
        setup_fn()
        result = verify_fn(timeout)
    finally:
        rollback_fn()
    return result
常见问题

使用这个工具需要会编程吗?

你不需要是经验丰富的程序员,但了解一些安全知识和云系统的基本原理会很有帮助。

这会对我的系统造成真正的问题吗?

这个工具设计用于测试或实验环境,以避免造成损害。运行测试前,一定要获得授权,并且务必谨慎操作。

它能模拟哪些类型的故障?

它可以模拟开放安全端口、关闭审计日志(CloudTrail)、创建管理员用户,以及日志处理流水线出现故障等情况。

详情

作者的原始描述

Implements security chaos engineering experiments that deliberately disable or degrade security controls to verify detection and response capabilities. Tests WAF bypass, firewall rule removal, log pipeline disruption, and EDR disablement scenarios using boto3 and subprocess. Use when validating SOC detection coverage and resilience. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能