implementing-honeytokens-for-breach-detection
하는 일
이 도구는 가짜 자격 증명이나 특별한 링크 같은 디지털 ‘덫’을 만듭니다. 공격자가 이 덫을 사용하려 하면 즉시 알림을 받습니다.
사용하는 경우
- ✓침입자를 탐지하는 보안 시스템을 설정할 때.
- ✓무단 접근에 대한 조기 경고가 필요할 때.
- ✓시스템의 보안을 테스트하는 경우.
스킬 링크
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“누가 제 시스템에 접근하려는지 알아내기 위해 가짜 AWS 자격 증명을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 도구는 전략적인 위치에 배치할 특별한 ‘토큰’을 생성합니다. 누군가(공격자 포함)가 이 토큰에 접근하거나 사용하려 하면 알림이 전송됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Implementing Honeytokens for Breach Detection
When to Use
- When deploying or configuring implementing honeytokens for breach detection capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Familiarity with security operations concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Instructions
Deploy honeytokens across critical systems to detect unauthorized access. Each token type alerts via webhook when triggered by an attacker.
import requests
# Create a DNS canary token via Canarytokens
resp = requests.post("https://canarytokens.org/generate", data={
"type": "dns",
"email": "soc@company.com",
"memo": "Production DB server honeytoken",
})
token = resp.json()
print(f"DNS token: {token['hostname']}")
Token types to deploy:
- AWS credential files (~/.aws/credentials) with canary keys
- DNS tokens embedded in configuration files
- Document beacons (Word/PDF) in sensitive file shares
- Database honeytoken records in user tables
- Web bugs in internal wiki/documentation pages
Examples
# Generate a fake AWS credentials file with canary token
aws_creds = f"[default]\naws_access_key_id = {canary_key_id}\naws_secret_access_key = {canary_secret}\n"
with open("/opt/backup/.aws/credentials", "w") as f:
f.write(aws_creds)
자주 묻는 질문
‘허니토큰’이란 무엇인가요?
공격자를 유인하고 탐지하기 위해 만든 가짜 데이터나 파일입니다. 진짜처럼 보이지만 경보기 역할을 합니다.
어떤 종류의 덫을 만들 수 있나요?
가짜 AWS 자격 증명, 접근하면 경고하는 DNS 링크, 추적 장치가 있는 문서, 심지어 가짜 데이터베이스 레코드도 만들 수 있습니다.
침해가 일어났는지 어떻게 알 수 있나요?
공격자가 배치한 ‘토큰’ 중 하나와 상호작용하면, 도구가 의심스러운 일이 일어나고 있다는 알림을 보냅니다.
상세 정보
작성자의 원본 설명
Deploys canary tokens and honeytokens (fake AWS credentials, DNS canaries, document beacons, database records) that trigger alerts when accessed by attackers. Uses the Canarytokens API and custom webhook integrations for breach detection. Use when building deception-based early warning systems for intrusion detection. '
인기도
- GitHub 스타
- 35k
- 순위
- #8055
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.