Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8054

implementing-honeypot-for-ransomware-detection

Skill này làm gì

Công cụ này tạo ra các “bẫy” kỹ thuật số (tệp và thư mục giả) trên máy tính để phát hiện khi tấn công ransomware bắt đầu. Nó cảnh báo bạn ngay lập tức nếu có ai cố thay đổi các tệp giả này, trước khi dữ liệu thật bị hư hại.

Khi nào nên dùng

  • ✓Để phát hiện ý định mã hóa của ransomware ở giai đoạn sớm nhất.
  • ✓Để tạo thư mục “mồi nhử” cảnh báo về các hoạt động đáng ngờ trước khi tấn công xảy ra.
  • ✓Để thêm một lớp bảo mật không tạo ra cảnh báo sai.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeypot-for-ransomware-detection/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập bẫy để phát hiện ransomware trên các tệp của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ đặt các tệp và thư mục giả ở những vị trí chiến lược. Nếu phần mềm độc hại (ransomware) cố sửa đổi hoặc truy cập các tệp giả này, một cảnh báo được kích hoạt ngay để báo về cuộc tấn công.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 = "*"

…
Câu hỏi thường gặp

“Canary files” là gì?

Đây là các tệp giả được tạo để trông có vẻ quan trọng. Nếu ransomware cố mã hóa chúng, chúng ta biết cuộc tấn công đã bắt đầu.

“Honeypot shares” là gì?

Đây là các thư mục giả mô phỏng những vị trí quan trọng. Nếu kẻ xâm nhập cố truy cập hoặc sao chép dữ liệu từ các thư mục này, điều đó cho thấy hoạt động đáng ngờ.

Công cụ này có thay thế phần mềm diệt virus không?

Không. Đây là một lớp phát hiện bổ sung. Nó hoạt động tốt nhất cùng với các biện pháp bảo vệ khác như phần mềm diệt virus, tường lửa và sao lưu.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8054
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự