The keylogger is part of a malicious package that also installs an in-browser cryptocurrency miner that's surreptitiously run on the computers of people visiting the infected sites.
...
The Sucuri post doesn't explicitly say how sites are getting infected. In all likelihood, the attackers are exploiting security weaknesses resulting from the use of out-of-date software.
I have a story to tell here.
I was running 20+ websites on the same host+server (Dreamhost).
Not all were Wordpress - some were simple "underconstruction" HTML pages. (no php)
Years ago, I forgot exactly what happened, but it was a problem I couldn't fix. I went to the Dreamhost forums and surveyed some referrals to companies offering web server consulting. I picked one used by many people there, with a regular website, and took regular credit cards. The going rate was like $75 an hour.
In the chat session, the person (assumed it was a man) fixed everything in like 20 minutes of my hour. I remember him telling me I paid for an hour, so if there was anything else I wanted him to do, etc. (PS: his English was perfect USA - I would have remembered translated grammar)
OK, now the issue. Reasonably, I had to give him my SSH (secure shell) password for him to do the job. It was a password that had 20 mixed upper/lower/number characters in it. No one could simply 'guess' or 'hack' their way into it without taking 30 computers and a month.
Problem was solved. Like 9 months pass. Then I get a complaint from one of my clients about their web not working, etc.
Every page of every website in my account had been injected with a obfuscating php script which redirect users to another domain.
I know it was this consultant who must have kept my password somewhere because it was on websites that had no php pages to "inject"! (domains with simple .html pages). So it couldn't have been through an injection attack or anything to do with MySQL.
To the absolute best of my knowledge, an injection attack (code is inserted into a form then executed as php) is only done within the normal scope of Apache+php and can't affect any files outside of the files contained within its domain.
In retrospect, I can see that I should have (duhh) changed my ssh password after giving it out.
It's entirely possible that this consultant didn't do anything wrong but someone he knew got hold of the password(s).
If database and URL remain the same, you can move by just copying your files and database.
Yeah. That's the problem.
If you use "http://127.0.0.1" (localhost) to access your local copy, you're going to have problems in the move as settings in the database / website settings requires the use of the domain name.
The "dirty" way to do it is during development (edit for clairity):
Hack (edit) your local computer's host file(s).
Point the target URL of your website (eg: "TopNail.com") and your webhost's database server (eg: "mysql2.topservers.net") to the local host.
Your host will probably use different domain names for both web and database servers, so you'll probably need to make at least two changes in your local host files.
From a programming point, I just never understood the "advantage" of having to hack into the database to house basic info about the website (domain name etc) which stops people from easily doing the basic kind of thing you want to do.
When I "hard code" a php website, I couldn't imagine making it so I couldn't simply make changes in some plain text file and be able to just upload a copy.
And it's not a security issue.
In the end, WP makes you put crucial info into plain text (database username + password) so you're no more secure, just less convenienced.
This is the answer, but I'm forced to remember of all the times I've gotten phone calls from people on cell phones in cars (with the window rolled down) asking, "Hi! I'm wondering how much a website costs?"
I corrected my links. The reason the OP is having the google problems is because those pages were created by a black-hat script which generated the pages on the fly.
If such a script works, that would narrow your problem to woocommerce.
If such a simple script doesn't work, that's a good place to start asking questions.
I'm sure Dreamhost support wouldn't "support" woocommerce as a package, but would be obliged to help you send email out from such a simple php script (after giving you the 'no spamming' policy speech).
ADDITION: I just tested the script on my Dreamhost account above and it works. It should work for you too. If it does, then there's something wrong with woocommerce.
I bet that's how they "control" things, otherwise you could create an account with a free email, buy one game, play it, and sell it along with the free email account.
Why not just have 3 accounts in total, your current one, one for kid 1, and another for kid 2, when you get a 3rd pc, each of you can be logged in your own account, then you can when you purchase a 4 pack or whatever and you just distribute them to kid 1 and kid 2's account so they have the same games.
Well, that's pretty much what I'm talking about, but ultimately, all 3 accounts would be mine, and I was wondering if there was a restriction (like no more than 2 per person!"?)
I just don't want to activate a 3rd account and find out it's some TOS violation and I lose all my games.
Wordpress, because not only is it the most widely offered CMS for hosts, it has the support (community+addins+etc) which make it quite expandable.
I say this because almost every one of my engagements begins with "all I want to do" / "That's all the functionality I need." and each and every time when the clients keep the website, they end up wanting to expand it.
As far as I'm concerned, Wordpress is the default CMS choice unless the client has some less common requirement (eg: multiple administrators with narrowly assigned rights = Drupal).
Just about all the others have either become a part of internet history (PHPNuke) or are best used as examples of PHP programming and/or website design.
Wordpress's large user base and developers respect that their users aren't programmers. I've studied ergonomics in college, and the first step in producing a usable program is to listen to your users. Wordpress does this.
I mean, the users which I install Wordpress for find that a bit confusing, simply because most of them come from a physical world and the concept of a page versus a post is abstract at first. I personally use Drupal, but I'd never set up Drupal for a user without making them commit to hours and hours of my training them to learn the "special language" (starting with "nodes").
While I thought Joomla was interesting it didn't take me long to find out that most of the add-ins, templates, etc are commercial and they want a LOT (like $100 a domain for a calendar?)
...and FFFUUUU phpNuke.
That Wordpress strikes a difficult balance of community, ease of use (I mean, update is a one-click affair) and power is what makes it number one to me.
I wouldn't buy a book because the Wordpress interface / options change so often, and a book would be no help when it comes to plugins.
Tons of videos on Youtube, Udemy, Lynda.
I would drill through some of the videos, find ones you like, and take notes - create "cheat sheets" on those operations which you think you'll need.
I have a story to tell here.
I was running 20+ websites on the same host+server (Dreamhost).
Not all were Wordpress - some were simple "underconstruction" HTML pages. (no php)
Years ago, I forgot exactly what happened, but it was a problem I couldn't fix. I went to the Dreamhost forums and surveyed some referrals to companies offering web server consulting. I picked one used by many people there, with a regular website, and took regular credit cards. The going rate was like $75 an hour.
In the chat session, the person (assumed it was a man) fixed everything in like 20 minutes of my hour. I remember him telling me I paid for an hour, so if there was anything else I wanted him to do, etc. (PS: his English was perfect USA - I would have remembered translated grammar)
OK, now the issue. Reasonably, I had to give him my SSH (secure shell) password for him to do the job. It was a password that had 20 mixed upper/lower/number characters in it. No one could simply 'guess' or 'hack' their way into it without taking 30 computers and a month.
Problem was solved. Like 9 months pass. Then I get a complaint from one of my clients about their web not working, etc.
Every page of every website in my account had been injected with a obfuscating php script which redirect users to another domain.
I know it was this consultant who must have kept my password somewhere because it was on websites that had no php pages to "inject"! (domains with simple .html pages). So it couldn't have been through an injection attack or anything to do with MySQL.
To the absolute best of my knowledge, an injection attack (code is inserted into a form then executed as php) is only done within the normal scope of Apache+php and can't affect any files outside of the files contained within its domain.
In retrospect, I can see that I should have (duhh) changed my ssh password after giving it out.
It's entirely possible that this consultant didn't do anything wrong but someone he knew got hold of the password(s).
But let this be a lesson. TRUST NO ONE.
I have to share my pain with you that WP's method of storing critical host information in the database has always rubbed me the wrong way.
http://codex.wordpress.org/Moving_WordPress
Yeah. That's the problem.
If you use "http://127.0.0.1" (localhost) to access your local copy, you're going to have problems in the move as settings in the database / website settings requires the use of the domain name.
The "dirty" way to do it is during development (edit for clairity):
Hack (edit) your local computer's host file(s).
Point the target URL of your website (eg: "TopNail.com") and your webhost's database server (eg: "mysql2.topservers.net") to the local host.
example:
127.0.0.1 topnail.com
127.0.0.1 mysql2.topservers.net
Your host will probably use different domain names for both web and database servers, so you'll probably need to make at least two changes in your local host files.
more details here:
http://wpengine.com/support/emulate-dns-change-with-the-hosts-file-trick/
(rant)
From a programming point, I just never understood the "advantage" of having to hack into the database to house basic info about the website (domain name etc) which stops people from easily doing the basic kind of thing you want to do.
When I "hard code" a php website, I couldn't imagine making it so I couldn't simply make changes in some plain text file and be able to just upload a copy.
And it's not a security issue.
In the end, WP makes you put crucial info into plain text (database username + password) so you're no more secure, just less convenienced.
Thanks for alerting me.
Over 1 million WordPress sites may be affected by a flaw in WP Super Cache plugin
http://www.computerworld.com/article/2907533/over-1-million-wordpress-sites-may-be-affected-by-a-flaw-in-wp-super-cache-plugin.html
I'd hesitate to follow any blind link from a "ru" website. I would recommend my computer clients to do the same.
This is the answer, but I'm forced to remember of all the times I've gotten phone calls from people on cell phones in cars (with the window rolled down) asking, "Hi! I'm wondering how much a website costs?"
I corrected my links. The reason the OP is having the google problems is because those pages were created by a black-hat script which generated the pages on the fly.
I'd check the php files. Sounds like what happened to me with the "silence is golden" attack.
Check for 'eval(base64_decode('blahblah')' bit in the files.
ON EDIT: CORRECTED LINKS:
http://wordpress.org/support/topic/all-my-websites-hacked-silence-is-golden
http://wordpress.org/support/topic/evalbase64_decode-hacked
http://blog.amhill.net/2012/03/01/recovering-fro-base64-wordpress-hack-part-1/
http://theandystratton.com/2010/shared-godaddy-hosting-wordpress-malware-hack-fix http://www.totalcomputersusa.com/2012/05/evalbase64_decodehardening-php-how-to-protect-your-site-and-your-visitors/
I happen to know that Comcast, for example, blocks email forwarded from Dreamhost.
Gmail doesn't block Dreamhost, however.
But I would troubleshoot the problem from the server side.
Find some simple, little free php email script to see if you can get that to work.
example:
http://email.about.com/od/emailprogrammingtips/qt/How_to_Send_Email_from_a_PHP_Script.htm
If such a script works, that would narrow your problem to woocommerce.
If such a simple script doesn't work, that's a good place to start asking questions.
I'm sure Dreamhost support wouldn't "support" woocommerce as a package, but would be obliged to help you send email out from such a simple php script (after giving you the 'no spamming' policy speech).
ADDITION: I just tested the script on my Dreamhost account above and it works. It should work for you too. If it does, then there's something wrong with woocommerce.
Best shortest answer. Thanks.
You Team Fortress guys are legion!
I bet that's how they "control" things, otherwise you could create an account with a free email, buy one game, play it, and sell it along with the free email account.
Well, that's pretty much what I'm talking about, but ultimately, all 3 accounts would be mine, and I was wondering if there was a restriction (like no more than 2 per person!"?)
I just don't want to activate a 3rd account and find out it's some TOS violation and I lose all my games.
...and emails are so expensive and hard to get?
Wordpress, because not only is it the most widely offered CMS for hosts, it has the support (community+addins+etc) which make it quite expandable.
I say this because almost every one of my engagements begins with "all I want to do" / "That's all the functionality I need." and each and every time when the clients keep the website, they end up wanting to expand it.
As far as I'm concerned, Wordpress is the default CMS choice unless the client has some less common requirement (eg: multiple administrators with narrowly assigned rights = Drupal).
Just about all the others have either become a part of internet history (PHPNuke) or are best used as examples of PHP programming and/or website design.
Wordpress's large user base and developers respect that their users aren't programmers. I've studied ergonomics in college, and the first step in producing a usable program is to listen to your users. Wordpress does this.
I mean, the users which I install Wordpress for find that a bit confusing, simply because most of them come from a physical world and the concept of a page versus a post is abstract at first. I personally use Drupal, but I'd never set up Drupal for a user without making them commit to hours and hours of my training them to learn the "special language" (starting with "nodes").
While I thought Joomla was interesting it didn't take me long to find out that most of the add-ins, templates, etc are commercial and they want a LOT (like $100 a domain for a calendar?)
...and FFFUUUU phpNuke.
That Wordpress strikes a difficult balance of community, ease of use (I mean, update is a one-click affair) and power is what makes it number one to me.
End of this list.
Back to top