Phishing / Repository
phishing-surface-monitor
An automated monitoring system that continuously detects phishing domains, cloned websites, and social engineering campaigns targeting your organization by analyzing certificate transparency logs, DNS registrations, and visual similarity.
View on GitHub ↗About the Project
Phishing Surface Monitor is a proactive defense system designed to detect phishing attacks against your organization before they reach your employees or customers. Phishing — the practice of sending fraudulent communications that appear to come from a reputable source — remains the single most effective attack vector in cybersecurity, accounting for over 90% of successful breaches. The system monitors multiple data sources to identify potential phishing infrastructure: Certificate Transparency (CT) Logs are public records of every SSL/TLS certificate issued worldwide. By monitoring these logs for certificates containing your organization's domain names or brand keywords, the system can detect when an attacker registers a lookalike domain and obtains an SSL certificate for it — often within minutes of the certificate being issued. Passive DNS Monitoring tracks new domain registrations that are visually or phonetically similar to your protected domains using sophisticated typosquatting algorithms (character substitution, homoglyph attacks, word insertion/deletion). Visual Similarity Analysis uses perceptual hashing and screenshot comparison to identify cloned websites that copy your organization's visual identity, even when hosted on unrelated domains. When a potential phishing domain is detected, the system assigns a threat score based on multiple factors: domain similarity, registration timing, hosting infrastructure analysis, and historical patterns. High-confidence detections can automatically trigger takedown requests through integrated abuse reporting workflows with major hosting providers and domain registrars. The system also maintains a historical database of all detected threats, enabling trend analysis, campaign tracking, and intelligence sharing with industry peers and law enforcement.
Why This Matters
Phishing attacks are becoming increasingly sophisticated. Modern phishing campaigns use valid SSL certificates, professionally designed landing pages, and carefully crafted social engineering narratives that are nearly indistinguishable from legitimate communications. Traditional email security gateways catch many phishing emails, but they cannot prevent attacks delivered through SMS (smishing), social media, QR codes, or other channels. The key to effective anti-phishing defense is detection before delivery — identifying phishing infrastructure during the setup phase, before any fraudulent emails or messages are sent. Certificate Transparency monitoring is particularly powerful because attackers who want their phishing sites to appear legitimate (with the padlock icon) must obtain SSL certificates, creating a detectable signal in the public CT logs. Organizations that proactively monitor their phishing surface can take down malicious domains before they are used, reducing the volume of phishing attacks that reach their users. This is especially critical for financial institutions, healthcare organizations, and technology companies that are frequent targets of sophisticated phishing campaigns.
Step-by-Step Guide
- Configure the domains, brand names, and keywords to be monitored. Add your primary domains, common misspellings, brand names, product names, and executive names to the monitoring configuration. The system will generate typosquatting variants automatically using multiple algorithms (bit-flipping, homoglyph substitution, keyword insertion).
- Activate the Certificate Transparency and passive DNS monitoring feeds. The CT monitor connects to major CT log servers (Google Argon, Cloudflare Nimbus, DigiCert, Let's Encrypt) and processes new certificates in near-real-time. DNS monitoring tracks new registrations from major registrars and WHOIS databases. Configure polling intervals based on your organization's risk profile.
- Set detection thresholds to balance sensitivity and noise. The 'high' sensitivity setting catches more potential threats but generates more false positives — recommended for high-risk organizations (financial, healthcare). The 'medium' setting provides a good balance for most organizations. Review and tune thresholds weekly based on the false positive rate.
- Integrate the automated takedown workflow with your incident response process. When a high-confidence phishing domain is detected, the system can automatically submit abuse reports to hosting providers, domain registrars, and Google Safe Browsing. Track takedown status through the monitoring dashboard and escalate manually if automated takedowns are not completed within your defined SLA.