analyzing-cobaltstrike-malleable-c2-profiles
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
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.
How to install analyzing-cobaltstrike-malleable-c2-profiles
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-cobaltstrike-malleable-c2-profiles/
# into
~/.claude/skills/analyzing-cobaltstrike-malleable-c2-profiles/ (all projects)
.claude/skills/analyzing-cobaltstrike-malleable-c2-profiles/ (one project)
1# Analyzing CobaltStrike Malleable C2 Profiles23## Overview45Cobalt 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.678## When to Use910- When investigating security incidents that require analyzing cobaltstrike malleable c2 profiles11- When building detection rules or threat hunting queries for this domain12- When SOC analysts need structured procedures for this analysis type13- When validating security monitoring coverage for related attack techniques1415## Prerequisites1617- Python 3.9+ with `dissect.cobaltstrike` and/or `pyMalleableC2`18- Sample Malleable C2 profiles (available from public repositories)19- Understanding of HTTP protocol and Cobalt Strike beacon communication model20- Network monitoring tools (Suricata/Snort) for signature deployment21…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
