Repository navigation
glasswatch — a Certificate Transparency phishing hunter (advanced tier) #334
SunnyKumar-Jonwal
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to propose a new advanced-tier project idea and get feedback before (re)submitting any code.
What it is: A tool that watches Certificate Transparency logs in real time and flags newly issued certificates that look like they're impersonating a brand on a watchlist, catching phishing domains within minutes of their certificate being issued, often before the site is even live.
Why CT logs: Every publicly trusted certificate has been required to log to a CT log since Chrome enforced it in 2018 (RFC 6962). That includes phishing certificates. It's a genuinely useful early-warning signal that most existing tools reach through a third party like crt.sh rather than the logs directly.
What makes it different from what's already in the repo:
Speaks the raw RFC 6962 protocol directly (get-sth/get-entries), hand-decoding the MerkleTreeLeaf and precertificate wire structures, no CT client library
Detects four separate impersonation patterns: homoglyph, typosquat, combosquat, and apex-prefix spoofing (e.g. brand.com.evil.io)
Homoglyph detection uses a skeletonization table generated from Unicode's own confusables data, not a hand-picked list of lookalike characters
It's a defensive/blue-team tool, distinct from the offensive typosquat-generator idea already in the beginner synopses
What it teaches: Certificate Transparency and Merkle trees, parsing a binary protocol from an RFC spec by hand, IDN homograph/punycode attacks, and building a small dependency-light tool (stdlib SQLite and http.server instead of reaching for a framework by default).
I have a working implementation (39 passing tests, full learn/ docs) ready to go. Wanted to check in here first: does this fit what you're looking for in the advanced tier, and is there anything about scope or direction I should adjust before opening a PR?
All reactions