implementing-honeytokens-for-breach-detection
यह क्या करती है
यह टूल डिजिटल 'जाल' बनाता है, जैसे नकली क्रेडेंशियल या खास लिंक। अगर कोई हमलावर इन जालों को इस्तेमाल करने की कोशिश करता है, तो आपको तुरंत अलर्ट मिल जाता है।
कब इस्तेमाल करें
- ✓घुसपैठियों का पता लगाने वाले सुरक्षा सिस्टम सेट करते समय।
- ✓जब आपको अनधिकृत एक्सेस की शुरुआती चेतावनी चाहिए।
- ✓अपने सिस्टम की सिक्योरिटी को टेस्ट करते समय।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे सिस्टम तक पहुँचने की कोशिश करने वाले का पता लगाने के लिए एक नकली AWS क्रेडेंशियल बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल विशेष 'tokens' बनाता है, जो रणनीतिक जगहों पर रखे जाते हैं। जब कोई (या हमलावर) इन tokens को एक्सेस या इस्तेमाल करने की कोशिश करता है, तो आपको सूचना भेजी जाती है।
तकनीकी सामग्री (मूल 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)
अक्सर पूछे जाने वाले सवाल
'honeytokens' क्या हैं?
ये नकली डेटा या फाइलें हैं जो हमलावरों को फँसाने और पकड़ने के लिए बनाई जाती हैं। ये असली जैसे दिखते हैं, लेकिन असल में अलार्म का काम करते हैं।
मैं किस तरह के जाल बना सकता हूँ?
आप नकली AWS क्रेडेंशियल, ऐसे DNS लिंक जो एक्सेस होने पर अलर्ट करें, ट्रैकर वाले दस्तावेज़, और नकली database रिकॉर्ड तक बना सकते हैं।
मुझे कैसे पता चलेगा कि मेरा सिस्टम हैक हुआ है?
जब कोई हमलावर आपके लगाए गए 'tokens' में से किसी के साथ छेड़छाड़ करता है, तो टूल आपको अलर्ट भेजता है, जिससे पता चलता है कि कुछ संदिग्ध हो रहा है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।