SecDNS

Phishing — blocking credential-harvesting domains at the DNS layer

SecDNS blocks phishing and credential-harvesting domains using curated feeds, NRD heuristics and lookalike-domain detection before the page ever loads.

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.net and 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Frequently asked questions

How is phishing different from generic malware in your taxonomy?

In our taxonomy "phishing" is reserved for credential-harvesting landing pages — sites that imitate a brand and ask the user to log in. Generic malware (droppers, ransomware loaders, infostealers) lives in the Malware category. The distinction matters because phishing pages tend to be hosted on legitimate shared infrastructure (Cloudflare Workers, GitHub Pages, free hosting providers), so we apply different reputation logic.

Do you block lookalike or homograph domains automatically?

Yes, with a confidence threshold. Each profile can opt into homograph and typo-squat detection against a list of brand-protection targets. The detector compares unseen domains against the protected list using punycode normalisation, optical confusable character maps and edit distance. High-confidence matches are blocked; medium-confidence ones are logged for review.

Can users request unblocking when a legitimate site is misclassified?

Yes. The default block-page mode includes a "request unblock" link that opens a ticket in your admin console. Profiles in NXDOMAIN-only mode can offer the same workflow through a published support email or a self-service /tools/allowlist-request form.

Does protective DNS replace email phishing filters?

No, it complements them. Email filters stop the message; DNS-layer protection stops the click. A user who receives a phishing email despite the email gateway, and clicks the link despite the warnings, still cannot reach the landing page if the hostname is on a feed.