Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8055

implementing-honeytokens-for-breach-detection

Skill này làm gì

Công cụ này tạo ra các “bẫy” kỹ thuật số, như thông tin đăng nhập giả hoặc liên kết đặc biệt. Nếu kẻ tấn công cố dùng các bẫy này, bạn sẽ được thông báo ngay lập tức.

Khi nào nên dùng

  • ✓Khi thiết lập hệ thống bảo mật để phát hiện kẻ xâm nhập.
  • ✓Khi bạn cần cảnh báo sớm về truy cập trái phép.
  • ✓Khi kiểm thử bảo mật của hệ thống.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một thông tin đăng nhập AWS giả để phát hiện ai đang cố truy cập hệ thống của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ tạo các “token” đặc biệt và đặt chúng ở những vị trí chiến lược. Khi ai đó (hoặc kẻ tấn công) cố truy cập hoặc dùng các token này, bạn sẽ nhận được thông báo.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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)
Câu hỏi thường gặp

“Honeytokens” là gì?

Đây là dữ liệu hoặc tệp giả được tạo để dụ và phát hiện kẻ tấn công. Chúng trông có vẻ thật nhưng hoạt động như báo động.

Tôi có thể tạo những loại bẫy nào?

Bạn có thể tạo thông tin đăng nhập AWS giả, liên kết DNS sẽ cảnh báo khi được truy cập, tài liệu có theo dõi, và cả bản ghi cơ sở dữ liệu giả.

Làm sao biết mình đã bị xâm nhập?

Khi kẻ tấn công tương tác với một trong các “token” bạn đã triển khai, công cụ gửi cảnh báo cho bạn, cho biết có điều gì đó đáng ngờ đang xảy ra.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8055
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự