"So where exactly did they get in?" It's the most frequently asked question in incident response—and also the one that deserves the most careful answer.

Once again, the information we could confirm was not enough to pin the intrusion down to a single vector. Log retention periods are limited, and the attacker may have altered or deleted logs. Whether old credentials were used, or a web application vulnerability, or a configuration issue was to blame is not something to announce on speculation alone.

Don't Stop at "We Don't Know"

「分からない」で止めないの解説画像

An undetermined vector doesn't make the investigation pointless. What matters more is separating confirmed facts from unconfirmed possibilities.

In a case like this, we treat at least the following entry points as candidates.

  • Leakage of server login credentials or SSH keys
  • Vulnerabilities in the CMS core, themes, or plugins
  • Admin panel password leakage or brute-force attacks
  • Leakage of API keys or mail credentials stored on the server
  • Leftover development settings, unnecessary accounts, and exposed ports

The point of listing candidates isn't to guess the culprit. It's to ensure that no matter which one it was, the attacker can't get back in.

What Logs Can and Cannot Tell You

ログから確認できること、できないことの解説画像

The logs worth examining include SSH logins, web access, web server errors, application activity, and cloud platform operation history.

For example, logins from countries or at times of day you never use, unnatural strings of failed attempts, anomalous POSTs to the admin panel, and unfamiliar configuration changes are all important clues.

But the absence of anomalies in the logs is not proof of safety. The incident may have occurred outside the retention window, and if a legitimate account was used, the login can look perfectly ordinary.

That's precisely why we split the conclusion as follows.

  • Confirmed facts: Suspicious settings, unnecessary accounts, and abnormal behavior were found
  • Unresolved questions: The time of initial intrusion and the entry vector
  • Actions taken: Even with the vector unresolved, revoke the related credentials and close unnecessary entry points

The Blast Radius Extends Beyond the Server

影響範囲はサーバの中だけではないの解説画像

The credentials stored on the server also connect to external services. In this incident, we treated the outgoing mail SMTP, access analytics, and external APIs as within the scope of impact.

If there is any possibility that secrets could have been read on the server, do not keep using them unchanged. This is a precaution taken not because leakage has been proven, but because it cannot be ruled out.

For service account keys, simply disabling the old key and calling it done isn't always best—deleting the old service account itself and creating a new one with a fresh purpose and minimal privileges is often easier to manage. What matters is recording what you deleted, what you created, and where each is used.

Erring on the Side of Safety Is Not Overreacting

「安全側に倒す」は過剰対応ではないの解説画像

Reissuing passwords and keys can temporarily break integrations. That work can feel like a hassle, and you may be tempted to wait until the vector is confirmed.

But in an environment that may have been compromised, the damage of credentials being reused far outweighs the effort of reissuing them. Mail-sending privileges in particular can enable impersonation, spam campaigns, and fraudulent contact with business partners.

Next time, I'll cover what we actually deleted, changed, and rebuilt during recovery, in order, with the key caveats for each step.