Skip to content
Back to personal work

Anatomy of an infected website: from a fake Cloudflare check to the CheckBot malware

A local company's website offered Windows visitors a fake Cloudflare validator. We analysed the malware in a sandbox and traced the same script to dozens of other sites.

Sector
Cybersecurity
Scope
Malware analysis
Year
2026
Fake Cloudflare check with six fields for a code and a Verify now button, served by the compromised website

In July 2026 we came across the website of a local company. It had been online for years at the same address. Some visitors on Windows, however, were now seeing a verification page that asked them to download a program. That program was CheckBot.

Here we walk through the whole chain: how we found it, how the injected script worked, what happened when we ran the malware in an isolated sandbox, and why working out what a piece of malware really does is harder than it looks.

Responsible disclosure. We notified the company and helped it fix the problem. The domain is obscured in the original screenshots. We include the domains, IP addresses and hashes from our investigation to help others look for traces of the same campaign.

A script that should not have been there

The first clue was in the HTML source. Every page we examined included the same unfamiliar script inside the navigation menu.

...sp-menu-item sp-has-child "><script src="https://js.aacaw.com/fp/v1.min.js"></script>"><a href="/">Home</a>...

The domain js.aacaw.com had no connection to the site. The same stray quote before <a> appeared in each copy of the menu. Pages with two menus also contained two copies of the script. The repetition suggested a change in how the site generated its menu. The HTML alone left open how the attacker had introduced it.

The script that selected visitors

The obfuscated script acted as a filter. It fingerprinted the browser using canvas and WebGL, fonts, operating system, screen resolution and time zone. It first asked a server which domain to use, then sent the fingerprint there and waited for a response. This let the service change its address without updating every infected page.

In tests with Mac, Linux and mobile profiles, the site worked without displaying the lure. The filter had already collected the browser fingerprint. Someone opening the very same address could see a different page from the one a visitor had reported.

The fake Cloudflare check, a ClickFix variant

When the filter selected a Windows visitor, a second script built a perfect imitation of the Cloudflare check, down to the logo, wording and real links to Cloudflare. It is a ClickFix variant: in the classic version the page persuades the victim to paste and run a command, here to download and open a program. Microsoft’s analysis of ClickFix The act has three scenes.

Scene one. A page appears with the Cloudflare logo and a "Verify you are human" checkbox.

The fake Cloudflare check with the Verify you are human box, served by the compromised site with its own domain in the address bar

The address bar shows the legitimate domain of the compromised site, with its valid HTTPS certificate. Checking the address would have confirmed that the visitor was on the right site. The giveaway comes a little later, when the page asks the visitor to run software on their PC. A genuine Cloudflare check takes place in the browser. How Cloudflare challenges work

Scene two. Clicking the checkbox brings up "Verification failed". The page offers another method, making the next step look like a routine fix for the problem.

The fake check shows Verification failed, switching to another verification method

Scene three. The alternative method opens a page with six fields for a code and a "Verify now" button.

The fake check with six code fields and the Verify now button

To get the code, the page invites the visitor to download a "validator" through a link labelled "Not enabled yet? Get it now". The file comes from an Amazon S3 bucket in the Hong Kong region. Opening it runs CheckBot, which displays a window with a six-digit code.

The CheckBot 0.4.32 malware window imitates a Cloudflare widget and shows a six-digit code

The visitor can enter the code on the page and click "Verify now". The overlay disappears and the site becomes visible again. By the time the page appears to have finished its job, the program is already running on the PC.

The way in: an outdated extension

The site ran Joomla 4.4.14, already past the end of standard support, with SP Page Builder 4.0.7, vulnerable to CVE-2026-48908: an unauthenticated file upload that allows PHP code execution on the server. JoomShaper released the fix in version 6.6.2 on 15 June, and on 7 July 2026 CISA added the flaw to its catalogue of actively exploited vulnerabilities. Joomla’s CVE record · Release notes · CISA catalogue

On the Wayback Machine, the internet's historical archive, the home page saved on 12 May was still clean; by July the script was on every page. The infection therefore happened within those two months, the same weeks in which the flaw became public and exploited. And every other site hit by the same campaign, as we will see, ran the same extension.

In the sandbox: what the malware does

The download was an unsigned Windows executable of about 2.8 MB. During execution, a signed Microsoft program loaded a malicious library in place of the expected one, a technique known as DLL sideloading. Part of the library's code was encrypted on disk and became readable in process memory.

For the first run we used a virtual machine without internet access and a simulated network that logged connection attempts. The sample tried to resolve three domains, including api.aacaw.com. It shared its base domain with js.aacaw.com, the script injected into the site. This was another link between what we had seen in the browser and the downloaded program.

In memory we recognised Rust libraries and source paths and found references to the Bochs emulator. With DNS resolution blocked, the sample prepared its configuration. We saw no further modules load during that run.

Do not trust the first strings

A search across the machine's entire memory turns up words such as wallet, MetaMask and Login Data. Which process did they come from? We extracted the payload and searched only its bytes. Two of the most suggestive terms, wallet and MetaMask, were absent.

For the other terms we compiled a clean reference build with the same Rust library versions. For example, LDAP appeared in the reference program too. A shared string carries little weight as evidence of a specific malware capability. Among the remaining strings we recognised references to cryptography, a machine identifier and telemetry. Together with the behaviour we observed, these findings indicate that the first stage profiles the PC and loads more code. Whether this stage could steal passwords or wallets remained unproven.

Getting past the anti-analysis

To see the next stage, the command server had to answer. The first run with real internet, in a virtual machine still isolated from our network, was turned away: the server responded without sending modules, because the machine "looked like" a sandbox. So we disguised it: processor, motherboard, network card and computer name of an ordinary office PC, plus a believable user profile with decoy credentials (a password file, cloud keys, documents) that we could tell apart from system data.

The CheckBot malware running in the disguised sandbox: the command prompt with the computer name and the lookup of the command domain, and the CheckBot 0.4.32 window

This time the filter said yes, and we watched the malware at work:

  • it downloads about 4 MB of modules from 103.1.225.34 on non-standard ports and sends back about 21 KB of data;
  • it steals the decoy files: the full contents of the password file ended up in the memory of dllhost.exe, a system process the malware had injected itself into, and from there went to the command server with the rest of the data;
  • it hides its DNS lookups behind DNS over HTTPS: they travel encrypted inside ordinary HTTPS connections, so the domain names it contacts never appear in the network's DNS logs. DNS over HTTPS specification

The code recovered from memory revealed the full structure: not a stealer with fixed targets, but a modular agent that runs the server's commands: inject into other processes, collect information about the PC, survive reboots, steal files on request.

Who is behind it

Several independent clues point to Chinese-speaking operators: command server error messages, the fake CAPTCHA wording and comments in the decoy page in simplified Chinese; the malware's DNS resolvers include Alibaba's; and before this campaign one of the command domains hosted Chinese online betting and lottery sites. The profile fits a group already active in illegal online gambling that repurposed its infrastructure to distribute malware. Finally, the code was compiled on a Mac.

How to clean it up

The site and the affected PCs each need attention. In CheckBot's code we found a scheduled task made to look like a Windows component (DeviceCensusHelper), a fallback mechanism in the registry and logic to restart malware components. For an incident like this one, we would take the following steps.

  1. Take the compromised site offline, isolate PCs on which the fake validator ran, and preserve logs and evidence before cleanup.
  2. Check the server for modified files, hidden access and added accounts. Restore the site from a verified backup or rebuild it using trusted packages. Before reopening it, update Joomla and its extensions to supported, patched versions. JoomShaper’s cleanup guide
  3. Check affected PCs for the scheduled task, registry changes, loader and affected processes. If system integrity cannot be verified, reinstall from a trusted image.
  4. From a clean device, revoke sessions and rotate exposed credentials, including those used on compromised PCs and those for site administration, the database and hosting.
  5. The site collected contact details through forms. Determine whether the incident affected personal data and, if there was a breach, assess the risk and whether notification is required. Italian data protection authority guidance

Indicators of compromise

  • Script injected into the site: js.aacaw.com
  • Command domains: api.aacaw.com, api.aacak.com, api.aabaw.com, api.fingerprint-probe.com
  • Second script: static.aacak.com/fp/check.v1.min.js
  • Delivery: fp-hk.s3.ap-east-1.amazonaws.com, file super4/checkbot/checkbot-*-0.0.32.exe
  • IP contacted by the sample: 103.1.225.34, ports 8001 and 8002
  • Domain via DNS-over-HTTPS: s4.cache-task.com
  • Persistence: scheduled task \Microsoft\Windows\Device Information\DeviceCensusHelper
  • SHA-256 of the malicious library: d36db5975073d65a7d7ff48d0dab9ec3b4ce6302a42c01b89f78a580658df9a3
  • Exploited vulnerability: CVE-2026-48908 (SP Page Builder 1.0.0 through 6.6.1)

Not an isolated case

To find other sites carrying the same script, we used public indexes. Existing urlscan.io captures show requests a page made. PublicWWW makes it possible to find the script reference in indexed HTML. Public certificate logs helped us identify domain names potentially associated with the infrastructure.

In a single day of searching, on 18 July, PublicWWW and urlscan.io showed 70 to 90 compromised sites across roughly fifteen countries: only those visible in public indexes at that moment. They included professional firms, universities, associations, small businesses, a bank and government websites, such as those of public bodies in Malaysia and Mexico. All running Joomla with SP Page Builder: not chosen targets, but an automated harvest of whatever was vulnerable.

A site owner could reopen a page and see it working normally. The filter fired intermittently, and an archived scan captures only what that particular browser received at that moment.

We used only public data, without trying to break into the attackers' systems. We alerted the site operators we could reach and shared the indicators with the relevant authorities.

What we take home

One outdated extension is enough. No sophisticated attack, no unknown flaw: one known CVE, with the fix already out, and a legitimate website serves malware for months. An inventory recording who maintains each extension and when updates are due makes delays like this visible.

The file on disk does not tell the whole story. Against layered, encrypted malware the truth is in memory, and it has to be pulled out with controlled runs and RAM analysis.

Verify by difference, not by proximity. Words such as wallet and MetaMask showed up across the machine's whole memory, and it looked like wallet theft. Comparing the malware with a clean build of the same libraries showed those words belonged to Windows and the libraries, not to the attacker's code: wallet theft is not proven. That is the whole difference between a correct analysis and a wrong but convincing one.

If you run a Joomla, WordPress or Drupal site, try answering one concrete question. Which extensions are installed, and when did you last check that they still receive security updates?

Back to personal work