Martin looking concerned at a computer displaying a 404 Not Found message
AI-generated editorial image · EdTechStuff

Recently at work I clicked a link to a legacy resource we didn't need any more. The page came back 404 Not Found.

That should have been the end of it. But the web server behind the page was still there, still answering for the domain name.

A few years ago I'd have added it to the tidy-up list and got on with my day. I'm less relaxed about that now. I wanted to check I wasn't just being jumpy, so I looked into it.

What the NCSC is seeing

On 24 November the NCSC published a blog on defending against agentic cyber attacks. These are AI-driven tools that map everything an organisation has facing the internet and then work through it, trying to get in. The NCSC reports a marked rise in AI-assisted attacks in the UK since September.

The services being compromised sometimes include, in the NCSC's words, "old websites and legacy equipment". It also says a forgotten key or unprotected API that might once have sat unnoticed for years can now be found in minutes.

The NCSC is careful about what's new here. The weaknesses being exploited are old ones, the product of years of technical debt. What has changed is how quickly and cheaply attackers can find them. NCSC CEO Richard Horne put it plainly in the Annual Review 2026: "AI did not create these cyber security weaknesses; it revealed them."

So I'd tweak my first instinct. Forgotten servers were always a risk. Generative AI has made them far cheaper to find and far quicker to exploit, and that's enough reason to stop leaving them lying around.

Not every 404 is equal

It helps to be precise about what a 404 is telling you.

If the 404 comes from a server you still own and run, it doesn't by itself mean the hostname can be claimed by someone else. But an internet-facing server still needs an owner, patching and monitoring. It may appear in internet-wide scans, and headers or error pages can disclose information about the software. That's the kind of issue I wanted to check in the case I found.

If the hostname points at a cloud service you've since deleted, investigate a possible dangling DNS record. The OWASP testing guide explains that takeover depends on the provider's ownership controls and whether an attacker can claim the target. A third-party 404 can be a clue, but it isn't proof on its own.

Microsoft's guidance on preventing dangling DNS entries walks through how this happens in Azure. A record points at an App Service, the App Service is deleted, the record stays. It also links to a tool for finding these records in your own tenant.

A DNS lookup is a useful starting point, but a CNAME to a cloud or SaaS provider is normal when the service is active. Check with the service owner and provider whether the target still exists, who controls it and whether the hostname is protected. Investigate suspected dangling records promptly.

This happens at scale

A few examples that stopped me treating this as theoretical.

In February 2025, watchTowr re-registered around 150 abandoned Amazon S3 buckets for a few hundred dollars. Over two months those buckets received more than 8 million requests, including from UK government networks and universities. Old systems were still asking for files from storage nobody owned any more.

In 2024, Guardio Labs found a campaign it named SubdoMailing. More than 8,000 domains and 13,000 subdomains had been hijacked through forgotten DNS records, Cornell University among them, and used to send spam that passed email authentication checks.

In 2025, Infoblox reported on a group it calls Hazy Hawk, using dangling records on well-known domains (ucl.ac.uk was one) to push scams and malware.

Domains are the other half

The server isn't the only thing that outlives its purpose.

This week Xerox confirmed it's replacing QR code labels on some UK printers. The labels pointed at an old support domain that was allowed to expire. Someone registered it in October and it now serves adult content. Xerox says its own systems weren't compromised. The domain had simply lapsed.

It's happened in a classroom too. In 2025, Bkav reported that a link printed in a Grade 3 informatics workbook in Vietnam led to adult content after its domain lapsed and was re-registered.

Think about how many old school, project and event domains are still linked from newsletters, policies, printed resources and QR codes on posters. Let one lapse and whoever registers it next gets your traffic and borrows your name.

Education is already a target

The Cyber Security Breaches Survey 2025/2026 found that 73% of secondary schools, 88% of FE colleges and 98% of higher education institutions identified a breach or attack in the past year. For businesses the figure was 43%.

The DfE's cyber security standard for schools and colleges expects an annual cyber risk assessment, reviewed termly, and an asset register that records end-of-support dates. It doesn't mention DNS or domains directly. In practice, a web server or domain that never made it onto the register is exactly the gap the standard is there to close.

The NCSC's decommissioning guidance makes the same point from the other end. Anything you no longer need becomes a liability, and the time to plan how you'll retire something is when you buy it.

Retire all of it

When a site or service is no longer needed, switching it off is only part of the job. Here's the order I'd work through.

  1. Check what the hostname points at. Identify the service owner and whether the target is still in use. An unclaimed or deprovisioned cloud target needs prompt investigation.
  2. Plan the change, then remove the DNS record before deleting the cloud resource. Check dependencies and agree the change with the service owner first. Microsoft recommends removing DNS mappings as part of decommissioning.
  3. Deal with the certificate. Stop unnecessary automatic renewal and revoke it where appropriate, after checking whether it is shared with any active services.
  4. Make a deliberate decision about the domain. If old links or QR codes still point at it, keep renewing it or fix the links before you let it go.
  5. Update the asset register. Internet-facing services and domains belong on it, and it should know when something has gone.
  6. Audit your DNS zones every term. Look for CNAME, MX, NS and SPF entries pointing at services you no longer use.
  7. Look from the outside. An external scan or certificate log monitoring shows you what an attacker's tools will see.

I don't think my 404 was about to be hijacked. It's still the sort of forgotten asset the NCSC describes, and I found it by accident. An automated tool looking on purpose would find it faster.

Has anyone else found a ghost like this lately?


Sources