Click on this, you muthas

Clueless users guarantee virus propagation

  • alert
  • submit to reddit

Using blade systems to cut costs and sharpen efficiencies

If hundreds of thousands of people are still blindly clicking on attachments in their email, is there any hope of mitigating the threat of hundreds of thousands of compromised systems with open backdoors?

There's a myth that should be dispelled in the computer security world, and that is the belief that the growing and pervasive use of computers in the past twenty years has enabled the average person to become functionally computer literate. While most people know how to open a Microsoft Word document, read email and use a browser, far fewer know (or care) about what it takes to secure their computer. That's a major reason why so many hundreds of thousands of drones and bots exist and are under control of black hat folks. Your parents' computer could quite likely be "owned" right now, a compromised bot that's available for misuse by a large group of miscreants - and maybe you won't find out about it until the next time Mom and Dad invite you over for turkey dinner.

The latest big email virus, MyDoom.A, was designed to stop spreading on 12 February, but it has already been mutated to keep it spreading for years. It its short life thus far it has infected hundreds of thousands of machines, perhaps even millions. There are backdoors into those infected systems now, listening on ports between 3127 to 3198. The backdoors have turned these systems into bots available for misuse by any miscreant. MyDoom was not particularly innovative but it was still an impressive demonstration for three reasons: it proved that millions of users are still clicking on virus attachments, its small 22,528 byte footprint is an accolade to efficient code, and most importantly, the mere inclusion of the virus inside of a .zip file was clearly enough for it to bypass many organization's anti-virus scans. Some have heralded MyDoom as the fastest spreading email virus of all time, yet email-bourne viruses have been with us for more than 15 years and there is no end in sight.

Having compromised bots available to anyone who wants to use them, as we commonly see today, is part of the reason why massive DDOS attacks, open SPAM relays and open proxies are available to any pimple-faced kid.

Click on this

If you think MyDoom was effective at building a network of compromised bots, click on this: try a port knocking backdoor on for size. There are multitudes of backdoors out there that are far more sophisticated and stealthy than MyDoom, and port knocking is just one way of several to add a layer of control and stealth. I could send you one of these in email, enclosed in a .zip file, with the subject "hi" and text that reads something along the lines of, "please take a look at this and let me know your thoughts." While the typical SecurityFocus reader, and also the typical power user, would never click on such an attachment, we saw from MyDoom.A that hundreds of thousands of others will.

The great disadvantage to the security community from viruses like MyDoom, besides the obvious waste of massive amounts of bandwidth and the soft cost of lost productivity by millions of users, is that the backdoors are available for exploit by any miscreant with half an ounce of knowledge about malicious scripts. Anyone mildly interested in making use of these backdoors for their own malformed intent can do so with a minimal amount of research. It shouldn't be so easy.

Port knocking

What is a port knocking backdoor? The concept is actually rather simple: it's a typical backdoor into a user's system, of which there are many, but it's one that effectively lays dormant and does not appear to be functioning or listening on any ports until an attacker "knocks" on the door using a special series of events to wake it up. Typical port scans from the Internet reveal nothing. A legitimate port knocking application would often parse firewall logs, waiting for a sequence of logged errors and then spring to life, manipulating firewall rules to open a port. A backdoor generally operates in a similar fashion, but can listen real-time with the need for a firewall. Generally, the process or daemon quietly listens for a sequence of pings (such a hitting ports 100, 109, 101, 101 three times in that sequence, a code of 911 that could be used to bring the backdoor to life), or by using packet type, such as sending SYN requests in a similar predetermined sequence. When the right series of knocks are received, the backdoor opens a TCP port and starts listening. Voila.

Port knocking backdoors allow the virus writer to retain more control. Perhaps this is a good thing, as this would keep control of compromised systems in the hands of very few, instead of being open to misuse by any script junkie on the Internet. Having compromised bots available to anyone who wants to use them, as we commonly see today, is part of the reason why massive DDOS attacks, open SPAM relays and open proxies are available to any pimple-faced kid. So who's responsible?

There is an excellent article from the New York Times by Clive Thompson that profiles several virus writers and clearly makes the distinction between the people who write the malicious code and the individuals who release it into the wild - it's argued that these two are often not the same. Some virus writers claim to write proof-of-concept code for educational purposes only, and then make it available for peer review. In contract, it is said that those who release that code into the wild often find it on a hacker website, and release it with pure malicious intent.

The proof-of-concept defense is an interesting one for a bright, teenaged coder sitting in a dark basement in Singapore, but I am appalled at the lack of responsibility by otherwise clever people. I take issue with the virus writers who write stealthy, tight pieces of virus code that leave backdoors open on thousands of naked systems, available for exploit by any miscreant script-abuser on the Internet. Perhaps if the author of such malicious code took more responsibility for his actions, by not leaving the door wide open, compromised machines wouldn't be so readily available for misuse by people who barely understand how the backdoor even works.

Port knocking is a legitimate security concept that has been discussed on Slashdot recently, and some virus writers have started using it "secure" their own backdoors. Add port knocking capabilities to a backdoor and you get a port knocking backdoor. The power to control these things would be held in the hands of an elite few, instead of any miscreant with malformed intent, as it is today.

The anti-virus panacea?
Most userland backdoors are still be easily discovered by anti-virus software - or not, as we saw with MyDoom.A where once again, simply enclosing the virus in a .zip file was surprisingly effective to avert a scan.

Anti-virus applications are still the crutch required to keep Windows running, and when configured properly they work pretty well. However there is another level possible with backdoors that avert even the best anti-virus software - rootkits and DLL-injection hooks - but we have not yet seen the merger of virulent viruses and this even stealthier type of code. It's coming. For now, backdoors installed in corporate and other managed environment are still difficult to reach and control, as they sit within the confines of strong borders. A simple hardware router for the average home user would also do wonders to make most backdoors virtually inaccessible.

Summing it up

Malicious code is getting more sophisticated, but I can't help wondering at times to what end. The average home user is still double-clicking the virus attachments in his email, and we end up with backdoors into thousands of fully compromised home systems with every major virus. For our plight against the spread of common viruses in the wild, there is still no end in sight. If we cannot prevent the average user from double-clicking the latest virus in his email, how will we ever stop the propagation of more advanced, stealthy code?

Copyright © 2004, 0

Kelly Martin is the content editor for SecurityFocus.

Boost IT visibility and business value

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
14 antivirus apps found to have security problems
Vendors just don't care, says researcher, after finding basic boo-boos in security software
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Israel's Iron Dome missile tech stolen by Chinese hackers
Corporate raiders Comment Crew fingered for attacks
Only '3% of web servers in top corps' fully fixed after Heartbleed snafu
Just slapping a patched OpenSSL on a machine ain't going to cut it, we're told
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
prev story


Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.