Agent skill

Detecting Beaconing Patterns With Zeek

by mukul975 in mukul975/Anthropic-Cybersecurity-Skills

Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns.

Apache-2.0Auto-check passedData & Analytics

Install Detecting Beaconing Patterns With Zeek

skills CLI
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-beaconing-patterns-with-zeek -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mukul975/Anthropic-Cybersecurity-Skills detecting-beaconing-patterns-with-zeek --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/detecting-beaconing-patterns-with-zeek .claude/skills/detecting-beaconing-patterns-with-zeek && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
detecting-beaconing-patterns-with-zeek
GitHub stars
34k
Token cost
~662 tokens
SKILL.md length
151 words
Files
4 (incl. scripts, references)
Skills in repo
644
Repo updated
First seen
Licence
Apache-2.0

At a glance

Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns.

  • Works in 5 steps: Parse Zeek conn.log into DataFrame with… → Group connections by source IP and… → Calculate inter-arrival time intervals… → …
  • Hunting for command-and-control callbacks in network data
  • SKILL.md covers When to Use, Prerequisites, Instructions and Examples
  • Runs Python scripts from its folder

What it does

Detecting Beaconing Patterns With Zeek is an agent skill from mukul975/Anthropic-Cybersecurity-Skills. Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns. Uses the ZAT library to load Zeek logs into Pandas DataFrames, calculates inter-arrival time standard deviation, and flags periodic connections with low jitter. Use when hunting for command-and-control callbacks in network data.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/api-reference.md` and `scripts/agent.py`).

It sits in Data & Analytics, covering DataFrames, Red teaming and adversary simulation and Statistics. It works with pandas. The repository describes itself as: 817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io…. The licence is Apache-2.0.

When your agent uses it

  • Hunting for command-and-control callbacks in network data
  • Tasks that involve DataFrames
  • Tasks that involve Red teaming and adversary simulation

Example prompts

  • “Use the detecting-beaconing-patterns-with-zeek skill to perform statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing…”
  • “/detecting-beaconing-patterns-with-zeek”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Parse Zeek conn.log into DataFrame with ZAT LogToDataFrame
  2. Group connections by source IP and destination IP pairs
  3. Calculate inter-arrival time intervals between consecutive connections
  4. Compute standard deviation and coefficient of variation
  5. Flag pairs with low coefficient of variation as potential beacons

What it can do on your machine

Read from SKILL.md and the folder at commit 54a7988. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Detecting Beaconing Patterns With Zeek loads about 662 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 92 tokens; SKILL.md has 151 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~662
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mukul975/Anthropic-Cybersecurity-Skills at commit 54a7988, republished under its Apache-2.0 licence (© mukul975). 151 words, ~662 tokens.

Download SKILL.mdSave it as .claude/skills/detecting-beaconing-patterns-with-zeek/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
detecting-beaconing-patterns-with-zeek
description
Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns. Uses the ZAT library to load Zeek logs into Pandas DataFrames, calculates inter-arrival time standard deviation, and flags periodic connections with low jitter. Use when hunting for command-and-control callbacks in network data.
domain
cybersecurity
subdomain
security-operations
tags
network-security, zeek, c2-beaconing, conn-log-analysis, zat, threat-hunting, statistical-analysis
version
1.0
author
mahipal
license
Apache-2.0
nist_csf
DE.CM-01, RS.MA-01, GV.OV-01, DE.AE-02
mitre_attack
T1071.001, T1071.004, T1573, T1008, T1095

Detecting Beaconing Patterns with Zeek

When to Use

  • When investigating security incidents that require detecting beaconing patterns with zeek
  • 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

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Load Zeek conn.log data using ZAT (Zeek Analysis Tools), group connections by source/destination pairs, and compute timing statistics to identify beaconing.

python
from zat.log_to_dataframe import LogToDataFrame
import numpy as np

log_to_df = LogToDataFrame()
conn_df = log_to_df.create_dataframe('/path/to/conn.log')

# Group by src/dst pair and calculate inter-arrival time
for (src, dst), group in conn_df.groupby(['id.orig_h', 'id.resp_h']):
    times = group['ts'].sort_values()
    intervals = times.diff().dt.total_seconds().dropna()
    if len(intervals) > 10:
        std_dev = np.std(intervals)
        mean_interval = np.mean(intervals)
        # Low std_dev relative to mean = likely beaconing

Key analysis steps:

  1. Parse Zeek conn.log into DataFrame with ZAT LogToDataFrame
  2. Group connections by source IP and destination IP pairs
  3. Calculate inter-arrival time intervals between consecutive connections
  4. Compute standard deviation and coefficient of variation
  5. Flag pairs with low coefficient of variation as potential beacons

Examples

python
from zat.log_to_dataframe import LogToDataFrame
log_to_df = LogToDataFrame()
df = log_to_df.create_dataframe('conn.log')
print(df[['id.orig_h', 'id.resp_h', 'ts', 'duration']].head())

© mukul975, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/detecting-beaconing-patterns-with-zeek of mukul975/Anthropic-Cybersecurity-Skills.

  • SKILL.md
  • LICENSE
  • references/api-reference.md
  • scripts/agent.py

Open the folder on GitHubat commit 54a7988

Compare with similar skills

Detecting Beaconing Patterns With Zeek next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Detecting Beaconing Patterns With Zeek compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Detecting Beaconing Patterns With Zeek this skillmukul975/Anthropic-Cybersecurity-Skills34k—~662Automated safety check: PassApache-2.0
Data AnalystRightNow-AI/openfang18k—~730Automated safety check: PassApache-2.0
Data AnalysisEXboys/skilllite170—~176Automated safety check: PassMIT
Bio Reporting Publication TablesGPTomics/bioSkills1.2k1 repos~2.8kAutomated safety check: PassMIT
Chdb Datastorevemetric/vemetric3952 repos~1.4kAutomated safety check: PassApache-2.0
CSV Data Summarizercoffeefuelbump/csv-data-summarizer-claude-skill4682 repos~1.4kAutomated safety check: PassNone

Similar skills

  • Data Analyst

    RightNow-AI/openfang

    Data analysis expert for statistics, visualization, pandas, and exploration

    18k GitHub stars~730 tokensUpdated 3 mo ago
    Data & AnalyticsAuto-check passed
  • Data Analysis

    EXboys/skilllite

    Analyze CSV/JSON data with statistics, filtering, and aggregation.

    170 GitHub stars~176 tokensUpdated 15 days ago
    Data & AnalyticsAuto-check passed
  • Builds publication-ready tables - descriptive Table 1, regression and differential-expression result tables, and supplementary tables - with gtsummary, gt, flextable, and kableExtra (R) or…

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Data & AnalyticsAuto-check passed
  • Chdb Datastore

    vemetric/vemetric

    A skill your agent uses when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas.

    395 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • CSV Data Summarizer

    coffeefuelbump/csv-data-summarizer-claude-skill

    Analyzes CSV files, generates summary stats, and plots quick visualizations using Python and pandas.

    468 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Pandas Pro

    Jeffallan/claude-skills

    Handles pandas DataFrame work: cleaning, merging, groupby aggregation, pivots, time-series resampling and memory tuning, with checks on dtypes, shapes and nulls.

    12k GitHub starsUsed in 1 repo~1.5k tokens
    Data & AnalyticsAuto-check passed

More from mukul975/Anthropic-Cybersecurity-Skills

All 644 skills in this repo
  • Campaign Attribution Evidence Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Weighs infrastructure, TTP, malware code and timing evidence with the Diamond Model and competing hypotheses to reach a confidence-rated attribution.

    34k GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Go Malware Analysis in Ghidra

    mukul975/Anthropic-Cybersecurity-Skills

    Walks through reverse engineering Go-compiled malware in Ghidra: parsing buildinfo and pclntab, recovering stripped function names and extracting dependencies.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • LNK and Jump List Forensics

    mukul975/Anthropic-Cybersecurity-Skills

    Guides forensic analysis of Windows LNK shortcut files and Jump Lists with LECmd, JLECmd and manual parsing to show file access and program execution.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Malware Persistence Analysis with Autoruns

    mukul975/Anthropic-Cybersecurity-Skills

    Hunts Windows malware persistence with Sysinternals Autoruns, covering run keys, services, scheduled tasks and drivers, with baseline comparison.

    34k GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • NTFS MFT Deleted File Recovery

    mukul975/Anthropic-Cybersecurity-Skills

    Guides a Windows forensic examination of the NTFS Master File Table to recover deleted-file evidence, build timelines and spot timestomping.

    34k GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Network Covert Channel Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Detects DNS tunneling, ICMP exfiltration and HTTP-based covert channels in packet captures and DNS logs when hunting for hidden command-and-control traffic.

    34k GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Detecting Beaconing Patterns With Zeek

What does Detecting Beaconing Patterns With Zeek do?

Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns. Detecting Beaconing Patterns With Zeek is an agent skill from mukul975/Anthropic-Cybersecurity-Skills.log connection intervals to detect C2 beaconing patterns.

When should I use Detecting Beaconing Patterns With Zeek?

Detecting Beaconing Patterns With Zeek fits situations like: hunting for command-and-control callbacks in network data; tasks that involve DataFrames; tasks that involve Red teaming and adversary simulation.

How do I install Detecting Beaconing Patterns With Zeek in Claude Code?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-beaconing-patterns-with-zeek -a claude-code`. Or copy the skill folder (skills/detecting-beaconing-patterns-with-zeek in mukul975/Anthropic-Cybersecurity-Skills) into .claude/skills/detecting-beaconing-patterns-with-zeek in your project. Claude Code loads it when a task matches its description.

How do I install Detecting Beaconing Patterns With Zeek in Codex?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-beaconing-patterns-with-zeek -a codex`. Or copy the skill folder (skills/detecting-beaconing-patterns-with-zeek in mukul975/Anthropic-Cybersecurity-Skills) into .agents/skills/detecting-beaconing-patterns-with-zeek in your project. Codex loads it when a task matches its description.

Can I use Detecting Beaconing Patterns With Zeek in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-beaconing-patterns-with-zeek -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/detecting-beaconing-patterns-with-zeek, .gemini/skills/detecting-beaconing-patterns-with-zeek, .github/skills/detecting-beaconing-patterns-with-zeek and .opencode/skills/detecting-beaconing-patterns-with-zeek in your project.

What does Detecting Beaconing Patterns With Zeek need to run?

Going by SKILL.md and its folder, Detecting Beaconing Patterns With Zeek needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Detecting Beaconing Patterns With Zeek access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Detecting Beaconing Patterns With Zeek safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Detecting Beaconing Patterns With Zeek use?

Detecting Beaconing Patterns With Zeek is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Detecting Beaconing Patterns With Zeek use?

About 662 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 468 tokens, read only when the agent opens those files.

What are the alternatives to Detecting Beaconing Patterns With Zeek?

Skills that share tags, products or a category with Detecting Beaconing Patterns With Zeek: Data Analyst (RightNow-AI/openfang, 18k stars), Data Analysis (EXboys/skilllite, 170 stars), Bio Reporting Publication Tables (GPTomics/bioSkills, 1.2k stars) and Chdb Datastore (vemetric/vemetric, 395 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Detecting Beaconing Patterns With Zeek?

mukul975 (a GitHub user) maintains it in mukul975/Anthropic-Cybersecurity-Skills, which has 34,116 GitHub stars. The repository holds 644 skills in this directory. The repository was last updated on August 31, 2026.

Source: mukul975/Anthropic-Cybersecurity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.