本文へスキップ
Skillpedia
セキュリティ35k · #7606

analyzing-cobaltstrike-malleable-c2-profiles

できること

このツールは、攻撃者の通信を偽装するために使われるCobalt Strikeの設定ファイルを分析します。その通信の仕組みに関する重要な詳細を抽出し、防御策の作成に役立てます。

使う場面

  • ✓セキュリティインシデントを調査するとき。
  • ✓不審なトラフィックを検知するためのルールを作成するとき。
  • ✓セキュリティ対策が特定の攻撃手法をカバーしているか検証するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-cobaltstrike-malleable-c2-profiles/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-cobaltstrike-malleable-c2-profiles/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このCobalt Strikeのプロファイルを分析して、そのトラフィックを検知する方法を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはCobalt Strikeの設定ファイルを読み込み、URI(インターネット上のアドレス)、リクエストヘッダー、待機時間などの詳細を抽出します。これらの情報をもとに、不正な活動を特定するためのルールの作成方法を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Analyzing CobaltStrike Malleable C2 Profiles

Overview

Cobalt Strike Malleable C2 profiles are domain-specific language scripts that customize how Beacon communicates with the team server, defining HTTP request/response transformations, sleep intervals, jitter values, user agents, URI paths, and process injection behavior. Threat actors use malleable profiles to disguise C2 traffic as legitimate services (Amazon, Google, Slack). Analyzing these profiles reveals network indicators for detection: URI patterns, HTTP headers, POST/GET transforms, DNS settings, and process injection techniques. The dissect.cobaltstrike library can parse both profile files and extract configurations from beacon payloads, while pyMalleableC2 provides AST-based parsing using Lark grammar for programmatic profile manipulation and validation.

When to Use

  • When investigating security incidents that require analyzing cobaltstrike malleable c2 profiles
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.9+ with dissect.cobaltstrike and/or pyMalleableC2
  • Sample Malleable C2 profiles (available from public repositories)
  • Understanding of HTTP protocol and Cobalt Strike beacon communication model
  • Network monitoring tools (Suricata/Snort) for signature deployment
  • PCAP analysis tools for traffic validation

Steps

  1. Install libraries: pip install dissect.cobaltstrike or pip install pyMalleableC2
  2. Parse profile with C2Profile.from_path("profile.profile")
  3. Extract HTTP GET/POST block configurations (URIs, headers, parameters)
  4. Identify user agent strings and spoof targets
  5. Extract sleep time, jitter percentage, and DNS beacon settings
  6. Analyze process injection settings (spawn-to, allocation technique)
  7. Generate Suricata/Snort signatures from extracted network indicators
  8. Compare profile against known threat actor profile collections
  9. Extract staging URIs and payload delivery mechanisms
  10. Produce detection report with IOCs and recommended network signatures

Expected Output

A JSON report containing extracted C2 URIs, HTTP headers, user agents, sleep/jitter settings, process injection config, spawned process paths, DNS settings, and generated Suricata-compatible detection rules.

よくある質問

Cobalt Strikeとは何ですか?

セキュリティチームが攻撃をシミュレーションして防御をテストするために使うツールです。ただし、攻撃者が乗っ取ったシステムを制御するために悪用されることもあります。

Malleable C2プロファイルとは何ですか?

Cobalt Strikeの通信を一般的なインターネットのトラフィックに見せかけるように設定したものです。そのため、検知が難しくなります。

URIとは何ですか?

「/login」や「/api/data」のように、Webサイトやサービス内の特定のアドレスのことです。

詳細

作者による元の説明

Parse and analyze Cobalt Strike Malleable C2 profiles with dissect.cobaltstrike (profiles and beacon-payload configs) and pyMalleableC2 (AST parsing) to extract HTTP/DNS transforms, URIs, headers, sleep/jitter, and injection behavior, then generate network detection signatures. Use when reverse-engineering a captured malleable profile or building detections against Cobalt Strike Beacon traffic.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#7606
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル