Malware on Hijacked Subdomains, a New Trend?
The Unmask Parasites blog discusses a technique attackers are using more and more often recently: modifying a compromised site's DNS settings to redirect various subdomains to different IPs that serve up malware, often leaving site administrators none the wiser. Quoting:
"It is clear that hackers have figured out that subdomains of legitimate websites are an almost infinite source of free domain names for their attack sites. With access to DNS settings, they can create arbitrary subdomains that point to their own servers. Such subdomains can hardly be noticed by domain owners who rarely check their DNS records after the initial domain configuration. And they cost nothing to hackers. I wonder if using hijacked subdomains of legitimate websites is a new trend in malware distribution or just a temporarily solution that won't be widely adopted by cybercriminals in the long run (like dynamic DNS domains last September)."
This is also done with 404 Error pages. They change it to redirect to their spam, and then point people at what looks like a legitimate URL. Then they get redirected to the spam and are none the wiser. www.slashdot.org/thisdoesntexist could redirect anywhere.
Since a lot of hosting automation software (cPanel) sets up an a name for @ giving the power singularly to apache also lends it self to have the ability to mask it as being secure.
It isnt a nameserver its moreover a webserver one.
"who rarely check their DNS records"
And thereinlies both the problem and the solution.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
I wonder if an even number of hackers will use this technique, or an odd number. Only time will tell.
Yes, checking the DNS records will help identify the sites that have been modified, however it will also identify the hackers servers IP numbers. With that thread, you can start to unravel the illicit infrastructure, and counteract it.
htaccess is irrelevant to dns. come on..
That explains idle.slashdot.org :-)
I suffer from attention surplus disorder.
. . . is that I have always set DNS addresses manually. Back before the days of DHCP, I got to know the two primary DNS addresses for Level3 (now Verizon), 4.2.2.4 & 4.2.2.5. Since I have an easier time remembering numbers than names, they stuck. I use them even though they are not my ISPs, which makes DN look-ups a little slow.
There are a number of well known DNS exploits, especially with DNSSEC (http://www.dnssec.net) being a late comer to the Internet and not widely implemented beyond top level domains. It is actually a bigger problem for foreign countries, whose resources to oversee these technical things may be very limited.
I can verify that this trend has been building for months. It only seems to be getting worse. We've logged literally hundreds of compromised sites ranging from the very high traffic to the very obscure. This is one case where even vigilant users are undermined by the lack of security awareness of the site admins.
Why can't we go back to using jumpers to configure slot adapter cards? Why? I say!
"Malware on Hijacked Submarines, a New Trend?"
Talk about a double-take! Would have made for an interesting story, though :)
The best idea is to monitor your DNS, Whois (and sites for changes). Good tool to do that: http://sucuri.net/
> I wonder if using hijacked subdomains of legitimate websites is a new trend in malware distribution or just a temporarily solution that won’t be widely adopted by cybercriminals in the long run (like dynamic DNS domains last September).
Well, if my co-workers' research with URL-shortener links is any indication, you can certainly train people in a Pavlovian manner to avoid following links to unknown content.