[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73CSDWKGD76XZDCA0T221MK":3,"skill-same:01M73CSDWKGD76XZDCA0T221MK":100},{"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":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M73CSDWKGD76XZDCA0T221MK","implementing-immutable-backup-with-restic",null,"Implements immutable backup strategy using restic with S3-compatible storage and object lock for ransomware-resistant data protection. Automates backup creation, integrity verification via restic check --read-data, snapshot retention policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO, and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion or encryption by ransomware actors.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: implementing-immutable-backup-with-restic\ndescription: 'Implements immutable backup strategy using restic with S3-compatible\n  storage and object lock for ransomware-resistant data protection. Automates backup\n  creation, integrity verification via restic check --read-data, snapshot retention\n  policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO,\n  and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion\n  or encryption by ransomware actors.\n\n  '\ndomain: cybersecurity\nsubdomain: ransomware-defense\ntags:\n- restic\n- backup\n- immutable\n- ransomware\n- s3\n- object-lock\n- worm\n- recovery\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.DS-11\n- RS.MA-01\n- RC.RP-01\n- PR.IR-01\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T1486\n- T1490\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\n---\n# Implementing Immutable Backup with Restic\n\n## When to Use\n\n- Establishing ransomware-resistant backup infrastructure with cryptographic integrity verification\n- Implementing 3-2-1-1-0 backup strategy where the extra 1 is an immutable copy\n- Automating backup verification workflows that test restore capability on a schedule\n- Protecting backup repositories from deletion or modification by compromised admin accounts\n- Meeting compliance requirements for data retention with tamper-proof storage\n\n**Do not use** as the sole backup solution without also maintaining offline\u002Fair-gapped copies. Object lock protects against logical deletion but not physical storage failure.\n\n## Prerequisites\n\n- restic binary installed (https:\u002F\u002Frestic.readthedocs.io\u002F)\n- S3-compatible storage with Object Lock enabled (AWS S3, MinIO, Backblaze B2)\n- Python 3.8+ with subprocess module\n- AWS CLI or MinIO client (mc) configured for bucket access\n- Sufficient storage for backup repository (typically 2-3x source data with deduplication)\n\n## Workflow\n\n### Step 1: Initialize Restic Repository with Encryption\n\nCreate an encrypted restic repository on S3-compatible storage with object lock enabled. Restic uses AES-256-CTR for encryption with Poly1305-AES for authentication, ensuring backup data is both confidential and tamper-evident.\n\n### Step 2: Configure Object Lock Retention\n\nEnable S3 Object Lock in Compliance mode on the backup bucket to prevent any principal (including root) from deleting or modifying objects during the retention period. Set retention to match your backup window requirements (typically 30-90 days).\n\n### Step 3: Automate Backup and Verification\n\nSchedule backup operations with post-backup integrity verification using `restic check --read-data` which downloads and verifies every data blob against its stored checksum. Log results and alert on any integrity failures.\n\n### Step 4: Test Restore Procedures\n\nPeriodically restore random files from backup snapshots to a temporary location and compare checksums against the original to validate end-to-end backup integrity. Document restore times for RTO planning.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Object Lock** | S3 feature that prevents object deletion or overwrite for a specified retention period |\n| **Compliance Mode** | Object Lock mode where even the root account cannot delete objects before retention expires |\n| **Deduplication** | Restic stores data in content-addressable chunks, deduplicating across all snapshots |\n| **3-2-1-1-0** | 3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors in verification |\n\n## Tools & Systems\n\n- **restic**: Fast, secure, cross-platform backup tool with built-in encryption and deduplication\n- **resticpy**: Python wrapper for restic CLI operations\n- **AWS S3 Object Lock**: WORM storage for tamper-proof backup retention\n- **MinIO**: Self-hosted S3-compatible storage with Object Lock support\n\n## Output Format\n\n```\nBACKUP VERIFICATION REPORT\n===========================\nRepository: s3:s3.amazonaws.com\u002Fcompany-backups-immutable\nSnapshots: 45\nTotal Size: 2.3 TiB (deduplicated from 8.7 TiB)\nLast Backup: 2026-03-11T02:00:00Z\nIntegrity Check: PASSED (all packs verified)\nObject Lock: Compliance mode, 90-day retention\nRestore Test: PASSED (15 files verified)\n```\n","# Implementing Immutable Backup with Restic\n\n## When to Use\n\n- Establishing ransomware-resistant backup infrastructure with cryptographic integrity verification\n- Implementing 3-2-1-1-0 backup strategy where the extra 1 is an immutable copy\n- Automating backup verification workflows that test restore capability on a schedule\n- Protecting backup repositories from deletion or modification by compromised admin accounts\n- Meeting compliance requirements for data retention with tamper-proof storage\n\n**Do not use** as the sole backup solution without also maintaining offline\u002Fair-gapped copies. Object lock protects against logical deletion but not physical storage failure.\n\n## Prerequisites\n\n- restic binary installed (https:\u002F\u002Frestic.readthedocs.io\u002F)\n- S3-compatible storage with Object Lock enabled (AWS S3, MinIO, Backblaze B2)\n- Python 3.8+ with subprocess module\n- AWS CLI or MinIO client (mc) configured for bucket access\n- Sufficient storage for backup repository (typically 2-3x source data with deduplication)\n\n## Workflow\n\n### Step 1: Initialize Restic Repository with Encryption\n\nCreate an encrypted restic repository on S3-compatible storage with object lock enabled. Restic uses AES-256-CTR for encryption with Poly1305-AES for authentication, ensuring backup data is both confidential and tamper-evident.\n\n### Step 2: Configure Object Lock Retention\n\nEnable S3 Object Lock in Compliance mode on the backup bucket to prevent any principal (including root) from deleting or modifying objects during the retention period. Set retention to match your backup window requirements (typically 30-90 days).\n\n### Step 3: Automate Backup and Verification\n\nSchedule backup operations with post-backup integrity verification using `restic check --read-data` which downloads and verifies every data blob against its stored checksum. Log results and alert on any integrity failures.\n\n### Step 4: Test Restore Procedures\n\nPeriodically restore random files from backup snapshots to a temporary location and compare checksums against the original to validate end-to-end backup integrity. Document restore times for RTO planning.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Object Lock** | S3 feature that prevents object deletion or overwrite for a specified retention period |\n| **Compliance Mode** | Object Lock mode where even the root account cannot delete objects before retention expires |\n| **Deduplication** | Restic stores data in content-addressable chunks, deduplicating across all snapshots |\n| **3-2-1-1-0** | 3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors in verification |\n\n## Tools & Systems\n\n- **restic**: Fast, secure, cross-platform backup tool with built-in encryption and deduplication\n- **resticpy**: Python wrapper for restic CLI operations\n- **AWS S3 Object Lock**: WORM storage for tamper-proof backup retention\n- **MinIO**: Self-hosted S3-compatible storage with Object Lock support\n\n## Output Format\n\n```\nBACKUP VERIFICATION REPORT\n===========================\nRepository: s3:s3.amazonaws.com\u002Fcompany-backups-immutable\nSnapshots: 45\nTotal Size: 2.3 TiB (deduplicated from 8.7 TiB)\nLast Backup: 2026-03-11T02:00:00Z\nIntegrity Check: PASSED (all packs verified)\nObject Lock: Compliance mode, 90-day retention\nRestore Test: PASSED (15 files verified)\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"source":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":44,"nist_ai_rmf":45,"mitre_attack":49,"source_commit":55,"atlas_techniques":56},[26,27,28,29,30,31,32,33],"restic","backup","immutable","ransomware","s3","object-lock","worm","recovery","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0.0",[39,40,41,42],"PR.DS-11","RS.MA-01","RC.RP-01","PR.IR-01","ransomware-defense","Implements immutable backup strategy using restic with S3-compatible storage and object lock for ransomware-resistant data protection. Automates backup creation, integrity verification via restic check --read-data, snapshot retention policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO, and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion or encryption by ransomware actors.\n",[46,47,48],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[50,51,52,53,54],"T1078","T1190","T1059","T1486","T1490","04450304b12645cb2b974ab96d28c0664758a88d",[57,58,59],"AML.T0070","AML.T0066","AML.T0082","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fimplementing-immutable-backup-with-restic",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill implementing-immutable-backup-with-restic",{"tool":76,"command":77},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill implementing-immutable-backup-with-restic",{"tool":79,"command":80},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill implementing-immutable-backup-with-restic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",true,[84,88,94],{"path":85,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fapi-reference.md","REFERENCE","参考文档",3035,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Freferences\u002Fapi-reference.md",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fagent.py","SCRIPT","脚本",17170,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Fscripts\u002Fagent.py",[101,109,116,124,132,140],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]