Install
$ agentstack add skill-killvxk-cybersecurity-skills-zh-analyzing-cobaltstrike-malleable-c2-profiles ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
分析 CobaltStrike Malleable C2 配置文件
概述
Cobalt Strike Malleable C2 配置文件是领域专用语言脚本,用于定制 Beacon 与团队服务器的通信方式,包括 HTTP 请求/响应转换、休眠间隔、抖动值、User Agent、URI 路径和进程注入行为。威胁行为者使用 Malleable C2 配置文件将 C2 流量伪装成合法服务(Amazon、Google、Slack)。分析这些配置文件可揭示用于检测的网络指标:URI 模式、HTTP 请求头、POST/GET 转换、DNS 设置和进程注入技术。dissect.cobaltstrike 库可解析配置文件并从 beacon 载荷中提取配置,而 pyMalleableC2 使用 Lark 语法提供基于 AST 的解析,用于程序化配置文件操作和验证。
前置条件
- Python 3.9+,安装
dissect.cobaltstrike和/或pyMalleableC2 - 示例 Malleable C2 配置文件(可从公开仓库获取)
- 了解 HTTP 协议和 Cobalt Strike beacon 通信模型
- 网络监控工具(Suricata/Snort)用于部署签名
- PCAP 分析工具用于流量验证
工作流程
- 安装库:
pip install dissect.cobaltstrike或pip install pyMalleableC2 - 使用
C2Profile.from_path("profile.profile")解析配置文件 - 提取 HTTP GET/POST 块配置(URI、请求头、参数)
- 识别 User Agent 字符串和伪装目标
- 提取休眠时间、抖动百分比和 DNS beacon 设置
- 分析进程注入设置(注入目标进程、分配技术)
- 从提取的网络指标生成 Suricata/Snort 签名
- 将配置文件与已知威胁行为者配置文件集合对比
- 提取分段 URI 和载荷投递机制
- 生成包含 IOC 和推荐网络签名的检测报告
输出格式
JSON 报告,包含提取的 C2 URI、HTTP 请求头、User Agent、休眠/抖动设置、进程注入配置、注入目标进程路径、DNS 设置和生成的 Suricata 兼容检测规则。
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: killvxk
- Source: killvxk/cybersecurity-skills-zh
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.