Advanced

Comment of the Day - October 12, 2005 Linux Viruses Exist

Posted by tadelste on Oct 12, 2005 9:49 AM · 8 comments
Lxer - Article; By phsolide

This comment refers to the article "Grisoft predicts Linux virus plague"

Suspecting anti-virus vendors of fostering the plague is nothing new: that's gone on almost from the time of the Michelangelo virus panic, that got McAfee into the big time. The AV people get so defensive about these accusations so consistenly, you really have to wonder.

The first virus, chronologically, may have been Elk Cloner [HYPERLINK@www.skrenta.com] although Fred Cohen's work ( [HYPERLINK@all.net] ) appears totally independent of it, and the first widespread Pee Cee virus, "Brain" seems independent, too.

Linux viruses do exist:

[HYPERLINK@virus.enemy.org]


[HYPERLINK@www.f-secure.com]
[HYPERLINK@math-www.uni-paderborn.de]

Heck, even shell script viruses exist:
[HYPERLINK@cm.bell-labs.com]

I agree that Windows design and complexity has more than a little to do with its plague of viruses. I'm reading Peter Szor's book "The Art of Computer Virus Research and Defense", and I'm continuously amazed at the ultra-byzantine nature of Windows programming. Chapter 12, "Memory Scanning and Disinfection" illustrates the baroque Windows architecture. The book constantly reminds me that every bizarre hack and sloppy trick in existance, from self-modifying code to allocating from a specific end of the head has been made into an institution, enshrined in a particular Win32 function.



There's also an enormous (for computer stuff, anyway) history of predicting that viruses will show up Real Soon Now for Linux, or Unix, or ______ (fill in the blank). Strangely, the threat never materializes, and the AV people who got the PR Hit never acknowledge the failure of the predictions.







------------------------------------------------------------------------------------------------------





MESMERIC added this in the comment below. Provides another link worth noting.



Linux viruses/worms always existed nothing new.

HYPERLINK@news.bbc.co.uk]



But only Red Hat 6 & 7 saw the last outbreaks. And we never witnessed anything similar after that.

What may happen in future though are poli-platform viruses exploiting multi-OS plugins such as JVM or Flash.

Return to the LXer Features

Comments (8)

Fascinating - information Linux users should know.

Fascinating - information Linux users should know:

This is tangible, empirical information.

WOW. The links to the Linux viruses provided by phsolide are fascinating reading. I remember coming across one of those links now but it was long ago. But for anyone who thinks that they are absolutely bullet proof, read the material on the links.



Linux viruses/worms always existed nothing new. http://news.bbc.co.uk/1/hi/sci/tech/1123827.stm

But only Red Hat 6 & 7 saw the last outbreaks. And we never witnessed anything similar after that.

What may happen in future though are poli-platform viruses exploiting multi-OS plugins such as JVM or Flash.

Mesmeric: That's a link we should have in the body.

Woh.
I am afraid I just don't see the fascination here. Read what Mesmeric said:"Linux viruses/worms always existed nothing new." Plug in UNIX instead of Linux. Same story.

Notice how there have NOT been anywhere near the same level of outbreaks for Solaris or AIX as for Windows? In spite of the billions of dollars of servers out there; really juicy high end machines with vital company data on them? Articles go back 20 years on why it is harder to pull the same tricks in the *nix world.

Do yourself a favor and follow the previously mentioned link to

http://linuxmafia.com/~rick/faq/

and get a feel for why all these doom and gloom predictions of any *nix getting taken over are such bunk.

Poorly maintained sites of any system flavor will get slammed periodically, but it will take a Windows installation to get slammed while fully 'up to date'.
tbogart: Sorry, I forget this is text land. You didn't see the tongue firmly planted in the side of my cheek.





The "santy" worm may qualify as your "poly-platform worm". Written in Perl, it ran on Windows, Linux and Solaris at least. Looking in my home web server's access log, I did "xprobes" on the IP addresses, and Ofir Akin's xprobe identified at least that many different OSes.

The exploit amounted to a semantic version of a buffer overflow in a PHP bulletin board.

But to return to MESMERIC's point, yes, Unix worms predate almost all MS-DOS viruses, much less WIndows worms. I think this is another sterling example of the path that software takes through the market. Lots of stuff (Worms, viruses, web servers, web clients, PPP, DNS, TCP/IP, email) gets developed on some fringe platform, BSD Unix or TOPS-20, or NeXT (the original HTTP server and client ran on NeXTStep).

The Windows code monkeys grab it, mess it up, and the unwashed masses think that Bill Gates invented The Internet. Same with worms. The first real TCP-based worm, the November 1988 "Morris" worm was multi-platform (M68K-SunOS and VAX-BSD), a "blended" threat according to today's "AV" jargon (it exploited at least 2 vulnerabilities, plus the BSD r-suite, plus guessing passwords), and it did "topological searching" via /etc/hosts entries, or those Berkeley r-commands' .rhosts files.

That constitutes a level of sophistication not seen again until the Nimda worm came out.

But it's like that all over. MIT's X windowing system has a degree of network transparency not seen even now in Windows. The good stuff always starts out under something other than Windows or MS-DOS, and then Microsoft (or their henchmen) appropriate some twisted, low-rent version of it for their own.

Comments can be magic

Sometimes the information contained in Lxer's comments section surpasses the vast majority of material published on the web about Linux. So, when I read the posts, I get blown away. The people who post on Lxer have some remarkable gifts. Maturity, a willingness to share, intelligence, wit, tangible information - these all make for great articles. Our commenters are the best!

I thought the "byzantine"/"baroque" comment was significant

IMESHO much more relevant than this.

While Linux and Unices in general also have layers of ancient cruft in them, the developers have generally been much more willing to tear up subsystems and start again from scratch.

It kind of reminds me of real-life viruses: because we clean out the 'fridge every so often -- simple sanitation -- we're much less susceptible to each version of the Black Plague as it comes through; there's hardly anything for it to grow on.

During the real Black Plague, many Jews were strung up and/or burnt on charges of being "in league with the devil" for going through the Plague largely unscathed. They did it sans demonic alliances by simply following a set of strict sanitation laws laid down for them several thousand years earlier. Rather than having to fight the Plague, they simply avoided getting it in the first place.

Linux follows, if you like, a similar set of laws. One of the valuable but seldom-recognised things which Linus does for Linux is stresses keeping things simple (sanitary), and being more than willing to rip up the floorboards and rebuild when necessary.

Bill Gates, OTOH, has been more than willing to let garbage pile onto cruft until MS-Windows became an unmanageably tangled mess drenched in complexities and exceptions, each of them practically begging to have a virus planted in it. Instead of extending MS-DOS one more time (the evil is not in the command-line, but in the absence of a handful of key features and the sweeping implications of that ignorance), it needs to be categorcially shot and replaced.

Wonder of wonders, that is actually being done. MS-Vista is significant not for big new features but for being a substantial rewrite. I think others in Microsoft (not Bill) saw the writing on the wall, and it said: "if you don't tear this cruft up and throw it away, your users will tear up and throw you away."

MS-Vista has been the third really big rewrite in Microsoft-land, and the first ever that didn't involve parasitising on the Digital Equipment Corporation.

The first two were the NT codebase (basically a VMS variant called MICA which they stole holus-bolus (it was "spelling-error compatible") and later paid fines for), and the big SQL Server rewrite. Without those two big injections of fresh conceptual blood, Microsoft would be insignificant today.

The two rewrites of big slabs of MSIE also deserve an honourable mention.

The massive re-engineering which has gone into Vista will take a long time to pay off, especially because they haven't yet done enough (partly because of the layers of cruft that they copied over for compatibility's sake, and partly because their mandate is burdened with heavy doses of DRM and other distractions which have nothing to do with core system strength), but it is finally a step in the right direction.

Pointing out the rare and anaemic viruses for Linux is really beside the point as long as we fair to draw the important lessons from it. These include but are not limited to:
  • monocultures are unhealthy
  • most users are not administrators, and shouldn't be
  • hiding stuff is bad
  • letting secondary considerations influence your core design is bad (I have a good example from the auto industry)
  • it's far better to bite the bullet before infection sets in than afterwards
  • some really good stuff is "not invented here"
  • "Pride goeth before destruction, and an haughty spirit before a fall" (I'd long wondered where that originated, and it turns out to be the bible, at Proverbs 16:18)
  • Post a comment

    A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

    Your message:
    |||||
    10
    Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

    Sign up and post (it is free)  or  Log in and post

    LXer

      Latest Features
    bob: LXer now speaks Markdown
    Oct 27, 2026

    bob: How to protect against PHP2Shell
    Oct 26, 2026

    Scott Ruecker (San Diego, U.S.): Linux That's Small
    Oct 14, 2024

    penguinist: Encryption, Trust, and the Hidden Dangers of Vendor-Controlled Data
    Aug 27, 2024

    Scott Ruecker (San Diego, U.S.): My Linux Mint Tribute
    Aug 23, 2024

    Scott Ruecker (San Diego, U.S.): How I Turned My Chromebook Into A "Mintbook"
    Jul 08, 2024

    Scott Ruecker (San Diego, U.S.): Adventures With My New Chromebook
    Jun 10, 2024

    Scott Ruecker: My Linux Laptop
    May 08, 2022

    Scott Ruecker: Laptop Dual Boot Project: Part 2
    Nov 30, 2021

    Scott Ruecker: Laptop Dual Boot Project
    Nov 30, 2020


    View all

      Search Features

    Search LXer Features:

    [ Copyright © LXer | All times are recorded in Central Daylight Time (CDT) ]

    [ Contact Us | Privacy Policy | Terms of Service | About us | rss | Mobile ]

    Login