AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Analyzing Cobaltstrike Malleable C2 Profiles

skill-killvxk-cybersecurity-skills-zh-analyzing-cobaltstrike-malleable-c2-profiles · by killvxk

使用 dissect.cobaltstrike 和 pyMalleableC2 解析分析 Cobalt Strike Malleable C2 配置文件,提取 C2 指标、检测规避技术并生成网络检测签名。

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-killvxk-cybersecurity-skills-zh-analyzing-cobaltstrike-malleable-c2-profiles

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-killvxk-cybersecurity-skills-zh-analyzing-cobaltstrike-malleable-c2-profiles)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Analyzing Cobaltstrike Malleable C2 Profiles? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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 分析工具用于流量验证

工作流程

  1. 安装库:pip install dissect.cobaltstrikepip install pyMalleableC2
  2. 使用 C2Profile.from_path("profile.profile") 解析配置文件
  3. 提取 HTTP GET/POST 块配置(URI、请求头、参数)
  4. 识别 User Agent 字符串和伪装目标
  5. 提取休眠时间、抖动百分比和 DNS beacon 设置
  6. 分析进程注入设置(注入目标进程、分配技术)
  7. 从提取的网络指标生成 Suricata/Snort 签名
  8. 将配置文件与已知威胁行为者配置文件集合对比
  9. 提取分段 URI 和载荷投递机制
  10. 生成包含 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.