[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D7K61ZHR9M15NWGM0R1AX6":3,"skill-same:01M7D7K61ZHR9M15NWGM0R1AX6":101},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":65,"repositoryHtmlUrl":66,"repositoryHomepageUrl":6,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M7D7K61ZHR9M15NWGM0R1AX6","deploying-ransomware-canary-files",null,"Deploys and monitors ransomware canary files using Python's watchdog library, placing decoy files mimicking high-value targets (financial records, credentials, database exports) where ransomware enumerates first, and alerting via email, Slack, or syslog on any read\u002Fmodify\u002Frename\u002Fdelete. Use for early-warning ransomware detection on file servers, NAS, or endpoints, or to supplement EDR where agents can't be deployed.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deploying-ransomware-canary-files\ndescription: Deploys and monitors ransomware canary files using Python's watchdog library, placing decoy files mimicking high-value targets (financial records, credentials, database exports) where ransomware enumerates first, and alerting via email, Slack, or syslog on any read\u002Fmodify\u002Frename\u002Fdelete. Use for early-warning ransomware detection on file servers, NAS, or endpoints, or to supplement EDR where agents can't be deployed.\ndomain: cybersecurity\nsubdomain: ransomware-defense\ntags:\n- ransomware\n- canary-files\n- watchdog\n- detection\n- early-warning\n- deception\n- defense\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.DS-11\n- RS.MA-01\n- RC.RP-01\n- PR.IR-01\nmitre_attack:\n- T1486\n- T1083\n- T1490\n- T1485\nmitre_f3:\n  version: '1.1'\n  tactics:\n  - monetization\n  techniques:\n  - id: F1018\n    name: Convert to Cryptocurrency\n    tactic: monetization\n    source: f3\n  - id: F1017\n    name: Conversion to Physical Monetary Instruments\n    tactic: monetization\n    source: f3\n  - id: F1025.003\n    name: 'Electronic Funds Transfer: Wire Transfer'\n    tactic: monetization\n    source: f3\n---\n# Deploying Ransomware Canary Files\n\n## When to Use\n\n- Deploying proactive ransomware detection on file servers, NAS devices, or endpoint systems\n- Building an early-warning system that detects ransomware before it encrypts business-critical data\n- Supplementing EDR solutions with lightweight canary file monitoring on systems where agents cannot be deployed\n- Testing ransomware incident response procedures by simulating canary file triggers\n- Monitoring shared drives, home directories, and backup volumes for unauthorized file operations\n\n**Do not use** as a replacement for endpoint protection, backup strategy, or network segmentation. Canary files are a detection layer, not a prevention mechanism.\n\n## Prerequisites\n\n- Python 3.8+ with pip\n- watchdog library (pip install watchdog)\n- Write access to directories where canary files will be placed\n- SMTP server credentials or Slack webhook URL for alerting\n- Administrative access for placing canaries in system directories\n\n## Workflow\n\n### Step 1: Generate Canary Files\n\nCreate decoy files with realistic names and content that attract ransomware scanners. Files should have names like `Passwords.xlsx`, `Financial_Report_2026.docx`, `backup_credentials.csv` and contain plausible-looking but fake data. Place them in directories ransomware typically targets first: user desktops, Documents folders, network share roots, and backup paths.\n\n### Step 2: Deploy Filesystem Monitor\n\nUse Python's watchdog library with a custom `FileSystemEventHandler` that watches canary file paths. The handler triggers on `on_modified`, `on_deleted`, `on_moved`, and `on_created` events for canary files. Any legitimate user or process should never touch these files, so any interaction is a high-confidence indicator of ransomware or unauthorized access.\n\n### Step 3: Configure Alert Pipeline\n\nWire the filesystem monitor to multiple alert channels: email via SMTP, Slack webhook POST, syslog forwarding to SIEM, and local log file. Include the triggering event type, file path, timestamp, and process information (when available) in alert payloads.\n\n### Step 4: Validate and Test\n\nSimulate ransomware behavior by programmatically modifying, renaming, and deleting canary files to verify the detection pipeline fires correctly. Measure time-to-alert and validate alert delivery across all configured channels.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Canary File** | A decoy file placed in a monitored directory that triggers an alert when accessed, modified, or deleted |\n| **Watchdog** | Python library that monitors filesystem events using OS-native APIs (inotify on Linux, FSEvents on macOS, ReadDirectoryChangesW on Windows) |\n| **Honey File** | Synonym for canary file; a fake document designed to attract and detect malicious activity |\n| **Entropy Check** | Measuring randomness in file content to detect encryption (ransomware produces high-entropy output) |\n\n## Tools & Systems\n\n- **watchdog**: Python filesystem monitoring library using OS-native event APIs\n- **smtplib**: Python standard library for SMTP email alerting\n- **requests**: HTTP library for Slack webhook integration\n- **hashlib**: SHA-256 hashing for canary file integrity verification\n- **psutil**: Process information gathering when canary file access is detected\n\n## Output Format\n\n```\nRANSOMWARE CANARY ALERT\n========================\nTimestamp: 2026-03-11T14:23:07Z\nEvent: FILE_MODIFIED\nCanary File: \u002Fsrv\u002Fshares\u002Ffinance\u002FPasswords.xlsx\nDirectory: \u002Fsrv\u002Fshares\u002Ffinance\nSHA-256 Before: a3f2...8b4c\nSHA-256 After: 7e91...2d3f\nAlert Channels: [email, slack, syslog]\nAction: Investigate immediately - potential ransomware activity\n```\n","# Deploying Ransomware Canary Files\n\n## When to Use\n\n- Deploying proactive ransomware detection on file servers, NAS devices, or endpoint systems\n- Building an early-warning system that detects ransomware before it encrypts business-critical data\n- Supplementing EDR solutions with lightweight canary file monitoring on systems where agents cannot be deployed\n- Testing ransomware incident response procedures by simulating canary file triggers\n- Monitoring shared drives, home directories, and backup volumes for unauthorized file operations\n\n**Do not use** as a replacement for endpoint protection, backup strategy, or network segmentation. Canary files are a detection layer, not a prevention mechanism.\n\n## Prerequisites\n\n- Python 3.8+ with pip\n- watchdog library (pip install watchdog)\n- Write access to directories where canary files will be placed\n- SMTP server credentials or Slack webhook URL for alerting\n- Administrative access for placing canaries in system directories\n\n## Workflow\n\n### Step 1: Generate Canary Files\n\nCreate decoy files with realistic names and content that attract ransomware scanners. Files should have names like `Passwords.xlsx`, `Financial_Report_2026.docx`, `backup_credentials.csv` and contain plausible-looking but fake data. Place them in directories ransomware typically targets first: user desktops, Documents folders, network share roots, and backup paths.\n\n### Step 2: Deploy Filesystem Monitor\n\nUse Python's watchdog library with a custom `FileSystemEventHandler` that watches canary file paths. The handler triggers on `on_modified`, `on_deleted`, `on_moved`, and `on_created` events for canary files. Any legitimate user or process should never touch these files, so any interaction is a high-confidence indicator of ransomware or unauthorized access.\n\n### Step 3: Configure Alert Pipeline\n\nWire the filesystem monitor to multiple alert channels: email via SMTP, Slack webhook POST, syslog forwarding to SIEM, and local log file. Include the triggering event type, file path, timestamp, and process information (when available) in alert payloads.\n\n### Step 4: Validate and Test\n\nSimulate ransomware behavior by programmatically modifying, renaming, and deleting canary files to verify the detection pipeline fires correctly. Measure time-to-alert and validate alert delivery across all configured channels.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Canary File** | A decoy file placed in a monitored directory that triggers an alert when accessed, modified, or deleted |\n| **Watchdog** | Python library that monitors filesystem events using OS-native APIs (inotify on Linux, FSEvents on macOS, ReadDirectoryChangesW on Windows) |\n| **Honey File** | Synonym for canary file; a fake document designed to attract and detect malicious activity |\n| **Entropy Check** | Measuring randomness in file content to detect encryption (ransomware produces high-entropy output) |\n\n## Tools & Systems\n\n- **watchdog**: Python filesystem monitoring library using OS-native event APIs\n- **smtplib**: Python standard library for SMTP email alerting\n- **requests**: HTTP library for Slack webhook integration\n- **hashlib**: SHA-256 hashing for canary file integrity verification\n- **psutil**: Process information gathering when canary file access is detected\n\n## Output Format\n\n```\nRANSOMWARE CANARY ALERT\n========================\nTimestamp: 2026-03-11T14:23:07Z\nEvent: FILE_MODIFIED\nCanary File: \u002Fsrv\u002Fshares\u002Ffinance\u002FPasswords.xlsx\nDirectory: \u002Fsrv\u002Fshares\u002Ffinance\nSHA-256 Before: a3f2...8b4c\nSHA-256 After: 7e91...2d3f\nAlert Channels: [email, slack, syslog]\nAction: Investigate immediately - potential ransomware activity\n```\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"mitre_f3":36,"nist_csf":51,"subdomain":56,"description":7,"mitre_attack":57},[26,27,28,29,30,31,32],"ransomware","canary-files","watchdog","detection","early-warning","deception","defense","mahipal","cybersecurity","1.0.0",{"tactics":37,"version":39,"techniques":40},[38],"monetization","1.1",[41,45,48],{"id":42,"name":43,"source":44,"tactic":38},"F1018","Convert to Cryptocurrency","f3",{"id":46,"name":47,"source":44,"tactic":38},"F1017","Conversion to Physical Monetary Instruments",{"id":49,"name":50,"source":44,"tactic":38},"F1025.003","Electronic Funds Transfer: Wire Transfer",[52,53,54,55],"PR.DS-11","RS.MA-01","RC.RP-01","PR.IR-01","ransomware-defense",[58,59,60,61],"T1486","T1083","T1490","T1485","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-ransomware-canary-files",{"tool":77,"command":78},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-ransomware-canary-files",{"tool":80,"command":81},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-ransomware-canary-files","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files\u002FSKILL.md",true,[85,89,95],{"path":86,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fapi-reference.md","REFERENCE","参考文档",2992,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files\u002Freferences\u002Fapi-reference.md",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fagent.py","SCRIPT","脚本",21337,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-ransomware-canary-files\u002Fscripts\u002Fagent.py",[102,110,118,127,134,141],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":122,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":122,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":122,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":122,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]