Answer the question
In order to leave comments, you need to log in
Hacked site on wordpress, how to find and close holes?
Managed a WordPress blog.
Not so long ago there was a hack, a folder with articles of a "different nature" was loaded into the root of the site,
and some files of the site were also changed. The folders were scattered with .htaccess files that blocked CSS, JS, JQUERY. And the admin panel looked like a list of products to buy. I cleaned all the files, deleted .htaccess, restored the site. Changed all passwords, for all users, from hosting and from FTP.
But every couple of days, .htaccess files reappear in the root of the site, which also break the admin panel, and the folder with articles. The conclusion is obvious that the site has a backdoor, How can you find it and close it forever.
I would be very grateful for the help of
Junior Web Dev
Answer the question
In order to leave comments, you need to log in
Install the Wordfence plugin and crawl your site
If you have zeroed premium plugins, then look for the problem there
Scan your site. You have already been told what you can use - https://revisium.com/ai/#download
Download wordpress of the same version and replace all core files. It happened to me a couple of days ago, I found an archive with a Trojan. You can also supply succuri. This is a plugin that will show suspicious files
I will add:
- remove unnecessary, old and unreliable plugins
- update WP and plugins to the latest stable version and do it regularly
- file permissions
- One of Wordfence, succuri, etc.
See https://www.wpbeginner.com/wordpress-security/ for details
Take it to the uyam and restore from the backup on the day when there was no hacking yet. Or demolish it and install it again (completely from scratch, without taking anything from the old site! ) - if as always. And make backups.
And of
course, do what Vitaly Karasik
advises
.
there is a backdoor on the site
A similar situation happened to me the other day, I added a separate question with all the details and screenshots. I would be grateful for any good advice.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question