Skillpedia
الأمان35k · #8054

implementing-honeypot-for-ransomware-detection

ما الذي تفعله

تُنشئ هذه المهارة «مصائد» رقمية (ملفات ومجلدات وهمية) على أجهزتك لاكتشاف بداية هجوم الفدية. تنبهك فورًا إذا حاول أحد العبث بهذه الملفات الوهمية، قبل أن تُتلف بياناتك الحقيقية.

متى تستخدمها

  • ✓عندما تريد اكتشاف محاولات تشفير الفدية في أقرب مرحلة ممكنة.
  • ✓عندما تحتاج إلى إنشاء مجلدات «طُعم» تنبّه إلى حركات مشبوهة قبل الهجوم.
  • ✓عندما تريد إضافة طبقة كشف لا تولّد إنذارات كاذبة.

رابط المهارة

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeypot-for-ransomware-detection/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeypot-for-ransomware-detection/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“اضبط مصائد لكشف برامج الفدية على ملفاتي.”

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

كيف تعمل

تضع المهارة ملفات ومجلدات وهمية في أماكن استراتيجية. إذا حاول برنامج خبيث (فدية) تعديلها أو الوصول إليها، يُطلق إنذار فوري يحذرك من الهجوم.

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

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

Implementing Honeypot for Ransomware Detection

When to Use

  • Deploying early-warning detection for ransomware encryption attempts using canary files
  • Creating honeypot file shares that detect lateral movement and data staging before encryption
  • Supplementing EDR and SIEM-based detection with deception-layer alerts that have near-zero false positives
  • Detecting ransomware variants that evade signature-based detection by triggering on file modification behavior
  • Validating that ransomware detection capabilities work by testing with controlled encryption tools

Do not use as the sole ransomware detection mechanism. Honeypots are a high-confidence supplementary layer, not a replacement for EDR, network monitoring, and backup protection.

Prerequisites

  • File server or NAS infrastructure where canary files can be deployed
  • Windows File Server Resource Manager (FSRM) or equivalent file activity monitoring
  • Thinkst Canary or similar deception platform (optional, for advanced deployment)
  • SIEM platform for centralizing honeypot alerts
  • Administrative access to deploy canary files across file shares
  • Network segment for honeypot systems (if deploying full honeypot servers)

Workflow

Step 1: Deploy Canary Files on File Shares

Place canary files in strategic locations that ransomware will encounter during encryption:

# Deploy canary files across all file shares
# Files are named to appear early in alphabetical and directory order
# Ransomware typically encrypts alphabetically or by directory traversal

$shares = @("\\fileserver01\finance", "\\fileserver01\hr", "\\fileserver01\engineering")
$canaryNames = @(
    "!_IMPORTANT_DO_NOT_DELETE.docx",
    "000_Budget_2026_FINAL.xlsx",
    "_Confidential_Employee_Records.pdf",
    "AAAA_Quarterly_Report.docx"
)

foreach ($share in $shares) {
    foreach ($name in $canaryNames) {
        $targetPath = Join-Path $share $name
        # Create a legitimate-looking file with canary content
        # The file contains a unique token that triggers on access
        $content = "This document contains confidential financial data.`n"
        $content += "Q4 2025 Revenue: $42.3M | Q1 2026 Forecast: $45.1M`n"
        $content += "Prepared by: Finance Department`n"
        Set-Content -Path $targetPath -Value $content
        # Set file as hidden system to avoid user interaction
        $file = Get-Item $targetPath
        $file.Attributes = [System.IO.FileAttributes]::Hidden
    }
}

# Also deploy in subdirectories (ransomware traverses recursively)
$subDirs = Get-ChildItem -Path "\\fileserver01\finance" -Directory -Recurse | Select-Object -First 20
foreach ($dir in $subDirs) {
    $canaryPath = Join-Path $dir.FullName "!_Budget_Summary.xlsx"
    Set-Content -Path $canaryPath -Value "Canary file for ransomware detection"
    (Get-Item $canaryPath).Attributes = [System.IO.FileAttributes]::Hidden
}

Step 2: Configure File Integrity Monitoring on Canary Files

Windows FSRM approach:

# Configure FSRM to monitor for ransomware file extensions
# and canary file modifications

Install-WindowsFeature -Name FS-Resource-Manager -IncludeManagementTools

# Create file screen for known ransomware extensions
$ransomExtensions = @(
    "*.encrypted", "*.locked", "*.crypto", "*.crypt",
    "*.locky", "*.cerber", "*.zepto", "*.thor",
    "*.aesir", "*.zzzzz", "*.wallet", "*.onion",
    "*.wncry", "*.wcry", "*.lockbit", "*.BlackCat",
    "*.ALPHV", "*.rhysida", "*.play"
)

# Create file group for ransomware extensions
New-FsrmFileGroup -Name "Ransomware_Extensions" -IncludePattern $ransomExtensions

# Create file screen template
New-FsrmFileScreenTemplate -Name "Ransomware_Screen" `
    -IncludeGroup "Ransomware_Extensions" `
    -Active:$false  # Passive mode: alert without blocking

# Apply to all monitored shares
$monitoredPaths = @("D:\Shares\Finance", "D:\Shares\HR", "D:\Shares\Engineering")
foreach ($path in $monitoredPaths) {
    New-FsrmFileScreen -Path $path -Template "Ransomware_Screen"
}

Canary file modification monitoring with PowerShell FileSystemWatcher:

# Real-time canary file monitoring service
$canaryPaths = @(
    "D:\Shares\Finance\!_IMPORTANT_DO_NOT_DELETE.docx",
    "D:\Shares\HR\000_Budget_2026_FINAL.xlsx",
    "D:\Shares\Engineering\_Confidential_Employee_Records.pdf"
)

$watcher = New-Object System.IO.FileSystemWatcher
$watcher.Path = "D:\Shares"
$watcher.Filter = "*"

…
الأسئلة الشائعة

ما هي «ملفات الكناري» (canary files)؟

هي ملفات وهمية صُممت لتبدو مهمة. إذا حاولت برامج الفدية تشفيرها، نعرف أن الهجوم بدأ.

ما هي «مجلدات الطُعم» (honeypot shares)؟

هي مجلدات وهمية تحاكي أماكن مهمة. إذا حاول متسلل الوصول إلى بيانات فيها أو نسخها، فهذا مؤشر على نشاط مشبوه.

هل يحل هذا محل مكافح الفيروسات؟

لا. هذه المهارة طبقة كشف إضافية، وتعمل بشكل أفضل مع حمايات أخرى مثل مكافح الفيروسات وجدران الحماية والنسخ الاحتياطية.

التفاصيل

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

Deploys canary files, honeypot shares, and decoy systems to detect ransomware activity at the earliest possible stage. Configures canary tokens embedded in strategic file locations that trigger alerts when ransomware attempts encryption, uses honeypot network shares that mimic high-value targets, and deploys Thinkst Canary appliances for comprehensive deception-based detection. Activates for reque

repo: mukul975/Anthropic-Cybersecurity-Skills

الشعبية

نجوم GitHub
35k
الترتيب
#8054
الترخيص
Apache-2.0
آخر تحديث
31‏/8‏/2026

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

0

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

التعليقات

  • …

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

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