मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7804

detecting-beaconing-patterns-with-zeek

यह क्या करती है

यह टूल Zeek नेटवर्क लॉग का विश्लेषण करके ऐसे कम्युनिकेशन पैटर्न खोजता है जो नियमित 'beacon' जैसे दिखते हैं। इससे संदिग्ध गतिविधि पहचानने में मदद मिलती है, जैसे कोई कंप्यूटर चुपके से किसी control server से बात कर रहा हो।

कब इस्तेमाल करें

  • ✓जब कोई संभावित security attack की जांच कर रहे हों।
  • ✓जब असामान्य नेटवर्क कम्युनिकेशन ढूंढना हो।
  • ✓जब अनधिकृत remote control के संकेत जांचने हों।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-beaconing-patterns-with-zeek/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-beaconing-patterns-with-zeek/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Zeek connection logs में beaconing patterns खोजो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल Zeek नेटवर्क डेटा लोड करता है, कनेक्शन को भेजने वाले और पाने वाले के हिसाब से समूहित करता है, और कनेक्शनों के बीच का समय निकालता है। अगर समय बहुत नियमित है, तो यह चेतावनी का संकेत हो सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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.

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

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())
अक्सर पूछे जाने वाले सवाल

'beaconing patterns' क्या होते हैं?

ये ऐसे कम्युनिकेशन हैं जो एक तय अंतराल पर बार-बार होते हैं, जैसे कोई 'सिग्नल' समय-समय पर भेजा जा रहा हो। हैकर इसका इस्तेमाल संक्रमित कंप्यूटरों को कंट्रोल करने के लिए करते हैं।

'Zeek' क्या है?

Zeek (पहले Bro के नाम से जाना जाता था) एक ऐसा टूल है जो नेटवर्क ट्रैफिक पर नज़र रखता है और कनेक्शनों के बारे में विस्तृत लॉग बनाता है।

'ZAT' क्या है?

ZAT (Zeek Analysis Tools) एक library है जो Zeek द्वारा बनाए गए लॉग का विश्लेषण करने में मदद करती है, जिससे जानकारी खोजना आसान हो जाता है।

जानकारी

लेखक का मूल विवरण

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

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7804
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills