跳到正文
Skillpedia
安全5.4k · #14938

hunt-tls-network

它能做什么

这项技能审查 TLS 设置、DNS 区域和邮件认证记录。它适用于专注于真实影响、而非仅仅是加固建议的经授权安全检查。

适用场景

  • ✓当你想检查某个域名的邮件设置是否存在冒充风险时。
  • ✓当 DNS 区域可能允许完整区域传输,从而暴露内部主机时。
  • ✓当服务要求客户端证书,你想测试其保护时。

技能链接

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-tls-network/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我在经授权的测试中检查我们域名的邮件设置和 DNS,看看是否存在真正的冒充或暴露风险。”

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

工作原理

智能体会审查 DNS 记录、邮件策略记录和证书设置,然后把轻微的注意事项与存在真实受害者和真实操作的问题区分开。它只报告重要的问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

HUNT-TLS-NETWORK — TLS/SSL & DNS Security

Reality Check (Read First)

Most findings in this class are Info/Low and routinely rejected as "best-practice" / "missing-hardening" by triage. This skill exists to stop you wasting a submission. Two questions before you report anything here:

  1. Is there a real victim and a real action? "Missing HSTS" is not a vulnerability — demonstrated session-cookie capture from a victim you MitM'd is. "Missing CAA" is never a vulnerability you can demonstrate.
  2. Does the program accept it? Many programs explicitly list missing SPF/DMARC, missing security headers, weak ciphers without exploit, and CAA as out of scope. Read scope first; quote the in-scope line in your report.

What actually pays in this class (in order):

  • Dangling-CNAME / dangling-A subdomain takeover — you control content on target.com subdomain. Real impact, real bounty. (Owned in depth by hunt-subdomain; covered here for the TLS/DNS recon angle.)
  • Spoofable DMARC, proven by delivered-to-inbox email — not "p=none exists" but an actual mail from ceo@target.com landing in a real inbox with a passing/none DMARC verdict in the headers.
  • DNS AXFR returning internal hosts — full internal hostname/IP map. Concrete recon value, often Medium.
  • mTLS / client-cert bypass on an internal service — reaching authenticated-only functionality without the cert. Real auth bypass = High.
  • Exploited TLS weakness with a working decrypt/MitM PoC — almost never achievable remotely in 2024-2026 against a patched stack; see Phase 1 caveats.

What does NOT pay (do not report standalone): missing CAA, missing HSTS with no MitM PoC, missing security headers alone, weak-cipher support without an exploit, self-signed cert on a non-prod host, TLS 1.0/1.1 enabled without a downgrade victim.


Phase 1 — TLS/SSL Audit

# Quick TLS test with testssl.sh
brew install testssl
testssl.sh --fast $TARGET 2>/dev/null | grep -E "CRITICAL|HIGH|MEDIUM|OK|NOT" | head -30

# Or use sslyze (Python)
pip3 install sslyze
python3 -m sslyze $TARGET --json_out /tmp/sslyze_$TARGET.json 2>/dev/null
cat /tmp/sslyze_$TARGET.json | python3 -m json.tool | grep -i "vulnerability\|insecure\|error" | head -20

# Check certificate expiry and chain
echo | openssl s_client -connect $TARGET:443 -servername $TARGET 2>/dev/null | \
  openssl x509 -noout -dates -subject -issuer 2>/dev/null

# Check for weak ciphers manually (a successful handshake = the cipher is OFFERED, not exploitable)
openssl s_client -connect $TARGET:443 -cipher RC4-SHA 2>/dev/null | grep -i "cipher\|handshake"
openssl s_client -connect $TARGET:443 -cipher DES-CBC3-SHA 2>/dev/null | grep -i "cipher\|handshake"

# Protocol downgrade surface — TLS 1.0/1.1 still negotiable?
openssl s_client -connect $TARGET:443 -tls1   2>/dev/null | grep -E "Protocol|Cipher"
openssl s_client -connect $TARGET:443 -tls1_1 2>/dev/null | grep -E "Protocol|Cipher"

Accuracy / triage notes — do not over-claim TLS bugs:

  • Offered ≠ exploitable. testssl/sslyze flagging RC4, 3DES, or TLS 1.0 means the server negotiates it. That is a hardening finding, not a demonstrated decrypt. Without a PoC it is Info/Low and frequently OOS.
  • SWEET32 (CVE-2016-2183) — 3DES birthday attack. Requires a long-lived TLS session, an on-path attacker, and ~hundreds of GB / hours of same-key traffic. Realistically un-demonstrable in a bug bounty; report only the support of 3DES, expect Low/Info.
  • POODLE (CVE-2014-3566) — SSLv3 CBC padding oracle. Needs SSLv3 actually enabled; almost no modern stack offers it. Confirm with testssl.sh --poodle (or nmap --script ssl-poodle) — modern OpenSSL 3.x dropped the -ssl3 flag. If SSLv3 won't negotiate, there is no POODLE.
  • FREAK (CVE-2015-0204) and DROWN (CVE-2016-0800) — require export-grade RSA / a shared SSLv2 endpoint respectively. Both are pre-conditions you must prove present, not assume. DROWN needs SSLv2 reachable on some host sharing the cert/key — scan for SSLv2 with testssl.sh --drown (or nmap --script sslv2-drown) across the cert's SAN list before claiming it; modern OpenSSL has no -ssl2 flag.
  • Heartbleed (CVE-2014-0160) — if you genuinely find an unpatched OpenSSL 1.0.1 leaking memory, that is High/Critical with a real PoC (dump containing keys/cookies). Verify with testssl.sh --heartbleed and capture leaked bytes; this is the rare TLS bug worth a full report.

常见问题

为什么这里的大多数发现都会被否决?

技能说明,许多缺失的设置,例如 HSTS 或 CAA,被视为最佳实践,而不是真正的漏洞。

什么才算真正的邮件冒充发现?

技能说明,被冒充的邮件必须真正到达收件箱,而不只是存在策略记录。

应该先检查项目的范围吗?

应该。技能说明,许多项目把这些内容列为超出范围,因此要先阅读范围说明。

详情

作者的原始描述

Hunt TLS/SSL and DNS misconfigurations — missing HSTS (downgrade attack), weak cipher suites, expired/invalid certificates, mTLS bypass, missing SPF/DKIM/DMARC (email spoofing), DNS Zone Transfer (AXFR), dangling CNAME subdomain takeover, CAA records. Most of these are Info/Low on their own — this skill is opinionated about which findings actually pay (spoofable DMARC with delivered-to-inbox proof, AXFR returning internal hosts, dangling-CNAME takeover) versus which get rejected as best-practice noise (missing CAA, missing HSTS with no MitM position). Use during recon to find infrastructure we

repo: elementalsouls/Claude-BugHunter

热度

GitHub 星标
5.4k
排名
#14938
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能