Tracking Down Rogue Spam Links
-
In Feb, 2015 www.mommyupgrade.com site received the following notification in GWT:
http://www.mommyupgrade.com/: Suspected hackingFeb 4, 2015
Google has detected that some of your pages may contain hidden text or cloaking, techniques that are outside our Webmaster Guidelines.
Specifically, we detected that your site may have been modified by a third party. Typically, the offending party gains access to an insecure directory that has open permissions. Many times, they will upload files or modify existing ones, which then show up as spam in our index.
Sample URLs:At that time, the site was checked by the host and site owner and any suspicious links removed. We thought the problem was resolved until a MOZ crawl on March 22 which highlighted a number of hack links again.This is the link format: http://www.mommyupgrade.com/?p=online-slots
All are related to gambling, casinos and slots.
To find the links, we downloaded the MOZ crawl report and found that all the links were referred from this page: http://www.mommyupgrade.com/how-to-make-rainbow-lollipop-cookies/
Searching that post shows no sign of links to the rogue pages.
I would really appreciate some advice on how to find the source of these links and delete them from this site once and for all. Also, please explain how it is possible for a post or page to refer to another page without that link showing up in the code? (Is this some black hat technique that I need to know about in order to protect my sites?)
Also... at the moment Google Webmaster Tools are not reporting any security issues for this site.
Any help appreciated.
-
You're welcome. I'm always amazed at the diversity of people that read and comment here. A lot of talented eyes are considering the questions for sure. Cheers!
-
@Ryan, that link is very useful and once we have the site clean we can use it regularly to check that no new issues presnt themselves.
@Richard, thank you for this information. It helps a lot.
Great community support. I wish I had asked this question days ago.Thank you MOZ.
-
There are some base 64 encoded URLs on the page. They show in the source code like below. That would be my guess as to what is creating the links, which are obfuscated for users. These types of attacks are usually called in your functions.php file or within a hacked plugin, or could actually be inserted into the css as well.
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABoCAYAAAAdHLWhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGRJREFUeNrsnb9rVEsUxyfrQ7AO+AOzAaPGqJhCTKFNSsXCvyBapRDhaZNCbR7pXvE6wcoqRFRiIqQIRlSIRRpBMMEkb/1RKGpUonZqRH3nu+9eifHu3jlzztydDXNgWAi5e89nPndu9s7OnLT8+PHD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BMTE5r9EkTFRTBlVZxHH6Av0CcaOalUXPz06dNPSVkVF5UlNbziYi05YE/loE80clKruJhKGhwcrFbD9SipoRUXa8kBM9gZcqxyUq24iMSeP39eLQ3pUVLDKi7WkwNmsDPkWOXkpeLiy5cvfUlqWMXFPDlgLrzi4v79+50rLtaTJKm4mOTEDleWejkL5FizeK24WEvSWqi4KJSjV3GRLIsqLtYbSdzHjiQX55CwKMphsRRScVFBUjAVFxXk6FdcJNviiosCSdUqhUkO4pCwKMhhs7AWLj548EBccXHr1q3VL7j27NljOxVyloDUFy5yWfAv0I4cOSKR48TCXvpLYOKKi6heiO/yLYAGCcjb0l8Oy5YtW6pVIiUVF11YnBbPJ1ef9wXnPkZOs7E4bz8hMK9bNgiosO0nIbOINnARmJdNT1ofCNYCi8oWSIJT2TYofc5REhUUi2pBP4Jz2njrOn3jWVQQLLHiYuAR6yREQTGioCgoRhQUIwqKgmKox38CDACL7v6JnTZ+vgAAAABJRU5ErkJggg==)
-
You can also run a search like this to get at these pages: https://encrypted.google.com/search?hl=en&q=site%3Amommyupgrade.com inurl%3A%3F%3Dp
The root cause is a hack of your Wordpress installation, most likely a plugin. Here's a good discussion around how this takes place: https://wordpress.org/support/topic/someone-has-hacked-the-site-and-inserted-a-link
Recently a vulnerability was found in the Yoast plugin (see: http://thehackernews.com/2015/03/wordpress-seo-by-yoast-plugin.html ), so you'll certainly want to upgrade that and preferably set your updates to automatic.
Good luck!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Hi, on SEO article submissions, do I only include the link to the page I am trying to promote or is it best practice to also include a link to home page or parent page?
Good day. I am writing articles for submission, I would just like some help with the page structure. Do I only include the link for the page that I would like to promote or is it advisable to include other page links, such as home page or the parent category too? Any help would be appreciated
Content Development | | thebedguy0 -
Why Moz use mz.cm for social link ?
Do you see that ?
Content Development | | Natifs
When you click on facebook post of Moz, the URL is domain is : MZ.CM ans after 301 to moz.com/article... Why ? Thanks2 -
Is there a quick and easy way to check a website to see which outbound links open in the browser window and not in a new window?
I have just come across a few blogs on a website that have outbound links that open in the browser window (and therefore direct people off site to these links) (there are also other outbound links that open in a new window)- is there a quick and easy way to check which outbounds links open in a new window and which open in the browser window? Much obliged Liam
Content Development | | ZaddleMarketing0 -
What is the easiest and most scalable way to add links from one page to a related page entry?
We have a Spanish language reference site, and want to link related entries to each other. For example, the entry for "home" can link to the page with the entry for "home away from home." What is the best and most efficient way to do this at scale?
Content Development | | CuriosityMedia0 -
How can I make a clickable header on Tumblr (with several links to click)
I would like to make a clickable header with several links to click, for example the possibility to click Facebook & Twitter icons to get redirected to my twitter and Facebook page. I know how to make the clickable image and get the html for it. But where in the HTML on tumblr should I insert it? Can I override the custom header with my HTML header somehow? Appreciate all the help I can get, Thanks.
Content Development | | Fisken0 -
If you were guest blogging would you prefer a link or revenue share
I am looking at ideas at the moment, we have been getting a large number of guest bloggers wanting to write for our site but i have to say we are turning down around 90% of the articles as they are low quality. So i am just wondering, to attract high quality articles, should we carry on offering a link in the articles or offer them revenue share by asking for their google adsense code and putting it somewhere on the page. If we did offer this, how would we impliment this, we work on a joomla website and have read about rev share but not sure how we do this correctly. Would like to know people's thoughts on this
Content Development | | ClaireH-1848861 -
This would not be considered selling links would it?
I have a site that is an informational site about a particular market segment. It is not a directory at all, but as part of the site I have pages for the various vendors, and have "states" pages that list which vendors sell in those states. The site makes very good money on adsense. But I see opportunity in getting the vendors to pay to be listed in our site. At a minimum, grandfather in those already there, and then charge for new companies to be included. Most of the new companies are second-tier players anyway, and if they decode not to pay and get in, it's not to a detriment ot my site. But I do have companies lining up wanting to get in. Of course my first thought, is what will Google think? I would of course make any link out to one of the vendors NOFOLLOW, so even even though they pay for inclusion on our site, I am not selling links for page juice. Google loves us in search right now, so they have a favorable opinion of us. The site has lots of content, and new blog posts and comments all most pages hourly. So, is this going to be okay with Google? I don't see how it breaks any rules, but thought I'd better check. One further worry: If I change the new guys for inclusion on the site, and don't charge the old ones, that means I'd have the new guys NOFOLLOW, but the old ones would still be DOFOLLOW if I don't change them. I don't want Google to be confused thinking I might have sold those existing DOFOLLOW links as well. So, should I change them all to NOFOLLOW? And if I do, does that then cause anything that Google would not like (I know they don't like pagerank hoarding).
Content Development | | bizzer0 -
How important is linking out to relevant, authoritative sites?
As I write blog articles for my site I often come across a situation where I'm quoting something from another site, or using a piece of data from that other site to make a point. I know it's nice and courteous to link to the source when I do this but from a pure SEO point of view, does it matter? Is there any benefit to linking from my site to other sites that are related and authoritative on the subject I'm discussing? I know I'll bleed off a little link juice to that external site that would otherwise go towards my internal links on the same page, but are there other benefits to linking out to known good sites? Is that any kind of signal to Google that I'm playing in a good neighborhood?
Content Development | | scanlin0