Conficker vs DNS

by billso on Thursday, 2 April 2009

Yes­ter­day, the Conficker.c Win­dows worm was sched­uled to change its behav­ior — and this fam­ily of mal­ware did so. The worm now uses a list of 50,000 domains to check for new command-and-control instruc­tions. Con­ficker didn’t crack the Inter­net in half, but the pub­lic­ity about this worm has caused more users and sys­tem admin­is­tra­tors to check and patch their com­put­ers. PC World’s arti­cle by Ian Paul titled Con­ficker D-Day Arrives: Worm Phones Home (Qui­etly) has more details.

One chal­lenge is that this expanded list of domains includes valid web sites that have been hacked. When Conficker.c attacks a com­puter, it also attempts to edit that com­put­ers hosts file, which is usu­ally empty on most res­i­den­tial com­put­ers. The hosts file is a left­over from the old days of the Inter­net — before the Domain Name Sys­tem (DNS) existed, each com­puter had to have a com­plete list of addresses that it could con­tact. Today, com­put­ers still check the hosts file to see if a domain name is listed there. It’s used as a short­cut, as a DNS trans­ac­tion will take more time to complete.

Conficker.c fills the hosts file with entries for major antivirus and soft­ware com­pa­nies. These entries redi­rect the DNS request to other web sites, to block the user from down­load­ing or using soft­ware to remove the mal­ware infec­tion. Sim­ply block­ing the Con­ficker domains isn’t appro­pri­ate, as some of these domains may be fixed soon. It’s also pos­si­ble that some of these domains have noth­ing to do with Con­ficker at all. Of course, Con­ficker may update its list on a reg­u­lar basis, in an effort to evade blocks.

Fight­ing back

OpenDNS is report­ing at least 300 Con­ficker con­nec­tion attempts per sec­ond on its domain name system.According to their analy­sis, com­put­ers in the US aren’t mak­ing most of these requests. The traf­fic is com­ing from Viet­nam, Brazil, Philip­pines, Indone­sia and Alge­ria — coun­tries where broad­band Inter­net ser­vice is avail­able and soft­ware piracy is ram­pant. Pirated soft­ware usu­ally doesn’t include a valid license for down­load­ing or apply­ing updates and patches that can stop mal­ware infec­tions.

As I men­tioned in my pre­vi­ous arti­cles, OpenDNS is a free ser­vice that, among other ben­e­fits, has been block­ing Con­ficker and other mal­ware for a few months now. With a free OpenDNS account, it’s very easy to see if your com­put­ers have been try­ing to access Con­ficker or mal­ware domains.

See Neil Rubenking’s arti­cle called OpenDNS: title and the OpenDNS blog arti­cle titled Do you have Con­ficker? Find out in your OpenDNS account for more details.

Rubenk­ing has another arti­cle (How to Tell if ‘Con­ficker’ Caught You, and What to Do) with links to a few tips and tests if you’re wor­ried about Conficker.

One of these links is the Con­ficker Eye Chart,  a page that res­i­den­tial users can load for a very quick scan of their sys­tem. The page tries to load images from servers that Con­ficker usu­ally blocks. If some of the images won’t load, you’ve either got con­nec­tion prob­lems or a mal­ware infec­tion. If none of the images load, you may have turned off images in your browser — a time-honored trick for increas­ing browser speed. The test is not fool-proof, espe­cially if you’re using a cor­po­rate or uni­ver­sity net­work. This test doesn’t work if you’re using a proxy server.

Image cour­tesy of Oran Viriy­incy through a Cre­ative Com­mons license.

Related posts and pages on billso.com

Share

Previous post:

Next post: