---
title: "Fake User Agent Crawler: How One Bot Pinned Our Synology-Hosted WordPress"
description: A fake user agent is the label a bot puts on its requests so it looks like an ordinary browser. On the evening of 28 November 2026 one of them pinned the CPU of the Synology virtual machine that runs…
url: "https://synopower.club/fr/documents/fake-user-agent-bot-wordpress-cloudflare/"
updated: "2026-11-28"
category: NAS Hosting 101
---

# Fake User Agent Crawler: How One Bot Pinned Our Synology-Hosted WordPress

A fake user agent is the label a bot puts on its requests so it looks like an ordinary browser. On the evening of 28 November 2026 one of them pinned the CPU of the Synology virtual machine that runs SynoPower Club. The crawler claimed to be Internet Explorer 7, walked through the WordPress REST API in every language the store offers, and pushed the average response time to almost nine seconds.

Nothing was breached and no order was lost, but every customer felt the slowdown. This NAS Hosting 101 article shows how we spotted the fake user agent in the reverse proxy log, why the page cache could not absorb it, and the single Cloudflare rule that stopped it within a minute.

> **SynoPower Club Point:** When a self-hosted site slows down, the first guess is always the hardware. I almost reached for more vCPUs before I looked at who was actually asking for pages. Eighty-five out of every hundred requests carried the same fake user agent, a browser that has not existed for over a decade, on a Windows version it never ran on. Once I saw that, the fix took one rule and about a minute, and the load fell from 18 back to normal without touching the NAS. If your Synology box is busy for no obvious reason, read the visitor list before you buy a bigger one.

## What a Fake User Agent Is and Why Bots Use One

Every browser sends a User-Agent header that names the browser, its version and the operating system. Websites use it for statistics and compatibility, and security tools use it to tell people from crawlers. Because the header is written by the client, anyone can put anything in it. A fake user agent is simply a request that lies about what it is.

Scrapers and vulnerability scanners do this for two reasons. First, many sites block obvious tool names such as python-requests or curl, so a browser label gets them through. Second, a browser label hides them in the crowd: in a traffic report they look like visitors, not like a bot that should be rate limited.

The lie is often careless. The crawler we caught announced itself as MSIE 7.0 on Windows NT 6.2. Windows NT 6.2 is Windows 8, which shipped with Internet Explorer 10 and cannot run version 7, and Microsoft retired Internet Explorer altogether in 2022. No real visitor sends that combination in 2026, which makes it easy to match.

## How a Fake User Agent Crawler Slowed Our Synology-Hosted Store

SynoPower Club runs WordPress and WooCommerce in Container Manager, inside Virtual DSM, on a Synology Virtual Machine Manager cluster. Visitors reach it through Cloudflare and a Synology reverse proxy. On a normal evening the virtual machine idles with a load of one or two. That night it showed a load of 17.9 on four vCPUs, the WordPress container used 381 percent CPU, and more than a dozen Apache workers were busy at the same time. The database and Redis were fine, so the work was coming from PHP.

The reverse proxy access log told the story. Of the last 3,000 requests, 2,558 carried the same fake user agent. Since it first appeared that day it had sent about 19,600 requests, half of the whole log. Average response time across all visitors had climbed to 8.8 seconds, and some requests waited several minutes before the client gave up.

![Top WordPress REST API paths requested by the fake user agent crawler](https://synopower.club/wp-content/uploads/2026/11/fake-user-agent-blocked-paths.webp)
The most requested paths: REST API endpoints for media, comments and oEmbed, spread across language prefixes.

The fake user agent was not guessing passwords or attacking the checkout. It was harvesting: comment threads through the parent parameter, media records, oEmbed data and tags for each post. It then treated strings found inside the JSON answers as if they were links, producing addresses such as a docs image path under the REST API that has never existed. About half of its requests ended in 404.

## Why Page Caching Did Not Absorb It

A well cached WordPress site can serve thousands of visitors from memory without starting PHP. This fake user agent crawler avoided the cache by design, even if not on purpose. REST API answers are excluded from our page cache because they change with every comment and price update, and addresses with query strings are treated as unique requests.

The 404 pages hurt most. A page that does not exist is never cached, so WordPress had to boot, load every plugin, ask the database and then render a full not found page. Our store is translated into 16 languages, and the crawler visited each path under several language prefixes, multiplying the same expensive miss many times over.

The result is a pattern worth remembering. A few thousand fake user agent requests per hour that each cost a full render will hurt a small server far more than tens of thousands of cached page views. The number of requests matters less than whether each one reaches PHP.

## Finding a Fake User Agent in 4 Steps

This is the order we followed. It works on any WordPress site behind Cloudflare, whether it runs on a Synology NAS, a VPS or shared hosting with log access.

### Confirm the load comes from the web server

Check the load and the per container CPU on the NAS. If WordPress is busy while the database and cache are quiet, the work comes from requests, not from a backup or a stuck query.

### Count user agents in the access log

Take the most recent few thousand lines of the reverse proxy or web server log and count each user agent. A single label holding most of the traffic, especially an outdated browser, is the first sign of a fake user agent.

### Look at what the fake user agent requests

Group its requests by path and status code. REST API endpoints, many 404 responses and the same paths repeated in every language show a crawler, not a visitor.

### Check the real source in Cloudflare

Open Security Analytics in Cloudflare and filter by that user agent. The source IP, network and country shown there are the true client, unlike the addresses in your origin log.

Counting user agents is the step that saves the most time. On a NAS you can do it with a short command on the reverse proxy log, sorting the user agent field and counting duplicates. You do not need a log platform to see one label holding 85 percent of the traffic.

## Why a User Agent Rule Beats an IP Block Here

Blocking the source address looks tempting, and Cloudflare showed it clearly: almost all the traffic came from one IP in AS39087, a hosting network in Russia. But a second address in the Netherlands had sent another 2,600 requests with the same fake user agent earlier in the day. Crawlers rotate addresses cheaply, so an IP block would have bought us hours, not days.

Blocking the REST API was not an option either. WooCommerce blocks, the store API, payment webhooks and several plugins rely on it, and disabling it would break checkout long before it stopped a crawler. The one thing every request had in common was the fake user agent, and no customer shares it.

A user agent rule has a known weakness: the bot can change its fake user agent. That is fine. If it switches to a modern browser string, it loses the careless signature but keeps its behaviour, and the same four steps will find it again within minutes.

## Blocking a Fake User Agent With One Cloudflare Rule

In the Cloudflare dashboard, open your domain, go to Security, then Security rules, and create a custom rule. Paste this fake user agent expression in the expression editor and choose Block as the action:

```
(http.user_agent contains "MSIE ") and (not cf.client.bot)
```

![Cloudflare custom rule that blocks the fake user agent MSIE while letting verified bots through](https://synopower.club/wp-content/uploads/2026/11/fake-user-agent-cloudflare-custom-rule.webp)
The custom rule in the Cloudflare dashboard: match MSIE in the user agent, skip verified bots, and block.

The space after MSIE keeps the match tight, so it only catches the classic Internet Explorer pattern. The second condition exempts verified bots, the search engine and monitoring crawlers that Cloudflare has confirmed, so the rule can never block a legitimate crawler that happens to mimic an old browser. Place it after any skip rules you use for payment webhooks.

The rule is evaluated at the Cloudflare edge, so blocked requests never reach the Synology reverse proxy or the WordPress container. That is the whole point: the NAS stops paying for traffic it should never have seen. The rule is available on every Cloudflare plan, including Free.

## Where the Traffic Really Came From

One detail almost sent us in the wrong direction. Our origin log records the Cloudflare ray ID, which ends in a three letter data center code, and nearly every request from the fake user agent ended in TPE, the Taipei data center closest to our servers. It looked like a local attacker.

It was not. The data center in the origin log is the one that connected to our server, not necessarily the one the visitor reached. Cloudflare Security Analytics showed the same requests entering at DME, Moscow, from AS39087. Always take the source country, network and IP from Cloudflare itself, not from the code at the end of the ray ID.

The same lesson applies to IP addresses. Behind Cloudflare and a reverse proxy, the address in your web server log is a Cloudflare address unless you restore the original visitor IP. We covered that setup in our article on [email bombing through a contact form](https://synopower.club/docs/email-bombing-contact-form-synology-nas/), where it mattered just as much.

## What Changed After the Rule Went Live

We tested the rule from outside: a request with the IE7 label received 403, and the same request with a current Chrome label received 200. Within a minute the reverse proxy saw two requests per minute from real visitors and none from the fake user agent. Security Events showed about 4,000 blocked requests in the first hour, all from the same source.

![Cloudflare Security Events showing the fake user agent rule blocking about 4,000 requests per hour](https://synopower.club/wp-content/uploads/2026/11/fake-user-agent-security-events.webp)
Security Events filtered to the new rule: nothing all day, then about 4,000 blocks per hour from the moment it went live.

The fake user agent crawler did not give up. It kept sending the same requests at the same rate, and Cloudflare kept answering them at the edge for free. That is the ideal outcome. A bot that is refused quickly and cheaply costs you nothing, while a bot that is refused slowly by your own server costs you every customer who arrives at the same time.

## A Checklist for Your Own Synology-Hosted WordPress

- Keep your reverse proxy access log with the user agent, response time and Cloudflare ray ID in each line. Without the user agent field this incident would have taken hours.
- Learn one command that counts user agents in the last few thousand lines, and run it whenever the load rises without a reason.
- Watch the share of 404 responses. A sudden jump almost always means a scanner or a fake user agent crawler, and every 404 is an uncached render.
- Exempt verified bots with not cf.client.bot in every blocking rule, and put skip rules for payment webhooks first.
- Prefer rules on behaviour or signature over IP blocks, which attackers rotate around cheaply.
- Before adding vCPUs or memory to a Synology virtual machine, confirm the extra load comes from real visitors.

For the wider picture of how we protect a public site on Synology, see [the 5 layers we run on Synology](https://synopower.club/docs/synology-nas-security-public-website/).

## Fake User Agent Blocking Limits and Caveats

1. A fake user agent rule only works while the bot keeps its label. Expect to revisit it, and keep the four detection steps handy for the next variant.

2. Some legitimate tools still send old browser strings that look like a fake user agent, such as monitoring probes, legacy enterprise proxies or embedded devices. Check Security Events for a few days after enabling the rule and add an exception if you see a source you recognise.

3. The verified bot exemption covers the crawlers Cloudflare knows about. A small partner integration that is not on that list and uses an old label would be blocked, so test your own integrations.

4. Blocking at the edge does not reduce Cloudflare request counts. On plans billed by requests the blocked traffic is still counted, although on Free and Pro plans this costs nothing extra.

5. The rule hides the symptom from your server, not from the attacker. If the crawler was harvesting data, assume what it collected before the block is gone, and do not publish anything through the REST API that should stay private.

6. Always review the rule after any change in your stack. A new plugin that needs a client with an unusual label, or a switch to a different proxy, can turn a precise rule into a blunt one.

## Frequently Asked Questions

### What is a fake user agent?

It is a User-Agent header that names a browser or crawler the client is not. Bots use one to get past simple filters and to blend in with normal visitors in traffic reports.

### How do I know a user agent is fake?

Look for impossible or outdated combinations, such as Internet Explorer 7 on Windows 8, and for one label holding a large share of your traffic. Then check where Cloudflare says those requests really come from.

### Will blocking MSIE block real visitors?

Almost never. Microsoft retired Internet Explorer in 2022 and current browsers do not send MSIE. Check Security Events for a few days after enabling the rule to be sure no partner tool is affected.

### Does a fake user agent rule hurt SEO?

No. The rule exempts verified bots, so Googlebot, Bingbot and other confirmed crawlers are never matched, and the faster site that results helps real visitors and crawlers alike.

### Why did page caching not stop the fake user agent crawler?

It requested REST API endpoints and addresses that do not exist. Those responses are never cached, so each request started PHP and rendered a full page, many times per second.

### Should I block the attacking IP instead?

You can add it as well, but on its own it is weak. The same fake user agent used a second address the same day, and hosting networks hand out new ones cheaply. A signature rule covers all of them.

### Do I need a paid Cloudflare plan to block a fake user agent?

No. Custom rules with the user agent field and the verified bot field work on the Free plan. Paid plans add more rules and longer analytics history.

### Can a Synology NAS handle traffic like this?

Yes, once the junk is filtered at the edge. Our virtual machine went from a load of 18 back to normal within a minute of the rule going live, with no change to the NAS hardware.

## References and Video Walkthroughs

- [Create a custom rule in the Cloudflare dashboard](https://developers.cloudflare.com/waf/custom-rules/create-dashboard/), the official steps for the rule shown above.
- [The cf.client.bot field](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.client.bot/), which defines the verified bots the rule exempts.
- [Cloudflare Security Analytics](https://developers.cloudflare.com/waf/analytics/security-analytics/), where we found the true source network and country.
- [WordPress REST API Handbook](https://developer.wordpress.org/rest-api/), describing the endpoints the crawler was harvesting.
- [Internet Explorer end of support](https://learn.microsoft.com/en-us/lifecycle/announcements/internet-explorer-11-end-of-support-windows-10), why no real visitor sends an MSIE label any more.

These videos walk through the same tools: blocking user agents with a Cloudflare custom rule, reading Security Analytics, and hosting WordPress on a Synology NAS.

[Block  User Agents Cloudflare WAF custom rules  #CloudflareWAF #UserAgentBlocking #trafficanalysis](https://www.youtube.com/embed/OEkURkP0ZEM?feature=oembed)

Block User Agents with Cloudflare WAF custom rules

[Cloudflare WAF and Security Analytics Demo (3 min)](https://www.youtube.com/embed/Z57BPKa1yyE?feature=oembed)

Cloudflare WAF and Security Analytics Demo

[How to self host a Wordpress website on Synology NAS (updated for 2024)](https://www.youtube.com/embed/8sa9KeBH38g?feature=oembed)

How to self host a WordPress website on Synology NAS

Planning to host your own store on Synology? SynoPower Club sells genuine licenses for Virtual DSM and Virtual Machine Manager Pro, with keys delivered by email.

      On Sale[![Synology Surveillance Station Camera License 8 Pack (CLP8) box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-Camera-License-8-Pack-CLP8-400x533.webp)](https://synopower.club/fr/synology-camera-license-key-clp8/)  [Synology Surveillance Station Camera License 8 Pack (CLP8)](https://synopower.club/fr/synology-camera-license-key-clp8/)    On Sale[![Synology Virtual Machine Manager Pro (VMM Pro) License box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2026/02/Synology-VMM-Pro-License-3x4-1-400x533.webp)](https://synopower.club/fr/synology-vmm-pro-license/)  [Virtual Machine Manager Pro (VMM Pro) License](https://synopower.club/fr/synology-vmm-pro-license/)#!trpst#trp-gettext data-trpgettextoriginal=0#!trpen#US $185.00  US $995.88#!trpst#/trp-gettext#!trpen#   On Sale[![Synology Surveillance Station Camera License 4 Pack (CLP4) box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-Camera-License-4-Pack-CLP4-400x533.webp)](https://synopower.club/fr/synology-camera-license-key-clp4/)  [Synology Surveillance Station Camera License 4 Pack (CLP4)](https://synopower.club/fr/synology-camera-license-key-clp4/)    On Sale[![Synology Surveillance Station Camera License 1 Pack (CLP1) box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-Camera-License-1-Pack-CLP1-400x533.webp)](https://synopower.club/fr/synology-camera-license-key-clp1/)  [Synology Surveillance Station Camera License 1 Pack (CLP1)](https://synopower.club/fr/synology-camera-license-key-clp1/)    On Sale[![Synology MailPlus License 5-User box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-MailPlus-License-5-User-MP5-3x4-1-400x533.webp)](https://synopower.club/fr/compte-synology-mailplus-5-2/)  [Synology MailPlus License 5-User](https://synopower.club/fr/compte-synology-mailplus-5-2/)    On Sale[![Synology MailPlus License 20-User box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-MailPlus-License-20-User-MP20-3x4-1-400x533.webp)](https://synopower.club/fr/synology-mailplus-license-pack-20-comptes-2/)  [Synology MailPlus License 20-User](https://synopower.club/fr/synology-mailplus-license-pack-20-comptes-2/)    On Sale[![Synology Virtual DSM (VDSM) License 1-Instance box – official license key from SynoPower Club](https://synopower.club/wp-content/uploads/2024/01/Synology-VDSM-License-1-Instance-3x4-1-400x533.webp)](https://synopower.club/fr/pack-vdsm/)  [Virtual DSM (VDSM) License 1-Instance](https://synopower.club/fr/pack-vdsm/)
