[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D7JEH7AP816XTV78X8F00S":3,"skill-same:01M7D7JEH7AP816XTV78X8F00S":84},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7D7JEH7AP816XTV78X8F00S","deploying-honeytokens-and-canarytokens",null,"Plants Canarytokens-based decoy artifacts (honey credentials, DNS tokens, web-bug URLs, AWS keys, documents, kubeconfigs) using Thinkst's open-source Canarytokens project and alerts via email or webhook when a token is touched. Use for high-fidelity intrusion detection in low-telemetry areas like file shares or credential stores, or to catch credential dumping and data-theft staging.","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-honeytokens-and-canarytokens\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deploying-honeytokens-and-canarytokens\ndescription: Plants Canarytokens-based decoy artifacts (honey credentials, DNS tokens, web-bug URLs, AWS keys, documents, kubeconfigs) using Thinkst's open-source Canarytokens project and alerts via email or webhook when a token is touched. Use for high-fidelity intrusion detection in low-telemetry areas like file shares or credential stores, or to catch credential dumping and data-theft staging.\ndomain: cybersecurity\nsubdomain: deception-technology\ntags:\n- deception-technology\n- canarytokens\n- honeytokens\n- breach-detection\n- threat-detection\n- d3fend\n- decoy-credentials\n- intrusion-detection\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\nmitre_attack:\n- T1556\n---\n# Deploying Honeytokens and Canarytokens\n\n> **Authorized Use Only:** Deception assets described here are defensive controls deployed inside your own environment. Deploying tokens, decoy credentials, or honeypots on infrastructure you do not own or administer, or using them to entrap third parties, may violate computer-misuse and privacy law. Deploy only on assets you own or are explicitly authorized to instrument, and route all alert data through approved monitoring channels.\n\n## Overview\n\nHoneytokens (a.k.a. canarytokens) are decoy artifacts — credentials, files, URLs, API keys, DNS names, database connection strings, documents — that have no legitimate operational use. Because no authorized user or process should ever touch them, **any** interaction is a high-fidelity signal of an intrusion, insider misuse, or reconnaissance. Unlike signature- or anomaly-based detection, honeytokens generate near-zero false positives: the alert *is* the compromise.\n\nThinkst's open-source **Canarytokens** project (https:\u002F\u002Fcanarytokens.org and the self-hostable `thinkst\u002Fcanarytokens-docker`) generates dozens of token types that \"phone home\" when triggered: an HTTP\u002Fweb-bug URL that fires on GET, an AWS API key that fires when used against AWS, an MS Word\u002FPDF document that fires on open, a DNS token that fires on resolution, a Slack API token, a Kubernetes `kubeconfig`, an Azure login certificate, a `log4shell` payload, and more. Each token is bound to a unique `memo` (so you know *where* it was planted) plus an alert channel (email and\u002For webhook).\n\nThis skill maps to MITRE D3FEND's **Decoy File (D3-DF)**, **Decoy User Credential (D3-DUC)**, and **Honeytoken** techniques. From an ATT&CK perspective, a triggered honey credential most commonly evidences adversary attempts to abuse or modify authentication material (**T1556 – Modify Authentication Process** and related credential-access activity), giving the SOC an early, unambiguous tripwire deep inside the kill chain — typically after initial access but before lateral movement completes.\n\n## When to Use\n\n- When you need high-fidelity intrusion detection in segments where traditional telemetry is sparse (file shares, password vaults, code repos, cloud accounts).\n- When validating that an attacker who reaches a \"crown-jewel\" host or document store is detected, not just blocked at the perimeter.\n- When seeding decoy credentials into LSASS-reachable memory, browser stores, `.aws\u002Fcredentials`, or password managers to catch credential dumping and reuse.\n- When instrumenting documents, repos, or wikis to catch data theft and ransomware staging.\n- When building a MITRE D3FEND-aligned deception layer as part of a defense-in-depth or zero-trust program.\n\n## Prerequisites\n\n- Docker Engine and Docker Compose v2 for self-hosting (`docker compose version`).\n- A registered domain you control plus DNS delegation for DNS-based tokens (NS records pointing at your switchboard host).\n- A public IPv4 address reachable on 80\u002F443 (HTTP tokens) and 53\u002Fudp (DNS tokens).\n- An SMTP relay or Mailgun account, and\u002For a Slack\u002FTeams\u002Fgeneric webhook URL for alert delivery.\n- Python 3.8+ for the helper script:\n  ```bash\n  python3 -m pip install requests\n  ```\n- For quick use with no hosting, an account-free token from the public service at https:\u002F\u002Fcanarytokens.org.\n\n## Objectives\n\n- Stand up a self-hosted Canarytokens instance (or use the public service) with working alerting.\n- Generate the major token types (HTTP, DNS, AWS key, MS Word\u002FPDF, Slack, kubeconfig) with descriptive memos.\n- Plant decoy credentials and decoy files in realistic, monitored locations.\n- Validate that each token fires and that alerts reach the SOC channel.\n- Catalogue deployed tokens and map them to MITRE D3FEND\u002FATT&CK for coverage tracking.\n\n## MITRE ATT&CK Mapping\n\n| ID | Official Technique Name | Relevance |\n|----|------------------------|-----------|\n| T1556 | Modify Authentication Process | A triggered honey credential reveals an adversary harvesting\u002Fabusing authentication material; the decoy provides a detection tripwire for credential abuse activity. |\n\n**Related MITRE D3FEND defensive techniques** (the offensive counter-mapping for this control):\n\n| D3FEND ID | Technique | Role |\n|-----------|-----------|------|\n| D3-DF | Decoy File | Canary documents, fake configs, decoy archives placed and monitored. |\n| D3-DUC | Decoy User Credential | Honey credentials (AWS keys, AD accounts, kubeconfig) integrated with a monitored decoy asset. |\n| D3-DO | Decoy Object | Umbrella for honeytokens\u002Fcanarytokens as monitored decoy artifacts. |\n\n## Workflow\n\n### 1. Deploy a self-hosted Canarytokens switchboard\nClone the official Docker repo and create the two environment files from their distributed templates:\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens-docker\ncd canarytokens-docker\ncp switchboard.env.dist switchboard.env\ncp frontend.env.dist frontend.env\n```\nSet the core variables. In `frontend.env`:\n```ini\nCANARY_DOMAINS=canary.example.com          # general-purpose token domains (comma-separated)\nCANARY_NXDOMAINS=nx.example.com            # domains reserved for PDF\u002FDNS tokens\nCANARY_PUBLIC_IP=203.0.113.10              # public IP of this host\n```\nIn `switchboard.env`:\n```ini\nCANARY_PUBLIC_DOMAIN=canary.example.com\nCANARY_MAILGUN_DOMAIN_NAME=mg.example.com\nCANARY_MAILGUN_API_KEY=key-xxxxxxxxxxxxxxxx\nCANARY_ALERT_EMAIL_FROM_ADDRESS=canary@example.com\nCANARY_ALERT_EMAIL_FROM_DISPLAY=Canarytokens\nCANARY_ALERT_EMAIL_SUBJECT=Canarytoken Triggered\n# WireGuard token seed:\n# dd bs=32 count=1 if=\u002Fdev\u002Furandom 2>\u002Fdev\u002Fnull | base64\nCANARY_WG_PRIVATE_KEY_SEED=\u003Cbase64-seed>\n```\n\n### 2. Bring the stack up\n```bash\ndocker compose up -d\n# HTTPS with automatic Let's Encrypt certs (after editing certbot.env):\n# docker compose -f docker-compose-letsencrypt.yml up -d\ndocker compose ps\ndocker compose logs -f frontend\n```\nThe frontend (token generator UI) is now served on your `CANARY_PUBLIC_DOMAIN`; the switchboard listens on 80\u002F443 and 53\u002Fudp to receive triggers.\n\n### 3. Generate an HTTP (web-bug) token via the API\nBoth the public service and a self-hosted frontend expose a `POST \u002Fgenerate` endpoint. Create an HTTP token that fires on any GET:\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=http' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Internal wiki - IT admin passwords page' \\\n  -F 'webhook_url=https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FT000\u002FB000\u002FXXXX'\n# Response JSON includes: token, auth, hostname, url, url_components\n```\nThe returned `url` is the trip-wire link; place it where only an intruder would find it (a fake bookmark, a hidden link in a wiki page, an email signature).\n\n### 4. Generate a cloud credential (AWS API key) honeytoken\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=aws_keys' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Decoy AWS keys - jenkins build host \u002Froot\u002F.aws\u002Fcredentials'\n# Response contains access_key_id and secret_access_key plus a downloadable\n# credentials file via \u002Fdownload?token=\u003Ctoken>&auth=\u003Cauth>&fmt=aws_keys\n```\nDrop the keys into a plausible `~\u002F.aws\u002Fcredentials` on a monitored host. Any `sts:GetCallerIdentity` or other AWS call using them triggers an alert with the source IP and user agent.\n\n### 5. Generate a document token (MS Word \u002F PDF) for data-theft detection\n```bash\n# MS Word\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=msword' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Q4-Layoffs-DRAFT.docx on FILESERVER01\\\\HR$' \\\n  -o token-meta.json\n# Download the weaponized document:\ncurl -s \"https:\u002F\u002Fcanarytokens.org\u002Fdownload?fmt=msword&token=\u003Ctoken>&auth=\u003Cauth>\" -o Q4-Layoffs-DRAFT.docx\n```\nFor PDFs use `type=adobe_pdf`. The document phones home when opened (DNS\u002FHTTP callback), exposing the reader's IP.\n\n### 6. Plant a DNS token for resolver-level tripwires\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=dns' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=DNS canary referenced in backup script comments'\n# Response 'hostname' is a unique FQDN; any resolution of it fires an alert.\n```\nEmbed the hostname in scripts, configs, or `\u002Fetc\u002Fhosts` comments. Because resolution alone triggers it, DNS tokens catch reconnaissance even when egress HTTP is blocked.\n\n### 7. Generate infrastructure tokens (Slack, kubeconfig, Azure)\n```bash\n# Slack API token canary (fires when the fake token is used against Slack)\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate -F 'type=slack_api' \\\n  -F 'email=soc@example.com' -F 'memo=Decoy Slack bot token in repo .env'\n\n# Kubeconfig canary (fires when used against the kube API)\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate -F 'type=kubeconfig' \\\n  -F 'email=soc@example.com' -F 'memo=Decoy kubeconfig in \u002Fhome\u002Fdeploy\u002F.kube\u002Fconfig'\n```\nCommit decoy `.env` \u002F `kubeconfig` files only to repos and hosts you instrument, never to public repos.\n\n### 8. Plant Active Directory honey credentials (decoy user)\nCreate a non-privileged-looking but never-used AD account whose authentication is alerted on. Set a SPN so it appears Kerberoastable bait, and forward Event ID 4768\u002F4769\u002F4625 for it to your SIEM:\n```powershell\nNew-ADUser -Name \"svc_backup_legacy\" -SamAccountName \"svc_backup_legacy\" `\n  -AccountPassword (ConvertTo-SecureString 'C0mpl3xDecoy!2026' -AsPlainText -Force) `\n  -Enabled $true -Description \"Legacy backup service (do not use)\"\nSet-ADUser svc_backup_legacy -ServicePrincipalNames @{Add=\"MSSQLSvc\u002Fdecoy.example.com:1433\"}\n```\nAdd a Windows audit ACL\u002FSACL or a SIEM correlation rule so any 4768\u002F4769 for `svc_backup_legacy` pages the SOC — no legitimate logon should ever occur.\n\n### 9. Validate and catalogue\nTrigger each token from a controlled host and confirm the alert lands:\n```bash\n# HTTP token\ncurl -s \"https:\u002F\u002Fcanary.example.com\u002F\u003Ctoken-url>\" >\u002Fdev\u002Fnull\n# DNS token\ndig +short \u003Cunique-hostname>\n# AWS key token\nAWS_ACCESS_KEY_ID=\u003Cid> AWS_SECRET_ACCESS_KEY=\u003Csecret> aws sts get-caller-identity\n```\nRecord each deployed token (type, memo, location, alert channel, D3FEND mapping) in an inventory. Use the helper script below to bulk-generate and export this inventory as JSON.\n\n## Tools and Resources\n\n| Tool \u002F Resource | Purpose | Link |\n|-----------------|---------|------|\n| Canarytokens (public) | Free hosted token generation | https:\u002F\u002Fcanarytokens.org |\n| canarytokens-docker | Self-hosted switchboard + frontend | https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens-docker |\n| canarytokens (core) | Source for the token engine | https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens |\n| Canarytokens docs | Per-token-type usage guides | https:\u002F\u002Fdocs.canarytokens.org |\n| MITRE D3FEND | Defensive technique taxonomy (D3-DF, D3-DUC) | https:\u002F\u002Fd3fend.mitre.org |\n| MITRE ATT&CK T1556 | Modify Authentication Process | https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1556\u002F |\n\n## Token Type Reference\n\n| `type` value | Token | Fires when |\n|--------------|-------|-----------|\n| `http` | Web-bug URL | URL is requested (GET) |\n| `dns` | DNS name | Hostname is resolved |\n| `aws_keys` | AWS API key | Keys used against AWS |\n| `msword` \u002F `adobe_pdf` | Office\u002FPDF document | Document is opened |\n| `slack_api` | Slack API token | Token used against Slack |\n| `kubeconfig` | Kubernetes config | Used against the kube API |\n| `azure_id` | Azure login certificate | Cert used to authenticate to Azure |\n| `qr_code` | QR code | Encoded URL is requested |\n| `web_image` | Image web-bug | Image is loaded |\n| `log4shell` | Log4j JNDI string | Vulnerable logger evaluates it |\n| `cmd` | Sensitive command (Windows) | Process\u002Fcommand is executed |\n\n## Validation Criteria\n\n- [ ] Self-hosted switchboard (or public service) deployed and reachable on 80\u002F443 and 53\u002Fudp.\n- [ ] Alert channel (email and\u002For webhook) configured and test alert received.\n- [ ] At least one each of HTTP, DNS, cloud-credential, and document tokens generated with descriptive memos.\n- [ ] Decoy credentials planted in realistic, monitored locations (no production secrets co-located).\n- [ ] AD honey account created with SACL\u002FSIEM rule firing on any authentication.\n- [ ] Each token validated by a controlled trigger; alert confirmed end-to-end.\n- [ ] Token inventory exported (type, memo, location, alert channel, D3-DF\u002FD3-DUC mapping).\n- [ ] No tokens committed to public repositories or planted on out-of-scope systems.\n","# Deploying Honeytokens and Canarytokens\n\n> **Authorized Use Only:** Deception assets described here are defensive controls deployed inside your own environment. Deploying tokens, decoy credentials, or honeypots on infrastructure you do not own or administer, or using them to entrap third parties, may violate computer-misuse and privacy law. Deploy only on assets you own or are explicitly authorized to instrument, and route all alert data through approved monitoring channels.\n\n## Overview\n\nHoneytokens (a.k.a. canarytokens) are decoy artifacts — credentials, files, URLs, API keys, DNS names, database connection strings, documents — that have no legitimate operational use. Because no authorized user or process should ever touch them, **any** interaction is a high-fidelity signal of an intrusion, insider misuse, or reconnaissance. Unlike signature- or anomaly-based detection, honeytokens generate near-zero false positives: the alert *is* the compromise.\n\nThinkst's open-source **Canarytokens** project (https:\u002F\u002Fcanarytokens.org and the self-hostable `thinkst\u002Fcanarytokens-docker`) generates dozens of token types that \"phone home\" when triggered: an HTTP\u002Fweb-bug URL that fires on GET, an AWS API key that fires when used against AWS, an MS Word\u002FPDF document that fires on open, a DNS token that fires on resolution, a Slack API token, a Kubernetes `kubeconfig`, an Azure login certificate, a `log4shell` payload, and more. Each token is bound to a unique `memo` (so you know *where* it was planted) plus an alert channel (email and\u002For webhook).\n\nThis skill maps to MITRE D3FEND's **Decoy File (D3-DF)**, **Decoy User Credential (D3-DUC)**, and **Honeytoken** techniques. From an ATT&CK perspective, a triggered honey credential most commonly evidences adversary attempts to abuse or modify authentication material (**T1556 – Modify Authentication Process** and related credential-access activity), giving the SOC an early, unambiguous tripwire deep inside the kill chain — typically after initial access but before lateral movement completes.\n\n## When to Use\n\n- When you need high-fidelity intrusion detection in segments where traditional telemetry is sparse (file shares, password vaults, code repos, cloud accounts).\n- When validating that an attacker who reaches a \"crown-jewel\" host or document store is detected, not just blocked at the perimeter.\n- When seeding decoy credentials into LSASS-reachable memory, browser stores, `.aws\u002Fcredentials`, or password managers to catch credential dumping and reuse.\n- When instrumenting documents, repos, or wikis to catch data theft and ransomware staging.\n- When building a MITRE D3FEND-aligned deception layer as part of a defense-in-depth or zero-trust program.\n\n## Prerequisites\n\n- Docker Engine and Docker Compose v2 for self-hosting (`docker compose version`).\n- A registered domain you control plus DNS delegation for DNS-based tokens (NS records pointing at your switchboard host).\n- A public IPv4 address reachable on 80\u002F443 (HTTP tokens) and 53\u002Fudp (DNS tokens).\n- An SMTP relay or Mailgun account, and\u002For a Slack\u002FTeams\u002Fgeneric webhook URL for alert delivery.\n- Python 3.8+ for the helper script:\n  ```bash\n  python3 -m pip install requests\n  ```\n- For quick use with no hosting, an account-free token from the public service at https:\u002F\u002Fcanarytokens.org.\n\n## Objectives\n\n- Stand up a self-hosted Canarytokens instance (or use the public service) with working alerting.\n- Generate the major token types (HTTP, DNS, AWS key, MS Word\u002FPDF, Slack, kubeconfig) with descriptive memos.\n- Plant decoy credentials and decoy files in realistic, monitored locations.\n- Validate that each token fires and that alerts reach the SOC channel.\n- Catalogue deployed tokens and map them to MITRE D3FEND\u002FATT&CK for coverage tracking.\n\n## MITRE ATT&CK Mapping\n\n| ID | Official Technique Name | Relevance |\n|----|------------------------|-----------|\n| T1556 | Modify Authentication Process | A triggered honey credential reveals an adversary harvesting\u002Fabusing authentication material; the decoy provides a detection tripwire for credential abuse activity. |\n\n**Related MITRE D3FEND defensive techniques** (the offensive counter-mapping for this control):\n\n| D3FEND ID | Technique | Role |\n|-----------|-----------|------|\n| D3-DF | Decoy File | Canary documents, fake configs, decoy archives placed and monitored. |\n| D3-DUC | Decoy User Credential | Honey credentials (AWS keys, AD accounts, kubeconfig) integrated with a monitored decoy asset. |\n| D3-DO | Decoy Object | Umbrella for honeytokens\u002Fcanarytokens as monitored decoy artifacts. |\n\n## Workflow\n\n### 1. Deploy a self-hosted Canarytokens switchboard\nClone the official Docker repo and create the two environment files from their distributed templates:\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens-docker\ncd canarytokens-docker\ncp switchboard.env.dist switchboard.env\ncp frontend.env.dist frontend.env\n```\nSet the core variables. In `frontend.env`:\n```ini\nCANARY_DOMAINS=canary.example.com          # general-purpose token domains (comma-separated)\nCANARY_NXDOMAINS=nx.example.com            # domains reserved for PDF\u002FDNS tokens\nCANARY_PUBLIC_IP=203.0.113.10              # public IP of this host\n```\nIn `switchboard.env`:\n```ini\nCANARY_PUBLIC_DOMAIN=canary.example.com\nCANARY_MAILGUN_DOMAIN_NAME=mg.example.com\nCANARY_MAILGUN_API_KEY=key-xxxxxxxxxxxxxxxx\nCANARY_ALERT_EMAIL_FROM_ADDRESS=canary@example.com\nCANARY_ALERT_EMAIL_FROM_DISPLAY=Canarytokens\nCANARY_ALERT_EMAIL_SUBJECT=Canarytoken Triggered\n# WireGuard token seed:\n# dd bs=32 count=1 if=\u002Fdev\u002Furandom 2>\u002Fdev\u002Fnull | base64\nCANARY_WG_PRIVATE_KEY_SEED=\u003Cbase64-seed>\n```\n\n### 2. Bring the stack up\n```bash\ndocker compose up -d\n# HTTPS with automatic Let's Encrypt certs (after editing certbot.env):\n# docker compose -f docker-compose-letsencrypt.yml up -d\ndocker compose ps\ndocker compose logs -f frontend\n```\nThe frontend (token generator UI) is now served on your `CANARY_PUBLIC_DOMAIN`; the switchboard listens on 80\u002F443 and 53\u002Fudp to receive triggers.\n\n### 3. Generate an HTTP (web-bug) token via the API\nBoth the public service and a self-hosted frontend expose a `POST \u002Fgenerate` endpoint. Create an HTTP token that fires on any GET:\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=http' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Internal wiki - IT admin passwords page' \\\n  -F 'webhook_url=https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FT000\u002FB000\u002FXXXX'\n# Response JSON includes: token, auth, hostname, url, url_components\n```\nThe returned `url` is the trip-wire link; place it where only an intruder would find it (a fake bookmark, a hidden link in a wiki page, an email signature).\n\n### 4. Generate a cloud credential (AWS API key) honeytoken\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=aws_keys' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Decoy AWS keys - jenkins build host \u002Froot\u002F.aws\u002Fcredentials'\n# Response contains access_key_id and secret_access_key plus a downloadable\n# credentials file via \u002Fdownload?token=\u003Ctoken>&auth=\u003Cauth>&fmt=aws_keys\n```\nDrop the keys into a plausible `~\u002F.aws\u002Fcredentials` on a monitored host. Any `sts:GetCallerIdentity` or other AWS call using them triggers an alert with the source IP and user agent.\n\n### 5. Generate a document token (MS Word \u002F PDF) for data-theft detection\n```bash\n# MS Word\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=msword' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=Q4-Layoffs-DRAFT.docx on FILESERVER01\\\\HR$' \\\n  -o token-meta.json\n# Download the weaponized document:\ncurl -s \"https:\u002F\u002Fcanarytokens.org\u002Fdownload?fmt=msword&token=\u003Ctoken>&auth=\u003Cauth>\" -o Q4-Layoffs-DRAFT.docx\n```\nFor PDFs use `type=adobe_pdf`. The document phones home when opened (DNS\u002FHTTP callback), exposing the reader's IP.\n\n### 6. Plant a DNS token for resolver-level tripwires\n```bash\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate \\\n  -F 'type=dns' \\\n  -F 'email=soc@example.com' \\\n  -F 'memo=DNS canary referenced in backup script comments'\n# Response 'hostname' is a unique FQDN; any resolution of it fires an alert.\n```\nEmbed the hostname in scripts, configs, or `\u002Fetc\u002Fhosts` comments. Because resolution alone triggers it, DNS tokens catch reconnaissance even when egress HTTP is blocked.\n\n### 7. Generate infrastructure tokens (Slack, kubeconfig, Azure)\n```bash\n# Slack API token canary (fires when the fake token is used against Slack)\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate -F 'type=slack_api' \\\n  -F 'email=soc@example.com' -F 'memo=Decoy Slack bot token in repo .env'\n\n# Kubeconfig canary (fires when used against the kube API)\ncurl -s https:\u002F\u002Fcanarytokens.org\u002Fgenerate -F 'type=kubeconfig' \\\n  -F 'email=soc@example.com' -F 'memo=Decoy kubeconfig in \u002Fhome\u002Fdeploy\u002F.kube\u002Fconfig'\n```\nCommit decoy `.env` \u002F `kubeconfig` files only to repos and hosts you instrument, never to public repos.\n\n### 8. Plant Active Directory honey credentials (decoy user)\nCreate a non-privileged-looking but never-used AD account whose authentication is alerted on. Set a SPN so it appears Kerberoastable bait, and forward Event ID 4768\u002F4769\u002F4625 for it to your SIEM:\n```powershell\nNew-ADUser -Name \"svc_backup_legacy\" -SamAccountName \"svc_backup_legacy\" `\n  -AccountPassword (ConvertTo-SecureString 'C0mpl3xDecoy!2026' -AsPlainText -Force) `\n  -Enabled $true -Description \"Legacy backup service (do not use)\"\nSet-ADUser svc_backup_legacy -ServicePrincipalNames @{Add=\"MSSQLSvc\u002Fdecoy.example.com:1433\"}\n```\nAdd a Windows audit ACL\u002FSACL or a SIEM correlation rule so any 4768\u002F4769 for `svc_backup_legacy` pages the SOC — no legitimate logon should ever occur.\n\n### 9. Validate and catalogue\nTrigger each token from a controlled host and confirm the alert lands:\n```bash\n# HTTP token\ncurl -s \"https:\u002F\u002Fcanary.example.com\u002F\u003Ctoken-url>\" >\u002Fdev\u002Fnull\n# DNS token\ndig +short \u003Cunique-hostname>\n# AWS key token\nAWS_ACCESS_KEY_ID=\u003Cid> AWS_SECRET_ACCESS_KEY=\u003Csecret> aws sts get-caller-identity\n```\nRecord each deployed token (type, memo, location, alert channel, D3FEND mapping) in an inventory. Use the helper script below to bulk-generate and export this inventory as JSON.\n\n## Tools and Resources\n\n| Tool \u002F Resource | Purpose | Link |\n|-----------------|---------|------|\n| Canarytokens (public) | Free hosted token generation | https:\u002F\u002Fcanarytokens.org |\n| canarytokens-docker | Self-hosted switchboard + frontend | https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens-docker |\n| canarytokens (core) | Source for the token engine | https:\u002F\u002Fgithub.com\u002Fthinkst\u002Fcanarytokens |\n| Canarytokens docs | Per-token-type usage guides | https:\u002F\u002Fdocs.canarytokens.org |\n| MITRE D3FEND | Defensive technique taxonomy (D3-DF, D3-DUC) | https:\u002F\u002Fd3fend.mitre.org |\n| MITRE ATT&CK T1556 | Modify Authentication Process | https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1556\u002F |\n\n## Token Type Reference\n\n| `type` value | Token | Fires when |\n|--------------|-------|-----------|\n| `http` | Web-bug URL | URL is requested (GET) |\n| `dns` | DNS name | Hostname is resolved |\n| `aws_keys` | AWS API key | Keys used against AWS |\n| `msword` \u002F `adobe_pdf` | Office\u002FPDF document | Document is opened |\n| `slack_api` | Slack API token | Token used against Slack |\n| `kubeconfig` | Kubernetes config | Used against the kube API |\n| `azure_id` | Azure login certificate | Cert used to authenticate to Azure |\n| `qr_code` | QR code | Encoded URL is requested |\n| `web_image` | Image web-bug | Image is loaded |\n| `log4shell` | Log4j JNDI string | Vulnerable logger evaluates it |\n| `cmd` | Sensitive command (Windows) | Process\u002Fcommand is executed |\n\n## Validation Criteria\n\n- [ ] Self-hosted switchboard (or public service) deployed and reachable on 80\u002F443 and 53\u002Fudp.\n- [ ] Alert channel (email and\u002For webhook) configured and test alert received.\n- [ ] At least one each of HTTP, DNS, cloud-credential, and document tokens generated with descriptive memos.\n- [ ] Decoy credentials planted in realistic, monitored locations (no production secrets co-located).\n- [ ] AD honey account created with SACL\u002FSIEM rule firing on any authentication.\n- [ ] Each token validated by a controlled trigger; alert confirmed end-to-end.\n- [ ] Token inventory exported (type, memo, location, alert channel, D3-DF\u002FD3-DUC mapping).\n- [ ] No tokens committed to public repositories or planted on out-of-scope systems.\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":26,"description":7,"mitre_attack":39},[26,27,28,29,30,31,32,33],"deception-technology","canarytokens","honeytokens","breach-detection","threat-detection","d3fend","decoy-credentials","intrusion-detection","mahipal","cybersecurity","1.0",[38],"DE.CM-01",[40],"T1556","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens",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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-honeytokens-and-canarytokens",{"tool":56,"command":57},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-honeytokens-and-canarytokens",{"tool":59,"command":60},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill deploying-honeytokens-and-canarytokens","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens\u002FSKILL.md",true,[64,68,74,78],{"path":65,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fapi-reference.md","REFERENCE","参考文档",3632,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens\u002Freferences\u002Fapi-reference.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fstandards.md",1534,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens\u002Freferences\u002Fstandards.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",6773,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdeploying-honeytokens-and-canarytokens\u002Fscripts\u002Fagent.py",[85,93,101,110,117,124],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":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":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"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":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"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":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"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",[],[]]