A woman at a bright cafe table holding a magnifying glass over a laptop showing a simple website layout

PHP2Shell was probed before the patch: how site owners can check for a backdoor

Sponsored by RedKey USB. Data Wipe Info is sponsored by RedKey USB, and this news report covers an article RedKey USB published on its own blog.

How can website owners check for a PHP2Shell backdoor after patching?

Owners should search web server logs from 17 October for suspicious upload requests, look for new or changed PHP files and admin accounts they did not create, and rebuild from an earlier clean backup if they find a PHP2Shell backdoor, RedKey USB says on its blog in a guide to checking a patched website for signs of compromise.[1] Amazon says its MadPot honeypots caught an exploitation attempt on 17 October 2026, four days before the flaws were publicly disclosed.[2]

Key facts

  • Amazon recorded the 17 October attempt from an anonymisation network, then attempts from multiple actors after public proof of concept code appeared around 02:00 UTC on 21 October.[2]
  • Amazon says it is unclear whether any of the attempts would have succeeded, but that PHP2Shell is now seeing broad exploitation attempts in the wild.[2]
  • Amazon advises investigating from at least 17 October and says upgrading PHP is the only complete fix.[2]
  • The NCSC tells owners of systems not updated immediately to look for evidence of compromise and backdoors installed by an attacker.[3]
  • The RedKey guide argues that even quickly patched sites deserve a basic check, because a patch does not remove anything installed before it.[1]

What signs does the RedKey guide list?

It points to multipart POST requests to scripts that do not normally take uploads, PHP files in upload or cache folders, unfamiliar code in files such as .htaccess or functions.php, and admin, FTP or database users nobody created.[1] WordPress’s hacked site guidance names unauthorised users and browser or search engine warnings as further signs.[4]

Should site owners block the addresses Amazon published?

Amazon describes the six addresses as shared anonymisation infrastructure, so RedKey suggests searching logs for them rather than relying on a block list.[2][1] A match is a reason to investigate further, and no match does not prove a site is clean.[1]

When does RedKey say to rebuild rather than clean?

The guide recommends a rebuild on a patched server from a backup taken before 17 October if owners find a web shell, signs that commands ran on the server or anything they cannot explain.[1] It then lists the passwords and secrets to change, from hosting, SFTP and database logins to WordPress salts and API keys.[1][4]

Does a hacked website need reporting?

If personal data may have been accessed and people are likely to be at risk, UK GDPR requires a report to the ICO as soon as possible and where feasible within 72 hours.[5] The ICO adds that people must be told without undue delay if the risk to them is high.[5]

What about the old server afterwards?

RedKey warns that a retired server or disk may still hold the backdoor, logs and customer data, so it should be erased in full before reuse or recycling.[1] RedKey USB sells bootable erasure tools such as RedKey Professional, which adds a PDF report for each erasure.

What does RedKey USB sell?

The company sells bootable erasure tools in Home, Professional and Ultimate editions, each a one-time purchase with lifetime updates. Home shows results on screen, PDF reports come with Professional and Ultimate, and mobile erasure is available in Ultimate only.

Where is the full RedKey USB guide?

Read the full guide on RedKey USB for the read-only server commands, the rebuild checklist, the full list of keys to rotate and the FAQ. This report covers only the headline points, as of 23 October 2026.

Related coverage on Data Wipe Info: Websites pulled offline over PHP flaw: what small site owners should check today, Data exposure at hardware disposal is a process problem and UK GDPR and secure data wiping: a guide for small businesses.

References

  1. RedKey USB, Patched PHP2Shell? How to Check Your Website Wasn’t Hacked First, Data Wipe Information blog (2026).
  2. Amazon Web Services, Amazon threat intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot (21 October 2026).
  3. NCSC, Critical security issue affecting PHP (21 October 2026, updated 22 October 2026).
  4. WordPress.org, FAQ My site was hacked.
  5. ICO, UK GDPR data breach reporting.

Get the free Data Wipe Checklist

A simple one-page guide to clearing your computer before you sell, give away or recycle it. Plus occasional practical guides. No spam.

I agree to receive emails from Data Wipe Info. Unsubscribe any time.

Get the free Data Wipe Checklist

A simple one-page guide to clearing your computer before you sell, give away or recycle it. Plus occasional practical guides. No spam.

I agree to receive emails from Data Wipe Info. Unsubscribe any time.

Similar Posts