
Hunting for Cobalt Strike Beacons
FreeDetect Cobalt Strike beacon traffic with precision.
Free · Opens the source repo
What Hunting for Cobalt Strike Beacons does
The Hunting for Cobalt Strike Beacons skill is designed for cybersecurity professionals who need to identify and analyze Cobalt Strike beacon traffic within network environments. Cobalt Strike is widely used by both red teams and malicious actors for command-and-control (C2) operations, making it crucial for security teams to have effective detection methods. This skill leverages multiple techniques, including TLS certificate analysis, JA3/JA3S fingerprinting, and HTTP profile matching, to uncover hidden beacon communications that may otherwise mimic legitimate traffic.
To effectively use this skill, users must have a solid understanding of network forensics and the necessary tools in place, such as Zeek and Suricata. The skill guides users through a structured process that begins with analyzing TLS certificate signatures to identify default Cobalt Strike configurations. Following this, it assesses beacon callback intervals and examines HTTP request patterns for known malleable C2 profiles. By combining these indicators, users can generate a composite confidence score for potential beacon activity.
This skill is particularly useful for security operations center (SOC) analysts and incident responders who are investigating security incidents or validating their monitoring capabilities against Cobalt Strike techniques. The output is a JSON report that details detected beacon candidates, including confidence scores and recommended response actions, providing actionable insights for further investigation.
In summary, this skill equips cybersecurity professionals with the tools and methodologies needed to hunt for Cobalt Strike beacons effectively, enhancing their ability to respond to potential threats in their networks.
When to use it
Use this skill when investigating incidents involving Cobalt Strike or when creating detection rules for this specific C2 framework.
When not to use it
This skill may not be suitable for environments where Cobalt Strike is not a concern or for users lacking the prerequisite tools and knowledge in network forensics.
What you can build with it
Investigating Security Incidents
Use this skill to hunt for Cobalt Strike beacons during a security incident investigation, identifying potential threats.
Building Detection Rules
Leverage the skill to create effective detection rules for monitoring Cobalt Strike activity in your network.
Validating Security Coverage
Employ this skill to assess and validate your organization's security monitoring capabilities against known Cobalt Strike techniques.
How to install Hunting for Cobalt Strike Beacons
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/hunting-for-cobalt-strike-beacons --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mukul975Hunting for Cobalt Strike Beacons
Overview
Cobalt Strike is the most prevalent command-and-control framework used by both red teams and threat actors. Beacon, its primary payload, communicates with team servers using configurable HTTP/HTTPS/DNS profiles that can mimic legitimate traffic. However, default configurations and behavioral patterns remain detectable through TLS certificate analysis (default serial 8BB00EE), JA3/JA3S fingerprinting, beacon interval jitter analysis, and HTTP malleable profile pattern matching. This skill covers building detection capabilities using Zeek network logs, Suricata IDS rules, and Python-based PCAP analysis to identify beacon callbacks in network traffic.
When to Use
- When investigating security incidents that require hunting for cobalt strike beacons
- 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
- Zeek 6.0+ with JA3 and HASSH packages installed
- Suricata 7.0+ with Emerging Threats ruleset
- Python 3.9+ with scapy and dpkt libraries
- Network traffic captures (PCAP) or live Zeek logs
- RITA (Real Intelligence Threat Analytics) for beacon scoring
- Threat intelligence feeds with known Cobalt Strike IOCs
Steps
Step 1: TLS Certificate Analysis
Detect default Cobalt Strike certificates using JA3S fingerprints, certificate serial numbers, and JARM fingerprints in Zeek ssl.log.
Step 2: Beacon Interval Analysis
Analyze connection timing patterns to identify regular callback intervals with configurable jitter, characteristic of beacon behavior.
Step 3: HTTP Profile Detection
Match HTTP request patterns (URI paths, headers, user-agents) against known malleable C2 profiles.
Step 4: Correlate and Score
Combine multiple indicators (TLS + timing + HTTP profile) into a composite beacon confidence score.
Expected Output
JSON report containing detected beacon candidates with confidence scores, TLS fingerprints, timing analysis, HTTP profile matches, and recommended response actions.
Frequently asked questions about Hunting for Cobalt Strike Beacons
Similar skills
Asset Criticality Scoring for Vulns
Prioritize vulnerabilities based on asset criticality.
Performing Alert Triage with Elastic SIEM
Streamline alert triage processes in Elastic Security.
Active Directory Vulnerability Assessment
Secure your Active Directory with comprehensive assessments.
Active Directory Investigation
Streamline your Active Directory compromise investigations.
Parsing Artifacts with Eric Zimmerman Tools
Efficiently parse Windows forensic artifacts for analysis.
Operationalizing MISP Threat Feeds
Enhance threat detection with curated MISP feeds.
