/cybersecurity-skills-zh:collecting-open-source-intelligencefrom cybersecurity-skills-zh
Collects OSINT on threat actors and malicious infrastructure via passive recon, dark web monitoring, and tools (Maltego, Shodan, SpiderFoot). Useful for threat actor investigation, red team pre-engagement, or CTI enrichment.
Ships in cybersecurity-skills-zh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
在以下情况下使用本技能:
请勿使用本技能在未获得明确书面授权的情况下对目标进行主动扫描——OSINT 收集必须保持被动(不向目标系统发送任何数据包),除非授权范围允许主动侦察。
在收集之前明确情报需求(IR)。记录以下内容:
# 通过 SecurityTrails API 进行被动 DNS 查询
curl "https://api.securitytrails.com/v1/domain/evil-domain.com/dns/a" \
-H "apikey: YOUR_KEY"
# 通过 ARIN / RIPE 查询 WHOIS 历史
whois -h whois.arin.net evil-domain.com
# 证书透明度日志(无需 API 密钥)
curl "https://crt.sh/?q=%.evil-domain.com&output=json" | jq '.[].name_value'
证书透明度日志可揭示目标域名的所有子域名,通常会暴露被无意公开的预发布环境、VPN 或内部基础设施。
import shodan
api = shodan.Shodan("YOUR_SHODAN_API_KEY")
# 搜索特定 C2 框架特征(Cobalt Strike beacon)
results = api.search('product:"Cobalt Strike" port:443')
for r in results['matches']:
print(r['ip_str'], r['port'], r['org'], r.get('ssl', {}).get('cert', {}).get('subject', ''))
# 查找与已知威胁行为者 ASN 关联的基础设施
results = api.search('asn:AS12345 http.title:"Redirector"')
将 Shodan 结果与被动 DNS 关联,构建基础设施集群。
在 Maltego 中,使用以下内置转换进行威胁行为者基础设施映射:
Maltego 网络威胁情报转换(VirusTotal、Shodan、PassiveTotal、URLScan)可扩展图谱覆盖范围。
使用 SpiderFoot HX 或手动搜索:
# SpiderFoot CLI 自动化 OSINT
python sf.py -s evil-domain.com -m sfp_shodan,sfp_virustotal,sfp_passivetotal \
-o TF -R result.json
| 术语 | 定义 |
|---|---|
| 被动 OSINT | 不向目标系统发送任何数据包的情报收集——使用公共数据库、搜索引擎、缓存数据 |
| PIR | 优先情报需求——情报收集必须回答的具体问题,防止无目的数据收集 |
| 证书透明度 | CA 颁发的所有 SSL/TLS 证书的公共日志,可通过 crt.sh 发现子域名 |
| 枢纽 | 使用一个数据点(IP、邮件、注册人名称)发现相关基础设施或账户 |
| ASN | 自治系统号——单一路由策略下的 IP 地址块;用于聚类威胁行为者基础设施 |
| 共同托管域名 | 解析到同一 IP 的多个域名,可能表明共享攻击者基础设施 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
osint, threat-intelligence, maltego, shodan, spiderfoot, passive-reconnaissance
npx claudepluginhub killvxk/cybersecurity-skills-zh --plugin cybersecurity-skills-zh735 skills in this plugin
/acquiring-disk-image-with-dd-and-dcfldd使用 dd 和 dcfldd 创建取证级逐位磁盘镜像,通过哈希验证保持证据完整性。/analyzing-active-directory-acl-abuse使用 ldap3 检测 Active Directory 中危险的 ACL 配置错误,识别 GenericAll、WriteDACL 和 WriteOwner 等滥用路径/analyzing-android-malware-with-apktool使用 apktool 进行反编译、jadx 恢复 Java 源码、androguard 进行权限分析,对 Android APK 恶意软件样本执行静态分析,包括清单检查和可疑 API 调用检测。Other plugins' skills for the same job