Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)35k Β· #7783

deploying-honeytokens-and-canarytokens

Fungsinya

Tool ini membuat 'honeytoken' (canarytoken), yaitu file atau tautan palsu. Jika ada yang mencoba menggunakan atau membuka salah satu token ini, Anda akan menerima notifikasi.

Kapan dipakai

  • βœ“Untuk mendeteksi penyusup di area yang jarang memiliki informasi.
  • βœ“Untuk mengetahui apakah kredensial yang dicuri pernah digunakan.
  • βœ“Untuk mengidentifikasi pencurian data atau tahap persiapan ransomware.

Link skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/deploying-honeytokens-and-canarytokens/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/deploying-honeytokens-and-canarytokens/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat token dokumen palsu untuk mendeteksi akses tidak sah ke file penting.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda menyiapkan server khusus (Canarytokens) yang menghasilkan token palsu ini. Saat token diaktifkan, sistem akan mengirim notifikasi kepada Anda melalui email atau sistem lain.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Deploying Honeytokens and Canarytokens

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.

Overview

Honeytokens (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.

Thinkst's open-source Canarytokens project (https://canarytokens.org and the self-hostable thinkst/canarytokens-docker) generates dozens of token types that "phone home" when triggered: an HTTP/web-bug URL that fires on GET, an AWS API key that fires when used against AWS, an MS Word/PDF 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/or webhook).

This 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.

When to Use

  • When you need high-fidelity intrusion detection in segments where traditional telemetry is sparse (file shares, password vaults, code repos, cloud accounts).
  • When validating that an attacker who reaches a "crown-jewel" host or document store is detected, not just blocked at the perimeter.
  • When seeding decoy credentials into LSASS-reachable memory, browser stores, .aws/credentials, or password managers to catch credential dumping and reuse.
  • When instrumenting documents, repos, or wikis to catch data theft and ransomware staging.
  • When building a MITRE D3FEND-aligned deception layer as part of a defense-in-depth or zero-trust program.

Prerequisites

  • Docker Engine and Docker Compose v2 for self-hosting (docker compose version).
  • A registered domain you control plus DNS delegation for DNS-based tokens (NS records pointing at your switchboard host).
  • A public IPv4 address reachable on 80/443 (HTTP tokens) and 53/udp (DNS tokens).
  • An SMTP relay or Mailgun account, and/or a Slack/Teams/generic webhook URL for alert delivery.
  • Python 3.8+ for the helper script:
    python3 -m pip install requests
    
  • For quick use with no hosting, an account-free token from the public service at https://canarytokens.org.

Objectives

  • Stand up a self-hosted Canarytokens instance (or use the public service) with working alerting.
  • Generate the major token types (HTTP, DNS, AWS key, MS Word/PDF, Slack, kubeconfig) with descriptive memos.
  • Plant decoy credentials and decoy files in realistic, monitored locations.
  • Validate that each token fires and that alerts reach the SOC channel.
  • Catalogue deployed tokens and map them to MITRE D3FEND/ATT&CK for coverage tracking.

MITRE ATT&CK Mapping

ID Official Technique Name Relevance
T1556 Modify Authentication Process A triggered honey credential reveals an adversary harvesting/abusing authentication material; the decoy provides a detection tripwire for credential abuse activity.

Related MITRE D3FEND defensive techniques (the offensive counter-mapping for this control):

D3FEND ID Technique Role
D3-DF Decoy File Canary documents, fake configs, decoy archives placed and monitored.
D3-DUC Decoy User Credential Honey credentials (AWS keys, AD accounts, kubeconfig) integrated with a monitored decoy asset.

…

Pertanyaan umum

Apa itu 'honeytoken'?

Itu adalah item palsu (seperti kata sandi, tautan, atau dokumen) yang dibuat agar terlihat asli. Karena tidak punya kegunaan normal, setiap akses ke item tersebut merupakan tanda peringatan.

Mengapa menggunakan ini?

Untuk mendeteksi aktivitas mencurigakan dengan akurasi tinggi, karena hanya penyusup atau orang yang berniat jahat yang akan menggunakan token ini.

Apakah saya perlu memasang sesuatu?

Ya. Anda bisa memasang program Canarytokens di komputer sendiri (menggunakan Docker) atau menggunakan layanan online gratis mereka.

Detail

Deskripsi asli dari pembuat

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularitas

Bintang GitHub
35k
Peringkat
#7783
Lisensi
Apache-2.0
Diperbarui
31/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa