Phishing — blocking credential-harvesting domains at the DNS layer
What this threat is
Phishing is the social-engineering attack where a user is tricked into entering credentials, MFA codes or payment details on a page that imitates a brand they trust. Modern phishing kits are sophisticated: they proxy the real login page in real time (man-in-the-middle), capture session cookies after the second factor is entered, and disappear within hours of going live.
Although phishing is delivered via email, SMS, ads or chat messages, every successful attack ends at a hostname the victim has to look up. Blocking that lookup is one of the few defences that works regardless of how the user arrived at the link.
How it abuses DNS
Phishing infrastructure has a few recognisable DNS fingerprints:
- Lookalike apex domains.
paypa1.com,microsoft-secure.com,apple-id-verify.netand their punycode equivalents (xn--ppl-...). Phishing kits frequently register the apex shortly before the campaign launches. - Subdomain abuse on legitimate hosts. Free hosting providers, dynamic DNS services and cloud function platforms regularly serve phishing pages under subdomains the attacker creates programmatically (
secure-login.attacker-pages.dev). - Subdomain takeovers. Abandoned CNAMEs pointing at deprovisioned cloud resources are reclaimed and used to serve phishing under the original brand's domain.
- Wildcard DNS for path-based targeting. A single apex serves dozens of subdomain variants (
onedrive.attacker.com,office365.attacker.com,okta.attacker.com) so the same kit can target many brands.
Phishing campaigns are short-lived: the median time from first sighting to takedown is well under 24 hours. That makes feed freshness a much bigger factor than for static malware infrastructure.
How SecDNS blocks it
The default "Phishing" category combines:
- Curated phishing feeds. OpenPhish, PhishTank, APWG, Google Safe Browsing partner indicators, and our own crawler that subscribes to Certificate Transparency logs to catch newly issued TLS certificates on lookalike apex domains.
- Newly registered domain (NRD) heuristics. Domains registered in the last 30 days that match phishing-kit patterns (brand keyword + suspicious TLD, free WHOIS-redacted registrar, NS pointed at a known phishing-friendly host) get blocked by default.
- Lookalike detection. Profiles can register brand keywords (
acme,acme-bank) and we will block unseen domains that match by edit distance, punycode normalisation or optical confusable substitution. - Subdomain reputation. For shared-infrastructure hosts (
*.workers.dev,*.web.app, free TLDs), we maintain a per-subdomain reputation score so a single bad subdomain does not knock out the legitimate parent service.
By default we return NXDOMAIN for phishing-classified queries. Profiles that prefer a block-page experience can switch to synthetic A-record mode so the user sees a clear "this page was blocked" message instead of a browser error.
Example
A campaign targets users of a regional bank. The kit registers acmebank-online-verify[.]top on Monday afternoon. Within minutes our CT-log subscriber spots the matching TLS certificate, the NRD pipeline flags the seven-hour-old domain, and the lookalike detector matches it against the acmebank brand keyword the bank's IT team registered last quarter. By the time the phishing email lands in mailboxes on Tuesday morning, the apex is already on our phishing feed. Users who click the link see NXDOMAIN; the bank's SOC sees the blocked-query events in its log feed.
Stats
Across the production resolver fleet we blocked approximately N phishing-category queries in <month> this year, of which approximately N% involved newly registered domains under 7 days old. Data placeholder pending Q1 2026 transparency report.