11-15-2016, 01:22 AM
Yeah, I know this might not be the right section to post this thread in, but it's really important!
I downloaded a few themes from some "nulled" theme sites to test them out before buying them, and big mistake!
I installed a theme from dlwordpress.com and lots of shit happened a few days after that.
I noticed that Wordfence was reporting a change to my post.php file and that two new files just appeared out of nowhere. (wp.class.php and wp-cd.php) But not on just one of my sites, but all of them shared on the same host.
So, I did a little bit of digging around and found the following:
I found that ALL of the functions.php in the themes folders for ALL of my sites had been modified with this:
I also found a new entry in one of my databases. I noticed that it only affected databases with the prefix wp_.
The worst part is that it infected ALL of my sites that were installed on the same hosting account. So, I had to clean up several sites to get rid of this shit.
Lesson learned and another warning about these f*cking "nulled" theme websites!
NB: You should be using the Wordfence plugin (FREE) on all of your WordPress installs. This plugin really does work!
My Wordfence Settings: (be sure to fill in "email to send alerts to" and your domain name to the "immediately block the ip" text field right underneath "admin" and "administrator")
Be sure to check all downloaded themes against these sites: (thanks Gadzookz for suggesting these)
Hope this helps!
I downloaded a few themes from some "nulled" theme sites to test them out before buying them, and big mistake!
I installed a theme from dlwordpress.com and lots of shit happened a few days after that.
I noticed that Wordfence was reporting a change to my post.php file and that two new files just appeared out of nowhere. (wp.class.php and wp-cd.php) But not on just one of my sites, but all of them shared on the same host.
So, I did a little bit of digging around and found the following:
Code:
https://wordpress.org/support/topic/code-added-to-functions-file/
I found that ALL of the functions.php in the themes folders for ALL of my sites had been modified with this:
Code:
http://stackoverflow.com/questions/40350225/malware-research-what-this-code-do-in-php
I also found a new entry in one of my databases. I noticed that it only affected databases with the prefix wp_.
The worst part is that it infected ALL of my sites that were installed on the same hosting account. So, I had to clean up several sites to get rid of this shit.
Lesson learned and another warning about these f*cking "nulled" theme websites!
NB: You should be using the Wordfence plugin (FREE) on all of your WordPress installs. This plugin really does work!
Code:
https://wordpress.org/plugins/wordfence/
My Wordfence Settings: (be sure to fill in "email to send alerts to" and your domain name to the "immediately block the ip" text field right underneath "admin" and "administrator")
Code:
https://s11.postimg.org/gb0k4583n/wordfence_options.png
Be sure to check all downloaded themes against these sites: (thanks Gadzookz for suggesting these)
Code:
http://themecheck.org/#ancreSubmit/
https://www.{{{Blocked by Omni Potens, reason: reports from LEGIT GB STARTER}}}/
https://www.unphp.net/
https://www.virustotal.com/
Hope this helps!