Net Shaker
Cybersalt's mission is to make the Internet a better place for you and for others.
The Net Shaker is a sprinkling of internet related news that we think our clients and visitors either need to know or will enjoy reading. It is also where the latest news about our company can be found.
- Details

The short version: A backup running perfectly every night is only half a safety net. We watched a restore delete a live website database and then fail to put anything back — and the backups themselves were fine the whole time.
- Details

The short version: A client's brand-new server couldn't send a single email — because the IP address his hosting company assigned to it was already on a spam blacklist, burned by whoever had it before him. He inherited someone else's bad reputation on day one.
- Details

The short version: For most of one day this week, websites on two of our servers kept blinking offline for a minute or two at a time and then recovering on their own. It was not a hack and it was not an attack. A popular Joomla add-on shipped an important update that day, and a lot of site owners went to install it around the same time. The way that update installed itself happened to disagree with one behind-the-scenes speed setting on our servers. Turning that setting off made the problem stop completely.
If you had a site with us that day, here is what you might have seen: a page that was slow to load or timed out, then loaded fine when you tried again a minute later. Nothing was damaged, nothing was lost, and no visitor information was ever at risk. The sites were not "down" in the usual sense. They were waiting in line behind an update that could not finish.
What we changed is a small network setting that only affects how our servers talk to Cloudflare, the service that sits in front of the sites and delivers them quickly around the world. Visitors still get the same fast, modern connection they always did. The change only touched one internal hop that most people never see.
- Details

The short version: In a single week this month, the quiet protective layer around our shared hosting turned away roughly 600,000 hostile web requests — and you never noticed, because never noticing is exactly the point.
- Details

The short version: If your inbox is suddenly full of bounce notices for emails you never sent, you almost certainly haven’t been hacked. A spammer somewhere has picked your address off a list and used it as the “return address” on a batch of spam. The failed deliveries — the ones the receiving mail servers couldn’t hand to a real person — come back to you, because your address is what’s stamped on the envelope. The fix isn’t at your end. It’s a small setting on the mail server that tells it to quarantine the incoming spam instead of formally rejecting it.
Read more: Why You're Getting Bounce Notices for Emails You Never Sent
- Details

The short version: A backdoor disguised as a legitimate Joomla plugin called “MetaCache” lived on two websites for sixteen months without triggering any scanner. The attacker used it to walk back in this past weekend. We found it, removed it, and traced the persistence pattern. If you run a Joomla site, this is one worth understanding.
Read more: How a Chinese Webshell Survived 16 Months by Pretending to Be a Joomla Plugin
- Details

The short version: When a Joomla site gets hacked through something like the recent JCE Editor vulnerability, most cleanups focus on the Joomla side — webshells, rogue users, malicious files. That work is necessary, but it isn't always sufficient anymore. On a site we helped clean up this week, the attacker had also planted a cron job and a couple of cPanel API tokens that would have re-infected the site within an hour — completely outside Joomla, completely outside whatever your Joomla-side cleanup catches. If your site has been hit recently, the cPanel layer is worth a second look.
Read more: Cleaning Up a Joomla Hack Isn't Enough — What's Hiding in cPanel
- Details

The short version: Over the past week, hackers have been actively exploiting a vulnerability in JCE Editor — one of the most popular content editors used on Joomla websites — to break into sites, quietly plant hidden user profiles, and upload malicious files. If your site uses JCE Editor and hasn’t been updated to version 2.9.99.6 or newer, you should check it today. mysites.guru can do that check for you for free, and clean it up with a couple of clicks if anything is found.
Read more: The JCE Editor Hack — How to Check Your Joomla Site (and Clean It Up Easily)
- Details

The short version: One of the Joomla extensions we install on every site in our Monthly Joomla Website Management package — ochResponsiveImages — is getting a meaningful upgrade on June 2nd. Galleries and lightboxes get the same speed treatment your content images already get, big processing jobs stop crashing into PHP timeouts, and cached files now keep themselves tidy in the background.
If you're already a Cybersalt Monthly Management client and you'd like us to enable ochResponsiveImages on your site — or check the boxes for the new gallery-optimization feature once 4.2.0 lands — just reply or send us a note and we'll take care of it. The license is already part of your management package; there's nothing extra to buy.
If you're not on our management package but you run a Joomla site of your own, Ruud van Lent (the developer) is offering a 20% launch discount on new subscriptions and renewals until June 1st — €20 instead of €25, code LAUNCH420. Direct link near the bottom of this post.
Read the technical breakdown ↓
What is ochResponsiveImages and why does it matter?
Modern websites get rated on how fast they load. Google PageSpeed Insights, Core Web Vitals, your visitors' patience — they all reward sites that send the smallest possible images to each visitor's device. A 2,000-pixel-wide photo loaded on someone's phone is wasted bytes; a JPEG when their browser supports WebP or AVIF is also wasted bytes. The differences add up to seconds of load time and noticeably worse search rankings.
ochResponsiveImages handles all of that automatically. Once it's installed and turned on, every image your site serves gets quietly resized, recompressed, and converted to the most efficient format the visitor's browser supports — often 30% smaller than the original with no visible quality loss. You don't have to do anything different when you write articles or upload photos; the plugin sits in the background and does the work.
It's one of the extensions Cybersalt licenses across our entire client base as part of the pro Joomla extensions suite we include with every Monthly Joomla Website Management account.
What changes in 4.2.0
Four things, all of them practical:
1. Galleries and lightboxes get the same treatment as content images. Until now, ochResponsiveImages optimized the images embedded in your articles, but the photos in your image galleries and lightbox popups slipped through untouched. As of 4.2.0, those get converted to WebP or AVIF as well. (This feature is off by default — site owners decide when to enable it — but on most Joomla sites it's a clear win.)
2. No more blank pages during heavy processing. If you've ever rebuilt the optimized-image cache on a site with thousands of photos, you've probably hit a PHP timeout — the browser shows a white page or a 504 gateway error and you're not sure whether the job finished. The 4.2.0 release watches how much execution time is left, stops cleanly before the timeout hits, and picks up where it left off on the next request. Big processing jobs now complete instead of crash.
3. Replace an image, the cache updates itself. If you upload a new version of banner.jpg to overwrite the old one, the previously cached versions are now rebuilt automatically. No more "why is the old image still showing?" head-scratching, no more manual cache clears.
4. Automatic cache cleanup in the background. A new task-scheduler plugin scans for cached files that no longer correspond to anything on the site and removes them quietly. One less thing to think about, and one less folder that grows endlessly.
What this means for Cybersalt-managed sites
Our Monthly Management subscribers don't need to do anything — when 4.2.0 ships on June 2nd we'll roll it out across the sites we manage as part of our standard maintenance pass. If you're not currently using ochResponsiveImages on your site and you'd like us to install it, just let us know. The license cost is already part of what your management subscription covers.
If you've been on the fence about whether your site needs this kind of optimization, the short answer is: if Google PageSpeed Insights is telling you that "serve images in next-gen formats" or "properly size images" is hurting your score, ochResponsiveImages will quietly fix both of those without you having to think about it again.
If you'd like to subscribe yourself
Site owners who aren't on our management package can subscribe to ochResponsiveImages directly from Ruud's site. Until midnight on June 1st he's offering 20% off — €20 for a year instead of the regular €25 — using the coupon code LAUNCH420. The same coupon also works on renewals if you're an existing subscriber.
Subscribe link (the discount code is pre-applied):
https://onlinecommunityhub.nl/subscribe-now/ochresponsiveimages-12-months?coupon=LAUNCH420
For a closer look at the extension itself before you buy, the product page is at onlinecommunityhub.nl/joomla-extensions/ochresponsiveimages.
The technical breakdown
For the more technically inclined — what's actually going on under the hood, and why these four changes matter on a working production site.
WebP, AVIF, and the <picture> element
ochResponsiveImages works by transparently rewriting the image markup in your rendered HTML. When a visitor's browser requests a page, the plugin intercepts each image reference and emits a <picture> element with multiple <source> children — one per format (AVIF, WebP, original JPEG/PNG fallback) and per breakpoint (mobile, tablet, desktop, retina). The browser then picks the smallest file it can render. On a modern Chrome or Firefox, that's almost always the AVIF, which can be 30–50% smaller than the equivalent JPEG.
The plugin also injects width and height attributes plus decoding="async" on every image. Both of those help with Core Web Vitals: width/height prevent the cumulative layout shift (CLS) penalty when an image pops in mid-render, and decoding="async" stops image decoding from blocking the main thread on long pages.
Gallery and lightbox coverage — what changed
Up to 4.1.x, the plugin walked the rendered HTML looking for <img> tags inside article content. Gallery and lightbox extensions (Ignite Gallery, Droppics, sigplus, the JCE Pro MediaBox, plenty of others) often defer the actual <img> emission to JavaScript or build their HTML inside containers that the plugin's article-level walker didn't enter. 4.2.0 extends the rewriter to those container patterns, so the same <picture> + srcset treatment is applied across gallery markup as well.
The feature ships disabled because gallery layouts are more sensitive to dimension hints than free-flowing article images — turning it on for a site that builds galleries via inline-styled <img> tags with hard-coded widths can sometimes need a few CSS tweaks. Cybersalt will be testing this on our staging copies before flipping it on across the managed-site fleet.
Execution-time-aware batch processing
Image conversion is CPU-bound. On a site with several thousand images, the initial cache-build pass can comfortably exceed PHP's max_execution_time (typically 30–120 seconds on shared hosting). The old behaviour was to hit the limit, surface a white page or a 504, and leave the cache half-built — meaning the next page render would trip into the same conversion attempt and time out again.
4.2.0 introduces a soft budget. Each batch checks how much execution time remains via microtime() deltas against the configured limit, and stops before the kernel kills the request. Resumption happens naturally on the next page request: the plugin sees the partially-built cache, picks up the unprocessed entries, and continues. On a busy site that's serving traffic, the cache fills in gradually rather than catastrophically.
Cache invalidation on filename re-upload
If you replaced /images/articles/banner.jpg with a new version, previous versions of ochResponsiveImages saw the same filename and assumed the cached derivatives were still valid. The visible symptom: editors swore they'd updated the photo, but the site kept serving the old one until someone manually cleared the cache.
4.2.0 fingerprints the source file's modification time and file size, and compares that signature against what's stored alongside each cached derivative. When the signatures diverge, the derivatives are regenerated on demand. No manual cache-clear needed; the site Just Works.
Scheduled obsolete-file cleanup
Joomla's built-in task scheduler (introduced in Joomla 4) is how you run periodic background work without leaning on system cron. 4.2.0 ships with a new ochResponsiveImages task that you can schedule (daily, weekly, whatever) to walk the cache directory and delete derivatives whose source images no longer exist. On a long-running site that deletes and re-adds photos over the years, this prevents the cache folder from accumulating gigabytes of dead files.
Compatibility notes
4.2.0 requires Joomla 4.4+ or Joomla 5 (no Joomla 3 support — that branch has been frozen for a while). PHP 8.1+ for the new execution-time-aware code paths. The plugin uses GD or Imagick on the server to do the actual image conversion; most cPanel hosts (including ours) have both available.
Cybersalt's deployment plan
We'll wait for the production release on June 2nd, test on a couple of representative staging sites for a few days (one with heavy galleries, one with the existing setup), then roll out across the managed fleet during our normal weekly maintenance window. Clients with the gallery-optimization feature toggled on by request will be notified before the change goes live on their site.
- Details

The short version: A website on one of our shared servers had been getting hacked over and over for months. Every time we cleaned it up, the attacker was back within hours. We finally caught the channel they were using to get back in — a Web Disk account on the cPanel that had been planted a year ago, completely separate from the cPanel password we'd been resetting and the 2FA we'd been enabling. The site is now clean, the door is closed, and the lessons from this one are worth sharing.
First, an important piece of context: the website in question is on a hosting account that was migrated to Cybersalt from another host. The customer came to us because they wanted better security and more attentive management — they'd been getting hacked at their previous host and assumed moving to us would solve it. The cPanel account was isolated on its own under our usual setup (a shared cPanel server, but every account in its own user, its own file space, its own resources), and over the months we'd been helping them clean and re-clean it. So this story is not "Cybersalt's server got hacked." It's "Cybersalt inherited a quietly-compromised account and finally, today, found the persistence channel the attacker had left behind from before we ever had it."
We'd been at this for months. Every time we found the latest round of malicious files, we cleaned them up, rotated the relevant passwords, hardened the configuration a little further, and watched the site for a few days. It would behave. Then, sometimes within hours and sometimes a week or two later, fresh malware would appear and the same cleanup cycle would start over.
Along the way we tried just about everything you'd think to try. We reset the cPanel main account password — twice. We reset the email-account passwords. We audited the website's content-management system for unauthorized administrator accounts and for unfamiliar API tokens. We deployed a file-modification trap meant to catch the attacker the next time they wrote anything. We had the host's daily malware scanner running and surfacing every webshell it could see. The customer turned on two-factor authentication for their cPanel account. Each one of those steps made sense given what we knew. None of them stopped the re-hacks.
By the time we got to the morning of this incident, "what are we missing?" was the only honest framing left.
Read the full technical breakdown ↓
What we did about it
- We set up a small monitoring script that watches the website's main
index.phpfile and emails us the moment its fingerprint (technically, its MD5 hash) changes. The idea was deliberately simple: instead of finding out about a re-hack hours or days after the fact, we'd catch the attacker in the act and have a fresh trail to follow. - The alert fired one morning at 10:20. The file had been modified four minutes earlier. We replaced it with a clean copy as usual — but this time, before doing anything else, we pulled the website's access logs to see which request had caused the change.
- There was no such request. Zero website hits at the moment of modification. No FTP login. No SSH login. No cPanel login. The file had been changed silently, on a channel that didn't touch any log we'd been checking.
- That mismatch was the breakthrough. It told us the attacker wasn't coming in through the website at all. They were authenticating to a parallel cPanel service called Web Disk — a remote file-access protocol that lets a user mount their hosting space like a network drive — completely separate from the website and from the email accounts we'd been securing.
- We found a Web Disk user on the account that had been quietly sitting there for exactly one year. We deleted it.
- We cleaned up the files the attacker had dropped that morning, plus an older set of attacker files we discovered tucked inside a benign-looking subdirectory three weeks earlier. We restored the website's proper security configuration, and blocked the attacker's payload server at the network level so even any leftover code that tried to phone home now can't.
If you're a Cybersalt hosting customer reading this — your account isn't affected. This was one specific account where the attacker had a foothold from before the account moved to us, and the pattern hasn't surfaced anywhere else on our hosting since. The Web Disk audit we ran on the shared server hosting that account confirmed no other customer account on it has anything similar. If you'd like us to spot-check your own hosting setup or talk through what we found, get in touch.
The technical breakdown
The rest of this post is for fellow IT and security folks who want the receipts. If you came for the summary, you're done — thanks for reading.
Discovery
A few weeks before this incident, we'd had a more elaborate file-modification trap running on this same account. It used PHP's auto_prepend_file directive plus inotifywait to watch for any PHP process spawning at the moment of write, with chattr +i immutability flags on the most-targeted files as a backstop. It was clever, and it never fired once in six weeks. Three reasons, all of which only became obvious in hindsight: the watch surface was tied to a specific attacker pattern we'd inferred from an earlier cleanup; the immutability flag on index.php would have silently broken the next Joomla core upgrade; and the whole design assumed the attacker was writing files via PHP — which, as we'd find out, was the wrong assumption.
So a couple of weeks before today we replaced it with the dumbest possible monitor: a 20-line shell script, scheduled by cron every minute, computing the MD5 of index.php and emailing if the hash changed. No clever predicates, no assumptions about how the file was being modified. Just "did this file change since the last check? Yes? Tell me." That turned out to be exactly what we needed.
The watcher fired at 10:20:01 in the morning. The file modification time was 10:15:41 — four minutes earlier. The cron interval and a small queueing delay accounted for the gap. The new file on disk was the standard cloaking shell the attacker had been planting on this site for months: 22 KB of obfuscated PHP whose only job was to serve a Chinese counterfeit-e-commerce page to search-engine crawlers while leaving normal visitors with the real site.
The change we made compared to every previous cleanup: instead of replacing the file with a clean copy and moving on, we preserved the malicious copy and went straight to the access logs.
Here's the watcher itself, genericized for re-use. Adjust the mail line for whatever notification channel you actually have wired up — local sendmail, a Mailgun/Postmark cURL POST, an ssmtp config, whatever you trust to deliver an alert at 3 a.m. The mail call is the only host-specific bit.
#!/bin/bash
# Cron every minute. Email when index.php's MD5 changes.
WATCHFILE="/home/USERNAME/public_html/index.php"
HASHFILE="/root/.USERNAME_index_md5"
ALERT_EMAIL="This email address is being protected from spambots. You need JavaScript enabled to view it. "
CURRENT_HASH=$(md5sum "$WATCHFILE" | awk '{print $1}')
if [ ! -f "$HASHFILE" ]; then
echo "$CURRENT_HASH" > "$HASHFILE"
exit 0
fi
if [ "$CURRENT_HASH" != "$(cat "$HASHFILE")" ]; then
{
echo "index.php has changed."
echo
stat "$WATCHFILE"
echo
echo "Recent access log (last 50 lines):"
tail -50 /home/USERNAME/access-logs/example.com-ssl_log
} | mail -s "ALERT: index.php changed" "$ALERT_EMAIL"
echo "$CURRENT_HASH" > "$HASHFILE"
fi
Findings
Step 1 — no matching request. The first thing we did was align the file's modification timestamp with the access logs. The file had changed at 10:15:41 EDT. We checked the SSL access log, the plain-HTTP access log, the FTP transfer log (/var/log/xferlog), SSH and SFTP authentication records in /var/log/secure, and the cPanel UI's own access log. Nothing matched. No request to the website, no upload session, no login of any kind landed in that one-minute window.
This was the moment the investigation pivoted. Every cleanup we'd done for months had been built on the unstated assumption that an attack ends with a request — somewhere — to the website. That assumption had just broken.
Step 2 — narrow the search. We listed every recently-modified PHP file or .htaccess on the account, filtering out the noise from Joomla's own cache and log directories:
find /home/<account>/public_html -type f \( -name '*.php' -o -name '.htaccess' \) -mtime -2 \
| grep -vE '/cache/|/logs/'
That command returned seven files — and every one of the seven was attack-related. Two webshells (a small file-manager and a 98 KB obfuscated PHP shell), one cloaking script, and four stripped-to-minimum .htaccess files in three different web roots. Without the -mtime -2 window and the cache/log filter, this same find on a freshly-upgraded Joomla site would have returned roughly 1.6 MB of legitimate core files and buried the signal completely. The filter is the trick.
Step 3 — the timestamps gave it away. The three .htaccess files lived in three different web roots — the production vhost, a development subdomain, and a test subdomain. Their creation timestamps matched to the microsecond. Identical down to the sub-second. No human types that fast across three directories, and no web request can write to three separate vhost roots at once unless the writer has filesystem-level access at the cPanel-user layer — not just permission to upload through one site.
That was the second signal that we weren't dealing with a normal web attack.
Step 4 — the WebDAV lock file. The third signal came from a file we'd never had occasion to look at before:
/home/<account>/.cpanel/webdav_locks.bin
Modified at 10:17:00 EDT — 36 seconds after the malicious index.php write. That file gets touched any time a WebDAV session completes a lock operation. Its mtime is one of the few residues a Web Disk session leaves on the account.
Step 5 — the planted user. The last step was confirmation. We looked at the per-account WebDAV password store:
sudo cat /home/<account>/etc/webdav/passwd
sudo cat /home/<account>/etc/webdav/shadow
A single Web Disk user. The name was deliberately bland — the kind of name you'd skim past on a list. Read-write access to the entire public_html. SHA-512 password hash. The passwd and shadow files were both stamped with a modification date one year prior to the day we found them — a quiet, year-old foothold that had outlived every credential rotation, every Joomla upgrade, every malware scan, and the trap we'd built specifically to catch the next attack on this account.
Timeline of the day, reconstructed from the logs and file mtimes:
~1 year prior Web Disk user planted on the account
~3 weeks prior First cloak-and-shell drop in a benign-looking subdirectory
— survived every subsequent cleanup
Day-of 01:41 .htaccess in 3 vhost roots rewritten in parallel (WebDAV)
Day-of 08:21 Two webshells dropped in the document root (WebDAV)
Day-of 08:21 Attacker connects via normal HTTPS from an offshore IP
to verify the shells respond
Day-of 09:04 Older beachhead's cloak script rewritten with the
current payload (WebDAV)
Day-of 10:15:41 Root index.php rewritten — this is what tripped the
file watcher (WebDAV)
Day-of 10:16 Attacker GETs the file-manager webshell, confirms
persistence
Day-of 10:16+ Search-engine crawlers start receiving the 347 KB
cloaked HTML
Day-of 10:17 Final WebDAV lock release — webdav_locks.bin mtime
updates
Day-of 10:20:01 File watcher emails the alert
Why this defeated every prior protection
Four reasons the Web Disk channel was so resistant to everything we'd been doing:
- Separate password store. Web Disk authenticates via the
cpdavddaemon against the per-account file~/etc/webdav/shadow. That hash is completely independent of the cPanel main account password. Rotating the cPanel password — which we'd done multiple times — leaves the Web Disk shadow untouched. - 2FA doesn't apply. On this CloudLinux build of cPanel, the 2FA gate protects the cPanel UI login (port 2083) but does not enforce on
cpdavd. The customer had 2FA enabled correctly. It just wasn't on the channel the attacker was actually using. - No per-domain access log.
cpdavdwrites its session activity to/usr/local/cpanel/logs/cpdavd_session_log, not to the per-domain/usr/local/apache/domlogs/<domain>log. Every forensic check we'd done over months had been on the per-domain logs — and the activity wasn't there because it was never going to be there. - The cpdavd session log doesn't record usernames. Even if you do look at the
cpdavdsession log, it shows source IP + session ID + ports — but not which Web Disk user authenticated. So even targeted forensics on the right log file can't directly tie a session to a specific user. You can infer from timing, but you can't prove it from the cpdavd log alone.
The combination of those four properties is what made this so hard to find: every channel we'd checked came up empty for the same reason — the attacker was on a fifth channel.
Remediation
# 1. Forensic snapshot before anything destructive
mkdir -p /root/<account>-webdav-incident-$(date +%F)
cp -p /home/<account>/etc/webdav/passwd \
/home/<account>/etc/webdav/shadow \
/home/<account>/.cpanel/webdav_locks.bin \
/root/<account>-webdav-incident-$(date +%F)/
tar czf /root/<account>-webdav-incident-$(date +%F).tar.gz \
-C /root <account>-webdav-incident-$(date +%F)/
# 2. Remove the Web Disk user — all four artifacts
> /home/<account>/etc/webdav/passwd
> /home/<account>/etc/webdav/shadow
rm -f /home/<account>/.cpanel/webdav_locks.bin
rm -f /home/<account>/etc/webdav/@pwcache/<user>
# 3. Remove the dropped webshells and any cloak directories
rm -f /home/<account>/public_html/<shell-names>
rm -rf /home/<account>/public_html/<cloak-dir>/
# 4. Restore the proper .htaccess from the platform's stock template
cp -p /home/<account>/public_html/htaccess.txt \
/home/<account>/public_html/.htaccess
chown <account>:<account> /home/<account>/public_html/.htaccess
# 5. Block the cloak host server-wide (IPv4 AND IPv6)
printf '0.0.0.0 cloak-host.example\n::1 cloak-host.example\n' >> /etc/hosts
Two things in that cleanup script are worth calling out specifically — neither is obvious, and both have bitten us.
The @pwcache file is the fourth artifact. A surprising amount of online guidance for "delete a cPanel Web Disk user from the command line" says to truncate etc/webdav/passwd and etc/webdav/shadow and you're done. That's wrong. cPanel also caches the user's password hash in etc/webdav/@pwcache/<username> for performance, and that cache file survives the truncate-the-two-files approach. Until it's also removed, the deleted user can still authenticate. The WHM UI's "Delete Web Disk Account" button handles all four artifacts atomically — passwd, shadow, the lock file, and the pwcache entry. Doing it from the shell, you have to be explicit about all four. We learned this the hard way when an earlier manual cleanup on an unrelated account left the cache file behind and a follow-up audit caught it.
The IPv4-plus-IPv6 hosts pair is non-optional. Sinkholing a hostname via /etc/hosts with 0.0.0.0 works fine for an IPv4-only target. The moment the destination sits behind Cloudflare — or any modern CDN — the hostname resolves over both IPv4 and IPv6, and a single-stack hosts entry silently leaks across to the IPv6 path. Always pair the 0.0.0.0 line with a matching ::1 line for the same hostname, and verify with getent hosts <name>. The expected output is two loopback addresses and nothing else. If any non-loopback address comes back, the block is still leaking.
What I learned / would do differently
Three carry-forward lessons:
SYMPTOMS ≠ CAUSE. When a site keeps getting hacked despite credential rotation and 2FA, the working hypothesis should be: there's a second, silent authentication channel we haven't checked yet. Don't conclude "false alarm" from "I disproved each surface symptom" — a real compromise on a different vector is the default assumption until ruled out. On any future recurring-compromise report, the first commands now are:
sudo cat /home/<user>/etc/webdav/passwd
sudo cat /home/<user>/etc/webdav/shadow
sudo find /home/<user> -name webdav_locks.bin -printf '%TY-%Tm-%Td %TH:%TM %p\n'
sudo find /home/<user>/etc/webdav/@pwcache/ -type f 2>/dev/null
Server-wide Web Disk audits should be routine. After resolving the incident, we ran the equivalent of find /home -maxdepth 4 -path '*/etc/webdav/passwd' -size +0c on the shared cPanel server hosting the account. Two other customers on it had legitimate Web Disk users — both are confirmed legitimate, but the audit also surfaces the 2FA-bypass risk worth flagging to those customers: any Web Disk credential is functionally an SSH-key-equivalent shortcut into the file system, separate from cPanel's 2FA. A quarterly cron that diffs the live Web Disk user list against an allowlist and emails on changes is worth wiring up.
A simple MD5-on-cron file watcher is more useful than an elaborate trap. The earlier attempt at a smarter trap on this same site never fired once in six weeks because it watched for processes-spawning-PHP at the moment of write — which doesn't catch a write that doesn't go through PHP. The replacement 20-line script that just asks "did the hash change?" caught the next attack on the first try. Don't out-engineer the simple solution.
- Details

The short version: For about five days this past week, websites hosted on our shared servers were occasionally throwing random errors — a photo wouldn't load, a page would refuse to come up, the editor in a site's admin area would refuse to save an article. The failure rate was around one in every ten requests, which is high enough to be irritating but low enough that nobody could point at it and say "the site is down." We tracked it down today to a routine Apache web-server software update, released on May 8, which accidentally exposed a pair of long-dormant security rules to a subtle bug in how the new version handles modern browser connections. The fix took two rounds — disabling the obviously-firing rule cleared most of the noise, then a sibling rule the first one had been masking became the new active denier and had to be disabled as well. After the second round, every site on the affected servers is back to normal.
If you're a Cybersalt hosting client and your site has been feeling a little off this past week — pictures sometimes missing, an article refusing to save, a page randomly showing a 500 error — that was this. It's resolved now. No data was lost, and there's nothing on your end you need to do.
Read the full technical breakdown ↓
What we did about it
The cause was a pair of security rules that, until last week, had been silently doing nothing useful for years. The rules were originally written to catch a very specific class of attack against web servers — but a small change in how the new Apache version internally handles modern web traffic caused them to start mistakenly catching ordinary browser requests as well. Whichever request happened to land on the affected internal path would be denied with a 500-error response.
The fix took two rounds. We disabled the first rule across both of our shared hosting boxes and reloaded the web server, and the obvious symptoms cleared. But a sibling rule — sitting thirteen lines below the first one in the same configuration file, doing essentially the same job in a slightly more paranoid way — had been masked all along by the first rule firing earlier. With the first rule disabled, the sibling took over as the active denier, and a real visitor of one of our client sites hit a failed page load before we realized the problem wasn't fully resolved. Once we identified the second rule, the same kind of fix applied — disable, reload — and everything came back clean. We then reviewed every other rule in the same configuration file to make sure no further siblings were lurking.
Going forward, we're keeping a closer eye on the cPanel-managed Apache update channel. Routine cPanel updates do not normally cause this kind of trouble — this one was unusually subtle because the bug only surfaces on a specific request-handling path and only when one of a dozen-or-so security rules is active. But "routine" is not the same as "harmless," and we'll flag the next big Apache version bump for proactive testing rather than waiting for client reports. We'll also pair-check vendor rulesets more carefully — a rule whose own author calls it "redundant paranoia" sitting right next to the rule it duplicates is exactly the kind of thing that's easy to miss on a first pass.
If you noticed anything specific that still doesn't feel right with your site, give us a shout — we'd rather hear about it than have it linger.
The technical breakdown
The rest of this post is for fellow web-server and security folks who want the receipts. If you came for the summary, you're done — thanks for reading.
The signal
The first reports came in as three unrelated-looking incidents over a couple of days:
- One client's Joomla admin editor stopped saving articles cleanly. Sometimes the Save button worked, sometimes it spun and threw a JavaScript console error.
- Another client's site, on a different one of our shared servers, reported missing photos and modules that appeared to be unconfigured (they weren't — they just hadn't rendered).
- Sporadic browser-console errors on Joomla
/administrator/login pages —core.min.jsfailing to load, then a cascade of "Joomla is not defined" follow-ons.
What tied the three together: every symptom was intermittent, not consistent. Refresh the page and it would work. Refresh again and a different asset would 500. Visit the admin login and the page would render but the JS dependency chain would be missing a piece.
The audit log
A grep against /etc/apache2/logs/error_log for the affected hostname revealed dozens of ModSecurity denials all firing on a single rule:
[Wed May 13 ...] [security2:error] [pid ...:tid ...] [remote 2001:569:...:0]
ModSecurity: Access denied with code 500 (phase 2).
Match of "rx ^$" against "REQUEST_HEADERS:Transfer-Encoding" required.
[file "/etc/apache2/conf.d/modsec2.liquidweb.conf"] [line "179"]
[id "340004"] [rev "1"] [msg "Dis-allowed Transfer Encoding"]
[severity "CRITICAL"] [hostname "..."] [uri "/media/system/js/core.min.js"]
The rule, 340004, is part of the LiquidWeb-shipped ModSecurity ruleset that comes pre-installed with cPanel/WHM. Its job is to deny any request whose Transfer-Encoding request header is non-empty. That's a reasonable rule — Transfer-Encoding is a hop-by-hop header used for chunked request body framing, and a normal browser GET for a static JS file doesn't (and shouldn't) carry one. Historically the rule only caught actual HTTP smuggling attempts and misbehaving proxies.
The clue that tied the room together
Every audit-log entry showed the source port as :0.
That's the tell. A real TCP connection has an ephemeral source port somewhere in the 12000–65000 range. When mod_http2 dispatches HTTP/2-multiplexed streams to downstream Apache modules, it reports the source port as :0 because the actual TCP port is shared across all streams on that connection. So every :0 in the audit log was an HTTP/2-multiplexed-stream request — and only HTTP/2-multiplexed-stream requests were getting denied. Plain HTTP/1.1 (and HTTP/2 single-stream) traffic was passing through fine. That explained the intermittent failure rate immediately: a single browser page load issues twenty-or-so asset requests across a multiplexed HTTP/2 connection, and the ones that happen to land on the affected internal path get denied.
It also made the timeline question concrete: when did mod_http2 change?
The timeline
2026-03-31 /etc/apache2/conf.d/modsec2.liquidweb.conf last modified.
(Rules 340004 and 300003 have both been live since at
least this date.)
2026-05-08 cPanel/EasyApache automatic update at 01:40 AM:
ea-apache24 2.4.66-4 → 2.4.67-1
ea-apache24-mod_http2 2.4.66-4 → 2.4.67-1
(...and the other ea-apache24-mod_* siblings.)
2026-05-09 First client-side symptoms — "feels off," JCE editor blips,
missing photos. Reports slow to escalate because the failure
rate is only ~10% per request.
2026-05-13 (morning)
Tied to ModSec rule 340004. First-round fix attempted via
`whmapi1 modsec_disable_rule` against both servers. WHM
rules-list UI shows rule as Disabled, audit-log 340004
hits stop. Apparent success — actually wasn't.
2026-05-13 (evening)
Residual symptoms still surface on the same kinds of pages.
Forensic audit reveals two real problems: (1) the whmapi1
call never persisted to disk (cPanel datastore showed
disabled_rules empty), so the "disable" was effectively
in-memory-only; (2) a sibling rule 300003 in the same file,
with the same Transfer-Encoding match pattern, had been
masked by 340004 firing first and now took over.
Fix re-done correctly: `SecRuleRemoveById 340004` and
`SecRuleRemoveById 300003` added to
/etc/apache2/conf.d/modsec2/exclude.conf on both servers,
hard Apache restart. Verified 10/10 success on HTTP/2
burst tests against canary URLs.
The rule file sat unchanged for over five weeks before the Apache update. The Apache update sat live for five days before clients reported in. By the time the symptoms were visible enough to chase, the linkage to the May 8 update was non-obvious.
What changed in mod_http2 2.4.66 → 2.4.67
When mod_http2 receives an HTTP/2 stream and translates it into the internal request record that downstream modules (mod_security, the response handler, etc.) consume, it has to synthesize HTTP/1.1-style request headers. The 2.4.66 build did not set a Transfer-Encoding header on the synthesized record. The 2.4.67 build does — it sets it to chunked on certain request shapes as part of the framing translation, even though the original HTTP/2 stream didn't carry one. (HTTP/2 doesn't use a Transfer-Encoding request header at all — request body framing happens at the stream layer instead.)
Rule 340004 evaluates the request after mod_http2 has finished translating but before mod_security would normally know it was an HTTP/2-origin request. From mod_security's vantage point, the request "has" a Transfer-Encoding: chunked header, the rule's ^$ (empty-string) requirement isn't satisfied, and the request is denied with HTTP 500.
Neither side is "wrong" in isolation. Rule 340004 catches exactly what it was designed to catch. mod_http2 synthesizing a Transfer-Encoding header on internal translation is a defensible implementation choice. The two are just incompatible in this combination.
The fix that actually worked (after the first one didn't)
First attempt (didn't persist — flagged here so other ops folks avoid the same trap):
whmapi1 modsec_disable_rule config=modsec2.liquidweb.conf id=340004
/scripts/restartsrv_httpd --graceful
The WHM UI shows the rule as Disabled with a strikethrough in the rules-list view, and the audit-log entries for that rule ID stop. Both of which made the change look successful. The audit revealed that /var/cpanel/modsec_cpanel_conf_datastore — the file the rebuild process actually consumes — still showed disabled_rules: {} empty. The whmapi1 call had clearly been processed in-memory but didn't write to disk. Whatever the exact mechanism, the disable wouldn't have survived the next config rebuild, and on its face it didn't even appear to be effective: rule 340004 stopped firing not because the disable took effect, but because the sibling rule 300003 was now firing on the same requests first and short-circuiting the rule chain. That detail came out only on closer audit.
Gotcha if you do use the whmapi1 approach anyway: the command requires both an id= and a config= parameter. Omit config= and it returns:
result: 0
reason: 'API failure: ... Provide the "config" parameter for the
"Whostmgr::API::1::ModSecurity::modsec_disable_rule" function.'
Easy to miss because the failure mode is informative but the operator-typed command looked correct.
Second attempt (the one that actually fixed it):
cPanel ships an explicit user-override file for the LiquidWeb vendor ruleset — /etc/apache2/conf.d/modsec2/exclude.conf. The file is Include'd at line 748 of modsec2.liquidweb.conf, after all the vendor rule definitions, which is the right position for SecRuleRemoveById directives — they can only remove rules that have already been parsed earlier in the chain. exclude.conf already contained 152 working SecRuleRemoveById entries from past LW-rule overrides, which is how we knew the file was the right layer.
Two directives appended, each with an explanatory comment block:
# Disable LiquidWeb rule 340004 — Apache 2.4.67 mod_http2 synthesizes a
# Transfer-Encoding header on HTTP/2 internal stream translation, which
# rule 340004 ("Dis-allowed Transfer Encoding") was never designed to
# handle. Must live in exclude.conf, NOT custom.conf — custom.conf is
# included at line 23 of modsec2.liquidweb.conf (before rule 340004 is
# defined at line 179), so a SecRuleRemoveById there is a silent no-op.
# exclude.conf is included at line 748 (after rule defs).
SecRuleRemoveById 340004
# Disable LiquidWeb rule 300003 — sibling of 340004. Same root cause:
# Apache 2.4.67 mod_http2 synthesizes Transfer-Encoding: chunked on
# HTTP/2 internal stream translation, and 300003 matches the literal
# "chunked" pattern while 340004 matches non-empty. LW's own comment
# at line 191 says "the rule before this one should cover this, but
# hey paranoia is cheap" — i.e. 300003 is redundant once 340004 is
# in place.
SecRuleRemoveById 300003
Followed by a hard restart of Apache:
/scripts/restartsrv_httpd
(Hard restart rather than --graceful because modsec rule-loading state, in our experience on this build, is more reliably refreshed by a full stop/start cycle.)
Don't edit the vendor file directly. /etc/apache2/conf.d/modsec2.liquidweb.conf is owned by LiquidWeb's ruleset-refresh mechanism — any hand edit gets reverted the next time LW pushes an update. exclude.conf is cPanel's user-override layer for the same ruleset and persists through refreshes.
Include-order matters. First exclude-attempt during this incident actually went into /etc/apache2/conf.d/modsec2/custom.conf rather than exclude.conf. custom.conf is Include'd at line 23 of modsec2.liquidweb.conf — before any of the vendor rule definitions. A SecRuleRemoveById directive there is a silent no-op against any later-defined rule. Took longer than it should have to spot because there's no error message — the directive parses fine, it just doesn't apply.
Verification
After the second-round restart, on each server:
grep -c 'id "340004"' /etc/apache2/logs/error_logagainst fresh log entries returned zero.grep -c 'id "300003"' /etc/apache2/logs/error_logagainst fresh log entries returned zero.- Ten-request HTTP/2 burst tests against three canary asset URLs (the exact URLs that had been failing intermittently before) —
media/system/js/core.min.json two affected sites,media/vendor/accessibility/js/accessibility.min.json a third — returned 10/10 200 responses on every burst. - Pre-fix, the same test had reproduced the ~40% failure rate consistently. Post-fix, repeated bursts (HTTP/2 and HTTP/1.1) all clean.
Lessons filed away
Routine ≠ harmless. cPanel/EasyApache updates land automatically and we generally trust them to be benign. This one was — but its interaction with a separate vendor's ruleset wasn't. The next major Apache version bump is now on our "test against the full ModSec ruleset before assuming it's quiet" list.
The intermittent-failure tax is real. A 10% failure rate is more confusing to chase than a 100% failure rate. Clients adapt around it without realizing they're adapting — they refresh and it works, so they don't report it — which delays the trigger that would surface the problem. Worth keeping a low threshold for "feels weird, multiple unrelated reports in a short window" as a category-1 signal.
:0 in a mod_security audit log is the HTTP/2-stream tell. When the same rule fires only on HTTP/2 traffic and never on HTTP/1.1 traffic, you'll see it in the source-port field before you'll find it anywhere else. Worth committing to muscle memory.
whmapi1 modsec_disable_rule is not always a persistent disable. The WHM rules-list UI showing a rule as Disabled does not mean the disable lives on disk — verify by inspecting /var/cpanel/modsec_cpanel_conf_datastore after the call. If the disabled_rules map there is empty, the disable didn't actually write through. The reliable mechanism is SecRuleRemoveById in /etc/apache2/conf.d/modsec2/exclude.conf, which is part of cPanel's user-override layer and persists through every vendor refresh.
SecRuleRemoveById is order-sensitive. It only removes rules that have already been parsed earlier in the include chain. On a stock cPanel build, that means custom.conf (included before vendor rule definitions) is the wrong location and exclude.conf (included after) is the right one. The parser doesn't error on a too-early SecRuleRemoveById — it just silently no-ops, which is the worst kind of failure mode to debug.
When a vendor's own inline comments call a rule "redundant paranoia" against the same condition another nearby rule covers, disable the pair, not just one. LW's "paranoia is cheap" comment above rule 300003 was the explicit tell that 300003 and 340004 are a redundant pair. With 340004 disabled, 300003 became the active denier and the symptoms returned within hours. A pair-aware audit at first-fix time would have saved a round trip.
HTTP/2 vs HTTP/1.1 is the unambiguous mod_http2-regression diagnostic. When you've got intermittent 500s on a recently-updated Apache box, the very first test to run is curl --http1.1 <failing-url> against curl <failing-url> (which defaults to HTTP/2 over TLS) — a clean 100% vs ~40% split between the two protocols pins the cause to the HTTP/2 stream-translation path and saves you from chasing rabbit holes in client templates, browser caches, or CDN configurations. Cheaper than every other diagnostic.
- Details
The short version: We recently caught and shut down a phishing operation that had been running out of a long-suspended hosting account on one of our shared servers. The account had been frozen for over a year — but the website attached to it was still being served, and attackers had quietly turned it into a phishing page impersonating a well-known investment platform. We took the malicious pages offline, rotated every credential, preserved the evidence, and notified the account holder.
If you've never thought about this, you're not alone. When a hosting account is "suspended," most people picture the website going dark. In practice, suspension on cPanel only locks the login surface — the website itself can keep on being served by the web server until somebody explicitly tells it to stop. That gap is exactly what an attacker needs.
A long-suspended account on one of our shared cPanel servers, originally belonging to a defunct overseas tour-operator business, had been quietly hosting a multi-stage phishing kit. The kit imitated a major brand-name investment platform's login flow and was capturing credentials from anyone who clicked through a phishing email and landed on the page. Investigation showed it had been running for months, possibly years, with hundreds of victim interactions logged.
Read the full technical breakdown ↓
What we did about it
- Took the malicious pages offline at the web-server level so they would stop responding immediately
- Rotated every credential associated with the account
- Cleaned and reset the account's auto-installer, which was being used as a hidden persistence mechanism
- Preserved a forensic archive of the entire operation
- Notified the account-of-record so the account can be permanently terminated
If you have a hosting account you stopped using a year ago, two years ago, five years ago — and you assumed it was effectively dead — it's worth a check. Suspended is not the same as stopped. If you'd like Cybersalt to take a look at your own setup, get in touch.
The technical breakdown
The rest of this post is for fellow IT and security folks who want the receipts. If you came for the summary, you're done — thanks for reading.
Discovery
The first signal came from a routine file scan on the shared server. An entry flagged a pattern matching a known phishing kit's obfuscated PHP. We pulled the file path and started walking the directory tree.
Findings
In the suspended account's public_html, the attacker had built a complete phishing operation:
- A multi-tier landing page mimicking the investment brand's login flow
- PHP collectors that wrote captured credentials and 2FA codes to flat files
- A logging directory with hundreds of victim sessions, dated over several months
Two more findings made it clear this wasn't a one-off compromise.
Persistence via the auto-installer. Softaculous (the cPanel one-click installer) keeps a per-user config file at ~/.softaculous/user.php. The attacker had modified it to register their own email as the account's contact address. Result: even if we reset the cPanel password, the attacker could trigger Softaculous's "forgot password" flow and have a reset link sent to their inbox. This is a hijack mechanism that survives a basic password reset.
Backup metadata predating the suspension. Inside the same Softaculous directory, backup snapshots from October 2020 already carried an attacker-owned email address. That means the original compromise predated the account's suspension by roughly four-and-a-half years. The "suspension" had been irrelevant to the attacker the entire time.
Apache was still serving the vhost. Despite the cPanel account being suspended for over a year, the web server's virtual-host configuration for the account's domain was still active. cPanel's suspension only locks login surfaces (cPanel UI, FTP, SSH, mail) — it does not by itself stop Apache from serving files out of the account's public_html. The attacker had been relying on this gap.
Remediation
Steps taken, in order:
1. Forensic snapshot first. Tarred up public_html and the attacker-owned mailbox directories with ACLs and extended attributes preserved (tar --acls --xattrs) and stored the archive in a quarantine location outside the account. This had to happen before anything destructive — once you start deleting files you can't get the receipts back.
2. Stopped Apache from serving the vhost. Verified the suspension's vhost-level handler was actually returning HTTP 403 on the live domain. One gotcha worth knowing: if you verify with curl, hit the real hostname, not the IP with a spoofed Host: header. The IP-direct test will return HTTP/2 421 "Misdirected Request" because Apache rejects at the SNI cert layer before it ever evaluates the suspension handler — that 421 isn't a sign that suspension is broken, just that you're testing the wrong way.
3. Rotated the cPanel password and all associated credentials. From the WHM root session, ran:
whmapi1 passwd user=<account>
That single call rotates the system, FTP, mail, MySQL, and webdisk passwords in one shot. (/usr/local/cpanel/bin/realpasswd is no longer present on current cPanel builds, so don't reach for that.)
4. Reset the registered contact email — the API lied. Tried the obvious path first:
whmapi1 modifyacct user=<account> CONTACTEMAIL=<legitimate>
…and got back result: 1, "Account Modified". Looked successful. But the cpuser file on disk was unchanged. whmapi1 modifyacct silently no-ops on suspended accounts while still returning a success status code. Worked around it with a direct edit:
sed -i 's/^CONTACTEMAIL=.*/CONTACTEMAIL=<legit>/' /var/cpanel/users/<account>
/usr/local/cpanel/scripts/updateuserdomains
/usr/local/cpanel/scripts/updateuserdatacache --force
Worth knowing if you ever need to fix metadata on a suspended account — the API will tell you it succeeded while the file on disk stays untouched.
5. Reset the Softaculous registered email. Edited ~/.softaculous/user.php to put the legitimate contact email back into the registered-email field, then verified by grepping for the attacker's address and confirming zero matches. Without this step the password reset in step 3 would be reversible by the attacker via Softaculous's password-recovery flow.
6. Cleaned third-party monitoring config. Discovered that the cPanel Koality monitoring add-on had also been signed up under one of the attacker's email addresses, and cleared the nvdata config so the next subscription couldn't be hijacked the same way. Whatever third-party services your hosting environment offers, check whether they keep their own user-config files outside of the standard cPanel ones — those are the ones an attacker can hide in.
7. Final sweep. Grepped every relevant config file — /var/cpanel/users/<account>, ~/.cpanel/contactinfo, ~/.softaculous/user.php, Koality nvdata, the cpuser .bak — for every known attacker email address. Final result: zero matches across the board.
8. Verified the kit was unreachable. curl against every URL in the phishing kit returned HTTP 403 from the suspension handler. Operation dark.
What I learned, and would do differently
Suspension is not the same as taking the site down. This is the single biggest takeaway. If you suspend a cPanel account because the customer left, the abuse stopped paying, or the account is "dead," the website attached to that account is still being served by Apache until you explicitly stop it. For any long-term suspension, also disable the vhost (or drop a deny-all .htaccess into the docroot) so nothing under that domain can be requested. We're now doing a sweep across our other shared environments to find any other suspended accounts that are still serving content.
Softaculous user-email is a real persistence vector. It's not a file most administrators think to audit. Adding it to the post-incident checklist for any compromised account: rotate the cPanel password, and check ~/.softaculous/user.php, and check whatever third-party monitoring services have nvdata config of their own (Koality and similar).
whmapi1 modifyacct lies on suspended accounts. Silent failure with a success status code is the worst class of bug. If you're updating cpuser metadata as part of an incident response, verify by reading the file on disk afterwards — don't trust the API return code.
Forensics before remediation, every time. It's tempting to start cleaning the moment you find the kit. Fight that. A five-minute tar archive at the start of the incident is worth more than a week of trying to reconstruct what happened from cPanel backups after the fact.
