JupiteX Get the app
Defence & Security29 Nov 2026 · about 7 min

Patched, Sure — But Were We Already Breached? A 10-Point Forensic Checklist with ssh and grep

The brief

The ten-point investigation looked for traces an attacker might leave after exploiting the PHP vulnerability. Its purpose was to check whether the server showed signs of compromise during the time between public disclosure and the patch. The checks were read-only and designed for a small production server without EDR or forensic tools. The investigator examined files, cron jobs, processes, network connections, and web logs. The checks included searching for untracked PHP or shell files, unexpected PHP changes, webshell patterns, unknown scheduled jobs, suspicious connections, and direct PHP requests that returned 200. The review covered one week of logs and the server’s other listed traces. All ten checks returned zero suspicious findings. The logs had 666 scan-looking requests, but all returned 404; no webshells or unknown cron entries, processes, or outbound connections were found. The result let the investigator report that the site was patched and that no evidence of compromise was found in the checked window. It does not establish that compromise was impossible.

01

What did the ten-point investigation find about possible signs of compromise?

The ten-point investigation looked for traces an attacker might leave after exploiting the PHP vulnerability. Its purpose was to check whether the server showed signs of compromise during the time between public disclosure and the patch. The checks were read-only and designed for a small production server without EDR or forensic tools.

The investigator examined files, cron jobs, processes, network connections, and web logs. The checks included searching for untracked PHP or shell files, unexpected PHP changes, webshell patterns, unknown scheduled jobs, suspicious connections, and direct PHP requests that returned 200. The review covered one week of logs and the server’s other listed traces.

All ten checks returned zero suspicious findings. The logs had 666 scan-looking requests, but all returned 404; no webshells or unknown cron entries, processes, or outbound connections were found. The result let the investigator report that the site was patched and that no evidence of compromise was found in the checked window. It does not establish that compromise was impossible.

02

How much evidence did the investigation review, and how many direct PHP requests returned 200?

The investigation reviewed one week of web logs, totaling 25,584 requests. It also checked the filesystem, cron entries, running processes, and network connections. These checks were part of a ten-point review intended to look for evidence of compromise after a critical PHP vulnerability became public and before the site was patched.

One check counted log entries where a request targeted a PHP file directly and received a 200 response. The investigator used a command that filtered for paths containing .php and status code 200. The result was zero. Separately, the logs included 666 requests that looked like scans, but every one of them returned 404.

Those figures describe the evidence the investigator reviewed and the responses recorded in the logs. They supported the finding that the checks had not uncovered suspicious activity during the disclosure-to-patch window. The article also reports zero webshells and no unknown cron entries, processes, or outbound connections. It does not claim that a particular amount of log review can prove a server was never compromised.

03

Why doesn’t installing a patch prove that a server was never breached?

Installing a patch and checking for a breach answer different questions. A patch addresses the vulnerability, while an investigation looks for signs that someone may have exploited it earlier. The distinction matters because a server can be exposed between public disclosure and the moment the patch is installed, even if that interval lasts only a few hours.

In this case, the investigator patched the production e-commerce site within hours of disclosure. That did not answer whether an attacker had already acted. The follow-up checks searched for possible traces in files, scheduled jobs, processes, network connections, and web logs. They were read-only and could be run on the live server.

The checks found no evidence of compromise during the reviewed window, so the report could state both that the site was patched and that no evidence of a breach was found. Those are separate conclusions: the first describes remediation, and the second describes investigation results. A patch alone cannot support the second statement, and the article does not claim that zero findings prove a breach could never have occurred.

04

What is a PHP remote code execution vulnerability, and what could an attacker do with one?

A remote code execution, or RCE, vulnerability is a flaw that can allow someone to make a system run code from a distance. In this case, the affected system was a production e-commerce site using PHP. The article identifies the issue as a critical PHP RCE vulnerability, but it does not explain the flaw’s technical cause.

In general, what an attacker can do depends on the weakness, the access it provides, and the permissions of the affected service. Code running on a server might be able to perform actions allowed to that process, such as accessing files or starting other processes. These are general possibilities for RCE vulnerabilities, not claims about what this particular vulnerability enabled or what happened on this server.

The article’s response focused on patching quickly and looking for evidence of use. The investigator checked files, webshell patterns, cron jobs, processes, connections, and logs. Those checks found no suspicious traces. Because the source does not give details of the exploit, it cannot support a more specific account of how an attacker might have used this particular PHP flaw.

05

What kinds of traces can attackers leave in files, scheduled jobs, processes, network connections, and web logs?

An attacker who compromises a server may leave traces in several places. The investigation used that idea to define checks for files, scheduled tasks, running processes, network connections, and web requests. Looking across different sources matters because a single check may not reveal every kind of activity.

For files, the investigator searched for untracked PHP or shell files, unexpected PHP modifications, and webshell patterns. For scheduled jobs, the check looked for unfamiliar cron entries. The process and connection checks looked for unexpected programs and established connections. Log checks looked for direct PHP requests returning 200, unusual POST paths, and dangerous strings in query strings.

In this investigation, those checks found no webshells, unknown cron entries, processes, or outbound connections, and no direct PHP requests returning 200. The 666 scan-looking requests all returned 404. These are the traces and outcomes the article reports; it does not identify a specific attacker or show that any of the suspicious traces were present.

06

What can investigators conclude—and not conclude—from finding zero suspicious traces?

Finding zero suspicious traces supports a carefully limited conclusion: the investigation did not find evidence of compromise in the places and period it checked. That matters for reporting because installing a patch only confirms remediation; it does not answer whether someone exploited the flaw before the patch arrived.

Here, the investigator reviewed one week of logs and checked the filesystem, cron, processes, and connections using read-only commands. The results included zero direct PHP calls returning 200, zero webshells, and no unknown cron entries, processes, or outbound connections. The logs contained 666 scan-looking requests, all returning 404.

The article uses those results to report that no evidence of compromise was found during the disclosure-to-patch window. It does not claim that the server was provably never breached. The method was a constrained, one-hour check on a small server without EDR or forensic tooling, so the conclusion should describe the findings, not go beyond them. The planned next step is to include the ten-point post-check in future patch tickets.

07

How can shell rules such as glob expansion and empty variables cause a security-check script to miss evidence?

Shell behavior can undermine a security check even when the checks themselves are sensible. A script may appear to run successfully while examining no files or stopping before it finishes. That matters because missing or partial results could be mistaken for a clean server.

In the article, a regular user ran sudo zcat *access*.gz in a root-only log directory. The shell expanded the glob before sudo ran, so it matched nothing and produced zero results. In another example, an empty variable used in tail -1 $F left tail with no arguments; it then read standard input, which could consume the rest of the heredoc and stop the script without an error. The suggested safeguards were to run the whole script as root and check variables with ${F:?}.

The investigator caught these traps before treating the output as evidence. The broader lesson is to verify that commands actually examined their intended inputs and completed. The article says the checks were read-only, but read-only commands still need careful handling. Future patch tickets will include the ten-point post-check, and the investigator plans to guard every variable.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web