Explore Ronda

← All guides
Field notes · The home round

How to catch a defaced or hijacked page
before your customers do.

Most small sites find out from a customer. An email arrives on a Tuesday: “your homepage is showing something strange”, or “your contact page sent me to a site selling pills”. The page answered 200 the whole time, so the uptime check stayed green, and the only person watching the site was the stranger who changed it.

This note sets up a small round on your own site, or a client’s, so that a page that stops being the page you shipped reaches you within minutes, with a picture. It is for the founder or ops person who owns the site and has no security team. Five watched pages and three monitors, $16 a month.

The three shapes of the problem

  • A defaced page. The homepage, or its hero, replaced with someone else’s message or image. Obvious to anyone who loads it, invisible to an uptime check, because the page still answers. A visual diff on the hero and the page catches it on the next pass.
  • Injected content. Spam links in the footer, text hidden off-screen, or a new script tag loading from a domain you have never heard of. The page looks the same to the eye. An HTML diff on the whole page is the only kind that sees it.
  • A hijacked redirect, or a page that now says something else. Visitors land somewhere you did not send them, or the page loads and the phone number, the payment link or the form’s destination is different. A text diff shows the changed words; an uptime check with a keyword notices the redirect or the missing phrase.

What you are really watching

Not the whole site. The pages where a stranger could do the most damage fastest: the homepage, because it is your face; the pages with forms, because that is where people type an email, a password or a card number; the legal pages, because nobody re-reads them. And, from the monitor’s side, whether the page answers, whether the certificate is valid and whether the domain is still yours.

Step 1: the homepage and the form pages, every five minutes

Create a watch on the homepage and one on each page that carries a form: login, signup, checkout or contact. Turn on the HTML diff and the visual diff on each, and set the frequency to every five minutes, the fastest Ronda runs. It is $2 a page a month at any frequency, so the only question is how long you are willing to let a changed page stand.

Leave the HTML diff on the whole page, because an injected script can land anywhere in the markup. Narrow the visual diff instead: scope it to the hero and the form, and add a selector rule to ignore the carousel or the rotating testimonial. Expect fewer false alarms, not none; your first deploy will tell you what else needs a rule.

Step 2: a daily text diff on the legal pages

Add a watch on the terms page and one on the privacy policy: text diff, once a day, the whole page. What you want here is the record: every edit, dated, old paragraph above new, kept for 13 months. If someone adds a paragraph nobody wrote, the Thursday morning alert is how you learn it.

Step 3: pair the watches with uptime monitors

A watch tells you the page changed. A monitor tells you whether it is there at all. Add an HTTP monitor on the homepage, the login page and the checkout, and give each a keyword that must be present, your company name in the footer, say. If visitors are sent elsewhere, or the page comes back without that word, the monitor fails, and the failure is confirmed from a second region before anyone is paged. Checks run from 12 regions, as often as every 30 seconds, at $2 a monitor a month.

On the same domain, turn on the SSL and domain-expiry checks. An expired certificate shows every visitor a warning page, and a lapsed domain is a hijack waiting to happen. Both are flagged weeks ahead, by a monitor, not by a diff.

Step 4: route the fast ones to a phone

The five-minute watches and the monitors should wake someone. Send them to SMS, or to PagerDuty or Opsgenie if you run on-call, and to a Slack or Teams channel called something like #website. The daily legal-page watches go to the channel only. Then set the weekly difference report, every Monday, to the client or the founder. It is the record that the pages were checked, forwardable as it is. Nobody is a seat.

The cost, worked out: the homepage, the login page, the checkout and two legal pages are five watches at $2 a page a month, $10. Three uptime monitors at $2 a monitor a month are $6. The round is $16 a month, with SMS, Slack and the Monday report for as many people as you like.

What the alert looks like

A change alert names the page and shows the old markup above the new: a script line in green that was not there an hour ago, or a form whose action now points at a different host. Screenshots are attached. An outage alert names the monitor and the regions that saw it fail. Everything is kept for 13 months, so “when did this appear?” has a timestamp.

The uptime check says the page answered. The diff says what it answered with.

What this is not

Ronda is not a web application firewall, a malware scanner or a backup. It will not stop anyone, find the changed file on the server, or put the page back. It tells you the page changed, within minutes, and shows you how. For most small sites that is the part nobody is doing.

It sees the page the way a new visitor with no cookies sees it, so a change shown only to logged-in users, only to one country, or only on a phone can be missed. During the pilot we will tell you straight away if a page cannot be watched reliably.

Five signs worth acting on at once

  1. A script tag you did not add. Especially one loading from a domain you do not recognise. Urgent. Call whoever manages the site.
  2. Links or hidden text about things you do not sell. It is there for search engines, not for you, and it means someone has write access.
  3. A form that posts somewhere new. A changed action on a login or checkout form is the most expensive line on the site. Take the form down before you investigate.
  4. A large visual change on the hero outside a deploy. Nobody shipped at 3 am on a Sunday. Open the screenshot.
  5. A monitor failing on a page that still loads, or a certificate about to expire. One is a hijack in progress; the other is an outage with a date on it.

Mistakes to avoid

  • Watching only the homepage. A defaced homepage is embarrassing. A changed checkout form is expensive. Watch the pages with forms first.
  • Scoping the HTML diff to the hero. Injected code lands anywhere. Keep the HTML diff on the whole page and narrow the visual one.
  • Sending five-minute alerts to a channel nobody reads at night. Fast watches go to SMS or on-call.
  • Treating the watches as the whole plan. Keep backups, keep the CMS and its plugins updated, and know who can restore the site.
  • Forgetting the planned deploy. You get the diff for your own release too; read it as a free post-deploy check, and pause the watch for the hour if a release rewrites a page.

Five watches and three monitors is where most small sites start. The full round, with the docs, the pricing table and a heartbeat on the nightly job, is on the home round page.

Set up the home round during the pilot.

Tell us the site and the pages with forms, and we’ll scope the watches and route the fast ones to a phone with you.

← Back to the guides