본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)35k · #7783

deploying-honeytokens-and-canarytokens

하는 일

이 도구는 '허니토큰'(카나리토큰)을 만듭니다. 이는 가짜 파일이나 링크로, 누군가 이 토큰을 사용하거나 열면 경보를 받습니다.

사용하는 경우

  • ✓정보가 적은 영역에서 침입자를 탐지할 때.
  • ✓도난당한 인증 정보가 사용되었는지 알고 싶을 때.
  • ✓데이터 도난이나 랜섬웨어 준비 단계를 식별하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/deploying-honeytokens-and-canarytokens/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“중요한 파일에 대한 무단 접근을 탐지하도록 가짜 문서 토큰을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

특수한 서버(Canarytokens)를 설정해 이런 가짜 토큰을 생성합니다. 토큰이 활성화되면 이메일이나 다른 시스템으로 알림을 보냅니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

…

자주 묻는 질문

'허니토큰'이란 무엇인가요?

진짜처럼 보이도록 만든 가짜 항목(비밀번호, 링크, 문서 등)입니다. 정상적인 용도가 없으므로 이것에 접근하는 것은 경고 신호입니다.

왜 이것을 사용하나요?

침입자나 악의적으로 행동하는 사람만 이 토큰을 사용할 것이므로, 의심스러운 활동을 높은 정확도로 탐지할 수 있기 때문입니다.

설치해야 하는 것이 있나요?

네, Docker를 사용해 자신의 컴퓨터에 Canarytokens 프로그램을 설치하거나, 무료 온라인 서비스를 이용할 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
35k
순위
#7783
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬