Get Rid of Share-button(.)xyz Referral Spam from Google Analytics

A familiar referral spam has released a new URL, named Share-button(.)xyz. Besides this URL, there are also other ones such as Get-Your-Social-Buttons(.)Info and Sharebutton(.)to which display relatively the same page and are all linked together. When visited, the site directly redirects to either of these linked hosts. The sites are advertised as a free service for website design, more specifically buttons for sharing content via the social media. Users are strongly advised to back away from this website and its web links and if encountered in spam messages to avoid it. In case you have this spam present on your device, we strongly recommend using the instructions after this article to get rid of it in the future.
TypeReferral Spam
Short DescriptionThe web page has been seen on many referral spams on predominantly medium sized and smaller blogs in traffic.
SymptomsThe user may witness the spam on various places of the website that is being targeted, leading to a Sharebutton(.)to domain which then redirects to a phishing website.
Distribution MethodSpam Bots.
Detection ToolDownload Malware Removal Tool, to See If Your System Has Been Affected by malware
User Experience Join our forum to discuss


Share-button(.)xyz Referral Spam – How Does It Work

Similar to Sharebutton(.)to referral spam, this one may be distributed via two primary methods:

Method #1 – Web Crawlers or Spiders

Spam by such spam bots is also known as web crawling or spider spam. This is because the software “crawls” through the web searching for various websites and spamming them based on a pre-configured criterion. These type of attacks on sites are not persistent because they usually stop after being deleted, the users banner and flagged. This type of spam is also more oriented towards massive spam campaigns on various websites instead of targeting certain sites for an extended period of time. However, if it is combined with other spamming methods it may become a headache.

Method #2– Ghost Referral Spam

Ghost Referral (also known as Ghost Referrer spam) carries the name Ghost because it aims to remain on a website it is spamming unnoticed and remote. This is conducted via exploiting the free hyper-text transfer protocol (HTTP) and spam the targeted host by connecting to it from a distance. This is very effective because the spam bot is not even on the website it is spamming. Some more sophisticated “ghosts” may even select what type of analytic to target and corrupt.

Why Referral Spam Is Being Used and More About Sharebutton Domains

These type of attacks are created for several different purposes. One of them is to lead users to third-party websites which may either want to have hoax traffic driven to them or other more devious goals. Some of those websites may pretend to be online retailer stores or other legitimate services to “phish” for user information such as credit card details or personally identifiable information. There are even some websites that may redirect you to websites that aim to infect your computer with malware such as Petya Ransomware or Google Redirect Rootkit Virus.

The network of domains with the keyword “Sharebutton” is reported by many security forums as well as blogs to be potentially harmful. It may be advertised via other spam domains that contain the keyword “buttons” in them. Here is a short list of related domains discovered in

  • Share-button(.)com
  • Sharebutton(.)to
  • Sharebuttons(.)xyz
  • Get-Your-Social-Buttons(.)Info
  • Sharebutton(.)net
  • Sharebutton(.)com

The network is reported to be primarily visited from India, but there are also reports of it being visited by other locations over the world such as Brasil, Turkey and Spain as well as the US.

Besides this, there are also other dangers for users, such as the script that the site may display to website publishers who may use it on their website. The script may contain tracking technologies or other malicious codes that may be unhealthy for the website and cause it to be flagged and removed from search results.

The code has been reported to link to other locations includion the “cdn.script(.)to/share6(.)js” script which is posted online. It is not yet positively confirmed that this script is dangerous for users but it links to various social media webites such as Facebook, LinkedIn, VKontakte and others and this may be an indicator that these may be phishing duplicates for passwords and emails. Everyone who has used such share buttons is strongly advised to change their passwords immediately.

Getting Rid of Referrer Spam

When we get back to referrer spam, it is primarily oriented towards driving traffic to third-party sites. But this doesn’t meant that it can’t be harmful in other ways to both the users and web publishers:

  • Quickly rendering website statistics useless.
  • Flooding the website with malicious spam comments, causing the website itself to be flagged as untrustworthy and ranking it lower in Google search results.
  • Infect it’s users with malware.

These are the main reasons why this type of spam shouldn’t be underestimated. To block share-button(.)xyz referral spam, we strongly advise following the after mentioned instructions to stop spam from this and other Share-Button domains:

1: Filtering in Google Analytics

Step 1: Click on the ‘Admin’ tab on your GA web page.

Step 2: Choose which ‘View’ is to be filtered and then click the ‘Filters’ button.

Step 3: Click on ‘New Filter’.

Step 4: Write a name, such as ‘Spam Referrals’.

Step 5: On Filter Type choose Custom Filter –>Exclude Filter –> Field: Campaign Source–> Filter Pattern. Then on the Pattern, enter the domain name –

Step 6: Select Views to Apply Filter.

Step 7: Save the filter, by clicking on the ‘Save’ button.

You are done! Congratulations!

Also, make sure you check out these several methods to help you further block out this referrer spam from Google Analytics:

More Methods To Stop Spam Bots and Spiders In Google Analytics

1: Block from Your Server.

In case you have a server that is Apache HTTP Server, you may want to try the following commands to block domains in the .htaccess file:

RewriteEngine on

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \-for\-website\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \.to/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \-for\-website\.to/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*share-button \.xyz/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*share-button \-for\-website\.xyz/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \-for\-website\.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebuttons \.xyz/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*sharebutton \-for\-website\.xyz/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Get-Your-Social-Buttons \.info/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Get-Your-Social-Buttons\-for\-website\.info/ [NC,OR]

RewriteRule ^(.*)$ – [F,L]

Also here is a web link to some spam URLs being blacklisted from other servers:

Ultimate Referrer Blacklist by

Disclaimer: This type of domain blocking in Apache servers has not yet been tested and it should be done by experienced professionals. Backup is always recommended.

3: Stop via WordPress.

There is a method outlined by security researchers online that uses WordPress plugins to block referrer spams from sites. There are many plugins that help deal with referrer spam, simply do a google search. We have currently seen one particular plugin reported to work, called WP-Ban, but bear in mind that you may find an equally good or better. WP-Ban has the ability to block users based on their IP address and other information such as the URL, for example.

Also, in case you feel like you may have clicked and been redirected to one of the domains mentioned in the spam message, and you believe your system may be compromised, you should scan your computer with a particular anti-malware tool. Downloading such software will also make sure your computer is safe against any future intrusions as well.

Spy Hunter scanner will only detect the threat. If you want the threat to be automatically removed, you need to purchase the full version of the anti-malware tool.Find Out More About SpyHunter Anti-Malware Tool / How to Uninstall SpyHunter


Ventsislav Krastev

Ventsislav is a cybersecurity expert at SensorsTechForum since 2015. He has been researching, covering, helping victims with the latest malware infections plus testing and reviewing software and the newest tech developments. Having graduated Marketing as well, Ventsislav also has passion for learning new shifts and innovations in cybersecurity that become game changers. After studying Value Chain Management, Network Administration and Computer Administration of System Applications, he found his true calling within the cybersecrurity industry and is a strong believer in the education of every user towards online safety and security.

More Posts - Website

Follow Me:

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Share on Twitter Tweet
Share on Google Plus Share
Share on Linkedin Share
Share on Digg Share
Share on Reddit Share
Share on Stumbleupon Share