Skip to content
Skillpedia
Analysis & spreadsheets35k · #5787

hunting-for-cobalt-strike-beacons

Helps your agent detect 'Cobalt Strike' traffic, a tool used by hackers, by analyzing signatures and network patterns. Useful for identifying specific threats in network traffic.

What it does

This tool helps find network traffic that might be from a malicious program called Cobalt Strike. It looks for specific patterns in how computers communicate, like digital certificates and response times, to identify suspicious activity.

When to use it

  • ✓When you suspect a computer might be infected and want to check for communication with a malicious server.
  • ✓When creating security rules to alert about suspicious network activity.
  • ✓To analyze network traffic for signs of attacks.

Example of what to ask your AI

“Search for suspicious Cobalt Strike traffic in network logs.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-cobalt-strike-beacons/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-cobalt-strike-beacons/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool examines details of network connections, such as the digital certificates used and the timing between communications. It compares these details against known patterns of malicious programs to find suspicious activity.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill hunting-for-cobalt-strike-beacons

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/hunting-for-cobalt-strike-beacons/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Hunting 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.

FAQ

What is Cobalt Strike?

Cobalt Strike is a program used by both security teams (to test defenses) and criminals (to attack systems). It allows for remote control of infected computers.

What are 'beacons'?

Beacons are the communications that Cobalt Strike uses to connect back to its control server. They are designed to look like normal traffic but have detectable patterns.

What are 'fingerprints'?

These are unique identifiers created from technical characteristics of a connection, like digital certificate details (JA3/JA3S) or communication patterns (JARM). They help identify specific types of software.

Details

Original description by the author

Detect Cobalt Strike beacon command-and-control traffic using default TLS certificate signatures (serial 8BB00EE), JA3/JA3S/JARM fingerprints, HTTP malleable C2 profile pattern matching, and beacon jitter/interval analysis, built with Zeek network logs, Suricata IDS rules, and Python PCAP analysis. Use when hunting for Cobalt Strike beacon callbacks in network traffic or building detection rules f

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5787
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills