Cloned website detection and Site Canaries

Cloned website detection uses lightweight browser tripwires called Site Canaries to alert security teams when a copy of a login page loads on another site, including pages proxied through an Evilginx kit.

  • Published
  • By Ian Muscat
  • Updated
  • 6 min read

How does cloned website detection work?#

Cloned website detection identifies unauthorized copies of an organization's login portal, checkout page, or corporate site when a victim or attacker loads the spoofed page. It works by embedding a lightweight script or asset reference inside the legitimate web page. When an attacker scrapes the HTML or proxies the site through an adversary-in-the-middle phishing framework like Evilginx, the browser runs the embedded check. If window.location.hostname does not match an approved domain, the script fires a telemetry beacon back to defenders.

Domain permutation monitoring catches lookalike names such as acrne-login.com, yet modern phishing campaigns frequently avoid lookalike names altogether. Attackers host cloned login portals on compromised third-party WordPress sites, disposable cloud storage buckets, or randomly named domains that share zero characters with the target brand. Site Canaries cover that gap.

Static clones versus Evilginx reverse-proxy phishing#

Modern website spoofing falls into two distinct technical patterns, and defenders need tripwires that handle both.

Attack techniqueHow the attacker builds itWhy traditional monitoring misses itHow a Site Canary catches it
Static HTML cloneCopies HTML, CSS, logos, and JS into a standalone phishing kitHosted on unrelated domains or free cloud hosting with no brand name in DNSEmbedded script or external asset fires when loaded from an unapproved origin
Adversary-in-the-middle proxy (Evilginx, Modlishka)Relays live traffic between the victim and the real login portal to steal MFA session cookiesNever hosts static files offline and uses random lure domainsBrowser executes the real site's script under the attacker's proxy hostname
Subdomain or path injectionClones a single SSO or password-reset route on a compromised siteNever appears in newly registered domain feedsFires when the attacker tests the kit or a victim opens the page

How Site Canaries improve on basic web beacons and canary tokens#

Simple web beacons, CSS image tokens, and open-source canary tokens established the core tripwire concept. When an attacker copies a page verbatim, a hidden image or snippet phones home with the HTTP Referer header.

Basic image beacons, however, face growing browser and attacker limitations. Modern browser referrer policies often strip the full URL path or suppress Referer headers across origins. Sophisticated Evilginx phishlets also rewrite hardcoded domain strings inside proxied HTML to strip obvious tracking URLs.

Dedicated Site Canaries harden the tripwire against modern kits and tie alerts directly into response workflows.

  • Hostname checks, not referrers. The script checks the hostname the page is running on, so it does not depend on a Referer header that browsers may strip.
  • Allowlists for your own hosts. Security teams list approved production, staging, and local development hostnames, so normal engineering traffic does not raise alerts.
  • Enrichment and evidence capture. When a canary fires on an unauthorized host, the platform looks up the cloning domain's DNS, RDAP, hosting ASN, TLS certificate, and a screenshot of the page.
  • A path to blocking and takedowns. Cloning alerts can go to your SIEM and chat, and the cloning domain can be blocked through Network Enforcement or sent for a domain and phishing takedown.

Teams deciding between self-hosted open-source canary tokens and a managed detection and response platform can review the trade-offs in Have I Been Squatted vs Thinkst Canarytokens.

Domain protection

Detect adversary infrastructure while it is being staged.

Have I Been Squatted helps security teams detect lookalike domains, certificate and DNS changes, and staging infrastructure, investigate the evidence, and coordinate takedowns.

Where to deploy Site Canaries first#

Security teams do not need to instrument every marketing blog page on day one. Deploying Site Canaries on high-value authentication and payment surfaces delivers immediate coverage.

  1. SSO and customer login portals. Every credential-harvesting and Evilginx campaign targets sign-in pages first.
  2. Password reset and MFA enrollment flows. Attackers clone recovery pages to capture backup codes and push-notification approvals.
  3. Invoice, billing, and vendor portals. Business email compromise actors clone payment portals to redirect ACH and wire transfers.
  4. Employee intranet and VPN gateways. Remote-access portals are prime targets for initial access brokers stealing corporate session tokens.

Responding when a cloned website alert fires#

Because a Site Canary can trigger while the attacker is still testing their phishing kit, a fast response can stop a campaign before the first victim clicks.

  1. Verify the reported hostname against approved staging or translation proxies. Confirm the alert is not an internal test environment or authorized web archive.
  2. Inspect captured screenshots and DNS records. Check whether the host is serving a live login form and identify the hosting provider, reverse proxy, and registrar.
  3. Block the cloning domain internally. Push the hostname to DNS resolvers, web gateways, and email filters immediately so employees cannot submit credentials.
  4. Launch a hosting and registrar takedown. Submit the captured evidence through Takedowns & Response before the attacker distributes the lure widely.

Frequently asked questions#

Does a Site Canary affect page load speed or user privacy?#

A properly built Site Canary script is tiny, loads asynchronously, and stays completely silent on approved domains. It transmits telemetry only when the page executes on an unauthorized hostname, avoiding unnecessary requests during normal customer visits.

Can Site Canaries detect Evilginx phishing kits?#

Often. Evilginx relays the real login page to the victim's browser, so a canary script on that page runs under the attacker's proxy hostname and reports it. A phishlet written to strip or rewrite the script tag can stop that, which is one reason to pair Site Canaries with domain monitoring.

Why do attackers trigger Site Canaries before victims do?#

Before launching a phishing campaign, attackers often load their newly deployed kit or Evilginx lure in a browser to confirm logos, CSS, and credential capture work properly. That test can fire the Site Canary before any phishing email goes out.

Are Site Canaries a replacement for domain monitoring?#

No. Site Canaries excel at catching live website clones hosted on arbitrary domains, whereas domain monitoring detects lookalike domains at registration and catches email-only impersonation domains that never clone a web page. Running both together closes both attack paths.