跳到正文
Skillpedia
分析与电子表格35k · #7660

analyzing-tls-certificate-transparency-logs

它能做什么

这个工具会搜索公开的安全证书(TLS)日志,找出那些和你的域名很像、但却是为了欺骗别人(钓鱼)或用于未授权活动而创建的域名。它能帮你保护品牌,并发现潜在威胁。

适用场景

  • ✓当你怀疑有人正在用你公司的名字搭建假网站时。
  • ✓想检查是否有与你的域名相似的域名被不当签发了安全证书时。
  • ✓调查与数字证书相关的安全事件时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-tls-certificate-transparency-logs/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-tls-certificate-transparency-logs/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我搜索为那些可能是假冒的、与 'mycompany.com' 相似的域名签发的证书。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会查询公开的证书数据库(crt.sh),并使用 Levenshtein 距离(编辑距离)算法,找出与你的域名非常相似的域名。然后它会检查是谁签发了证书,并判断这些证书是否可疑。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Analyzing TLS Certificate Transparency Logs

When to Use

  • When investigating security incidents that require analyzing tls certificate transparency logs
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

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

Query crt.sh Certificate Transparency database to find certificates issued for domains similar to your organization's brand, detecting phishing infrastructure.

from pycrtsh import Crtsh

c = Crtsh()
# Search for certificates matching a domain
certs = c.search("example.com")
for cert in certs:
    print(cert["id"], cert["name_value"])

# Get full certificate details
details = c.get(certs[0]["id"], type="id")

Key analysis steps:

  1. Query crt.sh for all certificates matching your domain pattern
  2. Identify certificates with typosquatting variations (Levenshtein distance)
  3. Flag certificates from unexpected CAs
  4. Monitor for wildcard certificates on suspicious subdomains
  5. Cross-reference with known phishing infrastructure

Examples

from pycrtsh import Crtsh
c = Crtsh()
certs = c.search("%.example.com")
for cert in certs:
    print(f"Issuer: {cert.get('issuer_name')}, Domain: {cert.get('name_value')}")
常见问题

什么是证书透明度(Certificate Transparency)日志?

这是一种公开记录,记录了证书颁发机构签发的所有安全证书(TLS/SSL)。它有助于确保证书是合法签发的。

什么是域名仿冒(typosquatting)?

指有人注册一个与热门域名拼写相近的域名,目的是骗取那些输错网址的用户。

使用这个工具需要懂技术吗?

对数字安全有一定了解会有帮助,但这个工具的设计目标就是简化对这些日志的分析。

详情

作者的原始描述

Queries Certificate Transparency logs via crt.sh and pycrtsh to detect phishing domains, unauthorized certificate issuance, and shadow IT. Monitors newly issued certificates for typosquatting and brand impersonation using Levenshtein distance. Use for proactive phishing domain detection and certificate monitoring. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7660
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能