Chuyển đến nội dung
Skillpedia
Bảo mật35k · #7606

analyzing-cobaltstrike-malleable-c2-profiles

Skill này làm gì

Công cụ này phân tích các file cấu hình Cobalt Strike, dùng để ngụy trang giao tiếp của hacker. Nó trích xuất các thông tin quan trọng về cách giao tiếp này hoạt động để hỗ trợ xây dựng phòng thủ.

Khi nào nên dùng

  • ✓Khi điều tra một sự cố bảo mật.
  • ✓Khi tạo quy tắc để phát hiện lưu lượng đáng ngờ.
  • ✓Khi kiểm tra xem hệ thống bảo mật có bao phủ một số kỹ thuật tấn công nhất định hay không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-cobaltstrike-malleable-c2-profiles/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích profile Cobalt Strike này và cho tôi biết cách phát hiện lưu lượng của nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ đọc file cấu hình Cobalt Strike và trích xuất các chi tiết như địa chỉ internet (URI), header của yêu cầu và thời gian chờ. Từ đó, công cụ gợi ý cách tạo quy tắc để nhận diện hoạt động độc hại.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Cobalt Strike là gì?

Đây là công cụ mà các đội bảo mật dùng để mô phỏng tấn công và kiểm tra phòng thủ, nhưng hacker cũng có thể dùng để điều khiển các hệ thống bị xâm nhập.

Malleable C2 profile là gì?

Đây là các cấu hình tùy chỉnh cách giao tiếp của Cobalt Strike để trông giống lưu lượng internet bình thường, khiến việc phát hiện khó hơn.

URI là gì?

Đây là các địa chỉ cụ thể bên trong một trang web hoặc dịch vụ trên internet, ví dụ “/login” hoặc “/api/data”.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7606
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự