Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
Tampering is the rewriting of a site's contents without permission. It is not only a changed sentence on the top page. A fake payment screen or a malicious link can be inserted without the owner being told. In December 2019, IPA warned of cases in which the payment screens of sites built with EC-CUBE were tampered with and card numbers were stolen.
How does tampering work?
Imagine the sign over a shop being swapped for another shop's sign during the night. If the owner does not notice, customers follow the fake sign into the wrong shop. Tampering with a site is similar, because the screens or programs are replaced in a place the owner is not looking at.
The rewriting has entrances. Typical ones are a hole in a part that was not updated, an administrator password that was stolen or guessed, and another company's program loaded from outside. Without an entrance, no one else can touch the contents of the site.
What is written differs with the aim. Examples are replacing the screen with flashy text, showing malicious text only in search results, sending visitors to another site, and sending typed card data outside. The last two change nothing on screen, so they tend to be noticed late. How to prepare against rewriting is gathered in tampering countermeasures.
Why does tampering matter?
Tampering does not stop at harm to the owner. If a visitor catches a virus or has a card number stolen, it becomes harm to your customers and it affects your company's credibility. The payment screen case is called formjacking.
There are several clues for noticing early. Check regularly whether search results for your company name show unfamiliar words, whether the screen is the same when opened from a smartphone, and whether the administrator list holds a name you do not recognize. A mechanism that watches files for changes can catch rewriting a human eye cannot see. Our Cyber Shield Guard has functions that detect file changes and the addition of suspicious administrators.
If you find damage, one option, as IPA's 20 items advise, is to contact the JPCERT/CC incident report desk. To reach us, use the emergency guide. If records of operations remain, the cause is easier to trace, so it helps to keep an audit log from day to day.
What should you check on your own site?
- Search your company name and read the title and description shown for your pages.
- Open the site from a smartphone and compare it with the desktop view.
- Look at the administrator list for names you do not recognize.
- Ask who watches files for changes, and who keeps the logs.
For help with any of these, contact us.
If you run a shop, ask one more question: would anyone notice if a payment page file changed tonight? If the honest answer is no, a watch on file changes is the first thing to add.
Related terms
- Formjacking: replacing a payment screen to steal card numbers
- Vulnerability: a security hole that can be an entrance for rewriting
- Audit log: a record of who did what and when
- WAF: a wall that stops malicious traffic at the entrance
Frequently asked questions
If my site looks the same, has it not been tampered with?
Not necessarily. A malicious command added only to the payment screen, or odd text shown only in search results, can leave the usual screens unchanged. Search for your company name and check the title and description.
What should I do first when I notice tampering?
Before deleting or overwriting any file, save the current state and the logs. Then change the passwords for the admin screen and the server, and contact us through the emergency guide. IPA's 20 items advise contacting the JPCERT/CC desk when you find tampering.
Does restoring a backup solve the tampering?
No. If the entrance used for the rewriting remains, the same method can rewrite the site again. A backup taken before you noticed may also hold the malicious content. Close the entrance first, then restore.
Next step
The free URL check shows only what is visible from outside. For preparation and recovery as a whole, see tampering countermeasures, and to talk through your situation, contact us. If the display is already wrong, go to the emergency guide first.
Frequently asked questions
If my site looks the same, has it not been tampered with?
Not necessarily. A malicious command added only to the payment screen, or odd text shown only in search results, can leave the usual screens unchanged. Search for your company name and check the title and description.
What should I do first when I notice tampering?
Before deleting or overwriting any file, save the current state and the logs. Then change the passwords for the admin screen and the server, and contact us through the emergency guide. IPA's 20 items advise contacting the JPCERT/CC desk when you find tampering.
Does restoring a backup solve the tampering?
No. If the entrance used for the rewriting remains, the same method can rewrite the site again. A backup taken before you noticed may also hold the malicious content. Close the entrance first, then restore.