Feeds

‘Friendly’ Cheese worm reveals many compromised boxes

And it's a tiny step from being highly destructive, too

  • alert
  • submit to reddit

The essential guide to IT transformation

The so-called 'cheese worm' has attracted a great deal of attention in the past 24 hours for its benign payload, which seeks to mend Linux boxes infected with at least one version of the li0n worm (which exploits a BIND vulnerability). However, it also demonstrates that there's a large number of already-compromised machines connected to the Net; and furthermore, a tiny modification to its code could render it immensely destructive.

The worm scans for machines with a secure root shell listening on TCP port 10008, as set up by a variant of the li0n worm. If the shell exists, cheese will install in the directory /tmp/.cheese and execute a script thus:

/tmp/.cheese/go:
#!/bin/sh
nohup ./cheese $1 1>/dev/null 2>&1 &

Cheese reads the file inetd.conf and rewrites it, deleting any line that contains the string /bin/sh. It then restarts inetd, with all /bin/sh processes killed indiscriminately.

"Until the 'cheese' process is somehow killed, it repeats a cycle of scanning semi-random /16 (e.g., class B) network blocks for hosts listening on TCP port 10008 using the 'psm' program," a detailed incident report by the Computer Emergency Response Team Coordination Center (CERT/CC) at Carnegie Mellon University explains.

The first octet of the address may be from 193 to 218; and the second may be from 1 to 254, Cert/CC says.

What's most interesting here is that cheese may be the first worm which automates the exploitation not of an existing vulnerability, as most do, but of an existing compromise.

"This is perhaps the first successful example of this type of exploit," CERT/CC artifact analysis team leader Kevin Houle told The Register.

Houle believes that the example here, while relatively harmless in itself, is alarming.

"We've seen an increase in reconnaissance (scanning) related to port 10008," he observes -- an increase which strongly implies activity by the cheese worm.

That, in turn, implies that there is quite a large number of machines already compromised, whose owners remain blithely ignorant of the fact. Call it proof-of-concept that the Net is teeming with already-rooted boxes.

He also emphasizes that it would be child's play to modify cheese for extremely destructive activity. Developing destructive exploits for existing compromises is not a trend Houle would like to see carried forward -- and we'll just second that ourselves. ®

Gartner critical capabilities for enterprise endpoint backup

More from The Register

next story
6 Obvious Reasons Why Facebook Will Ban This Article (Thank God)
Clampdown on clickbait ... and El Reg is OK with this
No, thank you. I will not code for the Caliphate
Some assignments, even the Bongster decline must
Barnes & Noble: Swallow a Samsung Nook tablet, please ... pretty please
Novelslab finally on sale with ($199 - $20) price tag
Banking apps: Handy, can grab all your money... and RIDDLED with coding flaws
Yep, that one place you'd hoped you wouldn't find 'em
Video of US journalist 'beheading' pulled from social media
Yanked footage featured British-accented attacker and US journo James Foley
Primetime precrime? Minority Report TV series 'being developed'
I have to know. I have to find out what happened to my life
Netflix swallows yet another bitter pill, inks peering deal with TWC
Net neutrality crusader once again pays up for priority access
Judge nixes HP deal for director amnesty after $8.8bn Autonomy snafu
Lawyers will have to earn their keep the hard way, says court
prev story

Whitepapers

Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
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.
Backing up distributed data
Eliminating the redundant use of bandwidth and storage capacity and application consolidation in the modern data center.
The essential guide to IT transformation
ServiceNow discusses three IT transformations that can help CIOs automate IT services to transform IT and the enterprise
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.