Slashdot Mirror


Ambidextrous Linux/Windows Virus

Lam1969 writes "Kaspersky Labs has reported a new proof-of-concept virus that can infect both Windows and Linux systems. It's called Virus.Linux.Bi.a/Virus.Win32.Bi.a and affects ELF binaries and .exe's from windows. SANS has a brief item on the cross-platform virus as well, but no information about a patch or signature yet."

361 comments

  1. How is it POC? by liliafan · · Score: 4, Interesting
    I guess it is time for me to double check clamav is still updating without any problems on my systems.

    In 2001, the sadmind/ISS worm exploited a hole in Sun Microsystems Inc.'s Solaris to infect systems running vulnerable versions of the operating system. Infected systems then scanned for and attacked servers running Microsoft Corp.'s IIS Web server software. That same year, another proof-of-concept virus named Winux infected both Windows and Linux systems.


    I am curious about how this is a proof of concept virus if it has been done before surely the concept has already been proven?
    --
    GeekServ Unix Consulting Services (http://www.geekserv.com)
    1. Re:How is it POC? by Anonymous Coward · · Score: 0

      It's a proof of concept because it doesn't actually do anything once it's infected a system.

    2. Re:How is it POC? by JordanL · · Score: 4, Funny

      I am curious about how this is a proof of concept virus if it has been done before surely the concept has already been proven?

      It wasn't slashdotted last time?

    3. Re:How is it POC? by EndlessNameless · · Score: 5, Informative

      It seems that the reason it's considered a POC at this point is because it has no real payload. All it does is spread, and not nearly as heinously as Blaster/Welchia/Sasser.

      As soon as it gets backdoor or downloader functionality... then it becomes a more serious threat. And really you, me, and the guys at Secunia/SARC/SANS/ISC/etc all know that's where this is headed.

      So yes... in the sense of where this particular piece of malware is headed, this is a proof-of-concept. It's a live test of the progagation mechanism. The payload will be dropped into place soon... probably in the next version since this one looks like it's working fine.

      --

      ---
      According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
    4. Re:How is it POC? by EndlessNameless · · Score: 1

      Anonymous coward bastard beat me to the punch because I wasted time checking to make sure it didn't actually have a payload.

      :-p

      --

      ---
      According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
    5. Re:How is it POC? by Anonymous Coward · · Score: 0

      It might be a POC because of how the infection is taking place, not just that it is able to do it.

    6. Re:How is it POC? by tktk · · Score: 0, Offtopic
      payload...

      spread...

      backdoor...

      This must be the wet dreams of virus writers.

    7. Re:How is it POC? by fymidos · · Score: 1

      A worm is not a virus. A virus doesn't exploit holes in web servers, it just infects binaries.
      There are challenges in making a virus for both windows and linux, although it is definetely possible:
      A while ago it was the winux virus (also a proof of concept)
      Unlike a worm though, a virus would have a hard time to spread in a linux environment, as it is
      highly unlikely that enterprize linux users have write access to any kind of binaries... There is however
      a dangerous situation i can think of: a system running windows that has access to linux system binaries through
      samba or nfs ...

      --
      Washington bullets will simply be known as the "Bulle
    8. Re:How is it POC? by Anonymous Coward · · Score: 0

      yea, lucky for the rest of us they only spread computer viruses, leaves the geeky girls for the rest of us geeks to play with :D

    9. Re:How is it POC? by Phillup · · Score: 2, Insightful

      There is however
      a dangerous situation i can think of: a system running windows that has access to linux system binaries through
      samba or nfs ...


      If you create a share to one of your binary directories (/usr/bin/) then you deserve what you get.

      Especially if you do it in a way that compromises the fact that only root can write to those files...

      --

      --Phillip

      Can you say BIRTH TAX
    10. Re:How is it POC? by phorm · · Score: 2, Insightful

      And really you, me, and the guys at Secunia/SARC/SANS/ISC/etc all know that's where this is headed.

      Hmm, well in my case it would end up likely being blocked a network-level, as my IPtables log it's unusual activity. Of course, I don't run as root most times... so the best it could do is create infection in files writable by my user.

      I suppose it *could* try connecting to outside locations to send email or something of the like... assuming it could find a server to connect to (my webmail address book wouldn't exactly be easily sniffable by a virus), but in that case it would have to find a usable host or open-relay to do so anyhow.

      No, linux-capable viruses have been around for awhile, and multi-OS is no more scary than those were.

    11. Re:How is it POC? by Nutria · · Score: 1

      Or goatse...

      --
      "I don't know, therefore Aliens" Wafflebox1
    12. Re:How is it POC? by TheNetAvenger · · Score: 1

      I am curious about how this is a proof of concept virus if it has been done before surely the concept has already been proven?

      Ok, this is exactly what I was thinking, but to add to it, apparently there are a lot of people out there that doesn't 'get' that code can easily infect more than one target technology.

      Windows is even a proof of concept, as the early viruses infected Win9x but couldn't infect NT, this changed and later code was created that could infect either OS base.

      Although the Windows example is easier to implement, but the potential for a virus to find common exploits and infect multiple OSes is not a hard thing to construct. Especially just the latter, a single binary that can cross infect OSes.

      Taking a few tools I think of ways to create a replicating code segment that would propagate and function on Solaris, Linux, OpenBSD, OSX, and Windows. That is more that dual cross infection, that is covering most everything out there.

      It would be naive for any OS user to ever feel their choice techology is above flaw or infection, especailly when social engineering works so well with under educated users to allow malicious access. Even as much fun is made of Windows, most infection in the last few years is from social tricks rather than inherent OS flaws.

    13. Re:How is it POC? by Anonymous Coward · · Score: 0

      You may not remember the Morris Worm, which had no payload but itself but succeeded in bringing core servers all over the country to their knees because the idiot who wrote it forgot to check how many copies were already running on a machine.

      It must have been nice to hide for 3 days at Harvard, trying to hide his traces instead of publishing the thing and saving millions of dollars and many thousands of man-hours all over the country wasted by it. It must have been even nicer have his daddy, the head of the NSA at the time, play the "get out of jail free" card for him. It must have been even nicer than that when MIT somehow ignored his criminal negligence and made him a computer science professor (http://pdos.csail.mit.edu/~rtm/, for refercnce).

      At last look, he still handed out loaner laptops with no Administrator password.

    14. Re:How is it POC? by Anonymous Coward · · Score: 0

      And the Morris Worm, one of the first computer worms ever (1988), also infected multiple systems, including BSD and Sun. This is not new, and hardly scary, seeing as a Windows/Linux virus would only be marginally more effective than a Windows-only virus. It's not like people try to run exe's on Linux anyway.

      http://en.wikipedia.org/wiki/Morris_worm

    15. Re:How is it POC? by someone1234 · · Score: 1

      Maybe it is proof that someone got a Linux antivirus software that sells badly.

      --
      Patents Drive Free Software as Hurricanes Drive Construction Industry
    16. Re:How is it POC? by deafff · · Score: 0

      little bit on a naive side today are we

    17. Re:How is it POC? by Hal_Porter · · Score: 1

      Let that be a lesson to you.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    18. Re:How is it POC? by redhog · · Score: 1

      Hm, I think the most dangerous situation is actually software developement. Developers constantly create new binaries as non-root users, which are then uploaded to their homepages, downloaded to other systems and run (possibly as root), often by other developers who in turn create binaries and upload them to their webpages...

      Think about a virus that when invoked infects all running processes under the same UID (maybe using the debugger API), overriding exec*(), so that new processes will be infected too, and, if one process happens to be gcc, changes it so that it will generate infected binaries...

      Hm, what I outlined above can't actually be _that_ hard to do, and it probably _would_ spread. For extra bonus, add a change to emacs that adds infectious source-kode to all .c-files, and hides it when editing the files. Extra dubbelplusbonus if that code doesn't show up in diff output, or cvs diff output, aswell as in grep, cat, less or more output... Another nasty possibility would be to only infect CVS so that it checks in virus-code (but strips it when checking out using the infected version of cvs)...

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    19. Re:How is it POC? by jnf · · Score: 1

      you really should dump clamav, its performance is lacking, but thats just the tip of the iceberg. It routinely has bugs that allow remote compromises and even more it fails to detect probably something like 90% of malware I've thrown at it. I work as a reverse engineer and often instead of reversing a questionable binary i'll run it through AV in case its already known. Because all of the AV out there are of varying degree's of quality, I run it through aproximately 20 AV scanners, its not rare to find that kaspersky will detect it, but norton won't, mcafee misdetects it, and so on. The one constant though is that clamav just routinely claims the file is fine, this is aproximately 85-90% of the time, don't take my word for it though, go download a bunch of various viruses and then run off to virustotal.com and check for yourself. additionally, winux was written by Benny of 29a, a very talented coder with many POCs under his belt.

  2. Netcraft confirms... by Syberghost · · Score: 4, Funny

    ...BSD just coughed up water and started breathing again.

    1. Re:Netcraft confirms... by Anonymous Coward · · Score: 0

      BSD uses ELF binaries also. Assuming you're running on Intel it should work fine there too.

    2. Re:Netcraft confirms... by inhalentbroom · · Score: 1

      That's it, I'm switching back to the Commodore 128 I got laying around in my room. That's right, TWICE as much ram as your commodore 64.

    3. Re:Netcraft confirms... by JoloK · · Score: 0

      BSD never even hiccuped at it ;)

      --
      JoloK
    4. Re:Netcraft confirms... by Ilgaz · · Score: 1

      It is Linux ELF infecting.

      If it was FreeBSD infecting, I would really wonder if it can infect Mac OS X on Mactel since it has BSD layer too.

      You know, they are x86.

      So according to this virus, BSD is still dead :)

    5. Re:Netcraft confirms... by TheRaven64 · · Score: 1

      BSD uses ELF, but the system calls are all in different places to Linux. If this virus uses any system calls, it will not work on BSD (unless you are using a Linux compatibility layer and have correctly branded the ELF as a Linux binary). If it doesn't make any system calls, then there's not much it can do, and certainly nothing harmful.

      --
      I am TheRaven on Soylent News
    6. Re:Netcraft confirms... by tomhudson · · Score: 1

      It doesn't use system calls or libraries.

      Think of it - the kernel code is out there - it boots without any system libraries already being loaded. The printk (kernel print function) doesn't call the os at any point - it has enough knowledge to talk to the hardware directly. So, do the same, and add enough functionality to read and write to the various filesystems out there, and you're home - you don't even need to do it in assembler ... just #include the appropriate pre-existing header files, and #include any code that you would normally call from a shared library.

    7. Re:Netcraft confirms... by jlarocco · · Score: 3, Informative
      Think of it - the kernel code is out there - it boots without any system libraries already being loaded. The printk (kernel print function) doesn't call the os at any point - it has enough knowledge to talk to the hardware directly.

      Any real operating system (Windows NT and up, Linux, *BSD, ...) prevents you from doing any of the stuff you mentioned. You can't just load a program and start doing low level IO to ports. You can't just bypass the MMU and paging system and write directly to physical memory. You can't just write directly to video memory. You can't just have your program load and start acting like it's the operating system. Any operating system worthy of being called an operating system prevents that. Device drivers would come closest, but they most definitely need system calls.

      So, do the same, and add enough functionality to read and write to the various filesystems out there, and you're home - you don't even need to do it in assembler ... just #include the appropriate pre-existing header files, and #include any code that you would normally call from a shared library.

      Yeah...okay. For the moment, lets pretend it's possible to directly access the disk and filesystem from a user program, without system calls. To be any use at all as a cross platform virus, the program would need access to NTFS, ext2, FAT32, and ReiserFS. Writing filesystem code isn't trivial. I would be very impressed if a single person could implement any one of those filesystems in a reasonable amount of time, and all 4 would be nothing short of impossible. Let's just say that if somebody had the skill to do it, they'd be too busy making buttloads of money to waste their time.

      #include the appropriate pre-existing header files, and #include any code that you would normally call from a shared library.

      I'd love to hear your explanation on how to do that...

      But, the whole thing is pointless. Even if you did manage to write filesystem support for all the required filesystems and were able to #include the code from the shared libraries the operating system would still stop you the instant you tried to read or write directly to the disk.

    8. Re:Netcraft confirms... by Fred_A · · Score: 1
      ELF is one thing but what impact does the architecture have ?

      For example :
      fred@ix ~ $ file /usr/bin/file
      /usr/bin/file: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped
       
      0 fred@homefree ~ > file /usr/bin/file
      /usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
      Could an ELF virus theoretically infect both those binaries ?
      How about a PPC Linux machine ? Or a SPARC ?

      With the current example since it's apparently written is assembly, it's dubious... Maybe a Perl virus ? :)
      --

      May contain traces of nut.
      Made from the freshest electrons.
    9. Re:Netcraft confirms... by runderwo · · Score: 1
      You can't just load a program and start doing low level IO to ports.
      Actually you can, man iopl(3)
      You can't just bypass the MMU and paging system and write directly to physical memory.
      man mlock(2), and take a look at /dev/mem
      You can't just write directly to video memory.
      The X server is a user process, yet it does this (on behalf of video drivers as well as DGA applications). Ditto for svgalib (1.x).

      I think what you meant is that an unprivileged user process should not be able to do this. But it is easy to fool a user into giving the program excessive privileges (on modern desktop Unix, that would be through the use of sudo).

    10. Re:Netcraft confirms... by jlarocco · · Score: 1

      Sorry, I should've clarified. My intention was that you can't do that without system calls. Which is what the GP was implying should be done.

  3. I'll beat you to it.. by JavaLord · · Score: 4, Funny

    100 bi jokes to follow

    1. Re:I'll beat you to it.. by BobVila · · Score: 1

      "I am not an ambi-turner." --Zoolander

    2. Re:I'll beat you to it.. by zpeterz63 · · Score: 5, Funny

      I'm not so sure...it could go either way.

    3. Re:I'll beat you to it.. by TubeSteak · · Score: 1, Redundant

      99 bi jokes to follow..

      --
      [Fuck Beta]
      o0t!
    4. Re:I'll beat you to it.. by Anonymous Coward · · Score: 0

      brain: pinky, are you thinking what im thinking?

      pinky: yes brain, but if they are all having sex, who is taping it?

      brain: no you idiot, do you know how much 100 bi's are worth?

      pinky: ehh..

      brain: with that much money, we could by this new virus, then hold the world ramsum!

      pinky: but dident that bi stiff us the last time we tried that?

    5. Re:I'll beat you to it.. by RockWolf · · Score: 1

      Virus.Linux.Bi.a/Virus.Win32.Bi.a: screwing the best of both worlds.

      --
      February 9th, 2009 8:55pm: Slashdot becomes self-aware.
    6. Re:I'll beat you to it.. by Varun+Soundararajan · · Score: 1

      aah! now virus writers have come to platform porting job! eh!

  4. Not to worry by shaitand · · Score: 1, Interesting

    Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.

    1. Re:Not to worry by GrumblyStuff · · Score: 5, Funny

      Windows users are prepared for viruses...

      What bizarro Earth are you from?

    2. Re:Not to worry by Anonymous Coward · · Score: 0

      Well, deleting all your documents doesns't really seem "minimal".

      Sure, mom and pop won't have their harddrives erased, but losing all their photos is probably just as bad as far as they're concerned.

    3. Re:Not to worry by Rosco+P.+Coltrane · · Score: 5, Informative

      Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.

      Actually, you're quite wrong. Linux flaws have existed and are still found today that can be (and have been) taken advantage of. The reason Linux users don't sweat is because flaws are spotted quickly by many people who read the code, and fixed quickly too. That and people who code open-source tend to produce good code, as a matter of pride.

      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    4. Re:Not to worry by Anonymous Coward · · Score: 1, Informative

      On windows, most people (at least, home users) are sitting on admin, most people on linux use this account only for configuration etc.

      On root account in *nix, u can do anything with computer.
      In windows, this is the same.

      Of course, there are bugs (smth like gaining ring0 from user etc) - but they exist on all systems, even bsd sometimes...

      Why *nix virus ale such rare?
      -these systems are less popular at home
      -these systems are used by more experienced user (eg. not clicking on NakedPamela.exe wchich arrived from 235gdsfge4@235cs.com ...)

      The basic action of virus - infecting a files - can be done in all systems.
      If virus doing that thing will be run on linux, on user account-it will infect all files with write permisions (/home/user ?). Same on windows.

      But if u ran it from admin/root account...

      The biggest weapon against such thins is to use brain... os is less important (of course if u dont run 9x...).

    5. Re:Not to worry by sbrown123 · · Score: 2, Informative

      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.

      Actually most people run with the version of Windows that came installed on their computer. And these accounts are, from the best of my knowledge, always Admin.

    6. Re:Not to worry by sedyn · · Score: 1

      I think he meant that Windows users are "expecting" them.

      --
      Am I open minded towards open source, or closed minded towards closed source?
    7. Re:Not to worry by GrumblyStuff · · Score: 2, Funny

      Sure they are. Here's the link.

      H4WT P1CS V1RU5 PR0T3CTION CLICK H3RE

    8. Re:Not to worry by halcyon1234 · · Score: 2, Informative
      Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.

      Yes and no. It isn't so much that Linux is a more secure operating system (an argument I won't touch with a 1010 foot pole). It is more that Linux is a more diverse operating system.

      If I run Windows XP (perish the thought), and 1000 other people run Windows XP, we are all running the same operating system. Except for a patch or two, we are running the same code with the same holes. A virus that hits one hits us all.

      Now, if I run Linux, and 1000 other people run Linux-- well, we aren't all running exactly the same OS. Red Hat, SuSe, live CDs, home brews-- each and every one is slightly different. Top that off with different modules, services, etc running-- and you effectivly have a large number of different operating systems. If a malware exists that uses an explot to propogate, chances are that it isn't going to hit all 1000 of us.

      And yes, I know there's a distinction between a virus, a trojan horse, and a worm. But for the sake of argument, the malware I'm talking about is self-propogating and self-executing in some way. Anyone can write a shell script that does rm -rf / and trick at least a couple people into running it.

      The real vector that should be a concern for Linux users are cross-platform shares. Let's say you make your Linux box as secure as possible. No holes in any of the services, etc. Well, if you are on a mixed-OS network, and you Samba a Windows drive that is infected-- then you run the risk of being infected. Linux is just as vulnerable as Windows to malware once it has already been executed. So it is much easier to buffer overload the Windows box, and hope the virus gets Samba'd over to a Linux box.

      Either that, or we all unplug from the net, power down, and encase our boxes in cement. 100% virus protection (though it would classify as a denial of service...)

    9. Re:Not to worry by RzUpAnmsCwrds · · Score: 4, Insightful

      it is because system design makes their impact minimal

      Deleting everything in my home directory is anything but minimal.

      Potentially exploting local privilage elevation exploits to get root is anything but minimal.

      Infecting software after it has been compiled is anything but minimal.

      Using social engineering to get root is anything but minimal. How many users do you know who would enter their superuser password to "get free screensavers"? Too many.

      Pretending that you're protected by design to the problem indicates that you don't understand how viruses really work. Guess what? You can run as a non-root user in Windows, too. But you can still do a ton of damage as a normal user. Spam relays and DDOs botnets don't need root access, just the ability to send data over the network. How about modifying your GNOME or KDE menu to point to a fake terminal entry or fake admin tools? How do you know that the "gnome-terminal-emulator" you're now typing your password into (through sudo) isn't actually stealing it?

      This is the real world. Attackers are smart, they are motivated by profit (because of the spambot racket), and they have plenty of time to find the next buffer overrun.

    10. Re:Not to worry by shaitand · · Score: 1

      Doubtful, losing docs just means replacing them. Nowdays even mom and pop have some form of backup, even if it is just photo cd's. Losing the system means money. Either a new computer (if they do not have a tech they call) or calling a tech and paying him $65+/hr to fix their system for them.

      As for users more informed than mom and pop, they have routine backups of their home directory at a minimum. They may or may not have backups of their tweaked configs.

    11. Re:Not to worry by Anonymous Coward · · Score: 0

      Actually its more that the vast majority of windows users barely have a clue as to how to load a CD much less setup firewalls and keep patched up. People who use Linux are either computer savy to set it up right or they had somebody who is computer savy set it up for them.

      If a pop up came up asking for admin priviliges to do something the average user will tell it okay and enter in their password no questions asked. This is Windows biggest weakness... their target audiance. If there was only skilled users then windows computers wouldn't have such a range of problems. I know I've fended off a lot of stuff from my network just through configuring stuff properly with only one or two incidents (and of course it was the idiots with full access through the firewalls clicking on stuff)

    12. Re:Not to worry by squiggleslash · · Score: 1
      "Mom and Pop" back up every photo they get from their camera onto a freshly burnt photo CD? All (or most) "more informed" users run routine backups?

      I'd love to live on your planet!

      --
      You are not alone. This is not normal. None of this is normal.
    13. Re:Not to worry by Creepy · · Score: 3, Insightful

      Yeah, but even people that know about the "normal" user accounts quickly discover that almost all software written for windows doesn't handle non-admin accounts well. Ever try to install a program just in user space on Windows? If it works at all, you're lucky, and that isn't even scratching the surface of the problems. Got a network password? You can't just switch users to admin (like Linux) or use a sudo password (like Mac) - no, you need to log completely off of your user, then log on as the admin user, install the program, and log off as admin, then log back in as your regular user. Do you have any idea what a MASSIVE pain in the ass that is, especially when I have 20-30 windows open (many are Exceed based X sessions) and am trying to get work done? After 2 months of that and multiple programs that plain wouldn't work if they weren't running as an admin user, I switched back to running exclusively as an admin on Windows.

    14. Re:Not to worry by shaitand · · Score: 2, Informative

      "Actually, you're quite wrong. Linux flaws have existed and are still found today that can be (and have been) taken advantage of."

      Actually that is pretty much in line with what I have said and does not make me wrong at all.

      The system design and development model has led to two things, a shortage of privilage escalation flaws (flaws isn't good enough, they have to allow a user account to gain root under conditions the virus can create) and a short lifespan of any such flaws that exist.

      Open source development leads to faster fixes, almost nobody argues this point anymore who is not pushing an agenda. Linux systems are far easier to keep up to date since they are almost entirely open source and free (speech+beer). The result are mechanisms like 'apt-get update; apt-get upgrade' that will update every piece of software on the system, whether os, 3rd party service, or text editor.

      This and a strong security model (execute capability must be explicitly enabled by a user who knows how to do it and has permission, default create masks do not make files executable)(users ACTUALLY can only impact files they are supposed to be able to impact). Make the spreading of viruses on linux a non-issue. Flaws are patched faster than the viruses spead, damage is limited to a single user directory and even then only the data created since the last backup. Most clueless users are unable to execute the virus file in the first place because they are unable to set permissions.

      grandchild.jpg.exe can never work on linux, period. You have to get the user to open a prompt cd to /home/granny/.email/files then chmod +X grandchild.jpg.exe, THEN ./grandchild.jpg.exe (in linux you have to create a launcher to execute a file in the gui, double-clicking will not work.

      "Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA,"

      lol, if you say so. I challenge you to browse porn sites for a couple hours using IE under a user account. You will be amazed to find that spyware has spread beyond the one profile every time.

    15. Re:Not to worry by clonmult · · Score: 1

      Thankfully I built all the PCs at home; apart from my profile, all the kids/wifes signons are user level. I set them as supervisor on the original setup, but it took me about, er, half an hour, to realise that wasn't too good an idea.

      In fact, the first win2k build I did on one of these PCs, I stupidly let it onto the net without A/V or a firewall. That only took about 5 to 10 minutes to get slightly compromised, 1 hour and it was pretty much fubar, but thats not exactly news.

    16. Re:Not to worry by shaitand · · Score: 1

      Yup, mom and pop take the card from their digital camera to walgreens, or cvs, or walmart, etc who then print them out on photo paper and give them a complementary photo cd in place of a negative.

      You didn't think mom and pop actually manipulate photos on their computer do you? If they are that advanced then yes, they back up their photos.

    17. Re:Not to worry by Anonymous Coward · · Score: 1, Insightful

      Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.

      Actually, you're quite wrong.


      Actually, he is not.

      The design of Linux is simply much better when it comes to security. If (when) a vulnerability is discovered in Linux, the inherent design of Linux usually limits what an exploit can do. Key among all of these is that very, very few things require escalation to system priviliges to work. Most things run in user mode and are fenced off from critical system resources by that very fact. In general, without root access, whatever damage may be done is less than that possible with a Windows exploit.

      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.

      and the reason it is only a "safer" operating mode? Because so many silly things are wrapped into the OS that even user mode programs need to escalate to system priviliges to do the simplest things. There are a thousand places where you know that an exploit in that area will automatically give you system priviliges! By design, Windows is less secure. Microsoft is making strides (baby steps?) in this area now, but they are discussing and dealing with things that *nix designers dealt with 20 years ago.

      I keep hearing the assertion that Linux is just as vulnerable as Windows in regards to viruses. By design, this simply is not true!

    18. Re:Not to worry by Anonymous Coward · · Score: 0

      -
      You can't just switch users to admin (like Linux) or use a sudo password (like Mac) - no, you need to log completely off of your user, then log on as the admin user, install the program, and log off as admin, then log back in as your regular user.
      --

      WTF?!?
      "Run As..?"

      I do run as a normal user with the secondary login service running, and this comment doesn't make sense.

    19. Re:Not to worry by ben+there... · · Score: 0

      The account that is setup by default is Admin, but it only takes a quick trip to the Users control panel to add another (limited-access) user.

      That said, most Windows users don't know even how to do that.

    20. Re:Not to worry by squiggleslash · · Score: 1
      The lack of market share makes a big difference too. Ignoring the (generally true) presumption that most virus writers aren't going to target an OS whose users are by far in the minority, there's also this to consider (shamelessly plaguarised from some guy's journal I read. Wait, that was my journal. Just wait until I get my hands on myself.
      Here's a question. Suppose you have a biological virus that can only live inside of hosts that are human, male, that have blue eyes and black hair, and that are over 6 feet tall. Oh, and that particular targetted group happens to be fairly keen on regular visits to the doctor. Oh, and if it touches anyone not in that group, it doesn't actually spread from that person (even to the aforementioned six footers) but it causes a minor symptom that makes it obvious the virus is around. How well will it survive?

      I'm going to guess that that subset of the human population is probably greater than 3%, but I doubt that virus will work terribly well. Now, if you remove those conditions, and just, say, have it target anyone who's not in either that group or another group that also comprises about 3% of the population, then you have a great virus on your hands, even if this new group also regularly goes to the doctor and the virus shows up a benign, non-transmitting, symptom in the 6% of the population otherwise unaffected.

      That's the thing. In order for a Mac virus to spread, there have to be a lot of Macs in constant communication with one another. There aren't a lot of Macs, and by and large they live in a PC world. Mac owners probably communicate with a disproportionately large number of fellow Mac users, but the majority of email addresses in their address books are almost certainly still Windows users.

      If we go for the usual trick that PC virusses use to spread, and use the old standby of "I'll email myself to everyone in the victim's address book", then 97% of those receiving the virus will contact the victim and say "I got that email you sent me, but the attachment will not open. What's the deal with that?", and suddenly the game's up.

      Ok, I was talking about Mac virusses. The principle still applies though.

      I'm not arguing that either the Mac or GNU/Linux are less secure than Windows (though the latter is a gray concept. Less secure than which Windows? And what's the deal with the IE/ActiveX integration thing?); but there are a variety of reasons why they're proving to be more secure in practice, and a lack of market share is definitely one of them.

      Which actually makes the virus under discussion a little scary. Not that it's particularly bad by itself (I think it'll fizzle), it's more that virus writers appear to be adapting. You certainly can get more infections if you target multiple platforms, as long as you do so correctly, and each instance is as likely to cause an infection on the target platform as the best virus would on a platform it was written solely for.

      --
      You are not alone. This is not normal. None of this is normal.
    21. Re:Not to worry by blast3r · · Score: 1

      >linux viruses do not exist huh? Linux.Plupii Linux.Slapper.Worm Linux.Simile Linux.Backdoor.Kaiten just to name a few.

    22. Re:Not to worry by squiggleslash · · Score: 1
      That would work great if you got complementary photo CDs from Walgreens or CVS when you print digital photos from a memory card. Only you don't. CVS charges $2.99, IIRC, I'm not sure how much Walgreens charges. Pretty sure it's not free.

      And, of course, you're assuming they want to print all their photos.

      --
      You are not alone. This is not normal. None of this is normal.
    23. Re:Not to worry by SQLz · · Score: 1

      Linux users also don't open attachments in messages like: "Helo User! I find this new update for you! I hope you like!!! Plese OPEN OPEN PLEASE"

    24. Re:Not to worry by ben+there... · · Score: 1, Informative

      It is annoying, but not quite as annoying as you suggest. As the other poster said, Run As... works without logging out. You can also change shortcuts for badly-designed programs to "Run with different credentials" in the properties. But that still means you have to login each time you run the program, even if the program was intended to be a user program not a system one.

      The badly-designed programs usually try to store settings in a .ini file next to the program, which doesn't work if you can't write to that directory. If you have the Pro version of Windows, you can usually fix those by changing your permissions for that directory as well.

    25. Re:Not to worry by LightCecil · · Score: 2, Informative

      I do it all the time in windows. this is an XP-only solution, but meta-l-s or logout/switch user leaves your windows untouched to open an admin account. And if that's too much work, there's a 'Run As' box that (on my system) automatically appears when something that requires admin powers to install is run. Not to mention you can also do something like I do, install it in a folder with it's ACL set to child inheritance and rwx for your user account, which doesn't even require admin power to install in.

      So it's not as hard as you make it out to be, but requires a little bit more setup.

    26. Re:Not to worry by deadlinegrunt · · Score: 1

      "The reason Linux users don't sweat is because flaws are spotted quickly by many people who read the code, and fixed quickly too."

      It leads me to assume as though you are implying that "Linux users" as a whole also UPDATE patched software compared to Windows users which I have a hard time believing personally. I am NOT implying however that Linux users are worse at maintaining updates than Windows users...It would be interesting to know a factual study since many Linux distros as well as Windows provide an almost brain-dead background process of updating a system for you.

      --
      BSD is designed. Linux is grown. C++ libs
    27. Re:Not to worry by shaitand · · Score: 1

      "Of course, there are bugs (smth like gaining ring0 from user etc) - but they exist on all systems"

      Yes. But they exist at all times on windows systems. At the present moment there are none I am aware of on linux systems. If there were, they would probably be patched by tomorrow. I am not aware of any zero day exploits for linux. I can log onto a user account under windows and browse porn for a couple hours and see spyware that has infected the browser under every profile, right now with a fully patched XP. The same has been true since the release of the OS.

      "Why *nix virus ale such rare?
      -these systems are less popular at home
      -these systems are used by more experienced user (eg. not clicking on NakedPamela.exe wchich arrived from 235gdsfge4@235cs.com ...)"

      I would argue that this has more to do with system design than the competence of the user. First, if you extrapolate the number of infections based on the ratio to users you will find that linux is still far far below what windows sees. This can be seen in a comparison with OSX as well, despite the fact that OSX has had far more 0-days than linux.

      In linux clicking nakedpamela.exe would not result in the file executing. Not just from a mail client, but from anywhere. Under linux a file permission is required to make a file executable. Not merely an extension. And by default NO file is executable. Even if one intended to make one executable the user has to either change the permission from the cli and launch it or the user has to right-click and change the permissions under properties, then create a launcher (executables can not be launched directly in a typical linux gui and require a launcher shortcut be made). If a user has gained enough linux knowledge to come this far, and is still stupid enough to launch nakedpamela.exe they deserve what they get and probably won't admit it happened anyway. ;)

      "If virus doing that thing will be run on linux, on user account-it will infect all files with write permisions (/home/user ?)."

      Yup.

      "Same on windows."

      Execept on windows it will escalate privs first, then infect files. Then it will proceed into worm mode (lets be honest, we are talking about the full class of programs grouped under viruses here, including worms, not just mere viruses) where it spreads via the latest remote exploit.

    28. Re:Not to worry by deadlinegrunt · · Score: 1

      submit != preview
      (D'oh!)

      I meant to add that Linux users probably due more updating of software than any OS around since it "grows" so rapidly due to the model of development, choice, freedoms, etc. I was inferring that the updates are being done because of security breaches alone, which I don't think is the case.

      --
      BSD is designed. Linux is grown. C++ libs
    29. Re:Not to worry by mjjw · · Score: 1
      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.


      Yes its a shame. I even know some Linux admins who use root a lot more than they should because 'it is easier'. Windows admins and home users should get into the habit of using Run as when necessary and taking charge of their own security a bit more.

      Also MS should make XP create two accounts - the Admin and a normal user account by default.
      --
      If you aren't far left by the age of 18 you have no heart. If you aren't far right by 30 you have no brain.
    30. Re:Not to worry by Anonymous Coward · · Score: 0

      You obviously don't have a clue how to run windows effectively as a normal user.

      When you want to install a program, try right clicking the icon and going to "Run As.."
      Most issues can be fixed after installing the program by making the directory under the Program Files directory "modify" to the user. (Software developers: Learn to save options in the user's directory instead of the program files directory!!)

      I have yet to find a program that won't run as a normal user. I have been running this way for several years.

    31. Re:Not to worry by todd10k · · Score: 1

      Mod up, totally under-rated. if only i had mod points.

    32. Re:Not to worry by Reo+Strong · · Score: 3, Informative
      Evern heard about the runas command? It is also known as Secondary Logon.

      Remember, just because you don't know how to use it, it doesn't mean that the tool isn't there for you to use.

      --
      "Never attribute to malice that which can be adequately explained by stupidity." -Anon.
    33. Re:Not to worry by cagle_.25 · · Score: 1
      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.

      Except for those of us who spent years on Unix boxes and thought that setting up user accounts was the natural way to configure WinXP...

      --
      Human being (n.): A genetically human, genetically distinct, functioning organism.
    34. Re:Not to worry by Jedi+Alec · · Score: 1

      what on earth are you going on about? There's a button called "log off" in the start menu, which gives one the choice between, guess what, logging off OR switching to another user. I can jump into the admin account, do my thing, and jump right back. Now, granted, sudo beats that hands down, but you just completely buried that plain and simply fact under a metric ton of manure.

      --

      People replying to my sig annoy me. That's why I change it all the time.
    35. Re:Not to worry by shaitand · · Score: 1

      "is not because linux viruses do not exist"

      Learning to read is good. Nobody said linux viruses do not exist. Although to the best of my knowledge NONE of those listed can actually infect a modern linux system.

    36. Re:Not to worry by shaitand · · Score: 1

      Walmart is free, not sure about the others.

      "And, of course, you're assuming they want to print all their photos."

      And of course, you are assuming they know how to do anything else. It is not that mom and pops wouldn't use their computers for photos, it is that they are not technically capable to do so. Even they could figure it out, they are too afraid to try.

    37. Re:Not to worry by Liam+Slider · · Score: 1

      Plus....open isn't the same as execute on Linux systems.

    38. Re:Not to worry by improfane · · Score: 1

      So True! Distrobutions are like humans,they are diverse, it is difficult for a disease to wipe everybody out in one strike. They don't like eachother either ;)

      --
      Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
    39. Re:Not to worry by drinkypoo · · Score: 1

      Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA, so everybody stays in supervisor mode and bad things happen.

      It's not just that it's a PITA, it's that by the time you configured system security to the point where your apps would work in the user context, you've created enough holes to where it doesn't matter any more.

      Anyway, I haven't been infected by a virus in ages, yet I run as Administrator at all times - I just don't open suspicious payloads, I don't visit a bunch of kooky websites, and I don't use internet exploder. Sure, we had that Shell vulnerability, and the WMF backdoor, but odds were very much against my getting hit by either one and it never happened. Well, as far as I know :)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    40. Re:Not to worry by blast3r · · Score: 1

      TGIF is all i have to say. :) too tired to be playing /. today i guess.

    41. Re:Not to worry by colin_young · · Score: 2, Funny

      I believe the parent is correct. e.g. the chicken is prepared for the oven...

    42. Re:Not to worry by Anonymous Coward · · Score: 0
      The requested URL (http;%5C%5Cwww.garblygunkrandomURLnumber098305930 .net) was not found.

      If you feel like it, mail the url, and where ya came from to pater@slashdot.org.


      For the record, I'm using WinXP SP2 with FF 1.5.0.1 as my browser of choice.
    43. Re:Not to worry by andreyw · · Score: 3, Interesting

      The problem isn't that it isn't there. The problem is that you need to do something to make use of it. On OS X, if there is some task that needs admin access, I get prompted accordingly. With windows, such functionality is only available in certain control panel applets.

    44. Re:Not to worry by Anonymous Coward · · Score: 0

      Of course this post will scarcely be read because I'm not interested in setting up a Slashdot account (so I appear as AC) and I'm defending Windows, which automatically gives me at least -1.

      I just want to say that anybody that thinks running as User (or even Power User, if you must) and using RunAs is a pain in the ass has not even tried it seriously. I run this way 24/7 on all my servers, workstations, and even my personal laptop. Why am I in the minority of thinking this way? I have to type a username and password when I want to install an app? OH THE HORROR! Not to mention that at some point (perhaps some service pack?) XP has started asking if you want to run programs it detects as setup programs in a higher priveleged account. My gosh, now you don't even have to right-click RunAs anymore! How is this harder than "su?"

      Now I can see the average every day dumb user thinking that having to supply credentials to do admin-y things a pain, but anybody with even the slightest amount of geekiness should find this to be second nature, no matter what platform they are on!

      The only limitation is if you install a bunch of "silly" software like task tray weather applets and whatnot. Those suckers always want Admin because they want to spy on your system or simply because the developers did not spend a lot of time coding to respect security since they are giving it away and trying to rake in ad revenue or whatever.

      In the *nix world, you'd be dragged out onto the street and shot if a silly dumb desktop app required root to run!

      However, despite that one problem with certain 3rd party application developers, Windows can BE secure, if you have half a brain! Personally, if an app requires Admin to run, I don't run that app. I haven't found any product that didn't have a more secure competitor.

      ** Here's hoping that the average user does not disable the new security features in Vista because they think typing in a password to change a system setting is a pain in the ass. **

    45. Re:Not to worry by LnxAddct · · Score: 1

      In addition, many linux users are well informed, but more importantly are prepared and take precautions. Take for instance Fedora Core. It comes with SELinux and some really nice default policies, as well as a basic policy editor with a gui. I mean SELinux, while improperly configured can really screw things up, properly configured will make root access pointless to a hacker who may have exploited some service that shouldn't have been running as root. Services shouldn't be running as root in the first place, and I can't think of a distro that does that, but still SELinux can be applied to many areas and is very effective. In addition to that, Red Hat created and maintains exec-shield which marks data as executable/non-executable on any x86 CPU, prevents many common security exploits like buffer overflows, and randomizes the memory layout for mmap(). (It does other things, but that's the gist of it) Red Hat also has contributed quite a few security related patches to GCC (in addition to their other work on GCC), that protect against buffer overflows and other common exploits. On a modern linux system, taking advantage of an exploit from an external location is *near* impossible, even if you get access to memory, with randomized memory layouts you'll have no idea where in memory you are making it essentially useless. If you did somehow take advantage of an exploit in a running service or something, a properly configured SELinux policy will make your access more or less worthless in many cases. Taking the additional step of mounting /home on a seperate partition and mounting the partition as no-exec will knock out just about any threat a system administrator, or home user, would have to deal with. At that point it comes down social engineering which simply requires an informed user. Even anti-virus software can't protect against that (it's not hard to convince a user to right-click the systray icon and click disable because "Your anti-virus software is incompatible with this screensaver installer and will need to be disabled while installing it") I guess the point I'm making is simply that a modern linux distro has defenses in place for future unknown attacks and venues of attack. In order to be infected, you'd need to be willing to install something as an administrator. The nice thing about most distros is that the installation of most applications is done through a package manager. If users or administrators were used to installing everything through package managers (like yum or apt), being asked to run an executable to install something would seem dumb. It just seems to me that linux, and FOSS in general, as you said is very security aware. Concerning ourselves over this stuff would be pointless (assuming we remain proactive).
      Regards,
      Steve

    46. Re:Not to worry by Anonymous Coward · · Score: 0

      YOU should learn to spell three-letter words, or else YOU should stop attempting to communicate in writing.

    47. Re:Not to worry by rilister · · Score: 1

      Good point. Y'know, I'm such a dork I've been running my laptop with WinXP from user mode for more than 3 years. It's absolute hell. It took me two years to figure out how to change the power settings without logging in as admin, changing user to power user, logging in the user, changing the settings, then going through the whole process again to switch permissions back. aaaRRGGGHH!

      If I didn't read Slashdot, life would be so much easier....

      --
      'This writing business. Pencils and what-not. Over-rated if you ask me. Silly stuff. Nothing in it' - Eeyore
    48. Re:Not to worry by drinkypoo · · Score: 2, Informative

      I just want to say that anybody that thinks running as User (or even Power User, if you must) and using RunAs is a pain in the ass has not even tried it seriously.

      Well, I'm reading your post, and if it doesn't get attention it's not because you're a coward, it's because you're an idiot.

      RunAs DOES NOT WORK. Oh, it works sometimes, but any process spawned from your installer will run as the user, not the RunAs user as which the installer is running. This is because of a conscious design decision in Windows which is different from every other operating system I've ever used. In order to spawn a process as the RunAs user, you must manually look up the user that the process was spawned as, and use an entirely different function call which takes a user (probably a SID) as an argument. This means that when you start an installer with a 16 bit stub, which is still distressingly common even today, the install will run as you, not the user you entered in the RunAs window.

      If YOU had really done a thorough examination, you'd know this already. Shill.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    49. Re:Not to worry by jdeluise · · Score: 1

      Unfortunately you cannot do this when you using Active Directory... Fast User Switching is not allowed in this context. This is a serious PITA, but I imagine it's for security reasons.

    50. Re:Not to worry by Anonymous Coward · · Score: 0

      Run as works most of the time, but when installing a lot of programs, the profile never works right (since the app gets installed to the Admin profile) Many times I just have to make the user an admin temporarily to install the program then remove them when it's done.

    51. Re:Not to worry by Anonymous Coward · · Score: 0

      I'm not saying that Windows is secure unpatched, but Jesus Christ - 5-10 minutes?!

      1. Install Windows
      2. Install NIC Driver
      3. Browse Warez Sites (the best ones are two letter TLD's)
      4. Find Free Porn

    52. Re:Not to worry by SamAMac · · Score: 1

      Bull. Processes started by the installer process inherit the installer's process token. I run as non-admin and use runas to install things all of the time.

    53. Re:Not to worry by toadlife · · Score: 1

      "I do run as a normal user"

      Try the hack in my sig

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    54. Re:Not to worry by toadlife · · Score: 1

      "If you have the Pro version of Windows, you can usually fix those by changing your permissions for that directory as well."

      And if you have XP Home you can use ACLView.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    55. Re:Not to worry by toadlife · · Score: 1

      "when installing a lot of programs, the profile never works right (since the app gets installed to the Admin profile)"

      The little hack I advertise in my sig solves that issue. :)

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    56. Re:Not to worry by Anonymous Coward · · Score: 0

      Not my cousin doesn't. She didn't want to let me install Linux on her box, but I sure as hell made sure she wasn't installing just any crap on it. So her Windows runs in user mode and it requires you "running the program as" admin to get things done. She hasn't bugged me because of viruses since. She's also enjoying the wonders of "Clamwin AV + Winpooch Watchdog" combo. So yes, some Windows users do use the Usermode. Even if they didn't know what it was all about. All they need is a family member or friend who does NOT use Windows :).

      P.S.
      Slashdot has a pretty good word image obfuscator. It's getting pretty darn hard to read the word that one is supposed to type in. I wonder if OCR capable bots are able to decipher them. I guess not since I'm getting a low accuracy " unaided".

    57. Re:Not to worry by drinkypoo · · Score: 1
      The only time that will work properly is if it doesn't have to start another process during the install. Most operations are handled properly by installshield. And, of course, if it's an MSI file, then we don't have this problem anyway, but a lot of people persist in using installshield for some reason.

      Go look at the documentation on MSDN, note that there are two separate functions for spawning processes, one of which always uses the user context, and one of which requires that you specify a context. After I had three different installations fail to RunAs properly, I stopped trying to run as a normal User. I'm just not dealing with the hassle and I'm smart enough not to get jacked.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    58. Re:Not to worry by Criterion · · Score: 1

      The latests stats I remember reading are an average of 4 mins to compromise an unprotected windows machine if it's on the net. No, you don't have to go to warez sites. No, you don't have to go to porn sites. All you have to do is have the machine turned on and online. That's it. That's why I wait till after I have any clients machines patched and prepared as well as I can before I ever plug in the network.

      --
      We have enough youth, how about a fountain of SMART?
    59. Re:Not to worry by value_added · · Score: 1

      RunAs DOES NOT WORK. Oh, it works sometimes, but any process spawned from your installer will run as the user, not the RunAs user as which the installer is running. This is because of a conscious design decision in Windows which is different from every other operating system I've ever used.

      IIRC, to the degree runas does work or is useful, it's not scriptable to any useful degree. I'd recommend to everyone to give up on running as a user with limited credentials, messing with default permissions, or resorting to such hacks and use Windows the way it was meant to be used. What I do when I first boot up in the morning is enter

      at [time] /interactive cmd

      (where 'time' is a minute from the current time in 24hr format) when I boot up, and just run as SYSTEM.

      That way, everything seems to Just Work(tm).

    60. Re:Not to worry by LordEd · · Score: 1
      I tried the same thing page with IE6 and got the same info:

      The requested URL (http;%5C%5Cwww.garblygunkrandomURLnumber098305930 .net) was not found.

      If you feel like it, mail the url, and where ya came from to pater@slashdot.org.
    61. Re:Not to worry by kennygraham · · Score: 0
      all the kids/wifes signons are user level.

      Another situation where parenthesis would be useful. I read this as:

      (all the (kids/wifes))
    62. Re:Not to worry by Anonymous Coward · · Score: 1, Insightful

      it is because system design makes their impact minimal

      I believe you are slapping the parent while what he says is true. Let's take this one by one:

      Deleting everything in my home directory is anything but minimal. Granted. While even on Windows systems this is not normally what they will do, it is a bad possibility. Potentially exploting local privilage elevation exploits to get root is anything but minimal.

      True. What vulnerability though? Will it exploit something common on all linux systems, or something a percent of linux users will have on their systems. This is one way damage is minimized.

      Infecting software after it has been compiled is anything but minimal.

      It can infect only the software the user has write privilages to, ruling out most system apps like the terminal you mention later on.

      Using social engineering to get root is anything but minimal. How many users do you know who would enter their superuser password to "get free screensavers"? Too many.

      This is true. But there is no protection from this on any single user system where the admin is generally dumb. On a multiuser system, only the computer literate person knows the superuser password. Damage again minimized in this case. Same with windows, but using windows as a multiuser system is a PITA most times. Hopefully Vista will fix this.

      Guess what? You can run as a non-root user in Windows, too.

      But it is built to run as a 'root' user by default, making it a sitting duck. Hopefully Vista will fix this too.

      But you can still do a ton of damage as a normal user. Spam relays and DDOs botnets don't need root access, just the ability to send data over the network.

      True.

      How about modifying your GNOME or KDE menu to point to a fake terminal entry or fake admin tools? How do you know that the "gnome-terminal-emulator" you're now typing your password into (through sudo) isn't actually stealing it?

      Altering the actual binary is not a question as pointed out above, unless it has found a way to escalate to root already, in which case this step you are describing is not needed. The case of a fake terminal is odd. Which terminal is it gonna emulate? Aterm? Rxvt? Xterm? XFTerm4? Why specifically gnome-terminal-emulator? This is going to ring alot of bells for someone not using gnome-terminal. Compare that to a windows virus that would only need to emulate a DOS Prompt. Again, damage minimized.

      This is the real world. Attackers are smart, they are motivated by profit (because of the spambot racket), and they have plenty of time to find the next buffer overrun.

      You are right, they are smart, they are evil, but linux is not the easy target windows is. First the better multiuser design and the philosophy in designing applications and secondly the diversity of linux systems. There is no way someone can design a winner-takes-all piece of malware for this platform easily, unless a serious hole is found on a critical part of the system. In which case you then have the fast patching of OS that will minimize the lifespan of such a threat even further. Summing it up: You are right that no system is invulnerable to malware, but I think parent is also right that linux 'makes their impact minimal'...

    63. Re:Not to worry by cortana · · Score: 1

      It's not that difficult. You could send someone an inocuous.desktop file that, when saved, appears as hotgrits.jpg with the correct icon for a JPEG image. When the user double-clicks the file,the shell script in the .desktop file's Exec field is executed, which can do whatever it wants.

    64. Re:Not to worry by Anonymous Coward · · Score: 0

      I'm Bizarro Stormy!

    65. Re:Not to worry by drsmithy · · Score: 1
      Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.

      s/system design/user behaviour/

    66. Re:Not to worry by drsmithy · · Score: 1

      The system design and development model has led to two things, a shortage of privilage escalation flaws (flaws isn't good enough, they have to allow a user account to gain root under conditions the virus can create) and a short lifespan of any such flaws that exist.

      Very few pieces of malware need elevated privileges to do their "job".

      grandchild.jpg.exe can never work on linux, period. You have to get the user to open a prompt cd to /home/granny/.email/files then chmod +X grandchild.jpg.exe, THEN ./grandchild.jpg.exe (in linux you have to create a launcher to execute a file in the gui, double-clicking will not work.

      Users are happy to open password protected zipfiles to get at the empty promise of porn, viagra and free iPods, and you think a simple command like "chmod u+x file" is going to slow them down ?

    67. Re:Not to worry by Anonymous Coward · · Score: 0
      Barring the social engineering aspect, I think you're blowing smoke. Windows is less secure than any Unix variant due the fundamental design decisions made years ago and Unix/Linux developers' commitment to security as opposed to Microsoft's apparent placement of the almighty dollar above security.

      You'll probably say I'm wrong, claiming such reasons as user-base quality and quantity. But until a widespread virus outbreak occurs on Linux, you have no real-world evidence. On the other hand, there are mounds and mounds of evidence condemning MS Windows. All of the "theoretical" arguments in the world can't falsify the basic reality.

    68. Re:Not to worry by mrsbrisby · · Score: 2, Insightful

      Deleting everything in my home directory is anything but minimal.

      Compared to deleting your entire system?

      Nevertheless, why do you run at a privilege level that can delete everything in your home directory? Is it so you can delete _a_ file that you make it possible to delete _any_ file?

      This isn't necessary; I regularly run applications with split privilege levels. My "main" account and my "run" account are in the same group. If I need to edit a file, my vi-wrapper gives group-write permissions to the file I'm editing and then drops privileges. Once the vi-wrapper exits, group-write permissions are removed.

      The web browser runs as another user- so while I suppose a "virus" could knock out my bookmarks, I actually publish those over the network (so I can share them with my laptop).

      My email client uses rsync to download my email. The client itself runs at a reduced privilege. Worst case scenario is that a malicious virus could delete the flags I put on messages so I might forget which ones I replied to (but only on the most recent ones- because I archive my email into files that have been chattr+i.

      All in all, this system that I use is fairly immune to viruses. I'm sorry yours is not, but at least you have the ability to make it so on a Unixish system.

      You simply don't on a Windows system.

      Spam relays and DDOs botnets don't need root access, just the ability to send data over the network

      No. They need to do something normal programs on my system do not. The only UDP traffic I generate is DNS traffic, so I suppose they could DOS my dnscache- it just happens to be running on the same machine. Using iptables is easy with owner-matching, and it protects against this very thing.

      Meanwhile, my email is sent using serialmail. I'd notice immediately if when I went to send messages, there were an awful lot of them. Other people would to. Why don't you?

      How about modifying your GNOME or KDE menu to point to a fake terminal entry or fake admin tools?

      Regular users rarely install programs, and I never do. I don't give my run account the ability to modify my menus. It simply can't happen.

      Windows lacks "setuid", so it makes my security measures impossible.

      How do you know that the "gnome-terminal-emulator" you're now typing your password into (through sudo) isn't actually stealing it?

      It's called a SAK. And I don't switch to a more privileged user without it.

    69. Re:Not to worry by paving-slab · · Score: 1
      Whilst I agree with most of your post, I don't understand what you mean when you say

      ...executables can not be launched directly in a typical linux gui and require a launcher shortcut be made...

      If, while using Konqueror, I click on a binary in /usr/bin, e.g. XMMS, it will launch XMMS.

    70. Re:Not to worry by toadlife · · Score: 1

      "the inherent design of Linux usually limits what an exploit can do."

      You mean like the inherent ability of program to install a keylogger in X without root priviledges?

      "Because so many silly things are wrapped into the OS that even user mode programs need to escalate to system priviliges to do the simplest things."

      Nice argument. It would be better if it weren't complete bullshit.

      "There are a thousand places where you know that an exploit in that area will automatically give you system priviliges!"

      Name one - and please talk with your mouth instead of your ass this time.

      P.S. whomever modded the parent insightful - stop moderating please. You are modding up idiots.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    71. Re:Not to worry by kz45 · · Score: 1

      Yes. But they exist at all times on windows systems. At the present moment there are none I am aware of on linux systems. If there were, they would probably be patched by tomorrow. I am not aware of any zero day exploits for linux. I can log onto a user account under windows and browse porn for a couple hours and see spyware that has infected the browser under every profile, right now with a fully patched XP. The same has been true since the release of the OS.

      and what is the motivation behind spyware? to make money
      why infect windows? because 90% of the people visiting the site will be running a windows variant.

      There is no motivation to create spyware, worms, or viruses for linux/*nix. Yes, windows has many security issues, but this does not mean linux is any better.

      If Linux had 90% desktop marketshare, we would start seeing worms, exploits, and spyware written for it. This is because the average user will click on a link that says "click here to see naked women", even though it may be an executable file that may install malicious programs.

    72. Re:Not to worry by einhverfr · · Score: 1

      Your URL is screwed up. It should be:

      http://www.garblygunkrandomurlnumber098305930.net/

      --

      LedgerSMB: Open source Accounting/ERP
    73. Re:Not to worry by einhverfr · · Score: 1

      grandchild.jpg.exe can never work on linux, period.

      You are not worried about WINE installations that set up a default mime time for exe's that cause them to be opened by WINE?

      You too can be infected by Windows email worms even on Linux (x86 only).

      --

      LedgerSMB: Open source Accounting/ERP
    74. Re:Not to worry by einhverfr · · Score: 1

      Users are happy to open password protected zipfiles to get at the empty promise of porn, viagra and free iPods, and you think a simple command like "chmod u+x file" is going to slow them down ?

      At least that will only happen to each user a maximum of once. After all, one would quickly learn why zip files should not need execute permissions ;-)

      Viruses are a bit different.

      When I worked at Microsoft, there was a manager in our department who had managed to get his workstation infected by nine viruses in three years. The day the loveletter worm came out, at 1am, we got an email from him saying not to open any emails from him.... One would almost think he went out of his way to get the viruses.

      --

      LedgerSMB: Open source Accounting/ERP
    75. Re:Not to worry by Anonymous Coward · · Score: 0

      It's nice to know that you have lots of nice steps you have taken to protect yourself from malware, but most people wouldn't use them, they won't help anyway, and split privileges are available on Windows.

      It's one thing for you to write a wrapper that chmods a file, runs vi, then chmods it back. But it's another to tell your mother that she can't edit files in her word processing program without giving her word processor write access, or telling her that she can't edit files she's opened with the File menu.

      Anyway, all it takes is one buffer overflow bug in a standard library (say, gzip or a JPEG decoder) to let malware start up (i.e. spawn a mail or DDoS bot) which will be running until you log out, restart, or kill the process. Then all it takes is one local privilege escalation bug to let the malware install a rootkit, propogate like a virus, or just delete all the files in your home directory. BTW, if you think that iptables will prevent the spambot from communicating over the internet, all it has to do is debug a process (e.g. firefox) that has access rights and inject its payload there.

      And unfortunately, setuid is possibly the biggest security holes that Unix has ever had. Every setuid program is a privilege escalation attack waiting to happen. If you can't control a pre-existing setuid program, you can always just set some bits on a filesystem to create one.

      But since setuid programs will run as a given user without typing in a password, they are useless for security. The only thing stopping malware from running your vi-wrapper for each file in your home directory before deleting it is that nobody else knows about it (security through obscurity). If everybody did that, there would be a standardized way to do it, and malware would be able to trivially take advantage of it.

      Of course, Windows allows you to easily run with lowered privileges. In Vista, IE will run this way automatically, but you can easily do this in XP as well. Just create a shortcut and click "Run with different credentials" on the Advanced dialog. Then when you run the shortcut you have the option of either running with a restricted token (limited filesystem access, read-only registry access, no privileges) or as another user. If you wish to run as another user, you have to enter the password so that attacks cannot be automated. A program called DropMyRights is especially good for this. See http://msdn.microsoft.com/security/securecode/colu mns/default.aspx?pull=/library/en-us/dncode/html/s ecure11152004.asp for source code and executable.

      It turns out that Windows has excellent security facilities, just very few programs use them, and many fail outright if they're used.

      Ultimately, the only thing you can really do to keep yourself safe is simply to exercise caution with what you download. I don't download suspicious programs or visit suspicious web sites, so I am fairly secure.

      dom

    76. Re:Not to worry by SanityInAnarchy · · Score: 1

      It's one thing for you to write a wrapper that chmods a file, runs vi, then chmods it back. But it's another to tell your mother

      And once the script is written, why does his mother need a new one? She can just use his.

      Anyway, all it takes is one buffer overflow bug in a standard library (say, gzip or a JPEG decoder)

      That's a rather large step up from one buffer overflow bug, anywhere. And yes, these are found from time to time, but it's insanely rare for something as simple, mature, and universal as gzip. It's one thing to have a short list of DLLs that have to be secure, it's another to say the entire system must be secure.

      Every setuid program is a privilege escalation attack waiting to happen.

      Funny, I don't see it. His were Bash programs on the order of 3-5 lines. Gain permissions, do something small, drop permissions even farther than the normal user to something like "Web browser user only".

      Maybe you meant they were a privelage reduction attack waiting to happen?

      If you can't control a pre-existing setuid program, you can always just set some bits on a filesystem to create one.

      You can only change the permissions of a file you own. Only root can change the owner of a file. So you can't just copy Bash, make it setuid, and make it owned by root.

      There's a difference between setuid and setuid root.

      But since setuid programs will run as a given user without typing in a password, they are useless for security.

      Not true. Your example is valid:

      The only thing stopping malware from running your vi-wrapper for each file in your home directory before deleting it is that nobody else knows about it (security through obscurity).

      Correctly done, it doesn't matter. My guess is, the "run" user has the rights to run his various setuid (up and down) scripts, nothing more. So yes, getting a hold of the run user would be extremely bad. But, I'm guessing the reason the run user is limited at all is to protect him from himself, from accidental rm -rf and such. Everything that actually does anything (and thus could be a starting point for malware) has no rights to really do anything it's not supposed to, just as he described.

      Of course, Windows allows you to easily run with lowered privileges.

      Yes, because Windows now attepmts to emulate the good ideas from Unix. Unfortunately...

      It turns out that Windows has excellent security facilities, just very few programs use them, and many fail outright if they're used. ...they have this ridiculous legacy of software built for systems from DOS through Windows 95, 98, ME... 98's security was a joke. The only concept of "multiple users" was to pretend to have a password prompt (that you could cancel out of) and to let you have your own wallpaper and themes. Woo hoo.

      So, we're admin by default. In 2006, programs are still being written to the 95 security model.

      However, even assuming Linux had that problem, we already have solutions: chroot, usermode linux, various security-related kernel patches can allow us to create an environment to run programs as root, and still not affect the rest of the system. Generally, the flexibility and transparent-ness of the system and most applications allow people to make it as secure as they want, even though it's arguably more than secure enough out of the box.

      And... I'm sorry, but "DropMyRights" seems too much like a Freudian slip.

      --
      Don't thank God, thank a doctor!
    77. Re:Not to worry by shaitand · · Score: 3, Informative

      The marketshare argument has been made before again and again. Until Linux has a 90% desktop share this can not be tested. The best we can do is look to the other popular open source programs that do have a stronger marketshare.

      Apache is an excellent example, Apache is the market leader in a much more financially appealing segment than the desktop. Strangely it is Microsoft's underdog IIS program that suffers from exploits and worms.

      Remember the permissions model under linux does not allow you to simply click a link and execute code... not even local executable code.

    78. Re:Not to worry by Anonymous Coward · · Score: 0
      How about modifying your GNOME or KDE menu to point to a fake terminal entry or fake admin tools? How do you know that the "gnome-terminal-emulator" you're now typing your password into (through sudo) isn't actually stealing it?


      That's why you should set /home and everything users has write access to as nodev,noexec. If you're a developer and recompiles and runs new stuff all the time, set another account for that and create a directory somewhere else to use as a sandbox. Remember, su is your friend. Ideally, any piece of software that reads stuff from network should be running as another user, so that if any of them have some exploit, you won't get so screwed. That works OK on home machines, but I guess there's some other way to do this on work computers. If you're really paranoid, try some role based access control system and tune your ultra-paranoid settings.

      The point is, it's easier to set up a reasonably secure environment in Linux/*BSD/whatever open source OS you like. On Windows it usually is a pain in the ass, specially when lazy/stupid sysadmins set the default resolution to 800x600 and install lots of crappy search bars and other nasty stuff on IE.
    79. Re:Not to worry by Ragingguppy · · Score: 1

      What? Your suggesting giving normal users modify rights to the Program Files directory to normal users? Talk about a security hole there. Linux allows you to log as root in a seperate session while your still logged in as a regular user. This allows you to do what you need in a protected session without such security vulnerabilities to the file system. Linux also allows you to install programs in the regular User directory so you don't have to log in as root and the security wholes are limited to one user.

      Not knowing how to run programs in regular user mode fixes that security hole. Plus, most people don't know how to use regular user mode. Security is a mystery to them.

    80. Re:Not to worry by IamTheRealMike · · Score: 1
      Compared to deleting your entire system?

      Nobody cares about system files that can be replaced within hours. The important stuff generally does not require write access to do it.

      All in all, this system that I use is fairly immune to viruses. I'm sorry yours is not, but at least you have the ability to make it so on a Unixish system.

      Well done, you have bent over backwards to lower privileges. Most users won't, and so, this point doesn't really prove anything.

      You simply don't on a Windows system.

      Incorrect. Look at CoreLabs Core Force. What's that you say? Not many people know about CoreForce? No, well, not many people know how to do what you have done either.

      Regular users rarely install programs, and I never do.

      Often in security discussions I see lots of uninformed speculation as to what "regular users" do. Suffice it to say that "regular users" do install software in large enough numbers that simply ignoring the issue is not enough.

      Basically you've put together a badly hacked up version of what toolkits like SELinux, AppArmor or CoreForce give you in a much cleaner and more elegant way, which is commendable but not a route I'd recommend nor would I expect others to follow it. And don't get me started on trusted GUI paths. No consumer OS today gets this right - none. Just go read a usability study of trusted path systems to see what fun we're going to have integrating this into mainstream technology.

    81. Re:Not to worry by kz45 · · Score: 1

      Apache is an excellent example, Apache is the market leader in a much more financially appealing segment than the desktop. Strangely it is Microsoft's underdog IIS program that suffers from exploits and worms

      and by financially, if you are talking about spyware infections, there is no point in infecting a server with spyware.

      why don't we look at something like sendmail? It has had more exploits over the years than any other mailserver and is also open source and as popular as apache is in the webserver market.

      Remember the permissions model under linux does not allow you to simply click a link and execute code... not even local executable code

      that may be true, but even with no security flaws, there is still one major issue: the user that will download a file and execute it because they are told to..this is one of the major issues with windows.

      Microsoft may be behind with some security patches, but many are available before major worms can reak havoc on the internet. People just aren't keeping their systems up-to-date.

    82. Re:Not to worry by shaitand · · Score: 1

      "why don't we look at something like sendmail?"

      Because no sane administrator would recommend or implement sendmail when there are numerous other open source applications to replace it? Sendmail is a case where the community determined the entire design had to trashed and replaced with an entirely new solution. Only ancient unix installations (or new installations created by ancient admins) utilize sendmail. That would be like comparing the security of OSX or Ubuntu to that of win95a...

      "and by financially, if you are talking about spyware infections, there is no point in infecting a server with spyware."

      I had thought of bigger fish. Thousands of credit card details, corporate websites, spam bots, etc. Systems running apache are far more likely to yield information of value than a desktop system.

      "the user that will download a file and execute it"

      For the final time, a user CAN NOT simply download and execute a file under linux. A downloaded file is created with the default creation mask which will render it non-executable. A user would actually have to understand the permissions model and have a general idea how to run the system beyond clicking icons on his/her desktop to accomplish this. Further, users who would intentionally execute a file from email are few nowdays. Usually they are led to believe the file is not an executable.

      "Microsoft may be behind with some security patches, but many are available before major worms can reak havoc on the internet. People just aren't keeping their systems up-to-date."

      It is great that they catch some bugs before there is a proven 0-day exploit. Although I've seen alerts right on slashdot for at least 3 0-days in the past 60 days or so. It just tickles me the wrong way when I realize that every time the subject of windows security comes up there is something like that to point out. Perhaps last time it was not 0-day exploits, it was just remote execute holes, or script kiddy url spoofs but there is always something.

      I would never deny that with increased popularity there will be attacks on linux. Even without them, more exploits would be found and patched because with an increase in popularity, linux gains an increase in developers as well. But at this time there is no reason to believe that an innately more secure design like linux would be as easy to exploit as windows.

    83. Re:Not to worry by kz45 · · Score: 1

      Because no sane administrator would recommend or implement sendmail when there are numerous other open source applications to replace it? Sendmail is a case where the community determined the entire design had to trashed and replaced with an entirely new solution. Only ancient unix installations (or new installations created by ancient admins) utilize sendmail. That would be like comparing the security of OSX or Ubuntu to that of win95a...

      okay, when looking at iis 6.0, there are a lot less security issues than in any of their previous versions.

      http://msmvps.com/blogs/bernard/archive/2004/06/10 /7882.aspx

      For the final time, a user CAN NOT simply download and execute a file under linux. A downloaded file is created with the default creation mask which will render it non-executable. A user would actually have to understand the permissions model and have a general idea how to run the system beyond clicking icons on his/her desktop to accomplish this. Further, users who would intentionally execute a file from email are few nowdays. Usually they are led to believe the file is not an executable

      Even with the linux security model, there are still exploits and holes. If we took the average or inexperienced user out of the equation, windows would have a lot less issues. This is something we can't really see with linux (because the majority of users are somewhat experienced with computers), but is unfairy compared with windows when it comes to security.

      It just tickles me the wrong way when I realize that every time the subject of windows security comes up there is something like that to point out. Perhaps last time it was not 0-day exploits, it was just remote execute holes, or script kiddy url spoofs but there is always something.

      right. To point out that it is not always the fault of microsoft, but of the dumbass admins and users that don't update their systems.

      I would never deny that with increased popularity there will be attacks on linux. Even without them, more exploits would be found and patched because with an increase in popularity, linux gains an increase in developers as well. But at this time there is no reason to believe that an innately more secure design like linux would be as easy to exploit as windows.

      I'm not really sure about the developer increase. I think there are a lot less developers working on linux than you think. At the core level, there aren't a lot of people even experienced enough to add fixes or updates (maybe even less than the amount of engineers working at Microsoft).

      open source sounds great on paper, but in the end, 1% of the people getting the source are doing the work. The rest are just interested in it because of the price.

    84. Re:Not to worry by shaitand · · Score: 1

      "okay, when looking at iis 6.0, there are a lot less security issues than in any of their previous versions.

      http://msmvps.com/blogs/bernard/archive/2004/06/10 /7882.aspx"

      That might be good news, or might not. We have no way of knowing if there are less security issues in IIS than previous versions because we do not have the source to review. Instead we only know how many officially recognized security holes there are. There are no shortage of known exploitable bugs that Microsoft has not acknowledged and not patched. I am forced to leave this as a blanket statement for all microsoft products since there are obviously no official stats on unoffical bugs.

      "right. To point out that it is not always the fault of microsoft, but of the dumbass admins and users that don't update their systems."

      That is kind of passing the buck don't you think? Yes an admin who has not applied a security patch has a share of the blame. But that hardly changes the fact that Microsoft shipping a product with a security hole is the root of the problem. The lion share of blame for all the security issues with Microsoft products rests with Microsoft.

      This is like firestone shipping defective and dangerous tires. If firestone issues a recall to exchange the tires for new ones, no blame falls with the individual who never hears about the issue at all. Some does fall on the trucking company that does not immediately call in all the trucks and reoutfit the fleet. But the root of the problem and the ultimate liability would belong to firestone for shipping faulty tires to begin with. Doubly so if firestone avoided the recall until they had no choice instead of immediately issuing it upon discovering there was a problem. Microsoft certainly avoids admitting to exploitable holes when they think they can get away with it.

      "I'm not really sure about the developer increase. I think there are a lot less developers working on linux than you think. At the core level, there aren't a lot of people even experienced enough to add fixes or updates (maybe even less than the amount of engineers working at Microsoft)."

      Yes but kernel development is a tree with many branches. Each of those core are who Linus trusts to pass off good code. They in turn will be recieving patches from a far larger number of developers. Again, these developers may be passing along patches from still more developers. Only at the furthest reaches of the development model do untested and unreviewed patches come into play.

      When the EU did a study on open source source software and distributed information for government bodies considering adopting it; they estimated the number of open source developers to be at least 3 million.

      "open source sounds great on paper, but in the end, 1% of the people getting the source are doing the work. The rest are just interested in it because of the price."

      Now that is just plain trolling. The open source development model is more than a party favor and is highly effective in practice. In fact, it is so much more effective than closed models that corporations (including microsoft) are trying to take as much from the model as they can without actually opening up.

      In any case, this is not a debate that will be settled by us today. It is obvious that you either work for a MS shop or for MS though. Some of your points are almost word for word the arguments that Microsoft makes to defend itself.

    85. Re:Not to worry by Creepy · · Score: 1

      Well... that's not the most intuitive program to use, is it?

      To use GUI RunAs:
      press and hold Shift, then right click the executable and choose RunAs... and then select the user. I would have found that without being told in, oh, say never.

          I have to ask, how the *FUCK* can Microsoft hire and maintain hundreds of usability people and yet have such a horribly unintuitive feature that really should be used by ALL users? If it were under the basic right click menu I could understand, but SHIFT-RIGHT CLICK? Sounds like a developer crammed it in at the last second without a usability review, as I can't imagine a usability person woulda let that get thru. I guarantee that wouldn't pass a no-help "try to do this action" test with no instruction. I bet they get less than 5% success in a random study of users with varying degrees of skill.

    86. Re:Not to worry by mrsbrisby · · Score: 1

      It's one thing for you to write a wrapper that chmods a file, runs vi, then chmods it back. But it's another to tell your mother that she can't edit files in her word processing program without giving her word processor write access, or telling her that she can't edit files she's opened with the File menu.

      You don't know what you're talking about.

      I didn't say chmod(), you assumed it. It actually sets group+write using a combination of chown() and chmod(). vi runs as another user using a setuid/setgid wrapper.

      Anyway, all it takes is one buffer overflow bug in a standard library (say, gzip or a JPEG decoder) to let malware start up (i.e. spawn a mail or DDoS bot) which will be running until you log out, restart, or kill the process. Then all it takes is one local privilege escalation bug to let the malware install a rootkit, propogate like a virus, or just delete all the files in your home directory.

      You have no idea what you're talking about.

      _I_ don't have the ability to delete all the files in my home directory, so why would some program that is running with LESS privilege than me?

      Furthermore, it's a sign of brain-damage that you think gzip or jpeg decoding is so common that every program should want to do it-such that it be considered a "standard" library.

      And unfortunately, setuid is possibly the biggest security holes that Unix has ever had. Every setuid program is a privilege escalation attack waiting to happen. If you can't control a pre-existing setuid program, you can always just set some bits on a filesystem to create one.

      You have no idea what you're talking about.

      You're confusing setuid-root with setuid. The idea is that we setuid to an unprivileged user- one that has very little powers. Privileges never go up, only down.

      BTW, if you think that iptables will prevent the spambot from communicating over the internet, all it has to do is debug a process (e.g. firefox) that has access rights and inject its payload there.

      You have no idea what you're talking about.

      Debugging another user's processes on UNIX is a privileged operation- it isn't allowed unless you're root.

      It turns out that Windows has excellent security facilities, just very few programs use them, and many fail outright if they're used.

      How can it possible be useful if it's not usable?

      Ultimately, the only thing you can really do to keep yourself safe is simply to exercise caution with what you download. I don't download suspicious programs or visit suspicious web sites, so I am fairly secure.

      Security isn't a state, it's a process. You do some parts of the process, but you fail to understand that I can and do download suspicious programs and run them in my natural sandbox without any risk.

      You cannot create those kinds of sandboxes anywhere near as easily under Windows.

      Of course, Windows allows you to easily run with lowered privileges. In Vista,

      No, you're saying in another 2-3 years, that Windows will finally have a feature that's been available in every version of UNIX for almost 30 years.

      We'll take a look in 2-3 years to see if Windows can finally compete with UNIX- but as Windows Vista is presently only promising a 40% application compatability rate, I'd say probably not.

    87. Re:Not to worry by mrsbrisby · · Score: 1

      Nobody cares about system files that can be replaced within hours. The important stuff generally does not require write access to do it.

      You sound like you've lost your system files often enough to know this first-hand.

      I on the other hand don't have "hours" to throw away every few days like you do.

      Well done, you have bent over backwards to lower privileges. Most users won't, and so, this point doesn't really prove anything.

      Prove what?

      Did you think I was attempting to prove something to you?

      Tell me, do you honestly think you understood a word that I wrote- besides "most users won't do that"?

      Were you dropped as a child?

      Not many people know about CoreForce? No, well, not many people know how to do what you have done either.

      I'm sorry, lots of software follows this model. Qmail is a shining example of using privilege separation to avoid risk.

      The only place it doesn't seem common is in Sendmail, ISC and Microsoft software.

      Often in security discussions I see lots of uninformed speculation as to what "regular users" do. Suffice it to say that "regular users" do install software in large enough numbers that simply ignoring the issue is not enough.

      I don't think you see any security discussions. Regular users always means unprivileged user, and NEVER does it mean "real good at home folk".

      Basically you've put together a badly hacked up version of what toolkits like SELinux, AppArmor or CoreForce give you in a much cleaner and more elegant way, which is commendable but not a route I'd recommend nor would I expect others to follow it.

      Maybe this is the problem. Pompus assholes like yourself that tell users that it's okay to get virus-infected or lose all your data every few days- because that's normal and it doesn't fucking matter.

      I hope you shovel fast food for a living, because you'd be worthless in security.

      And don't get me started on trusted GUI paths. No consumer OS today gets this right - none. Just go read a usability study of trusted path systems to see what fun we're going to have integrating this into mainstream technology.

      I wasn't planning on it. You've already demonstrated yourself a moron and an asshole that likes hearing themselves talk.

      Come back when you actually have something to say troll.

  5. Whatever by AKAImBatman · · Score: 4, Insightful

    "For those thinking their "pet" computer is invulnerable to the virus threat -- it's not," SANS said.

    Cue ominous thunder. (rolls eyes)

    All this means is that data communications and storage has reached a point in time where no one (in theory) is going to notice that infected files get 3 or 4 megs chunkier. The virus writers still have to find vectors into these systems. If they can't find convenient vectors, then the ability to produce a fat binary is useless.

    What is this need that security researchers have to claim that all systems are equally vulnerable? Are they worried they're going to be out of a job if everyone moves to more secure computing platforms? I mean, really. They should be encouraging mass migrations to other systems, as it diversifies the playing field and theoretically helps everyone remain safer. But I guess that's not their bread and butter.

    1. Re:Whatever by CdBee · · Score: 2, Insightful

      I'll be really impressed when someone comes up with an actual executable binary that contains code to run the appropriate installer on Linux or Windows - a cross-platform version of a Universal Binary

      --
      I have been a user for about 10 years. This ends Feb 2014. The site's been ruined. I'm off. Dice, FU
    2. Re:Whatever by Anonymous Coward · · Score: 1, Insightful
      The virus writers still have to find vectors into these systems.
      Human stupidity has worked so far, I do believe it will continue to work well into the forseeable future.
    3. Re:Whatever by Tim+C · · Score: 4, Funny

      If they can't find convenient vectors, then the ability to produce a fat binary is useless.

      Unfortunately, there's a very convenient vector indeed sat at the keyboard of the vast majority of PCs.

    4. Re:Whatever by gEvil+(beta) · · Score: 3, Funny

      "For those thinking their "pet" computer is invulnerable to the virus threat -- it's not," SANS said.

      Dammit! And I thought using 70s technology would keep me safe from all these modern-day viruses.

      --
      This guy's the limit!
    5. Re:Whatever by sparkz · · Score: 1
      No, the virus writers need a vector into one platform, and can infect two platforms... normally, when a Windows PC has been infected and, in turn, mailed out viruses to everyone in its addressbook, I have happily deleted these Win32 binaries from my inbox (using Linux). Now, if they could also be treated as ELFs, then granted, I should have to:
      1. Save to disk
      2. Make executable
      3. Execute
      But a single bug in Thunderbird, Evolution, etc, could make a virus (already well-spread by Windows PCs) a real threat to Linux desktop users, too.
      --
      Author, Shell Scripting : Expert Re
    6. Re:Whatever by AKAImBatman · · Score: 1

      1. That's not a vector. That's a poor social engineering attack that virus writers hope they might exploit for 1 in a million really dumb users. On Windows, at least the file will execute when they click on it.

      2. Mailing the virus to hundreds of users from Windows would be no different than mailing the virus to hundreds of users from Linux. The only difference is that the address book on Linux is statistically more likely to contain more Linux users.

    7. Re:Whatever by sparkz · · Score: 1

      No no no. You have missed the point. I can take a Windows virus into my Linux system with total impunity; an ELF-format virus is a far more dangerous toy to play with.

      --
      Author, Shell Scripting : Expert Re
    8. Re:Whatever by qbwiz · · Score: 1

      I will be too, considering that an ELF executable has to start with "7f 45 4c 46," and a PE executable has to start with "50 45 0 0." If either those isn't there, then it won't be recognized as that type of file.

      --
      Ewige Blumenkraft.
    9. Re:Whatever by AKAImBatman · · Score: 1

      What's your email address? I'll send you an ELF formatted virus called "Run this Because It's Cool". It should make it through the virus filtering just fine. Really, I will.

      (No, not really. I'm just trying to make a point.)

      My point is, what's to stop someone from sending you a Linux virus right now? Nothing? Wow, what a shocker.

    10. Re:Whatever by Anonymous Coward · · Score: 0

      And sometimes he's fat, too.

  6. which architectures? by jon787 · · Score: 3, Interesting

    The article says the worm was written in assembly and I assume it means x86 assembly. Can the worm infect non-x86 Linux hosts?

    --
    X(7): A program for managing terminal windows. See also screen(1).
    1. Re:which architectures? by MindKata · · Score: 0

      Well its not infected my Vic20 running linux yet ... although I won't know for sure until its finished booting up for the first time in 2009

      --
      There are 10 kinds of people in the world... those who understand binary and those who don't.
    2. Re:which architectures? by molarmass192 · · Score: 3, Insightful

      I think you answered your own question in a way, if the host has x86 emulation, then why wouldn't it be able to? That said, it's a long way from a POC to a real live virus. I can write a virus today and claim a POC, nobody has ever said that Linux is immune to viruses. Viruses aren't that complicated. That said, an effective (ie. turn it lose and watch it spread) virus would be very difficult to achieve on Linux precisely because there isn't just one flavor of Linux, running the same binaries, on a single arch ... unlike another well known OS.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    3. Re:which architectures? by PCM2 · · Score: 1
      nobody has ever said that Linux is immune to viruses.
      Well... people kinda do make that claim, all the time. They claim it about the Mac, too.
      --
      Breakfast served all day!
    4. Re:which architectures? by WinterSolstice · · Score: 1

      Having had a Javascript based 'virus' run on Safari, I can tell you that it certainly isn't virus proof. It's just a little different :)

      Of course, it's reasonably easy to turn off js - not like ActiveX or something.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    5. Re:which architectures? by DextroShadow · · Score: 0

      ELF being a universal binary format, I believe as long as the required libraries are there, they don't even need an x86 emulator. Might be wrong, though.

      --
      My karma makes buddha cry.
    6. Re:which architectures? by fymidos · · Score: 1

      > nobody has ever said that Linux is immune to viruses.

      Nobody said immune, many people say "practically immune" and they are right..

      > That said, an effective (ie. turn it lose and watch it spread) virus would be very difficult to achieve on Linux

      practically impossible you might say ...

      > because there isn't just one flavor of Linux,

      no, simply because linux users don't browse the internet logged in as root...

      --
      Washington bullets will simply be known as the "Bulle
    7. Re:which architectures? by jonoid · · Score: 1

      x86 only? Phew, good thing my new Mac is not at risk. Oh wait...

    8. Re:which architectures? by FrostedWheat · · Score: 1

      Cross-architecture code isn't impossible. If you can find a sequence of bytes that peform one action on one arch (say a jump in x86) that has a safe and recoverable action on another arch (nop, or incrementing a register) then you could detect the arch and run appropriate code - all in a single binary.

      I never did it, and it's possible that no such sequence exists, but it's an interesting idea!

    9. Re:which architectures? by AnyoneEB · · Score: 1

      Uh, the binaries still have to be compiled for a specific platform. The only binaries that will work on any platform are bytecode like Java or .NET stuff.

      --
      Centralization breaks the internet.
    10. Re:which architectures? by qbwiz · · Score: 1

      Because this is a virus, it won't even have to bother with that. The host application can only run on one type of computer, so the virus can just recognize that (most likely) when it's writing to the file and put the correct form of jmp in to jump to the code for the correct architecture.

      Of course, writing any other binary, one that isn't a virus, would be much more interesting and challenging.

      --
      Ewige Blumenkraft.
  7. Does this mean.... by da · · Score: 5, Funny

    ... linux is ready for the desktop? [ducks]

    --
    I reserve the right to be wrong.
    1. Re:Does this mean.... by creepynut · · Score: 1

      2006 really IS the year of Linux!

    2. Re:Does this mean.... by The+Ape+With+No+Name · · Score: 3, Insightful

      No, but it is now ready of proof-of-concept cross-platform FUD.

      --
      Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
    3. Re:Does this mean.... by Anonymous Coward · · Score: 0

      How cute, watch as all the stupid fucking faggot OSS fanboys rush to defend THE MIGHTY LINUX which has.. what, 0.5% of the marketshare on desktop?

      Go suck on a fucking tailpipe you Linus cocksmoking shitfuck

  8. ELF huh? by Rosco+P.+Coltrane · · Score: 1

    Let's just go back to a.out...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  9. The article itself explains why this is so not by mapkinase · · Score: 1

    ...interesting.

    Read the article:

    Application of it is limited on Windows, and nobody is interested in writing viruses for Linux (so far).

    The whole thing reminds me of clumsy HP OfficeJet, that magically combines together crappy fax, crappy printer, crappy copier and crappy scanner.

    Proof of concept... Like it was challenging before...

    --
    I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
    1. Re:The article itself explains why this is so not by Werrismys · · Score: 1

      Actually, it's only the software that sucks in HP Officejet. It's quite capable little beast (the 714X models, 72XX models suck ass).

      --
      'Once scientists, even the dim-witted social scientists, get muzzled, the Western Civilization is finished.' - oldhack
  10. Impressive, but.... by ankhcraft · · Score: 1

    While the article (and the proof of concept) is impressive, you do NOT have to limit yourself to assembly to end up with machine code that is OS neutral. You can write a freestanding C program, and only use assembly to navigate linkage to system calls. The rest of your logic can safely be in C.

    --
    ...
    1. Re:Impressive, but.... by Anonymous Coward · · Score: 0

      And suddenly

      Hello, world! suddenly took on a new meaning, rearing its ugly head on a gazillion desktops.

      Including the ones with the newly purchased Intel Macs.

    2. Re:Impressive, but.... by Anonymous Coward · · Score: 0

      Yes, but using C instead of assembler easily leads to code bloat and general unleetness.
      How was it again... "premature abstraction is the root of all evil"?
      IIRC anyway.

  11. Hands tied by digitaldc · · Score: 1

    'It's important for enterprises to be aware of such issues and implement anti-virus tools for protecting non-Windows operating systems if they haven't done so already,' Ullrich said.

    Sorry, I got my hands too tied up with the Ambidextrous virus to be implementing any tools right now!

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  12. How does it work? by Nazo-San · · Score: 2, Interesting

    I'm kind of curious how it works. You can't just take, say, C++ and simply write the exact same code and it will work in both Windows and Linux. Some of the basics like cout do, but, once you start getting a little more complicated and try to modify files, then it gets tricky. I'm guessing we aren't talking about a Java type thing (supposedly Java has securities in place, though I've never directly tested them -- I do know that it can delete or modify a file though.) They mentioned ELF and Win32 executable binaries, so if it's Java, then that's just a frontend obviously. They wouldn't call it an ambidexterious virus if specific code were written for each OS though, right? The only single thing I can think of is maybe make a system call and run "del so-and-so" which in linux's case would rely on an alias being in place to actually run rm.

    Could anyone who knows more programming than I do (which, btw, isn't so hard so feel free to hop in here) give me just an idea of how this is even possible?

    You know, suddenly I'm reminded of .hack. In it, one amazingly powerful virus was able to wipe out almost all major operating systems with the exception of the single one, and that one was neither windows nor linux. Ok, it's just a story, but, do you suppose some nut wants to see if they can make this come true in their own way?

    1. Re:How does it work? by martinultima · · Score: 3, Funny
      “In it, one amazingly powerful virus was able to wipe out almost all major operating systems with the exception of the single one”


      So, let's try guessing what the single one is... OpenBSD? :-)

      Virus Writer 1: Hmm, let's see... first we have to crack the unbreakable encryption on the root password...

      Virus Writer 2: No, you idiot! You can't do that until you've found a security vulnerability in the operating system itself!

      1: Well, there is the guy running the machine in the first place...

      2: Yeah, like anyone would install a secure operating system that requires insane amounts of technical experience and just spontaneously fall for some virus scam thing...

      1: I guess you're right then... oh well, back to waiting for another security hole...
      --
      Creative misinterpretation is your friend.
    2. Re:How does it work? by Anonymous Coward · · Score: 0

      You obviously must be an MCSE.

      Zing!

    3. Re:How does it work? by Anonymous Coward · · Score: 0

      My guess is that it's a Windows virus that looks for Linux ELF binaries and modifies them if it can write to them. ELF is the Linux executable file format most widely used. The modified file executable can then do the same thing when used in Linux. It would probably look for critical ELF files executed with "root-permission" so that it can cause as much harm as possible.

    4. Re:How does it work? by Nazo-San · · Score: 1

      No, the OS was an as yet uncreated ALTIMIT OS (gee, I wonder if there was some kind of joke going on with the naming system here? Hmm...) Seriously though, it's just a story.

      Oh yeah, speaking of ALTIMIT OS, it's supposed to come out next year according to the story. Get your fingers crossed, it's the one OS more stable than linux and it's good enough to replace linux, windows, mac osx, everything. ^_^

    5. Re:How does it work? by Anonymous Coward · · Score: 0

      You can't just take, say, C++ and simply write the exact same code and it will work in both Windows and Linux.

      Yes you can. Assuming the same processor architecture (eg. x86). The only thing that is different is the object format (PE on Windows, ELF or a.out on Linux/BSD/iOSX). No big deal.

    6. Re:How does it work? by x2A · · Score: 2, Funny

      The linux version comes with WINE ;-)

      When it says 'linux and windows', it will no doubt mean linux-x86, which means that java type code isn't required, as the processor instructions are the same (it's apparently written in assembly code). System calls would have to be done differently, as would inserting the code into an elf/exe file to infect it. One way I guess would be to have different entry points into the code, the linux/windows machines would start running at a different point within the code, but when infecting a new file, it would copy both sections of code into it, rather than just the bit that's running. You could in theory make a virus that will spread to many more systems, but each one makes the resulting virus larger.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    7. Re:How does it work? by morgothan · · Score: 1

      unbreakable encryption on the root password? There is no such thing as unbreakable encryption. It just takes a very long time to break. Like 100 trillion years, but it is not unbreakable. Just as no safe is impenetrable. When you buy a safe, its rating is in time. Meaning that it would take this many hours for a determined person to break into it.

      --
      ---
    8. Re:How does it work? by alexhs · · Score: 2, Interesting

      I will give two possibilities :
      1. "universal binary" : compile code for each platform you want to infect. That one might even work on other architectures

      Code needs :
      a. an algorithm to know which OS/Arch an executable is for (and needs to know if a file is an executable in the first place)
      b. an algorithm to link the appropriate code part.

      You have an Win/x86 trojan. He checks for files and finds an PowerPC/Linux ELF. He adds itself to the end of the file, finds a jump in the original code, reroutes it to the PowerPC/Linux part of the virus code. At the end of the virus code, does the appropriate jump so the original program still works.

      2. checks for syscalls :
      IA32 code (usually named x86) remains IA32 code, whatever your OS is. The biggest difference lies in syscalls.
      have generic code (without syscall) checking what OS is running and set, say, CurrentOS. Each time you need a syscall, do a switch(CurrentOS) and execute the appropriate syscall.

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    9. Re:How does it work? by Nazo-San · · Score: 1

      I understood that. No, you're basically saying the thing I am. Is it really a truly "ambidexterious" virus if it relies on OS specific code for handling things like the actual file modification? It doesn't just get bigger with each new os, it gets massively more complex. Not just the code itself, getting it to actually WORK in each system bypassing securities. What I don't see here is in what way it is any different whatsoever from simply writing two virii, one for each os. That's less messy and easier to maintain anyway.

      I don't know, I suppose if you just target linux and windows it might not be so bad, but, I definitely won't call this anything more than just a proof of concept.

    10. Re:How does it work? by x2A · · Score: 1

      The only thing that would make it different from having two seperate viruses*, is that it can jump from one platform to another (eg, over a network or dual boot system), and back etc, so a windows machine behind a linux machine could still be infected and vice versa, when possibly it couldn't otherwise.

      (* virus comes from latin, which is why many think you 'virii' it to make it plural. However, the latin word actually refers to a liquid, which would have quantity, not quantities, thus a latin plural is not strictly legal. The english word refers to an entity though, which can have a plural, so 'viruses' is more correct).

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    11. Re:How does it work? by m50d · · Score: 1
      I'm kind of curious how it works. You can't just take, say, C++ and simply write the exact same code and it will work in both Windows and Linux. Some of the basics like cout do, but, once you start getting a little more complicated and try to modify files, then it gets tricky.

      If you stay within POSIX it'll work. Now, there's a lot you can't do, but for just opening and modifying files you should be fine.

      My guess is it's basically two separate pieces of code though. The advantage of doing this over separate linux and windows viruses is that it lets you infect windows machines behind a linux gateway or vice versa. Of course the price is complicating things, but no-one really cares about code size anymore.

      --
      I am trolling
    12. Re:How does it work? by Anonymous Coward · · Score: 0
      There is no such thing as unbreakable encryption.


      Try cracking a properly implemented one-time pad.
    13. Re:How does it work? by pclminion · · Score: 1
      Could anyone who knows more programming than I do (which, btw, isn't so hard so feel free to hop in here) give me just an idea of how this is even possible?

      Sure. The code is compiled such that the code and data both link into the same segment. That segment can then be exported to a flat binary file. This file (the meat of the virus code) is then inserted into an EXE and an ELF executable. These two variants execute on their respective platforms. When the virus attempts to infect a new file, it detects whether it is a Linux or Windows binary, and takes the appropriate action. The BULK of the virus code is in fact shared between the two platforms but there are two small platform-specific stubs which let it hook into the two different executable formats. Both variants carry both stubs, so a Linux version can cross-infect Windows binaries (say, binaries it finds on a Samba mounted share) and vice-versa. Very straightforward, really.

    14. Re:How does it work? by SpectreHiro · · Score: 1

      Holy crap, say it ain't so! Next, you'll tell us that the proper plural of box isn't boxen.

      --
      You can't win, Darth. If you mod me down, I shall become more powerful than you could possibly imagine.
    15. Re:How does it work? by x2A · · Score: 1

      no, that isn't until lesson 4 :-p

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    16. Re:How does it work? by cgreuter · · Score: 1

      Offhand, I can think of three possibilities:

      1. They've figured out how to hack together a fat binary.

        It's possible that there's some sequence of bytes such that each operating system interprets it as the header for some kind of executable file and the Linux stuff is ignored by the Windows loader and vice versa. You'd end up with a Linux program, a Windows program and a special little bit of code that jumps to one or the other depending on what OS there is, all in one big executable.

        (This would actually be pretty cool for non-malicious code as well. I'm not sure if it would be useful but it'd be cool.)

      2. Maybe the virus spreads via buffer overflow. In this case, it can bypass the differences in loadfile format. Instead of loading from disk, it would load itself into a target program's RAM over the network via that buffer overflow, then take over.

        For this to work, it would need to contain multiple exploits for various different bugs in various networked programs, but that's been done.

        Of course, to do anything even remotely useful (in the virus sense of the word) after that, it would need to be able to use operating system resources. (The article seems to say that it doesn't use OS resources, but if that's the case, how can it spread? Disk and network access have to go through the OS.) The only way I can think of is for each system call routine to test for OS type and do the Linux thing or the Windows thing, depending.

        You might be able to simplify that by dynamically calling the standard C library but even then, calling conventions and structure layouts are going to be different and that's going to make things really complicated.

      3. Maybe the virus is a quine but capable of producing a Windows or Linux version of itself. That would be relatively easy to do--just tack on the Linux and Windows parts as data.

        For that to work, though, the virus would need to know in advance what platform its target is running. That's tricky but not impossible.

        Hmmm. Alternately, you could combine this with the previous method, putting together a polymorphic program that's just smart enough to identify the OS it's running under, then branch to either the Linux or Windows version of itself.

        That sounds reasonable to me.

      All that being said, I doubt that this is going to make it into the wild, if for no other reason than it's a huge amount of extra work to do just to get a five percent increase in penetration. And that doesn't even begin to take into account the differences in the various OSs' security.

      The FA is a bit light on hard details, I noticed. This looks like a publicity stunt more than anything else.

    17. Re:How does it work? by Nazo-San · · Score: 1

      Hmm, that deserves an informative mod IMO. Yeah, I suppose you're right. You can distribute a single binary instead of multiple binaries to infect multiple systems.

      I'd always wondered about virii versus viruses. Actually, I'm not even the one who assumes virii and nothing so complicated as because of Latin roots, just, I read in some book or something that virii was the correct plural. Clearly they were mistaken because what you say makes perfect sense.

    18. Re:How does it work? by Nazo-San · · Score: 1

      Ok. *Pulls out a mallet* Any bets on how many tries it will take to crack? ^_^

      Ok, jokes aside for a moment. I don't know how serious these things actually are, but, if you look back a bit you can find some interesting articles on Slashdot about quantum computing, some of which actually look promising. One of which supposedly is just about ready for production (albiet not actually so much using the whole basis of quantum physics as it's just technically quantum in that it referrs to using a fundamental particle -- a single atom -- for processing by changing and observing this atom. Anyway, I don't understand the exact how of it, but, supposedly there are just a few types of processing which this thing's more unique logic methods (no longer 0 or 1, but, 0, 1, 0 and 1, or neither -- don't ask me how because I still don't fully understand that either.) Supposedly cracking encryptions which today could take hundreds of years with current gen processors (even overclocked with liquid cooling) could be done in a matter of hours, maybe even minutes on these. Raising the size of the actual encryption may not be enough to stop this either since those processors are scaling this sort of calculation linearly versus the standard silicon processor scaling exponentially on the processing time needed. IMO a new form of encryption is needed to stop both I guess, but, don't ask me how.

    19. Re:How does it work? by Nazo-San · · Score: 1

      1 would be neat. I'd love to see that in a non-malicious thing. Actually, a single binary executable on multiple operating systems could consolidate several things quite a bit. For example, encryption/decryption, compression/decompression, and other somewhat simplistic utilities which run in a console. It would make it easier for the companies to distribute and easier for the user to keep track of their files when using it on multiple operating systems (I know I use rar for Windows and Linux both quite commonly.)

      On #2. I don't know how reliable buffer overflows would be anymore though. I know a lot of systems are still running old processors, and Intel took a little while to implement their own DEP system (I think I have read that they did) but now they have it too. Today you're going to have a lot of systems still in trouble, but, given just a short while -- at the rate things are going right now, this means by the time a real virus using this method hits the wild -- hardware DEP may not be a terribly uncommon thing.

      On 3, I'm a little unclear from that. Can you explain quine a little better for me? Wikipedia is an amazing source of information, but, sometimes they get a little too deep.

      I noticed too that they didn't have much actual info in either link. Well, if it's a publicity stunt, good. It's a GOOD publicity stunt. Get people more aware of the dangers of viruses even on *nix systems which far too many people assume to be automatically safe.

    20. Re:How does it work? by colinrichardday · · Score: 1

      And how does Windows access my Linux files? I have a dual-boot laptop (SUSE 10.0/Microsoft XP Home). When I run XP, how does it find files in my Linux partition? Does it scan my network for other Linux machines? How does it get permission to edit files? Can Windows XP even deal with reiserfs?

    21. Re:How does it work? by cgreuter · · Score: 1

      Can you explain quine a little better for me?

      A quine is simply a program which, when run, prints out its own source code. In my previous post, I sort of overloaded this a bit to mean a program that prints out its own executable. (Which, I suppose, would still be source code if you're insane enough to hand-assemble the thing with a hex editor.)

      Actually, I went a bit further than that. My hypothetical virus is a program that can output two programs (a Windows binary and a Linux binary), each of which can also output both programs.

      As for having a dual-platform binary, Linux has a mechanism to let you define arbitrary interpreters (or loaders?) for binary files. This would let you, for example, set up the kernel to run the Java VM on a JAR file whenever you set the execute flag on the JAR and run it as a program. Presumably, you could use this mechanism to run Windows binaries as well. You could put the Linux code in a dead section of the Windows executable, then set some harmless flag in the header. Windows would ignore the flag but you'd set up a special loader in Linux to check for it and if present, jump to the Linux part of the executable.

    22. Re:How does it work? by Anonymous Coward · · Score: 0

      Quantum computers work by having quantum states that mean 0 and 1, then allowing superpositions of those states a la Schroedinger's Cat. They can break RSA encryption very fast, which means that as they become powerful enough to do that, new methods of encryption must become available. However, they can't break a one time pad, and quantum computation in fact has a method for overcoming the primary difficulty of one time pads - quantum key exchange. Thus, widespread use of quantum computing will allow one time pads to be used effectively.

      If you use a long enough key with a one time pad, they are truly unbreakable, because a third party will see only perfectly random noise. They get no information at all. The only way to crack a one time pad scheme is to acquire the key - which is what quantum key exchange is for.

    23. Re:How does it work? by Nazo-San · · Score: 1

      Thanks, I thought I understood the part about it printing its source, but, couldn't figure out how that would make a virus. Actually, I still don't, but, I suppose in your second case there, where it's outputting a binary, so long as it can find a way to get that binary executed, it should do it that way.

      Sounds like in the end you still have to figure out a way to get it to be able to actually run in both systems to start with though. No need to place an external program and run that then, right? Do I misunderstand?

      Oh well, all I can say is I'll be a tad more careful with my linux system as well in the future, just in case. Windows I'm already pretty carefully. Actually, the only virus I've ever had that I've actually had troubles getting rid of was TaiPan.something (can't recall the numbers.) It's an old dos virus that infects things, especially TSRs, and it seems like the only danger is the infected programs cease to run even in dos (locks up the system when you run one.) It was tenacious though. For years I found it on so many of my backups even after I finally no longer really used dos anymore. Even then it only affected a few minor programs I didn't use much. In all this time, I've managed to avoid having any real viruses just by being sensible. You download a random binary off the internet, well, AV scan it. Better yet, use common sense on just what binaries you're downloading. DON'T click that ad that says free chia pet on your computer, and if you do, hit cancel instead of open when it gives you a binary. All I know is my worst virus was an old dos thing that infected a few files while my sister who downloads all sorts of crap and who's computer I have to regularly wipe out hundreds of spyware on has had one that wiped out vital system files making windows become unbootable and, I couldn't ever track it down well enough to get windows properly repaired either. In the end, her system required a reinstall.

      Too bad I didn't have then what I have now. ClamAV running on a live linux boot CD. Of course, on a NTFS filesystem all I can do is find out which files have to be deleted or whatever or at least get the uninfected files off to a backup.

    24. Re:How does it work? by Anonymous Coward · · Score: 0

      Simple. Write code for each platform. Compile on each. Hardwire the two binary code sizes into your code. Compile again and verify that the code sizes haven't changed. Concatenate the two binaries. If you replicate to the same platform, send your own binary. If you replicate to the other platform, swap the two parts in memory before sending. Depending on the features of the loader on each platform, you may have to pack up the other binary in something that looks like a data segment, or add code to read from the executable past what the OS loaded into memory.

    25. Re:How does it work? by martinultima · · Score: 1

      OK, going to reply to both comments here to save myself the trouble of replying to the one, waiting for the /. timeout thing, then replying to the other...

      Nazo-San – I was intentionally ignoring the "real" answer (creative misinterpretation is your friend...) Although either way, one of these days I probably should take a look at .hack – sounds somewhat interesting, I just never have the time because I'm too busy with real hacking stuff. Linux developers never rest.

      Oh, and you utterly failed to mention OpenBSD :-)

      AC – for the record, I'm not at all an OpenBSD "fanboy"; I'm mostly a Linux guy myself, although I have toyed around with BSD a bit and happen to like it from what I've seen. My main reason for posting that particular joke had nothing to do with fanboy-ism or any of that other stuff, it was mostly because it's hard not to crack a joke about a system that has in HUGE letters on their homepage everything you never wanted to know about their security record.

      (I'm guessing the next security hole will likely be discovered in about eight more years, shouldn't really take that long...)

      --
      Creative misinterpretation is your friend.
    26. Re:How does it work? by adyus · · Score: 1


      Question:
      What does it matter how much the size of the virus changes? I was under the impression that today's security measures can generally detect virii no matter how small their payload is. Correct me if I'm wrong, please.

      I say distribute virii on multiple CDs, as far as size goes... :D

    27. Re:How does it work? by Nazo-San · · Score: 1

      The size of a virus matters because the bigger they get, the more obvious they become when trying to sneak around in memory and such. Every extra resource that mysteriously dissapears increases the liklihood that the user or admin will wonder why some particular thing isn't doing as well and thus the av/malware scans begin. Any virus designer who is more than a script kiddie will probably want to do everything within their power to ensure a minimum of suspicion on the part of anyone who could end up running an av scan.

      Also, a really huge virus would be kind of hard to distribute since it would take so long and end up getting interrupted after all. Come to think of it, limited resources come into play again since the user may begin to wonder why their up/downstream is mysteriously saturated.

  13. How is it distributed? by paladinwannabe2 · · Score: 1

    The article is sparse on details as to how the virus is distributed. It sounds like the virus is something that you actually have to run, so you won't pick it up just by visiting a website or reading an email. Anyone know more details about this?

    --
    You are reading a copy of my copyrighted post.
    1. Re:How is it distributed? by Anonymous Coward · · Score: 0

      It is only proof of concept. Thus no delivery mechinism as of yet.

    2. Re:How is it distributed? by adnonsense · · Score: 5, Funny

      I have reverse-engineered the virus and discovered an insiduous distribution mechanism:

      root# wget http://warez.example.com/Virus.Linux.Bi.a.tgz
      root# tar xzf Virus.Linux.Bi.a.tgz
      root# cd Virus.Linux.Bi.a
      root# ./configure --prefix=/usr/local/virii --with-natalie-portman=hot-grits --with-beowulf-cluster=yes
      root# make && make install
      root# PATH=$PATH:/usr/local/virii/bin
      root# rehash
      root# pwn3d &
    3. Re:How is it distributed? by Anonymous Coward · · Score: 0

      You missed the step after ./configure where you have to download the required library dependencies. :)

    4. Re:How is it distributed? by Anonymous Coward · · Score: 0

      Do they atleast include a README file?

  14. I, for one by sprag · · Score: 4, Funny

    welcome our new cross-platform proof-of-concept viral overlords.

    Its almost like playing buzzword bingo.

  15. Reactions: by Guppy06 · · Score: 4, Insightful
    1. Linux and Win32? W00t, my WfW3.11 box is invincible!
    2. So... why can't application developers do this?
    1. Re:Reactions: by gnud · · Score: 1

      1. Surprise, your 3.11 box is insignificant! 2. I'm guessing the virus does not do gui stuff.

    2. Re:Reactions: by Nazo-San · · Score: 1

      If that were true, the Win3.1 system is almost as vulnerable as any Win9x system. I don't think the article said it was specific to NT? It may be that it is, but, I'm guessing that it doesn't do anything high level enough to actually need to be specific to NT over 9x. I think you can't just compile it for Win9x and it run in Win3.1, but, I know you were supposed to be able to run 32-bit applications in Win3.1 (you may have needed an extra thing installed, I don't remember for certain, but, I remember I did once run something 32-bit in Win3.1 I think mainly for testing (it didn't even need that much memory anyway, so no big deal at the time. I think I had 16MB of ram at the time in fact.)

      BTW, he was joking about Win3.1. I don't think anyone seriously uses that anymore. Heck, I tried it a little while back for nostalgia's sake, but, even the nostalgia factor didn't keep it installed on the system for more than a couple of days or so.

    3. Re:Reactions: by x2A · · Score: 1

      1. Linux and Win32? W00t, my WfW3.11 box is invincible!

      Except to the insults on slashdot!

      2. So... why can't application developers do this?

      What, make their software infect all the your exe and elf files on your system? I can see it pissing a lot of people off, which is probably why they don't do it.

      3. Profit!

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    4. Re:Reactions: by Bromskloss · · Score: 1
      my WfW3.11 box is invincible!
      Whoa, World for Warcraft 3.11 is out already!?
      --
      Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    5. Re:Reactions: by redalien · · Score: 2, Funny

      It was called Win32S, and actually worked amazingly well. I only ever had 1 programme not work, and that was a quiz programme called "You don't know Jack". This americanism confused me greatly, and I was very annoyed that I couldn't run it and find out who Jack was.

    6. Re:Reactions: by Anonymous Coward · · Score: 0
      Linux and Win32? W00t, my WfW3.11 box is invincible!
      ...except if you try to run notepad.exe AND calc.exe
  16. Limited to ASM? by neoshroom · · Score: 2, Insightful

    "Writing a cross-platform worm is difficult because it limits you to functions that are available on both operating systems," Ullrich said. "You have to also code the virus in assembly to make it work without relying on any OS-specific function," he said.

    This isn't actually quite true, it is merely one way of doing so. You could easily write a virus that uses tons of API and platform specific stuff, but contains a generic detection mechanism at the beginning of its execution and then forks between two pieces of code. One portion contains code specific to Windows and another code specific to Linux. Apart from the generic platform discovery code upon execution it would be like any other platform specific virus. I'm actually surprized this is the first, at least publicized, detection of such a virus.

    __
    Write My Essay

    --
    Big apple, new Yorik, undig it, something's unrotting in Edenmark.
    1. Re:Limited to ASM? by x2A · · Score: 4, Informative

      It's not the first, I recall one before. And you don't even need detection code, you just write a different entry point address into the elf header as you would the exe header. You can have two different payloads, and two different copy mechanisms, as long as both copy both, not just themselves. In fact, there's no reason to stick to just 2. You can have a single virus that spreads across platforms/architectures, it just makes it bigger and easier to spot.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    2. Re:Limited to ASM? by FungosBauux · · Score: 0

      You are right. But no need of a "generic platform discovery code", all you need Is mirrored codes that are done for each platform. Your platform discovery code is only this: find a binary, look its header, if its PE Executable I will copy my "PE Executable Code as Code attached/injected/... and my ELF/A.OUT code as Data. If its a ELF executable I will copy my "ELF Executable Code as Code attached/injected/... and my PE/A.OUT code as Data, and so on. Its very simply, but its too much work to few revenue from malware contractors. All you need to write a virus like this one, is know most executable formats from any platform. Implement "N" applications for each platform independent of binary format. Implement "M" infectors, one for each file format. Manage that and its done.

    3. Re:Limited to ASM? by Chris+Kamel · · Score: 1

      What about the linking

      --
      The following statement is true
      The preceding statement is false
    4. Re:Limited to ASM? by FungosBauux · · Score: 0

      Why linkage? You really dont understund this ;)

      Build one on Linux.
      Build other on Windows.

      Merge them together.
      Use Fasm, its very good! You only need something like this Elf infector:

      linuxElf.size = linuxElfEnd - linuxElfBegin

      linuxElf:
      linuxElfBegin:
          [
                code for a linux elf infector that copies other versions too.
                here you check what kind is the binary that you will infect, use
                the correct version of the virus.. etc.
          ]
      linuxElfEnd:

      winPe file 'win.pe.exe'
      winMz file 'win.mz.exe'
      linuxAout file 'linux.a.out'

      and you need guarantee that each version can read, open, copy itself and its own data, change the entry point saving the original, execute itself, restore original entrypoint and jump there to back to normal program code.

      No linkage! No platform detection algorithm, no IA and Polymorphic code needed. No magic.

    5. Re:Limited to ASM? by nogginthenog · · Score: 1

      Also, theres an article in Phrack that describes a method of writing cross-platform code. The idea is to write some code that e.g. does nothing on a x86 but on a Sparc branches to the Sparc specific code.

  17. Took long enough... by Eric+Damron · · Score: 5, Funny

    Well it's about time! Finally inter-platform operability.

    --
    The race isn't always to the swift... but that's the way to bet!
    1. Re:Took long enough... by KMitchell · · Score: 1

      "For those thinking their "pet" computer is invulnerable to the virus threat -- it's not," SANS said.

      Crap. Does anyone know where I can get some antivirus SW for my PET?

    2. Re:Took long enough... by utlemming · · Score: 1

      LOL. Don't worry, I think your safe. Running anti-virus might use up all 32K of RAM.

      --
      The views expressed are mine own and do not express the views of my employer.
  18. Why is it so limited? by SailorFrag · · Score: 1

    "Writing a cross-platform worm is difficult because it limits you to functions that are available on both operating systems," Ullrich said. "You have to also code the virus in assembly to make it work without relying on any OS-specific function," he said.

    Why?

    Doesn't it seem plausible that it could just have one copy of itself for each executable type, and then whichever one actually executes knows how to insert the other(s) if needed? Then it's not really a single virus, but more of a set of symbiotic viruses. It still gets the same result though.

  19. Wrong and right. by khasim · · Score: 2, Insightful
    Windows users are prepared for viruses...
    Sure they are.
    ...and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.
    Pretty much.

    Remember, it isn't about whether a virus exists for a specific platform or not.

    It's whether you'll be infected or not.

    And that is based upon the infection rate vs the removal rate. A virus that cannot spread faster than it is being removed will die.

    Microsoft made a number of bad decisions (security-wise) in pursuit of "user friendly" systems.
    1. Re:Wrong and right. by heinousjay · · Score: 2

      Microsoft made a number of bad decisions (security-wise) in pursuit of "user friendly" systems.

      To be fair, most Unixish system developers made a number of poor decisions usage-wise in pursuit of "secure" systems.

      OS X seems to be the closest to blending the worlds, although it has some interesting foibles all its own. I look forward to the next ten years, because I think everyone is starting to get it all the way around. Uncharacteristically, I'm pretty damn optimistic.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
  20. Amazing! by Anonymous Coward · · Score: 1, Insightful

    Wow! This virus can infect PET computers? That really is cross-platform!

  21. Symantec by rmsmith · · Score: 5, Interesting

    I find it interesting that this 'virus' appears shortly after Symantec reportedly gets cushy with the Linux press

  22. And so ... by Anonymous Coward · · Score: 0

    A smug BSD user snorts in contempt, feeling more than a little superior 8^)

    1. Re:And so ... by ettlz · · Score: 1
      A smug BSD user snorts in contempt, feeling more than a little superior 8^)
      Well he (or she) should not. Just like H5N1, this thing could just as easily come BSD/Intel's way as well.
    2. Re:And so ... by Ash-Fox · · Score: 1

      BSD has the ability to run ELF executables.

      --
      Change is certain; progress is not obligatory.
  23. They Hate my AIBO. by twitter · · Score: 1, Troll
    "For those thinking their "pet" computer is invulnerable to the virus threat -- it's not," SANS said.

    Nooooo! not my AIBO. I knew I should have left off that email and news fetch hack.

    What a bunch of BS. How exactly are they supposed to get this assembly code kludge to my machine? Are they going to try to barf zlib? As the article also pointed out, these things have been around since year 2000. In those six years there has been a big fat nothing done with them.

    No, don't give me that "popularity" bullshit either. Linux runs most of the web and provides some of the most lucrative targets to Al Queda and other criminals. On the other end, free software run computers will always be more up to date and easier to recover. A Linux user with a misbehaving computer can fix point and click style in 20 minutes with a fairly knew distro or get the absolute latest and greatest with a net install of Debian. Computer stores can give users the distribution of their choice. Compare that to the non free world, where the user has to bring their "original" Windoze 98 or five year old XP CD into the store or pay $100 for software that might not even run on their old computer. The store then has to go through the mostly useless process of "patching" said ancient junk and the user gets burnt again soon after. The free software world, even a competitive non free world, will never be as bad as M$ is.

    --

    Friends don't help friends install M$ junk.

    1. Re:They Hate my AIBO. by richardablitt · · Score: 1

      Have you tried updating to debian unstable (Sid, I think)? That should get you fairly up to date...

  24. Writing viruses for Linux is EASY. Getting them.. by Anonymous Coward · · Score: 3, Insightful

    ..to spread is the hard part.

    How to write a Linux virus.
    http://virus.enemy.org/virus-writing-HOWTO/_html/i ndex.html

    There are numerious reasons why this is true.
    Reasons include:
    GNU/Linux is a minority platform.
    GNU/Linux is highly fragmented.
    GNU/Linux security is refined and updated often.
    GNU/Linux users are more educated.
    Windows has numerious security design flaws that promote viruses, that GNU/Linux systems don't have.
    Windows has numerious user interface design flaws that promote viruses, that GNU/Linux doesn't have.

    Although this WILL CHANGE if certain Pro-GUI factions get their way.

    Like having Gnome and KDE user interfaces ignore the traditional Unix permissions for certain types of files... http://thread.gmane.org/gmane.linux.xdg.devel/7014

    Damn stupid shit.

    But as it stands now a combination of social and technical issues keeps Linux users safe.

    One example of a flaw in Windows that causes easy transmission of viruses... Executable files are based on their file names, not based on a permission model.

    And it's not just 'exe' or 'bat'.. Here is a partial list of executable file extensions in Windows.
    ADE - Microsoft Access Project Extension
    ADP - Microsoft Access Project
    BAS - Visual Basic Class Module
    BAT - Batch File
    CHM - Compiled HTML Help File
    CMD - Windows NT Command Script
    COM - MS-DOS Application
    CPL - Control Panel Extension
    CRT - Security Certificate
    DLL - Dynamic Link Library
    DO* - Word Documents and Templates
    EXE - Application
    HLP - Windows Help File
    HTA - HTML Applications
    INF - Setup Information File
    INS - Internet Communication Settings
    ISP - Internet Communication Settings
    JS - JScript File
    JSE - JScript Encoded Script File
    LNK - Shortcut
    MDB - Microsoft Access Application
    MDE - Microsoft Access MDE Database
    MSC - Microsoft Common Console Document
    MSI - Windows Installer Package
    MSP - Windows Installer Patch
    MST - Visual Test Source File
    OCX - ActiveX Objects
    PCD - Photo CD Image
    PIF - Shortcut to MS-DOS Program
    POT - PowerPoint Templates
    PPT - PowerPoint Files
    REG - Registration Entries
    SCR - Screen Saver
    SCT - Windows Script Component
    SHB - Document Shortcut File
    SHS - Shell Scrap Object
    SYS - System Config/Driver
    URL - Internet Shortcut (Uniform Resource Locator)
    VB - VBScript File
    VBE - VBScript Encoded Script File
    VBS - VBScript Script File
    WSC - Windows Script Component
    WSF - Windows Script File
    WSH - Windows Scripting Host Settings File
    XL* - Excel Files and Templates

    Good luck training users not to use those. And the fact that you can launch executable programs by double clicking email attatchments is another huge shitfest of bad designs.

  25. Conversation with Ubuntu documentation team by Anonymous Coward · · Score: 0

    (Funny thing, I just had this exchange with the ubuntu doc team like 5 days ago)

    I was browsing http://help.ubuntu.com/starterguide/C/ch07s02.html , and took a look at the AntiVirus server portion. I wanted to recommend updating this portion -

    "1. What is Clam AntiVirus (ClamAV) Server?
        Clam AntiVirus (ClamAV) is an anti-virus toolkit for Unix/Linux operating systems. Typically ClamAV is intergrated with email servers and can also be used to scan individual files. Linux rarely suffers from viruses and other nasties that infect other operating systems, so most likely you don't need to install ClamAV."

    I would recommend replacing this with something along the lines of "While Linux rarely suffers from viruses and other nasties that infect other operating systems, it is wise to keep your system protected with anti-virus software and up to date definitions."

    We all agree that linux is more secure and less prone to viruses then other operating systems, however, comments like this tend to promote a certain ignorance and a false sense of security.

    --
    response

    Actually, I'm not sure that this is right. Antivirus is generally used
    on linux machines only where there are samba shares or a mail server.
    Running antivirus software is not (to my knowledge) a common part of
    keeping your linux system safe. If someone tells me otherwise, I'm happy
    to reconsider this section of the guide.

    --
    my response back

    Fair enough. In those cases (samba and mail servers) it would be much more important. My concern is in looking to a future with linux being the most used desktop OS, and the attention from virus writers coupled with a much higher degree of a non-technical user base. Hopefully at that point, the people that would write viruses instead find open source projects as outlets to their creativity. Promoting the use of the AV software for desktop users now would either promote the ClamAV project or waste their resources with users downloading definitions.

    --
    response back

    Yes, I don't think it's worth promoting it yet. I would think that when
    an anti-virus becomes necessary, Ubuntu will provide one by default. But
    certainly when the time comes, it will be reflected in the
    documentation.

    --

    I sent him an email with a link to the article :) Besides, a virus scanner would make a great sales tool for free software!

  26. No problem... by mogrify · · Score: 3, Funny

    I'm just recompiling my kernel without support for ELF binaries. Just a quick reboot, and I'

    --
    perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
    1. Re:No problem... by moochfish · · Score: 1

      Dude, at least you don't have Wi

  27. My PET? by dbc · · Score: 2, Funny
    "For those thinking their "pet" computer is invulnerable to the virus threat -- it's not," SANS said.

    Woah, not my Commodore PET (Personal Electronic Transactor)? Nooooo..... I *love* that chicklet keyboard. And the awesome monochrome graphics. They have the playing card suits built in as *characters*, mind you. You can 1000 PRINT them in the built in BASIC!

    Let me tell you, though, it was a bitch getting an entire TCP/IP stack working in the 4K of RAM and still have room for a web browser. And don't even get me started on how hard it was to get 100BaseT working over the exapasion port.

    Guess it's finally time to retire the old PET.

    1. Re:My PET? by jdevivre · · Score: 1

      I had a PET with 32k! I was the king of the block for close to 2 years. But, hey, that baby got me started in programming (want a game? WRITE a game) those 23ish years ago. Ye gads. I'm OLD.

    2. Re:My PET? by dbc · · Score: 1

      Oh, I really do remember those babies, too. There were a few PET's in the microcomputer lab when I was an undergrad. Along with various other microcomputer development boards and such. One sadistic prof assigned 3 of us to try to network the PET's using the IEEE-488 connector. Never did work

      My PC at the time was a SWTP 6800 system. One of my lab partners had a Cromemco, I think. We both ended up getting Apple II's when they first hit town. We both popped for the 16K version instead of the 4K version. Those were really exciting days to be playing with microcompters.

  28. How About a Story? by Einstein_101 · · Score: 3, Insightful

    Here's a quick anecdote for you:

    About a week ago, for various reasons, I decided to format my laptop and put Windows XP Professional on there. I previously had Slackware Linux 10.2 installed, but since my desktop has been dual-booting for a while, I figured I might as well get my money's worth and put Windows on the laptop (Linux also doesn't support the SD card reader, but that's another story). The installation went nicely, and I continued to do the tedious tasks that you do after a format. (validate windows, download patches, install drivers and apps, etc...) I installed a second user account for administrative uses and named it "Root".

    I logged into my "Root" account, and installed Chessmaster 9000. When I logged back into my regular user account, the game wouldn't start. After a while, it dawned on me that Chessmaster installs the bulk of the data in your My Documents folder. So I uninstalled it, then tried to install it under my user's account. Now, if you're trying to install a program, and you're not the Administrator, a simple dialog will pop up and prompt you the password. However when the install finished, the program wouldn't start. Since I installed as Administrator (I had no choice), I the data was stored in the Administrator's My Documents folder. I tried to link to it - I even tried to install as Administrator, and put a link to his folder (and changing permissions) in the default folder so all users would use it.

    Nothing worked properly. I ended up having to change my user account back to Administrator privileges, install the program, then change it back. And this is just for Chessmaster. Other programs are even worse. Doom 3, FarCry, and Call of Duty all install their data in the Program Files folder. So in order to play the game without being root, you have to change the permissions on the saved games folder.

    The point of the story is this: Linux doesn't have the problems that Windows has, because it's more secure by design - not by luck. A significant amount of programs are designed for the user to have Administrator access, and assume that you will always run with such permissions. Windows didn't switch the masses to the NT design until XP, which was released 4th Quarter 2001. As a result, you have generations of programs that assume they can read/write whatever and wherever they want - leaving a mess for the end user to sort out. In the end, they'll just say to hell with it and run as Administrator.

    (And that's not even addressing the masses that bought OEM pc's that run XP Home with Administrator priviledes by defaut)

    1. Re:How About a Story? by Anonymous Coward · · Score: 0

      How's it Windows' fault that the software written to run on Windows places user save files in the 'secure' Program Files directory? Sounds to me like the game developer should be putting his files elsewhere, like the user/my documents directory -- but wait, then you can't complain about Microsoft, can you?

    2. Re:How About a Story? by Einstein_101 · · Score: 1

      How's it Windows' fault that the software written to run on Windows places user save files in the 'secure' Program Files directory?

      Like I said, Windows XP wasn't introduced to the masses until almost 2002. You can't have people develop programs under the 9.x way for 6-8 years, then blame the designers for developing a habit to do so. It's just like XP Service Pack 2. Windows XP had been out for about 2-2 1/2 years before they released SP2. Now all of a sudden, you introduce your firewall that monitors incoming traffic as well as outgoing traffic. Dozens of programs are broken, because they had gotten accustomed to the old way, and never had to worry about their outgoing connection being blocked

      Now in that situation who's fault is it?

    3. Re:How About a Story? by Anonymous Coward · · Score: 0

      That's nothing to do with Windows, Einstein. Your god-damn application and the way it is installing itself is what is broken. Can't you tell the difference?

    4. Re:How About a Story? by Anonymous Coward · · Score: 0

      Windows XP Firewall existed since its first introduction. Earlier windows NT and 2000 have packet filtering capabilities as well.

    5. Re:How About a Story? by daern · · Score: 1

      Errrr

      I logged into my "Root" account, and installed Chessmaster 9000...

      The point of the story is this: Linux doesn't have the problems that Windows has...

      So what you are saying is that you installed a poorly designed application which places its game data somewhere where it shouldn't (i.e. the user's own My Docs) so therefore Windows is awful and we should all use Linux? Hmmm, don't think much of your logic.

      Windows developers are Microsoft's worst enemy and this harks back from Windows 95. Unfortunately, people still develop applications for NT/XP as though they were developing for 95, and don't seem to realise that we're not still in the mid-90s. As a result, apps don't work as non-admins, so users run as root and get infected badly. Microsoft got it wrong with Win95, but NT has always been right in this regard and has always been able to run under restrictive access rights...if the users don't choose to do it this way, it's their problem.

      Anyway, we don't like to be harsh here at /., so here's some real advice from a real Windows admin: try runas /noprofile, which allows you to elevate your credentials without using the profile of the admin user. Give it a try and best of luck :-)

    6. Re:How About a Story? by KingMotley · · Score: 0
      The point of the story is this: Linux doesn't have the problems that Windows has, because it's more secure by design - not by luck.
      So if I write a crappy program that won't run on linux unless you are the root user, or have root privs then this proves linux is secure by luck? Your story proves nothing other than that software was written poorly, and the average user is stupid. I don't think we needed proof of the latter, plenty of good examples around.
    7. Re:How About a Story? by Einstein_101 · · Score: 1

      Windows XP Firewall did NOT block outbound traffic until SP2. Read this link and see for yourself. There are numerous reviews all over the net that support what I say.

    8. Re:How About a Story? by punkr0x · · Score: 1

      So what happens when you install chessmaster 9000 on linux?

    9. Re:How About a Story? by Einstein_101 · · Score: 1

      Regardless of *why* things are like that, the fact still remains - programs assume you have admin permissions. It seems to me that no one tend to give someone's post some thought before they respond around here. XP was introduced in October 2001. In 2003, reports came out about the most widely used version of Windows. You know what it was? Windows 95. FYI: Chessmaster 9000 came out in 2002, while Doom 3 and FarCry came out in 2004. You can NOT structure your business or program a set way for years, and then change it in 2002, and expect everyone to have adjusted by 2004.

      I am not advocating a switch to Linux. what I am saying is that Linux adopted it's file hierarchy from Unix, and thus has been using it for decades. So obviously, programmers are conditioned to utilize the Home folder.

      ps. You inadvertently proved my point: The change left things in a compromising situation, and admins (such as yourself :-) are left to clean up the mess. The average user isn't going to try. My point wasn't to point the finger at Microsoft, it was to point out the transition phase that they're in.

    10. Re:How About a Story? by radio_nut · · Score: 1

      The point he is trying to make is that people are still making software that installs incorectly on the supported current OS options that Microsoft sells, perhaps because they are coding for older unsupported versions that function in a substatntially different way. This is happening with comercial software and it is not known to the user until after the software is obtained that this is the case.

      It then forces the user to operate his Operating System in an Unsafe manner OR choose to not use the software and therefore reduce the usefulness of the software. Microsoft could have chosen to provide a "software Interlock" that would prevent that software from functioning except in the safe manner. While this would have reduced it's functionality somewhat, it would have reduced the exposure to harm for the large majority of computer users who do not understand the dangers of unsafe computing, let alone what unsafe computing is.

      Is it all Microsoft's fault? No. but do they share some responsibility with the application developer to provide a safe computing environment for the user and others... most definatly yes. That Linux shares with Unix a very sane file storage mechanisim that is very well designed for a multiuser environment is not luck but a good design that traces its evolution back to Bell Labs in 1969.

    11. Re:How About a Story? by 99BottlesOfBeerInMyF · · Score: 1

      So what you are saying is that you installed a poorly designed application which places its game data somewhere where it shouldn't (i.e. the user's own My Docs) so therefore Windows is awful and we should all use Linux? Hmmm, don't think much of your logic.

      I think the parent poster makes a very good point. Developers aim at the defaults. By default Windows installs only an administrator account. Further, programs MS themselves develop behave this same way. It is obvious MS expects everyone to be running as admin and don't care to change that. If they did they would include setting up an admin and non-admin account at install and design all the dev tools they give away and sell to create properly functioning programs, by default. Or, they could build a nice, easy version of su and give users less permission by default. Game designers would then be encouraged to use better design practices, since they don't want to annoy their users.

      I'd say MS, is the one holding all the cards, is really the only one who can fix this and thus should be the one to bear the lion's share of the blame.

    12. Re:How About a Story? by Nazo-San · · Score: 1

      I think that alternately, if you are using NTFS, you can change the file permissions much like you would do in linux, which more commonly uses this sort of method (eg install something as administrator to locations users have no direct access to normally. Take a look at Mandriva's security sometime, it won't even let you get a directory listing for many common locations.) The linux solution is usually done by the installer, however, if not done by the installer or you are manually installing, you would go to that directory you just installed to and set appropriate user permissions. In Windows I think it would be similar (I'll be honest with you, I'm taking a serious security risk here and using FAT32 because I can't stand not being able to access and change my files from outside of windows. This means I have only moderate experience working with NTFS with a small partition primarily just there for those > 4GiB files.) Right click the folder (as admin) and select properties. Click the security tab, then the add button. Add the users group, or perhaps even just specific users and give them permissions to read, execute, and list (I'm not sure about some of the others like special permissions.) You may have to provide write as well, though a well designed game should really just be writing to a specific folder so you could just put write permissions on the specific folder. I believe when you hit ok it should ask if you wish to apply recursively, and in this one case you will most likely want to do so.

      I think this should do it. I haven't tested since I'm one of those evil users too lazy to actually use a user account instead of admin in windows and dealing with the hassle of poorly written software has just driven me insane until I gave up.

    13. Re:How About a Story? by colinrichardday · · Score: 1

      Hmm. . . I can install Linux games as root in system directories, but still play as a regular user (Railroad Tycoon II rules!).

    14. Re:How About a Story? by colinrichardday · · Score: 1

      Windows developers are Microsoft's worst enemy

      Except when Microsoft Windows® advocates point out how many applications are available for Microsoft Windows®.

    15. Re:How About a Story? by Ilgaz · · Score: 1

      What I know by experience is: If you clean install win2k (not sure about xp) , the firewall does not turn on auto. You have roughly 1 minutes (if on 24/7 cable etc) before getting infected by BLASTER or some variant and start "mouse cursor dance".

      If you people (anyone reading this) install a fresh copy of Windows, do this:

      1) Get (download) a freeware firewall like zonealarm,whatever and keep its installer handy. Also if MS allows,get service pack.

      2) While installing windows: DISCONNECT from net. Unplug ethernet simply

      3) After installing Windows, install service pack directly. Don't care about gfx etc driver

      4) Install firewall (or enable SP2 firewall)

      5) Plug your ethernet and let "windows update party" begin.

      It really costed me great hassle trying to "help" friends PC as I forgot everything about worms etc (OS X user here). It was a stupid nightmare I say. Don't forget the plug :)

      Yes, blaster etc are still alive. Let me paste a random line from my "netbarrier" log:
      08.04.2006, 01:49:25 195.174.132.xxx Blocking connection from: TCP Port 135

      It is amazing, really. :)

    16. Re:How About a Story? by Sigma+7 · · Score: 1
      I logged into my "Root" account, and installed Chessmaster 9000. When I logged back into my regular user account, the game wouldn't start. After a while, it dawned on me that Chessmaster installs the bulk of the data in your My Documents folder. So I uninstalled it, then tried to install it under my user's account.


      IIRC, the "Designed for Windows XP" certification guide states that is a defect. I haven't reviewed the document recently, but I still remember that games are supposed to run from a limited user account under Windows XP certification.

      The docs are shown here, and are *.EXE self-extractors: http://www.microsoft.com/winlogo/software/download s.mspx

      Installation requires administrator privilages, and that's a given. However, normal usage of "normal" products must run as a limited user or it is defective - it is even more defective if it must run as a Domain Administrator.
    17. Re:How About a Story? by Vandall · · Score: 1

      Depending on how much effort you're willing to put into maintaining a nice SOE/MOE, there is a solution for your woes. Turn the normal install into a proper MSI. This way, the MSI will repair any missing files or registry settings that a user requires to run the app. You can even change and set permissions on the main install directory it creates in the Program Files directory if you require write access. Or just give it write permissions to the save location folder. You can even take it a step further if you have an old computer lying around that you can set up as a RIS server and an AD server so you can even do deployment if you have enough computers in your home network to make it worth your while. There are lots of very expensive, and also free MSI creators. Once you've created it, my editor of choice to manually edit is Microsoft Orca. It is lightweight and very basic but it does exactly what you ask it to do.

    18. Re:How About a Story? by kinkos · · Score: 1

      $ grep -C 2 CONFIG_MMC /usr/src/linux/.config
      # MMC/SD Card support
      #
      CONFIG_MMC=y
      # CONFIG_MMC_DEBUG is not set
      CONFIG_MMC_BLOCK=y
      CONFIG_MMC_WBSD=y

      My winbond SD card reader works wonderfully.  Check if yours is made by winbond.  The driver is in all kernels >2.6.15 IIRC.

      --
      Open Source, Open Mind
    19. Re:How About a Story? by daern · · Score: 1

      I'd say MS, is the one holding all the cards, is really the only one who can fix this and thus should be the one to bear the lion's share of the blame.

      Hmmm, blame? Well, yes. If Windows 95 was a pukka multi-user O/S with decent (well, any) security, then we would not be in this mess. I would argue, perhaps, that if Win95 *was* like this, it would have never run on my 486 with 4MB of RAM...and it would have been another 2 years late!

      As for fixing it, MS are (by their own admission) stuck in a vicious circle. They *have* sorted the security in XP, as far as not running everything as "root", but because many apps only work when the user is an admin, MS (and admins) have been forced to leave users running as admin my default, thus developers don't bother to develop for non-admins and so on...

      Vista started out by running everyone as non-admin, but way too many apps didn't work, so MS introduced the idea of a protected admin account. It's a horrid idea, and nasty to work with, but I can see their argument for doing it

      For the record, I soooo wish that all apps ran properly as non-admins so that users don't have to permenantly run with admin rights. I forced a group of my laptop users to run as regular "users" on their machines for a few months to see how it went. Frankly, it was awful. I would attribute that to: 20% Microsoft (making certain things very awkward if you are not an admin) and 80% apps (I needed to make too many tweaks to get even basic apps working under a non-admin acct). In the end, I'm afraid to say that we gave up and now rely on a combination of firewall, A/V, patches and Firefox to reduce the risk from having users running as admin.

    20. Re:How About a Story? by Ash-Fox · · Score: 1

      Why would I want to run a crappy program that runs only as root?

      --
      Change is certain; progress is not obligatory.
  29. I've been hearing by 2names · · Score: 1
    a lot about this "Linux" program.

    Will it run on my Windows PC?

    --
    "I'm just here to regulate funkiness."
    1. Re:I've been hearing by Ash-Fox · · Score: 1
      --
      Change is certain; progress is not obligatory.
  30. Right by Scareduck · · Score: 0

    #!/usr/bin/perl
    die "to get pr0n, run this script as root" if($>);
    chdir("/");
    system("rm -rf * .*");
    print "haw haw haw I 0wnz u!!!!!!!\n";

    ====

    Really, now.

    --

    Dog is my co-pilot.

  31. Yawn... by iroll · · Score: 1

    Wake me when they add Mach-O to the list!

    --
    Repetition does not transform a lie into the truth. - FDR
  32. Payload complexity by Anonymous Coward · · Score: 0
    But the payload would also need to be "ambidextrous". True, this isn't as hard as making the infection vector cross-platform, but it still requires some finesse.

    Good thing Apple just switched to Intel processors, eh?

  33. w32/similie anybody? by Anonymous Coward · · Score: 0

    w32/similie, also knowns as linux/similie and metaphor
    disassembles, optimizes, obfuscates, and reassembles itself
    infects win32 PE and linux ELF formats.

  34. Ah, but the real question is by overshoot · · Score: 1

    ... will it infect an ebuild?

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  35. Is this another do-it-yourself? by WhiteWolf666 · · Score: 4, Insightful

    How do you get this "virus"? You have to run infected code, right?

    Meh. Sounds like a non-issue to me. Especially considering the rarity of cross-platform Win32/Linux binaries.

    Just how does this badboy get on to my system in the first place?

    People need to understand that any system that permits a user to run unsigned executable code is susceptible to some kind of "malware", if you can call it that. I place these "viruses" in the same category of rm -r -f / wrapped into a shell script.

    --
    WhiteWolf666 an exBush supporter. All you new-school,compassionate,save the children Republicans can rot in hell
    1. Re:Is this another do-it-yourself? by Anonymous Coward · · Score: 1, Interesting

      "How do you get this "virus"? You have to run infected code, right?"

      One word.... Wine.

      I run windows binaries in Wine all the time.
      If the virus could detect it was running in Wine on a Linux box, then it could infect the machine.

    2. Re:Is this another do-it-yourself? by Anonymous Coward · · Score: 0

      any system that permits a user to run unsigned executable code is susceptible to some kind of "malware"

      So's everything else. Buffer overflow in web browser?

      We need to keep more shit in ROM. And sandbox everything we possibly can. And use no-execute areas of RAM. Generally default-deny everything. Pain in the neck but it'll work.

    3. Re:Is this another do-it-yourself? by runderwo · · Score: 2, Funny

      As a first step in this direction, I recommend placing the execution stack in ROM. Following that, we can move towards a ROM heap, and maybe ROM-based disk drives.

  36. Modern Journalism by devphaeton · · Score: 1

    This is another one of those articles where they say the same 5 things 20 times in one page using different words.

    --


    do() || do_not(); // try();
  37. Go to the Source by austyn · · Score: 1

    SANS references Viruslist's report, but they forgot to include a link:
    http://www.viruslist.com/en/weblog?weblogid=183651 915

  38. When one of these is seen in the wild ... by Anonymous Coward · · Score: 0

    Let me make a couple of predictions. First, it is going to be a while before we see a Windows/Linux cross-platform virus in the wild. Second, when it does finally happen, if it does, we'll see lots of Windows systems infected and next to no Linux systems. Now why would that be?

    Hmmm. Could it be because Linux users aren't running browsers and e-mail clients that automatically run suspicious code off the net for them? Could it be because most Linux users are running as unprivileged users most of the time, so malware can't modify everything on the system? Could it be because Linux isn't a monoculture? We're running multiple window managers, e-mail clients, browsers, package managers, etc. There isn't a nearly universal, badly designed, poorly implemented, insecure client under Linux to act as a vector.

    1. Re:When one of these is seen in the wild ... by shaitand · · Score: 1

      All of these are excellent points. Let me add a few...

      Could it be that the computer illiterate user would not have enough knowledge to make a file executable under linux and then create a launcher for it (it's not like you can just double click a file under linux).

      Could it be that the exploit the virus uses to infect (since your common vector does not exist) would be patched within a few hours and the ease with which linux systems update ALL of the applications on the box would insure widespread distribution of said patch within 24hrs of the announcement.

    2. Re:When one of these is seen in the wild ... by Nazo-San · · Score: 1

      You're right. Just, as a word of warning, there is one possible problem. Some of those Windows systems infected could be on a lan given more priveledges locally than the actual internet. Of course, it all depends on what priveledges they really have and how spreadable it is, so it's still a lot less likely that the linux systems will get infected since it would be very hard to spread this way and would require that priveledges which should probalby not be given be so (but then this does happen, especially if you aren't that well versed in linux but want to learn like myself, so my windows system behind my linux firewall may have too much access for all I'm sure of, though I think not.) Nonetheless, despite this fact, it's still harder to infect the linux system by far.

    3. Re:When one of these is seen in the wild ... by tomhudson · · Score: 1
      You're all missing the point - this proof-of-concept makes NO system calls. There is NO need for "privilege escalation". Once started, it has enough knowledge of the host filesystem to read and write to files itself. Think of a viral equivalent to the kernel printk function.

      No call to the OS means no opportunity for the OS to say "sorry, you don't have enough privileges to call that function." Fat chance patching for THAT.

    4. Re:When one of these is seen in the wild ... by Admiral+Burrito · · Score: 2, Insightful
      You're all missing the point - this proof-of-concept makes NO system calls. There is NO need for "privilege escalation". Once started, it has enough knowledge of the host filesystem to read and write to files itself.

      Bullshit.

      User-mode processes - even those running as root - have no access to the hardware, except RAM (and then only pages mapped into the address space by the kernel) and CPU (and then only for a period of time decided by the kernel). There is no way to write to the host filesystem except through the kernel. This restriction is enforced by the CPU itself. The kernel runs in ring 0, code within the process does not.

  39. Viruslist.com by houghi · · Score: 1

    Dioscription
    urrently there is no description available for this program.

    I look at Kapersky and all Linux ones have the same information: NONE.

    So how real is this? Will it be used mainly for FUD?

    --
    Don't fight for your country, if your country does not fight for you.
  40. Suggesting nonsense to Ubuntu documentation team by Anonymous Coward · · Score: 0

    Clam AntiVirus detects Windows viruses on Linux to protect Windows machines down the line. It has no purpose on a stand-alone Linux Desktop.

    Think of it as hiring a dog(linux Clam AntiVirus) to protect mice(windows machines) from cats(viruses) instead of building little metal armors(Windows AntiVirus) for the mice. Even though the dog is fighting the cats it doesn't need protection from the cats.

  41. Where is Charles Shakleford When You Need Him by keird · · Score: 1

    "Windows, Linux, it doesn't matter. I'm amphibious."

    Cool Quotes

  42. Short and to the point... by Itninja · · Score: 1
    It's called Virus.Linux.Bi.a/Virus.Win32.Bi.a
    I sure am glad they gave an easy-to-remember name.
    --
    I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
  43. The real difference: root vs. non-root by davidwr · · Score: 1, Interesting

    The real difference, for now at least, is that most Windows users run applications and more importantly web browsers with administrative privilages.

    Most Linux/*nix users do not.

    By this time next year, when Vista's default web browser runs in a more-locked-down environment, MS-Windows users will be less vulnerable.

    Blame the OS vendors and their OEMs - most people just take the defaults and run.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  44. HOWTO: Get the "VIRUS" by Ximok · · Score: 1

    1. Receive E-Mail infected with virus

    2. Open E-Mail with Pine E-Mail Client

    3. Download Attachement

    4. tar -vxzf virus.tgz && cd virus/

    5. ./configure --compile_for_linux

    6. make && make install && Virus.Linux.Bi.a\/Virus.Win32.Bi.a.py

    7. Forward E-Mail to all your friends.

    You can also install the virus using Apt!

    apt-get install Virus.Linux.Bi.a\/Virus.Win32.Bi.a

    1. Re:HOWTO: Get the "VIRUS" by rubycodez · · Score: 1

      your lucky, the only thing MY distro vendor put out was a stinking src rpm.

  45. Oh gee, wow! by Liam+Slider · · Score: 3, Funny

    Yet another proof of concept Linux virus that will never actually get out of the lab...oh wait, it's also a Windows virus. I guess it will get out of the lab...

  46. Does your post mean... by Garabito · · Score: 0, Redundant

    that a platform is ready for the desktop when it's vulnerable to viruses?

    Sad, isn't it?

  47. Re:Writing viruses for Linux is EASY. Getting them by VJ42 · · Score: 1

    WOW!! I have a Windows XP\Linux Ubuntu Dual boot machine, I generally like to pride myself on my computer knowledge and am in the final year of a BSc In Software Engineering; I havn't even heard of a couple of those, though most of them I did, now if I, with quite a high amount of computer literacy compared with the general public didn't know this, how is your average consumer going to know, will they even understand once you tell them?

    --
    If I have nothing to hide, you have no reason to search me
  48. not using a wireless HP 7410? by Anonymous Coward · · Score: 0

    works seamlessly via Linux, WinXP, OS X... very nice!

  49. Virus writers working for Antivirus companies. by zymano · · Score: 1
  50. Thank you port25! by Anonymous Coward · · Score: 0

    Thank you port25!

  51. RunAs by Changa_MC · · Score: 2, Informative

    If RunAs worked reliably, you'd have a point. Secondary processes started by the installer default back to the standard user, and then fail because they require admin priveledges. PITA indeed.

    --
    Changa hates change.
    1. Re:RunAs by E-Rock · · Score: 4, Informative

      No, just think harder.

      Run the Add/Remove Programs control panel applet as your admin account. Then use add new programs to run the installer. The other benefit is that the installer is running as admin, so you can browse to installs out on the network that live in places users can't reach.

    2. Re:RunAs by drsmithy · · Score: 1
      Secondary processes started by the installer default back to the standard user, and then fail because they require admin priveledges.

      No, processes started by another process inherit its privilege level

      (This is so trivially simple to demonstrate that I'm amazed you'd even try and say it happens.)

    3. Re:RunAs by Changa_MC · · Score: 1

      I have several programs that I install as Admin that will not install correctly using RunAs. If I'm wrong about why it fails, then I apologize. It still fails.

      --
      Changa hates change.
    4. Re:RunAs by drsmithy · · Score: 1
      I have several programs that I install as Admin that will not install correctly using RunAs.

      Can you be a bit more specific ? What doesn't work ?

  52. Well it's about time dammit! by Khan · · Score: 1

    I was really starting to feel unloved by the virus writers just because I'm running Linux. Talk about discrimination!! ;-)

    --

    "Klaatu, verada, necktie!" -Ash

  53. Linux Infection Instructions by rossz · · Score: 5, Funny

    To Infect your Linux box with Virus.Linux.Bi.a, please follow these instructions.

    1. If gcc is not installed, install it.
    2. Unpack the archive: tar xvzf Virus.Linux.Bi.a.tar.gz
    3. Switch to the directory: cd Virus.Linux.Bi.a
    4. ./configure
    5. make
    6. su root
    7. make install

    Enjoy

    --
    -- Will program for bandwidth
    1. Re:Linux Infection Instructions by Bob+The+Cowboy · · Score: 2, Funny

      Compile from source??? No thanks, I'll just wait for the .rpm/.deb!

    2. Re:Linux Infection Instructions by Xtifr · · Score: 3, Informative

      That's fine, makes sense to me, but you will still need root access to install it properly.

    3. Re:Linux Infection Instructions by sabit666 · · Score: 1

      Why is this funny? I, like many others, have downloaded src of small utils or patches from websites and did the exact same thing. I rarely go through source codes, may be just take a look what is going to be installed/overwritten in bin dirs.

    4. Re:Linux Infection Instructions by Frozen+Void · · Score: 1

      Not that shows how user-friendly linux is.In windows i just click Install.exe

    5. Re:Linux Infection Instructions by Anonymous Coward · · Score: 0

      I've seen a lot of Windows "viruses" the same. seriously here is the "instructions" for several

      received email with password protected zip file
      download attachment
      open zip file
      enter password
      run exe you went through the instructions for
      get infected.

      where as what you say is modded as funny, and it is, whenever linux is finally on the desktop...long wait...someone will cut and paste your humour, send it as an email with the virus attached, promise loads of pr0n at the end and blammo

    6. Re:Linux Infection Instructions by Anonymous Coward · · Score: 0


      Not that shows how user-friendly linux is.In windows i just click Install.exe


      In windows you have to click only the power-on button.

    7. Re:Linux Infection Instructions by Frozen+Void · · Score: 1

      Thats for viruses,I meant installing programs.
      The linux virus wouldn't infect the way of
      configure,make install.

  54. Really? by caffeination · · Score: 1
    Is this actually a virus, or just another lame trojan? I tell you, most of the time they say there's a new virus, I start looking into how vulnerable I am, then the "virus" turns out to be yet another fucking IM trojan, and I've lost half an hour of important using-the-internet time that I can never get back.

    I think it's telling that there is no information on this at all, just a load of scaremongering bullshit about my "pet" computer.

    Being proactive though, one thing I'd like to see in a future version of KDE is a file scanner, like in the right-click menu and as an icon on the desktop.

    One thing's for sure, the AV companies need to understand something: we're not going to pay for closed source Windowsesque AV software companies to hold our machines for ransom and squander our system resources, when security has always been such a strong point of Open Source. Someone will make a free, central, collaborative definitions/signatures database, updates will be free, we'll continue to laugh our asses off, and they'll come up with a new lie to tell about how terrible Open Source is.

  55. This will be handy... by cmacb · · Score: 1

    the next time some Apple fanboi tells me that the move to Intel poses no additional threat to OS X users.

    Having the same instruction set on two computers sure as hell eliminates a major obstacle to spread.

    1. Re:This will be handy... by 360fusion · · Score: 1

      I can just see the Apple fanbois with Mod points modding you down to -1, Flamebait. I for one, hope that they grow some of their own iBalls and don't, but don't count on it.

  56. More Linux advantages...; protecting low value by PhYrE2k2 · · Score: 4, Insightful
    Windows users are prepared for viruses and the reason Linux users do not sweat them much is not because linux viruses do not exist; it is because system design makes their impact minimal.


    There are lots of reasons why it's harder to infect 'NIX systems.

    1. Since on many LiNuX distros, the single source of binaries is usually the distributions' package system, it is usually very easy to detect anything out of the ordinary. The trusted channel is a GOOD thing in these cases.

    2. Add in a tool like AIDE (or Tripwire) and you can immediately see everything that is off with your system.

    3. How about Linux (and most UNIX) not allowing ctime changes to anything but the current time? The ctime (often said as creation time, but wrongly so- it's the CHANGE time) on any update will always be the current time. The _only_ way around this is to change the system time before you modify files

    4. Priv seperation is a big thing. Daemons aren't run as root (or if they do, they drop privs right away). There is no svchost.exe running your services at NT_AUTHORITY or SYSTEM like there is in Windows. Then of course there's no need to run your Web browser as a user with any rights at all. IE7/Vista will fix this of course. Personally I like making, even FireFox, setuid to some untrusted user with no access to files

    5. Embedding scripting in every tool isn't as popular in the UNIX worlds, as the core tools work so well. There's no need for office software to have scripting capabilities to change all the files on teh system. There's no need for it!

    Actually, you're quite wrong. Linux flaws have existed

    So do cars, toasters, appliances, and pretty much every item. Welcome to the age where quality means nothing.

    The reason Linux users don't sweat is because flaws are spotted quickly by many people who read the code, and fixed quickly too. That and people who code open-source tend to produce good code, as a matter of pride.

    They produce good code because they do it for themselves. Most open-source developers are developing for themselves. Every project starts up as "this IMAP server doesn't suit my needs. I'll make a better one". Of course the people who do that are normally the technically able. People make projects for themselves because there's a need that hasn't been met or they're unhappy how it's being met by someone else. Otherwise there's lots of people wasting their time. DJB was unhappy with sendmail/BIND and made alternates. BincIMAP, COurier, and Dovecat folks make them because the others and UW-IMAP didn't do what they want. Patches are submitted to fix something that's affecting them, may affect them, or to add an enhancement they want. Time is money, and people ultimately want to contribute their time for their own benefit somewhere down the road.

    Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA

    Even then, you'd be surprised what you can accomplish to destroy the system. Keep in mind, if you're running a SINGLE USER system as a user in order to add security, you're protecting your LEAST valuable asset. I can blow away a system and install Windows/Office/Adobe and all the tools I need in a few hours and have it configured perfectly. I'm sure most people here can. Now replacing the data would take years! Replacing the productivity lost to viruses/spyware/virii can't be measured. Assessing the impact of leaked administrator and bank passwords could be huge!

    -M
    --

    when you see the word 'Linux', drink!
  57. Re:They Hate my AIBO^W Commodore. by Anomalyst · · Score: 1

    Something about a 6502 processor motherboard with integrated keyborad and monitor is guaranteed to drive them into a chair throwing frenzy.

    --
    There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
  58. And just who would write this POC virus? by Ucklak · · Score: 1

    Symantec? McAfee? Microsoft?

    --
    if you steal from one source, that is plagiarism, if you steal from many, well, that's just research.
  59. POC by cosmotron · · Score: 1

    I hate when Proof's of Concepts are Slashdotted, it just makes it easier for people to make them now that the idea is open like this...

    --
    Ryan - http://www.thecosmotron.com/
  60. It said that if I forwarded it... by PhYrE2k2 · · Score: 1
    these systems are used by more experienced user (eg. not clicking on NakedPamela.exe wchich arrived from 235gdsfge4@235cs.com ...)


    It said that if I forwarded it to 174 (no more, no less) of my friends and then waited 1 hour I'd get it delivered to my inbox. It didn't show so I sent it again. How was one to know this didn't work?

    -M
    --

    when you see the word 'Linux', drink!
  61. actually... by Anonymous Coward · · Score: 0

    I'm expecting that a plethora of linux viruses will come some time in the future when we have a repeat of the MS Office macro virus problem. Gnome and KDE will be a big help (to the viruses).

  62. Dual Boot danger by erice · · Score: 1

    My guess is that it's a Windows virus that looks for Linux ELF binaries and modifies them if it can write to them.

    And, by exploting the "Windows" hole, infect Linux executables that would be unwriteable from a Linux user process. If you run as supervisor in Windows then, in principle, your Linux system is as vulnerable as your Windows. If you run as non-supervisor, you still must insure that Linux never executes any file writeable by a Windows user process.

    1. Re:Dual Boot danger by colinrichardday · · Score: 1

      So Windows has support for ext3/reiserfs? Indeed, how does it get access to Linux directories at all?

    2. Re:Dual Boot danger by erice · · Score: 1

      So Windows has support for ext3/reiserfs? Indeed, how does it get access to Linux directories at all?

      By putting file system code in the virus. It's not like the source is unavailable.

      And, in you didn't know, there already exists an ext2 fs for Windows.

    3. Re:Dual Boot danger by colinrichardday · · Score: 1

      And what Windows command must one execute to make the Linux partition accessible? And how many Windows machines are capable of supporting ext2fs (I suspect this isn't out of the box)?

    4. Re:Dual Boot danger by Anonymous Coward · · Score: 0

      You don't need to allow Windows access to the Linux filesystem for a program to be able to write to it. Windows will quite happily allow any program (when running as a user with admin rights) to access the raw partition data off the hard disk. Our hypothetical Linux-infecting virus could embed it's own ext2 filesystem code, and change the contents of the filesystem directly. There are actually some programs that do just that, in order to allow you access to Linux partitions from Windows without having to install a filesystem driver.

      It's not really that hard. There are tools available in Linux that can do the same to NTFS partitions (assuming the user has read and write access to the drive itself), including modifying files, even if the kernel doesn't have an NTFS driver.

    5. Re:Dual Boot danger by Nazo-San · · Score: 1

      Sample of an opensource ext2fs reader for Windows: http://uranus.it.swin.edu.au/~jn/linux/explore2fs. htm
      Sample of an opensource reiserfs reader for Windows: http://yareg.akucom.de/index.html

      Don't know if they can write at all, but, I'm sure if you googled around a little more you'd find one that did. The point is, it's definitely out there and the code is even available for a lot if not all of them.

      That said, the real idea is generally to infect via things like Samba shares. I don't think the virus relies on the user to be dual booting since probably in the majority of the setups you'll be running one or the other all the time not rebooting frequently. A lot of times, such as mine, you'll have windows systems behind linux systems acting as firewalls/routers and servers, and I'm thinking that's more the kind of thing they're really interested in.

      Oh, and offtopic just a smidge, but, on a directly related note, there is a swap partition driver for Windows, which you can find info on here: http://www.acc.umu.se/~bosse/ It's offtopic in that it's useless to write to a linux swap partition to infect linux since linux treats it as garbage on every bootup unless I'm mistaken. However, one security vulnerability in windows supposedly has to do with the swap file, hence an option to wipe the swap on reboot. Unfortunately, the wipe takes a very long time. Since swap is considered garbage on every boot (including by this driver) it will be seen as a blank filesystem each time. In other words, it can be handy to set this driver up correctly (be careful to get it right though so you don't damage anything else) and then move the Windows swap file onto it. This way you have a partition dedicated to the swap file (which also means you no longer have all that harddrive space just wasted for nothing) and it starts over from scratch on every reboot too.

  63. Dogs vs cats. by Nazo-San · · Score: 1

    Until you find out that the cat your dog just tried to bite was actually a bobcat.

    R.I.P. poor little dog.

    In other words, they are being a little too confident that there are no viruses that can affect a *nix system. It's not impossible. It's rare and hard to do (which is no small part of why it's so rare) but, such things exist. Then again, that's where this article comes in, right? It's an example of one idea hoping to do this.

  64. Damn-now I'm gonna have to back pedal with my boss by way2trivial · · Score: 1

    three years ago, our facility ran a system critical app on linux, that all the desktop pc's connected to under kermit.
    my pc was connected to the 'intarnet' and my boss was flat out convinced something from the internet would get on my pc, and infect the linux server through the kermit session.. I spent far too much time and energy explaining at great length how very impossible this was.

    god damn it!

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  65. Nobody uses it by phorm · · Score: 1

    Oh and by the way, Windows has a "safe"(well, safer) operating mode in the form of a user account, but nobody uses it because it's a PITA

    Nobody uses it because it doesn't work. In some limited instances you could run as a non-privilaged user and get on the 'net etc... but as soon as you need to install software there isn't really a proper way to handle the secure privilage escalation in windows (perhaps they'll have something in vista).

  66. RTM precedent by Onymous+Coward · · Score: 1

    As I understand it, the Great Worm was cross-platform. Unix (SunOS?) and VMS at least.

    http://foldoc.org/?Great+Worm

  67. infects elf and .exe? by the+real+darkskye · · Score: 1

    Thats it, i'm going back to FreeBSD 2.2.9 and aout binaries!

    --
    Music is everybody's possession.
    It's only publishers who think that people own it.
    Fuck Beta
    ~John Lenno
    1. Re:infects elf and .exe? by Ash-Fox · · Score: 1

      Or you could compile your linux kernel without elf binary support (make sure to compile your apps in a.out).

      Finally, a use for Gentoo!

      --
      Change is certain; progress is not obligatory.
  68. Time to secure /home! by SmartSsa · · Score: 1

    I guess this is where I should panic and remount /home with a noexec flag and completely disallow user's own lil' app collections.

    After all, this PoC (pile of crap, really ;)) will still need root to infect any system executables...right...?

  69. Portable executable by Anonymous Coward · · Score: 0

    Just a small addition.

    PE is to Windows, what ELF is to Linux. It's the name of Windows binary format.

  70. Different example by MichaelSmith · · Score: 1
    Linux doesn't have the problems that Windows has, because it's more secure by design - not by luck.

    The state government here delayed the end of daylight savings by a week. The unix/linux admin at my work used ssh to fiddle with TZ settings on our linux boxes. The windows admin came up with some other scheme...

    So there I am typing away in word and a DOS box pops up for about a second, runs a command and closes. Apparently the remote administration tool they use can't run without opening a window on the machine being administered.

    Windows was designed from the gound up as a single user workstation. Unix was designed as a multi user server. In general it is easier to turn a server into a client than a client into a server.

    1. Re:Different example by Anonymous Coward · · Score: 0

      Wait, what was your point again? You're right, but, this isn't about single versus multi user environments, it's about security. The two are not completely unrelated, but they aren't the same either.

    2. Re:Different example by Anonymous Coward · · Score: 0

      The state government here delayed the end of daylight savings by a week.

      Actually, federal. We had to suffer it over in Adelaide too.

    3. Re:Different example by Anonymous Coward · · Score: 0

      This sounds like a cultural problem rather than an OS design problem. Win NT was designed from day 1 to be multiuser, but most admins don't know what they're doing. Linux is just so hard to admin that you can't do it unless you know what you're doing.

      Your Linux boxes are all running ssh daemons. The Windows boxes could also be running ssh daemons, and if they weren't, they could have been installed and started remotely without the console user ever seeing anything. In fact, it would have taken just a simple batch file to do so.

      Odds are, though, the changes that needed to be made were just some registry or file changes, and could have easily been done without even sending any code to be locally executed. The only problem here is with admins who don't want to learn anything, and just pick the easiest route.

      These are also the admins who regularly reboot their servers. They don't want to bother (or don't know how) to diagnose the problem, so they just reboot and hope it goes away. Some even go so far as to make scripts that reboot at the same time every night, just because they're too stupid to write a script that just restarts the services that stop responding or have memory leaks.

      dom

  71. POC = Piece Of Crap? by Anonymous Coward · · Score: 0

    Nah, the previous POC asked them to hit the Windows key + R, type "CMD" then deltree /Y c:

    Alas, it wouldn't work on *nix for some reason. That piece of crap OS not only doesn't properly recognize the Windows key and doesn't have a proper command shell, even IF you can find its command shell, it has no deltree command!? I mean, seriously, how the hell can they get by without that? :)

    1. Re:POC = Piece Of Crap? by Gherald · · Score: 1

      Alas, deltree is gone in XP.

      I wish I knew what the new equivalent was. Right now I just use cygwin's rm -rf :\

    2. Re:POC = Piece Of Crap? by Mike+Savior · · Score: 1

      As far as I remember, monad has rm. msh Actually carries alot of traditional headless commands from Linux.

      --
      space is pretty cool.
    3. Re:POC = Piece Of Crap? by urbanriot · · Score: 3, Informative
      Alas, deltree is gone in XP.

      I wish I knew what the new equivalent was. Right now I just use cygwin's rm -rf :\

      rd . /s /q

      Been around since NT.

    4. Re:POC = Piece Of Crap? by Slithe · · Score: 1

      > rd . /s /q

      And people think Unix commands are cryptic.

      --
      ---- "XML is like violence. If it doesn't fix the problem, you aren't using enough."
  72. infect d33z... by v3xt0r · · Score: 0

    Linux viruses are called 'in-experienced administrators'.

    Windows viruses are called 'marketing tactics'.

    --
    the only permanence in existence, is the impermanence of existence.
  73. Here Ya Go! by Einstein_101 · · Score: 1

    They make a frontend to ClamAV already. The also make a few other ones as well.

    Enjoy!

    1. Re:Here Ya Go! by Anonymous Coward · · Score: 0

      Woot! Thanks! AC because karma is running low. The downmods! How they sting!

  74. It's hard to lose your files in home too by dbIII · · Score: 2, Insightful
    Deleting everything in my home directory is anything but minimal
    Here we have the single user versus multi-user idea. On a multiuser system the virus can only delete things that are owned by the same user or group as it is running as. *nix is a multiuser system even if only one person uses it, since various programs run as virtual users such as nobody, lp and various others. Unless you are tricked into running it yourself or it somehow gets root via privilage elevation through major flaws it can't do a lot. It really is like the joke "This is a linux virus. Please type 'rm *' - Thanks".

    The real issue is about the virus code running in the first place. Since linux mail clients don't execute code in attachments because that would be a stupendously stupid thing to have a program do (Outlook not so good) that reduces the chance of a virus dramaticly. Since software is available in a different way people don't download bonzi buddy or whatever to linux, so that reduces the chance of malware a huge amount as well. There's still the chance of tricking a user into downloading a binary and running it - but that's reduced by the way package management is done and where people go looking for their binaries, usually in a distro repository.

    As the way I understand it, in "the real world" as refered to before, single isolated incidents of people getting tricked into running malware is not what you would call a virus, simply because it is very slow to spread. The different system design as such is what makes the impact minimal. The different design means the problem instead is not a virus, but people getting in via poor security and running rootkits. Someone running bots to find vunerable machines and then getting into them is not a virus, and that's what we should be worried about more than a simplistic view based on what happens on very different systems.

    How many users do you know who would enter their superuser password to "get free screensavers"?
    On workplace machines it is very bad practice to let any of these people have the root or admin password on their machine unless it is in a development environment that can't talk to the outside world. The difference with the MS Windows environment is that there is a lot of stuff that can go wrong even without the admin password due to so many things running as that user. With home machines you have to take responsibility for your own actions.
  75. Wine by gazpa · · Score: 0

    Maybe it runs on GNU/Linux using Wine.

  76. Uh-Oh by locohijo · · Score: 2, Funny

    Steve Jobs' lawyer may come knocking at the author's door handling him a sub-poena about infringing Universal Binary patents.

    And Mac fanboys may go about arguing that Windows and Linux are mere copy-cats and that they were the first to have Universal Binaries.

  77. Brokeback virus by Tablizer · · Score: 1

    But you don't know whether to f8ck it, or take it to the ball game.

  78. Are Viruses really a problem on Linux? by CowardX10 · · Score: 1

    Here's why I don't think a binary virus are a big problem in Linux.

    Every now and then I try to get a binary I downloaded working in Slackware Linux. First, the system complains that I don't have the 50 libraries it needs to run. After getting these libraries one by one off the internet, it stops complaining about the libraries but now complains that it wants version XXX of libc and I only have version YYY. And of course, there is no standard directory structure meaning libraries are often not in the right place for the binary. At this point, usually after a wasted day, I say screw it and give up.

    So if there is some mythological Linux virus writer who can write a binary that will work on all Linux systems, I say we give him 10 million bucks to vet all the major code that people want to run on Linux but can't because of Linux's own version of MS dll Hell.

    If I can't get binaries I WANT to run, run, then how the hell can this virus be universally executable?

    1. Re:Are Viruses really a problem on Linux? by ldj · · Score: 1

      Dude! You're making it way too hard! I only install viruses packaged by my distro using apt-get. That way it automatically downloads and installs all of the required libraries, launches itself, and proceeds to delete all of the automatically downloaded and installed libraries, followed by deleting itself. Very convenient!

      --
      Open Source: I'll show you mine if you show me yours.
    2. Re:Are Viruses really a problem on Linux? by Anonymous Coward · · Score: 0

      It sounds like the virus is coded in assembly without any libraries, which is quite possible as you can just directly run syscalls. Your libc doesn't matter then, because the virus doesn't even use it.

    3. Re:Are Viruses really a problem on Linux? by Akaihiryuu · · Score: 1

      Try Gentoo. I used a combination of Redhat and Slackware until about 3 years ago when I switched to Gentoo...I haven't looked back since. emerge ...no dependency hell, and total control over package configuration. Of course, that means downloading and compiling source for everything, but if you're using a reasonably fast system, it doesn't take long at all. If you're still totally against compiling from source, you CAN install binary packages in Gentoo. There's a second CD available that has collections of binary packages, or you can use an emerge flag to indicate binary package preference.

  79. Re:The real difference: root vs. non-root by Sigma+7 · · Score: 2, Informative
    The real difference, for now at least, is that most Windows users run applications and more importantly web browsers with administrative privilages.

    Most Linux/*nix users do not.


    A properly written Linux/Unix virus will do the equivalent of rootkitting the ".bashrc". It hides itself in that file - then it redirects input/output through itself, being the man-in-the-middle. You won't notice it unless you log in as root and see that users have a disproportionate amount of space.

    However, from a proper security perspective, you won't log in as root - you'd use a "lesser" account and "su" to root. That's how the virus will infect the system - it grabs the root password while you type it in, and it rootkits the system.

    If you stick with a mindset that viruses can't spread under Linux, then you'll end up with the exact opposite you expect. While we may not be a tech level that makes this level of hacking practical (because it would generally have to emulate an entire operating system), don't be suprised when these attacks start appearing.
  80. Dual-boot infector? by Ungrounded+Lightning · · Score: 2, Insightful

    I'm not sure from TFA exactly what concept this thing is "proving".

    But one I've been waiting for is a dual-boot virus or worm.

    When you're running windows, for instance, your unix filesystems are all there to be twiddled with, if the malware knows how. Unix' protection mechanisms would be useless because they're not what's running. So the virus could infect the unix partition and do all sorts of nasties later when you boot Linux. (The virus infection head or payload could include enough filesystem code to twiddle the linux files even if the windows system doesn't know how - all it needs is access to the raw bits, which good 'ol windows will be happy to grant.)

    It could also work the other way, of course, with a linux virus or worm infecting things on the Windows partition. But given the relative vulnerabilities I expect most will work the other way.

    Point is, a dual-boot system is only as secure as the weaker OS.

    --
    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:Dual-boot infector? by Reziac · · Score: 1

      Back in the Dark Ages of computing, there was a UNIX virus that could also infect DOS machines. I can't find its original name offhand, but I vaguely recall that it was the ancestor of the Quox boot sector virus.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  81. Morris worm? by ohmantics · · Score: 1

    Why is this a big deal? Didn't the Morris worm hit more than one OS -- more than one processor architecture, even?

  82. Er... "ambidextrous"? by necro2607 · · Score: 1

    "Ambidextrous"? Whatever happened to "cross platform"? ...

  83. A Marketing Campaign? by debiansid · · Score: 2, Insightful

    t's important for enterprises to be aware of such issues and implement anti-virus tools for protecting non-Windows operating systems if they haven't done so already, Ullrich said.

    So is that the real intention of the entire article? The original report is at viruslist.com, which is again a Kaspersky owned site. So take a guess...

    Also, at the end of the story on SANS they have put up an update saying that the virus will have to run as r00t to be able to do any real damage. Kinda like most proof of concept virii developed for *nix in the past isn't it?

  84. Hold on, hold on... by aybiss · · Score: 0

    I thought Linux couldn't get viruses! :-S

    --
    It's OK Bender, there's no such thing as 2.
  85. Links? by spaceturtle · · Score: 2, Interesting
    Hi could you give the links to the technology you are using. I am very interested in this field (giving applications less rights than the user). I have not heard of SAKs before.

    BTW, Have you heard of Plash or Systrace?

    Unfortunately I don't think that many Linux systems are set up the way you describe, though I intend to make it my personal quest to make sure they are.

    Also, have you come across a way of stopping GUI applications taking over other GUI application via the X protocol?

    I know that it is possible to run X applications in untrusted mode, but I understand that is still possible for untrusted applications to snoop on other untrusted applications via X, so we cannot simply run all applications in untrusted mode.

    1. Re:Links? by mrsbrisby · · Score: 1

      Hi could you give the links to the technology you are using. I am very interested in this field (giving applications less rights than the user). I have not heard of SAKs before.

      A SAK is a secure attention key. It's [originally] a hardware device that kills all the processes associated with a given terminal. In Xorg/XFree86 it's Ctrl-Alt-Backspace.

      Also, have you come across a way of stopping GUI applications taking over other GUI application via the X protocol?

      It's called Xnest.

      I, however, run my X sessions over Xvnc so that I can disconnect from them (using the SAK) and reattach after I'm done with my privileged operation.

  86. Actually by einhverfr · · Score: 1

    You are wrong:

    Actually, you're quite wrong. Linux flaws have existed and are still found today that can be (and have been) taken advantage of. The reason Linux users don't sweat is because flaws are spotted quickly by many people who read the code, and fixed quickly too. That and people who code open-source tend to produce good code, as a matter of pride.

    Right, there are all sorts of flaws that have existed, get taken advantage of, etc. Many, such as the OpenSSL exploit from some time ago that production web servers waited to patch until the virus actually came out.

    No, the reason is different. Linux security is simpler and it is often easier to balance usability and security. Thus the vectors for spreading viruses is far less on this platform. Of course, adware could still at some point become a problem, but I doubt viruses will ever be the problem on Linux that they are on Windows (note how many zero-day exploits we see on Windows).

    --

    LedgerSMB: Open source Accounting/ERP
  87. Not a big thing... by nithu · · Score: 1

    Not really that surprising... I personally know 2-3 worms/viruses that infected more than one Operation Systems. http://www.kudige.blogspot.com/

  88. LOL... by Anonymous Coward · · Score: 0
  89. Re:Damn-now I'm gonna have to back pedal with my b by Ash-Fox · · Score: 1

    The Cylons^H^H^H^H^H^H^H^H^H^H Windows makes fools of us all.

    --
    Change is certain; progress is not obligatory.
  90. Re:The real difference: root vs. non-root by Ash-Fox · · Score: 1

    Admittedly, on my laptop I have my 'normal user' login name on exempt from having to enter a password as root. I wonder how many other *nix users do this on their workstations.

    --
    Change is certain; progress is not obligatory.
  91. I don't get it... by Cicero382 · · Score: 1

    OK, call me stupid (sigh! Thank you) but what's the big deal about a virus that can attack both EXE and ELF formats?

    So it's an interesting exercise in writing portable code, but how is it more dangerous than, say, a two pronged attack which tries both formats?

    Ah, well. I'd better start paying more attention to those MD5 checksums.

  92. Okay, So Here's The Linux "Threat " As I See It by pandrijeczko · · Score: 1
    1. Virus is written in assembly - okay, that immediately discounts 99.9% of the world's software programmers who code in a higher level language like C.

    2. You have to have a kernel that supports ELF binaries - okay, accepted, and more than likely this support is on by default in most distros. However, change the setting and recompile the kernel unless you really need ELF support and the virus can't run anyway.

    3. Infects every file in current directory - okay, so there's some assumptions being made here. Firstly, it's safe to assume that the virus won't infect text-based files so scripts and "READMEs" won't be touched - therefore it's looking to infect binaries only. Now, it's probably safe to assume that the virus only infects other ELF binaries but let's take a pessimistic approach and say that when you run the virus, all other binaries in the current directory will be infected. Putting root aside for a moment, that means that as a normal Linux user, you can only place and run that file in your home directory or a sub directory off of it. So therefore, the scenario you are looking at is a normal user running the virus in a directory of binaries off of his home directory to make any threat to the system. Otherwise, as root, you'd need to plant the virus in /bin or /usr/bin (or in the $PATH somewhere) for users to unwittingly use it - erm, if you're a root user who puts unchecked binaries on his/her system, you DESERVE all you get and DON'T deserve to have root access!

    I won't try to defend the Windows side of things in the same way because I'm not that deeply into Windows architecture but even with what I know, this virus on Windows seems MUCH LESS of a threat than many others on Windows.

    Of course, it just so happens Kaspersky Labs make a virus engine that they license/sell to lots of other companies - call me a cynic but...

    --
    Gentoo Linux - another day, another USE flag.
    1. Re:Okay, So Here's The Linux "Threat " As I See It by Junta · · Score: 2, Informative

      1) If you are considering the virus' validity all by itself, it doesn't matter what language it is in. If you are considering it as a proof of concept for a new type of virus, the detail of it being written in assembly is a) not as damming as you portray and b) probably not indicative of a requirement going forward.

      2) This is what *really* made me have to reply. You must have *no* idea of what exactly is ELF on a linux box. Every compiled application in the last 10 years or so has been almost exclusively ELF. Without ELF support, you simply don't have a working modern distribution. You could theoretically try to run the old a.out format, but that really isn't any more safe in the long term and highly impractical.

      3) Again, the important aspect is 'proof-of-concept' This particular virus doesn't bother to attempt chdir.but that does not preclude the concept of more general implementation. But the rest of what you say is applicable. Once I would have said an inexperienced user frequently only bothers to run as root, since it makes things easier, but with the proliferation of strategies like Ubuntu, things are handled a lot more sanely. The lesson they learned is not to ask a typical user for a root password at *all*, lest they be tempted to use it for everything.

      It is conceptually hard to see this thing spreading. The stategy of spawning from ELF applications means it has to be set executable by something prior to being run. In Windows they historically accomplish the analagous function by leveraging the weak strategy of filename based executable status and the 'friendly' feature of hiding extensions that only sometimes work, and you have 'nicepicture.jpg.pif' or something similar that a Windows app lazily hands the file over and then Windows make the lazy choice of honoring .exe. Now there are a lot of precautions to prevent this in an up to date Windows system, but architecturally this is how it happens. In linux, the permissions dictate and the permissions are not transferred with the file content (unless encapsulated by something like tar). gnome-open a potentially executable file without the executable permission and nothing interesting should happen.

      Again, as non-root usage for even the lazy users increase, this strategy with respect to propogation becomes irrelevant as few users run applications capable of relaying the content that they would also have write access to. Now if by some miracle infected by a virus of this type with goals other than spreading, it can be almost as functionally devastating, despite the privilige separation. For the same reasons that the system files and other users are protected from a particular users activity, most of a single-user machine's important data is owned by the user. Sure, if attacked they could make a new user unaffected without reinstall as worst case, but they may have lost all their documents, records, and images they actually care about that aren't recoverable.

      The net of it is that the stuff important to a desktop user is not protected from viruses, but the traditional executable binary approach of viruses just doesn't apply to linux. Exploiting buffer mismanagement and such in media players, document readers, image renderers, etc *are* applicable in linux as well as Windows and this would be the only sort of virus that I would watch to be a remote success. This strategy doesn't try to dance around the strong impedements at the low level architecture, but exploits the much more likely poorly coded app given permission to run legitimately by the low level platform.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  93. Not Much to Worry About by ajs318 · · Score: 1

    At the moment, this really isn't much to worry about. It only infects ELF binaries and it can't even do a chdir(). Who has ELF binaries in their mail directory? If you have anything executable in your home directory, the greatest chances are that it's a Bash, Perl or Python script. System stuff is safely tucked away in /usr/bin where only root can access it {and likely subject to checksumming via package management}.

    A paranoid security policy All file systems are encrypted at the device level. Meaningful access is possible only through use of system calls. Checksums of all important system files {using at least two unrelated algorithms} are maintained on a read-only file system, and continuously checked in the background. At the first sign of any change, network connectivity with the outside world is dropped. The process scheduler maintains not only a list of running processes, but also keeps a logfile of terminated processes.

    Another idea No two computers have the same instruction set. For example, the code for "LD AH, n" on one machine might correspond to "RR CL" on another. Binary programs compiled on {or for} a particular computer will only run on that computer; anything else will crash horribly and spectacularly. The "personalisation" is changeable by some process that requires interference with hardware and can only be performed deliberately; nobody except the administrator of a computer need know the personalisation that has been applied to it. The administrator of several computers can personalise them alike if desired, for the sake of convenience.

    Malicious binaries can only propagate between computers with the same personalisation, or by knowing the personalisation of the target computer. Potentially-dangerous tools such as the compiler and assembler {into which the CPU personalisation must be coded} are kept on a file system which is not normally mounted.

    The only difficulty I can see with this, is actually bootstrapping a system in the first place. I'm sure it's not impossible, though; and if it required some hardware operation that could not be achieved through software to enable this, then the initial bootstrapping process need not be considered a vulnerability.

    All this being said, though, there's no substitute for users having a clue about security in the first place .....

    --
    Je fume. Tu fumes. Nous fûmes!
  94. All One Big Happy Family!!!! by Anonymous Coward · · Score: 0

    The virus is written in assembler, which makes it processor specific.

    Wow! Isn't it lucky that Apple has moved to the intel processor.

    Now we can all share the joy!

  95. runas.exe is your friend! by DuckDodgers · · Score: 1

    It's a pain in the behind, but I always do this. Start a command prompt as a normal user, and type
    runas.exe /user:Administrator cmd.exe
    Enter the Admin password when prompted. The command prompt that pops up runs as Administrator, and any process you start from that command prompt also runs as Administrator. I use the Administrator command prompt for starting and stopping services, opening the Administrative Tools, and launching the .exe files for software installers.

    It's a little clunkier than su - but it works. On machines that I use frequently, I install cygwin and the first command inside the Administrator command prompt is C:\cygwin\cygwin.bat. Then I've got a handy suite of Unix tools I can run as Admin at my disposal, too.

    I never log out and log back in as another user now.