Skillpedia
الأمان29k · #9522

threat-detection

ما الذي تفعله

تجعل هذه المهارة الوكيل يبحث عن تهديدات فاتتها التنبيهات الآلية. وهي موجهة للمحللين الأمنيين الذين يريدون البحث في السجلات بشكل استباقي قبل أن يُطلق التنبيه.

متى تستخدمها

  • ✓عندما تشك في أن مهاجمًا مختبئ في سجلاتك.
  • ✓عندما تريد فحص أنظمتك بحثًا عن مؤشرات سيئة معروفة، مثل عناوين IP أو بصمات الملفات.
  • ✓عندما تريد إيجاد نشاط غير معتاد لا يُطلق تنبيهاتك.

رابط المهارة

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/threat-detection/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/threat-detection/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ابحث في سجلاتنا عن علامات مهاجم ربما تهرّب من تنبيهاتنا، ورتّب أقوى الإشارات احتمالًا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يرتب الوكيل الإشارات المرتبطة بتقنيات MITRE ATT&CK، ويرصد الشذوذ الإحصائي. ويمكنه أيضًا تحليل مؤشرات الاختراق وتوجيه عملية بحث مبنية على فرضية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Threat Detection

Threat detection skill for proactive discovery of attacker activity through hypothesis-driven hunting, IOC analysis, and behavioral anomaly detection. This is NOT incident response (see incident-response) or red team operations (see red-team) — this is about finding threats that have evaded automated controls.


Table of Contents


Overview

What This Skill Does

This skill provides the methodology and tooling for proactive threat detection — finding attacker activity through structured hunting hypotheses, IOC analysis, and statistical anomaly detection before alerts fire.

Distinction from Other Security Skills

Skill Focus Approach
threat-detection (this) Finding hidden threats Proactive — hunt before alerts
incident-response Active incidents Reactive — contain and investigate declared incidents
red-team Offensive simulation Offensive — test defenses from attacker perspective
cloud-security Cloud misconfigurations Posture — IAM, S3, network exposure

Prerequisites

Read access to SIEM/EDR telemetry, endpoint logs, and network flow data. IOC feeds require freshness within 30 days to avoid false positives. Hunting hypotheses must be scoped to the environment before execution.


Threat Signal Analyzer

The threat_signal_analyzer.py tool supports three modes: hunt (hypothesis scoring), ioc (sweep generation), and anomaly (statistical detection).

# Hunt mode: score a hypothesis against MITRE ATT&CK coverage
python3 scripts/threat_signal_analyzer.py --mode hunt \
  --hypothesis "Lateral movement via PtH using compromised service account" \
  --actor-relevance 3 --control-gap 2 --data-availability 2 --json

# IOC mode: generate sweep targets from an IOC feed file
python3 scripts/threat_signal_analyzer.py --mode ioc \
  --ioc-file iocs.json --json

# Anomaly mode: detect statistical outliers in telemetry events
python3 scripts/threat_signal_analyzer.py --mode anomaly \
  --events-file telemetry.json \
  --baseline-mean 100 --baseline-std 25 --json

# List all supported MITRE ATT&CK techniques
python3 scripts/threat_signal_analyzer.py --list-techniques

IOC file format

{
  "ips": ["1.2.3.4", "5.6.7.8"],
  "domains": ["malicious.example.com"],
  "hashes": ["abc123def456..."]
}

Telemetry events file format

[
  {"timestamp": "2024-01-15T14:32:00Z", "entity": "host-01", "action": "dns_query", "volume": 450},
  {"timestamp": "2024-01-15T14:33:00Z", "entity": "host-02", "action": "dns_query", "volume": 95}
]

Exit codes

Code Meaning
0 No high-priority findings
1 Medium-priority signals detected
2 High-priority confirmed findings

Threat Hunting Methodology

Structured threat hunting follows a five-step loop: hypothesis → data source identification → query execution → finding triage → feedback to detection engineering.

Hypothesis Scoring

Factor Weight Description
Actor relevance ×3 How closely does this TTP match known threat actors in your sector?
Control gap ×2 How many of your existing controls would miss this behavior?
Data availability ×1 Do you have the telemetry data needed to test this hypothesis?

Priority score = (actor_relevance × 3) + (control_gap × 2) + (data_availability × 1)

High-Value Hunt Hypotheses by Tactic

Hypothesis MITRE ID Data Sources Priority Signal
WMI lateral movement via remote execution T1047 WMI logs, EDR process telemetry WMI process spawned from WINRM, unusual parent-child chain
LOLBin execution for defense evasion T1218 Process creation, command-line args certutil.exe, regsvr32.exe, mshta.exe with network activity
Beaconing C2 via jitter-heavy intervals T1071.001 Proxy logs, DNS logs Regular interval outbound connections ±10% jitter
الأسئلة الشائعة

هل هي نفسها الاستجابة للحوادث؟

لا. البحث عن التهديدات يبحث عن تهديدات مخفية، أما الاستجابة للحوادث فتتعامل مع حوادث أُعلن عنها.

ماذا يعني الشذوذ هنا؟

قيمة بعيدة كثيرًا عن المعتاد، تُقاس بدرجة z إحصائية.

هل تغطي أدوات الخداع؟

نعم. تغطي المهارة كيف يمكن لأدوات المصائد (honeypots) والخداع أن تساعد في البحث.

التفاصيل

الوصف الأصلي من المؤلف

Use when hunting threats, sweeping IOCs or looking for anomalies in logs and telemetry. Ranks ATT&CK-mapped signals and z-score anomalies with threat_signal_analyzer.py.

repo: alirezarezvani/claude-skills

الشعبية

نجوم GitHub
29k
الترتيب
#9522
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة