Tracking Website Defacers with HTTP Referers

Published: 2017-04-07
Last Updated: 2017-04-07 06:30:32 UTC
by Xavier Mertens (Version: 1)
4 comment(s)

In a previous diary, I explained how pictures may affect your website reputation[1]. Although a suggested recommendation was to prevent cross-linking by using the HTTP referer, this is a control that I do not implement on my personal blog, purely for research purposes. And it successfully worked!

My website and all its components are constantly monitored but I’m also monitoring online services like to track references to my domains, IP addresses and other interesting information. A few days ago, I received an alert about a mention to my blog[2]. It contained some HTML code used to deface websites:

<html lang="en-US"><head><title>Indonesian-Defacer</title>
<link rel="icon" type="image/x-icon" href="">
<meta property="og:title" content="nginxDEX">
<meta property="description" content="Jemb4t">
<meta property="og:author" content="Jemb4t">
<meta property="og:image" content="">
<meta charset="UTF-8">
<script type="text/javascript”>

As you can see a group of website defacer (MagelangN00bs[3]) is using a direct link to an image on my blog as favicon[4] file. I think that they used my image because it looks like the Indonesian flag with a "black hat" head on top of it:

Here is an example of defaced website by this group:

Well, nothing fancy, just a logo, some nasty music... Let's have a look at my logs and search for references to the original pictures. The group started its activity around the 15th of March:

And what about the targets? After cleaning the referers (Google being of course the top-1), 90 websites were reported as defaced. Some examples:

  • hxxp:// (restored)
  • hxxp:// (still defaced)
  • hxxp:// (restored)
  • hxxp:// (still defaced)
  • hxxp:// (restored)
  • hxxp:// (restored)

The group is still active and new websites are defaced almost every day. Once again, this is a good example of the power of HTTP referers.


Xavier Mertens (@xme)
ISC Handler - Freelance Security Consultant

4 comment(s)
ISC Stormcast For Friday, April 7th 2017


Diary Archives