Evidence preservation
Japanese 証拠保全
When an intrusion is suspected, keeping access records and files exactly as they are before deleting anything or restarting. Korea's KISA and JPCERT/CC both recommend doing this first.
Evidence preservation means keeping things exactly as they are when you suspect a hack, before you fix or delete anything. The clues include access records (logs), suspicious files and the dates when files changed. It is like a burgled house: if you tidy up before the police arrive, it becomes hard to tell what was taken or how the burglar got in. Korea's KISA, JPCERT/CC and AhnLab all recommend doing this first.
For example Download the access and error records from your hosting provider's control panel, and before deleting any suspicious file, keep a copy and a screenshot of it. Write down, with the times, what you found and what you did afterwards; this helps a great deal when you consult your hosting provider or an expert, or file a report. Only restart or rebuild the server after you have saved all this. Do not keep what you saved only on the server; store a copy outside it as well, for example on your own computer.
Source: KISA, “Security response guidelines for businesses on the PHP vulnerability (PHP2Shell)” · JPCERT/CC, “Advisory on multiple PHP vulnerabilities (CVE-2026-109618, CVE-2026-109619)” (checked 2026-10-26)