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
-
How to reduce Spam score
hello guys recently i buy a expire domain rowlyrics but i dont know the spam score of this domain. now its spam score is 46. how m reduce the spam score pls help me guys
Content Development | | msingh90401 -
Need advice on internal links
I run a couple of gadget/technology based blogs, which essentially has news based articles and long form articles such as reviews, tutorials, and tips. Looking for some advice on the strategy for internal links: We have been using internal links in the following ways in articles so far: Links to the category pages at the end of the article (we call it related topics) Links to category pages wherever relevant preferably in the first paragraph. The logic here was that if we can add the link to a category in the first paragraph, which appears on the home page and category page, it will pass the link juice to the category page. Link to relevant articles, mostly by using the full title of the post as we thought that it stands out. Issues with the current strategy: In the case of the 1st strategy, it doesn't seem that natural, so we are not sure if people actually end up clicking them. In case of the 2nd, we have couple of concerns: it could result in linking to a category page twice. One within the article, and the second at the end of the article because of strategy 1. Because the first paragraph also appears on the category pages, it would mean that in some cases we will be linking to the same category page (recursive). In the case of the 3rd strategy, the problem is it does not appear natural so we are sure if it increases the value of the content. I was wondering if we should adopt the following strategy: Get rid of category links at the end of the article. Avoid linking to the category pages in the first paragraph, instead link to the category pages after the first paragraph, so we don't end up with the issue mentioned in b. i. Alternatively, we could remove the excerpts from the category pages so we don't hit the issue of linking to the category page from the category page. Add links more naturally. So have a sentence which talks about the related article and link to it using partial match (keyword phrase) or exact match. Any advice would be greatly appreciated.
Content Development | | Gautam0 -
Blogging , do I create a huge blog which links to all my sites
Blogging , do I create a huge blog which links to all my sites or do i create a blog on each site, or do i guest blog to each site from other peoples blogs 😞 which is best ?
Content Development | | SocialAssist1 -
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 -
Is there an upper bound on the number of links an url might get in a day?
There are link spammers and programs like GSA and others, that automate linkbuilding, and I was wondering if anybody ever had a penalty because a page on his site is getting too many references (links). I am not talking about spamming here. So provided that the links are coming from relevant, unique sources, but you do an over excessive campaign, and you seem to be getting too many backlinks, can it negatively affect SEO? Alternatively: is there an upper bound on the number of links you try to build in a day when you are doing linkbuilding?
Content Development | | snetface0 -
Competitor has a dmoz.org link
Hello friendly folks, Found a competitor has a great link from http://www.dmoz.org/ but the directory manager seems to be inactive. Anyone had success with getting updates there or should I move on?
Content Development | | andrewhyde0 -
Does content have a shelf life for link building efforts?
Do you think that content (that doesn't have a date attached) has a shelf life? Especially content that is effectively timeless such as a quiz? I've noticed in my link building efforts that most links are achieved within the first couple of weeks, and that there seems to be a point of diminishing returns. Why do you think that may be?
Content Development | | nicole.healthline0