That's your problem. There's no index doc. Go back into your Wordpress files that you downloaded, or go download a fresh copy of the full Wordpress framework. Upload the index.php in the root folder up to your web server in the root folder. If you're missing that index.php file, you might want to compare all the root level files on your web server with the package that you download, and you might want to just re-upload root/wp-admin and root/wp-includes folders as well.
Stay out of phpmyadmin folder - that's an application for managing your database ;)
I add mu-plugin file with auto updating enabled for plugins and WP core. I also have daily backups for all sites, just in case something breaks, but in the last 5 years I think I can only recall two minor instances of a plugin update breaking one of my sites.
Seconded. And I’d add, I’d love this for any content or back end configuration. I’ve thought in the past of a solution that would allow you to hit a button in the back end that effectively “branches” the database, i.e. like a git branch. Then merge that DB branch to another environment running a mirrored, but independent DB.
So are you saying that visual composer is no longer installed, but the shortcodes are all still in the content? If so, just reinstall VC plugin. Those shortcodes should all then hook up and do their thang. VC is just another page/content builder plugin - similar to Elementor and others.
In all my calls, I got a variety of different competence levels. Nothing against outsourcing, mind you, but these folks were all in India. I got one guy to divulge that they were in India when I was asking him his geolocation so that I could try spoofing different user agents and locations from VPN...
Some folks were utterly useless to me. But some folks were extremely knowledgeable and technical. One guy sat on the phone with me for almost 2 hours, looking at my site on his end and allowing me to trace him in my access logs while trying to find any info that could point me to a conditional user agent or something that would trigger finding the links (it didn't get me anywhere).
In my experience, if I called first thing in the morning - between 7 and 8am MST (US mountain time), I generally got someone highly technical and competent. The later in the day, the much less competent they got. No idea if there's anything to that.
Oh...and as I'm recounting this, one very interesting thing did happen with the guy who was helping me test. This guy pulls up my site in his browser (Chrome), and the first time he does so he tells me that he is seeing Chrome's red-screen of death, notifying him that the site might be malicious. I trace him in my real time access log. His IP address resolved to Google (he was browsing via Google VPN), which makes sense. He refreshes his browser and...voila, the red screen of death is gone. He said the site looked fine. I found this really interesting - almost as if the malicious warning was cached in Google's network, and when he refreshed again it cleared it out - at least that's how it seemed. The timing of this doesn't correlate with getting resolved, but it was maybe 3 or 4 days later that Google finally marked it as resolved. I just thought this was really interesting. This was the same guy who told me he was in India as I inquired about his IP and if he was logged into a Google VPN or server.
I've been meaning to update this post, as I do have a resolution (or at least...it "resolved" itself...)!
The short version is that we paid for Wordfence team to pull down a local copy of the site and extensively scan it on their servers, which turned up...nothing. They said it was 100% clean. I probably ended up on the phone with Google Ads support at least a dozen times. Some times yelling at them, some times pleading, some times just asking for an update. About 50% of the way through the process, I was able to get my case escalated into "internal review" where they actually assigned the case to a human to manually review. Took about 3 weeks in "review", all the while being told it would just be another day or two. I was also told repeatedly that I'd receive a call back or an email back or both with updates and with a final resolution. I've never received any of this. Finally, about a week ago, upon calling Google AGAIN, I was finally told that they just had marked the case as resolved internally. Within 30 minutes, all my ads were re-approved and running. So... yeah. We cleaned the site originally and it was in perfect shape the entire time. Google continuing to tell us that it was still finding malicious links was bogus. OBVIOUSLY they were looking at bad/cached/old data. Not sure how, but this is definitely the case. And just given enough time and pestering and all the hair pulling I could muster, they finally bypassed their scan, looked at it manually and said it was good.
How many reviews does a Wordpress plugin get? A wordpress plugin gets as many reviews as a wordpress plugin could get, if a wordpress plugin could get reviews.
What is happening exactly if trying to view the site? Blank white screen? Can you see the wp-admin login form page or dashboard? Where are you seeing debugger log, in log file or on-page?
The parse error could be off - the actual issue could be coming from somewhere else and just causing it to error on that line, similar to how a markup tester might interpret incorrectly nested HTML elements.
Crest a separate folder within wp-content, i.e. /wp-content/_plugins/ and then manually move all plugin folders from main plugins directory into this new folder. Refresh, is your site available and working (aside from areas effected by moved plugin files). If so, then moving individual plugin folders via process of elimination until you find the bad plugin, then go from there. Might just need to replace plugin files or delete and re-install.
No, I'm afraid not. Not with Autoptimize specifically. I've been meaning to dissect their plugin and see if I can write a function to do it, but haven't been able to get around to that. I'll certainly publish it if I do.
Do you have a recommendation for a plugin or process for ensuring that original uploaded (high res) images are not used in posts and are discarded after optimized versions are created?
Wordfence does take a lot of CPU resources. There's an option you can toggle so that it takes longer, but uses less resources. If it's crashing your server though, that might be more of a server issue.
Wordfence looks for all sorts of known common strings and patterns to match in malicious code. Basically, it will throw a result any time it finds something with an eval() script, or any number of other common functions or code patterns. There are still legitimate times plugins might use some of these functions and code patterns, so false positives do happen. I like to just click 'ignore until file changes' for these when I've confirmed that it's not an issue. You'll know if it is an issue when you open the files and review the code. Infected code will jump out at you like a sore thumb. It usually takes the form of a large block - or sometimes one line - of encoded code. It likely won't be readable to you. I would do some Google searches and educate yourself on the types of malicious code commonly found on infected wordpress sites.
Do check the files in question manually via FTP/SFTP/SSH just to be sure.
That said, yes, Wordfence does throw false positives on occasion. Especially if you're using high sensitivity scan. I've been having it throw a false positive on a file within Gravity Forms plugin lately.
I appreciate it! I don't think any of these actually apply to us (dedicated IPs, dedicated Google cloud server, no ads or ad networks, everything served under ssl, etc., etc.). Yeah, pretty clear that Ads doesn't use the same filter as other Google services. We're talking to Wordfence premium support and other security folks now...
Thanks, yes, we've definitely dealt with these types of hacks in the past a number of times. I know plenty of things to look for - as you said, it's always encoded. I have about a dozen different grep commands that we run looking for different types of base64 encoding and eval scripts, as well as pattern matching greps.
All wordpress files on this site have been replaced as you said. When the Ads were first disapproved, we assumed Google to be correct, and went through our entire hardening process while searching for evidence of the compromise.
So good!
12
Awesome concept. 100% needs to be digital and animated.
That's your problem. There's no index doc. Go back into your Wordpress files that you downloaded, or go download a fresh copy of the full Wordpress framework. Upload the index.php in the root folder up to your web server in the root folder. If you're missing that index.php file, you might want to compare all the root level files on your web server with the package that you download, and you might want to just re-upload root/wp-admin and root/wp-includes folders as well.
Stay out of phpmyadmin folder - that's an application for managing your database ;)
Check that index.php exists in the root of that folder, and that it sets up wordpress.
I add mu-plugin file with auto updating enabled for plugins and WP core. I also have daily backups for all sites, just in case something breaks, but in the last 5 years I think I can only recall two minor instances of a plugin update breaking one of my sites.
No. You’ll want to create custom front end pages/templates that duplicate the same type of functionality.
Seconded. And I’d add, I’d love this for any content or back end configuration. I’ve thought in the past of a solution that would allow you to hit a button in the back end that effectively “branches” the database, i.e. like a git branch. Then merge that DB branch to another environment running a mirrored, but independent DB.
Yes. You set it to backup everything - plugins, theme, etc.
So are you saying that visual composer is no longer installed, but the shortcodes are all still in the content? If so, just reinstall VC plugin. Those shortcodes should all then hook up and do their thang. VC is just another page/content builder plugin - similar to Elementor and others.
In all my calls, I got a variety of different competence levels. Nothing against outsourcing, mind you, but these folks were all in India. I got one guy to divulge that they were in India when I was asking him his geolocation so that I could try spoofing different user agents and locations from VPN...
Some folks were utterly useless to me. But some folks were extremely knowledgeable and technical. One guy sat on the phone with me for almost 2 hours, looking at my site on his end and allowing me to trace him in my access logs while trying to find any info that could point me to a conditional user agent or something that would trigger finding the links (it didn't get me anywhere).
In my experience, if I called first thing in the morning - between 7 and 8am MST (US mountain time), I generally got someone highly technical and competent. The later in the day, the much less competent they got. No idea if there's anything to that.
Oh...and as I'm recounting this, one very interesting thing did happen with the guy who was helping me test. This guy pulls up my site in his browser (Chrome), and the first time he does so he tells me that he is seeing Chrome's red-screen of death, notifying him that the site might be malicious. I trace him in my real time access log. His IP address resolved to Google (he was browsing via Google VPN), which makes sense. He refreshes his browser and...voila, the red screen of death is gone. He said the site looked fine. I found this really interesting - almost as if the malicious warning was cached in Google's network, and when he refreshed again it cleared it out - at least that's how it seemed. The timing of this doesn't correlate with getting resolved, but it was maybe 3 or 4 days later that Google finally marked it as resolved. I just thought this was really interesting. This was the same guy who told me he was in India as I inquired about his IP and if he was logged into a Google VPN or server.
I've been meaning to update this post, as I do have a resolution (or at least...it "resolved" itself...)!
The short version is that we paid for Wordfence team to pull down a local copy of the site and extensively scan it on their servers, which turned up...nothing. They said it was 100% clean. I probably ended up on the phone with Google Ads support at least a dozen times. Some times yelling at them, some times pleading, some times just asking for an update. About 50% of the way through the process, I was able to get my case escalated into "internal review" where they actually assigned the case to a human to manually review. Took about 3 weeks in "review", all the while being told it would just be another day or two. I was also told repeatedly that I'd receive a call back or an email back or both with updates and with a final resolution. I've never received any of this. Finally, about a week ago, upon calling Google AGAIN, I was finally told that they just had marked the case as resolved internally. Within 30 minutes, all my ads were re-approved and running. So... yeah. We cleaned the site originally and it was in perfect shape the entire time. Google continuing to tell us that it was still finding malicious links was bogus. OBVIOUSLY they were looking at bad/cached/old data. Not sure how, but this is definitely the case. And just given enough time and pestering and all the hair pulling I could muster, they finally bypassed their scan, looked at it manually and said it was good.
How many reviews does a Wordpress plugin get? A wordpress plugin gets as many reviews as a wordpress plugin could get, if a wordpress plugin could get reviews.
What is happening exactly if trying to view the site? Blank white screen? Can you see the wp-admin login form page or dashboard? Where are you seeing debugger log, in log file or on-page?
The parse error could be off - the actual issue could be coming from somewhere else and just causing it to error on that line, similar to how a markup tester might interpret incorrectly nested HTML elements.
Crest a separate folder within wp-content, i.e. /wp-content/_plugins/ and then manually move all plugin folders from main plugins directory into this new folder. Refresh, is your site available and working (aside from areas effected by moved plugin files). If so, then moving individual plugin folders via process of elimination until you find the bad plugin, then go from there. Might just need to replace plugin files or delete and re-install.
No, I'm afraid not. Not with Autoptimize specifically. I've been meaning to dissect their plugin and see if I can write a function to do it, but haven't been able to get around to that. I'll certainly publish it if I do.
Do you have a recommendation for a plugin or process for ensuring that original uploaded (high res) images are not used in posts and are discarded after optimized versions are created?
Wordfence does take a lot of CPU resources. There's an option you can toggle so that it takes longer, but uses less resources. If it's crashing your server though, that might be more of a server issue.
Wordfence looks for all sorts of known common strings and patterns to match in malicious code. Basically, it will throw a result any time it finds something with an eval() script, or any number of other common functions or code patterns. There are still legitimate times plugins might use some of these functions and code patterns, so false positives do happen. I like to just click 'ignore until file changes' for these when I've confirmed that it's not an issue. You'll know if it is an issue when you open the files and review the code. Infected code will jump out at you like a sore thumb. It usually takes the form of a large block - or sometimes one line - of encoded code. It likely won't be readable to you. I would do some Google searches and educate yourself on the types of malicious code commonly found on infected wordpress sites.
Do check the files in question manually via FTP/SFTP/SSH just to be sure.
That said, yes, Wordfence does throw false positives on occasion. Especially if you're using high sensitivity scan. I've been having it throw a false positive on a file within Gravity Forms plugin lately.
Ugh, I certainly hope this isn't a matter of months...peak sales season right now LOL. Thanks for the insight though!
We have a premium support ticket in the works right now. Fingers crossed it gets us somewhere. Thanks!
I appreciate it! I don't think any of these actually apply to us (dedicated IPs, dedicated Google cloud server, no ads or ad networks, everything served under ssl, etc., etc.). Yeah, pretty clear that Ads doesn't use the same filter as other Google services. We're talking to Wordfence premium support and other security folks now...
Yeah, it's never shown any issues in Search Console. Looks clean there. Looks clean in Google's transparency report as well.
Not at all, you’re fine. Helps to make sure we’re ticking all the boxes.
Thanks, definitely have done that already.
Thanks, yes, we've definitely dealt with these types of hacks in the past a number of times. I know plenty of things to look for - as you said, it's always encoded. I have about a dozen different grep commands that we run looking for different types of base64 encoding and eval scripts, as well as pattern matching greps.
All wordpress files on this site have been replaced as you said. When the Ads were first disapproved, we assumed Google to be correct, and went through our entire hardening process while searching for evidence of the compromise.