Visitors say our site sometimes redirects to a strange page, but I cannot see it myself. How do I find out whether we were hacked?
Visitors say our site sometimes redirects to a strange page, but I cannot see it myself. How do I find out whether we were hacked?
That symptom (redirects only for some visitors) is a typical sign of compromise. Other signs: unknown admin users, files changed recently, strange pages or links in search results, Google "This site may be hacked" warnings, a sudden traffic or CPU spike, and outgoing spam.
How to check:
eval, base64 strings, or script tags pointing to unknown domains, in files, templates and database content.If confirmed: take a copy for evidence, change all passwords and keys, remove the malicious code and backdoors (or restore a clean backup), update everything, find how they got in, and then harden. If customer data may be affected, follow your legal duties to report it.