本文へスキップ
Skillpedia
セキュリティ35k · #8055

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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:

  1. AWS credential files (~/.aws/credentials) with canary keys
  2. DNS tokens embedded in configuration files
  3. Document beacons (Word/PDF) in sensitive file shares
  4. Database honeytoken records in user tables
  5. 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. '

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#8055
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル