analyzing-cobaltstrike-malleable-c2-profiles
यह क्या करती है
यह टूल Cobalt Strike की कॉन्फ़िगरेशन फ़ाइलों का विश्लेषण करता है, जिनका इस्तेमाल हैकर्स अपने संचार को छिपाने के लिए करते हैं। यह इस संचार के तरीके के बारे में ज़रूरी जानकारी निकालता है, ताकि बचाव के उपाय बनाए जा सकें।
कब इस्तेमाल करें
- ✓किसी सुरक्षा घटना (security incident) की जांच करते समय।
- ✓संदिग्ध ट्रैफ़िक पहचानने के लिए नियम (rules) बनाते समय।
- ✓यह जांचने के लिए कि सुरक्षा व्यवस्था कुछ खास हमले के तरीकों को कवर करती है या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-cobaltstrike-malleable-c2-profiles/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस Cobalt Strike प्रोफ़ाइल का विश्लेषण करो और बताओ कि इसके ट्रैफ़िक को कैसे पहचानें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल Cobalt Strike की कॉन्फ़िगरेशन फ़ाइलें पढ़ता है और उनमें से URI, रिक्वेस्ट हेडर और इंतज़ार के समय (waiting times) जैसी जानकारी निकालता है। इस जानकारी के आधार पर यह सुझाव देता है कि दुर्भावनापूर्ण गतिविधियों को पहचानने के लिए नियम कैसे बनाए जाएं।
तकनीकी सामग्री (मूल 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.cobaltstrikeand/orpyMalleableC2 - 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
- Install libraries:
pip install dissect.cobaltstrikeorpip install pyMalleableC2 - Parse profile with
C2Profile.from_path("profile.profile") - Extract HTTP GET/POST block configurations (URIs, headers, parameters)
- Identify user agent strings and spoof targets
- Extract sleep time, jitter percentage, and DNS beacon settings
- Analyze process injection settings (spawn-to, allocation technique)
- Generate Suricata/Snort signatures from extracted network indicators
- Compare profile against known threat actor profile collections
- Extract staging URIs and payload delivery mechanisms
- 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 क्या है?
यह सुरक्षा टीमों का एक टूल है, जिससे वे हमले की नकल करके अपने बचाव को टेस्ट करती हैं। लेकिन हैकर्स इसे hack किए गए सिस्टम को कंट्रोल करने के लिए भी इस्तेमाल कर सकते हैं।
Malleable C2 प्रोफ़ाइल क्या होते हैं?
ये ऐसी कॉन्फ़िगरेशन होती हैं जो Cobalt Strike के संचार को आम इंटरनेट ट्रैफ़िक जैसा दिखाने के लिए बदलती हैं, जिससे उसे पकड़ना मुश्किल हो जाता है।
URI क्या होते हैं?
ये किसी वेबसाइट या सर्विस के अंदर के खास पते होते हैं, जैसे '/login' या '/api/data'।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #7606
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।