Now Linux Can Get Viruses, Via Wine
fsufitch writes "Wine has advanced enough to make Linux not immune to Windows viruses. However, just like many Wine applications, it takes a bit of effort to get the program off the ground. Also, just like some Windows programs running via Wine, not all features may work — in this case, the crippling of the system, immunity to the task manager, identity theft, etc."
Haven't it always been pretty clear that Wine could run Windows viruses, as long as they don't use some weird low-level tricks (which admittedly many do)?
But for that matter, Linux doesn't have malware only because it's desktop share is next to nothing (not the same amount atleast, there are Linux viruses out too). Mac OSX has been getting more and more viruses lately as it's marketshare has been growing. So would Linux aswell if it ever gained more users.
As long as the OS isn't completely locked down from the user, there will be malware. Windows, Mac, or Linux cant defend you from that. But none of us really want a locked down OS. And as long as the users are stupid their computers will get infected.
It's just about the marketshare.
A virus run in Wine is akin to taking a ferocious tiger out of the jungle, paralyzing it, then hooking up all of its nerve endings to virtual jungle simulator. It's not a perfect simulation, though, so the jungle maybe doesn't look right, and plus there's an omnipotent power that can change anything that goes on in the simulation, or even destroy it and the tiger's consciousness with a few twitches of his fingers. Now that's power.
Power that's generated by feeding the dead tigers back to other tigers so we can use their body heat to generate MORE POWER!
On second thought, lets stick to car analogies.
The way Linux software is distributed, makes it much less likely to get a virus. You know how many applications I have downloaded from random websites in the past 2 years for my Linux system? Maybe, 2. All of the rest are in the centrally managed, (hopefully) certified virus-free application repository, which is free for all.
The idea that a Linux user would download random stuff from a torrent or website is a pretty foreign concept. For me, and moth others, if it isn't in the repository, I don't bother - because there is probably something in the repository that suits my needs just as well or better anyway.
This is a lonesome linux virus. Please add
deb http://malware.server.ru/debian experimental non-free
to your /etc/apt/sources.list and excecute "apt-get my-first-virus" as root. Thank you very much vor your cooperation.
What do you expect when Linux gets drunk on Wine and wakes up with Windows it's bound to have caught something.
It's like I used to not be able to get herpes, AIDS or the flu and NOW I CAN! Thanks, wine team!
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
I always have to configure the programs so much before they run. It really defeats the purpose of a virus if I have to configure it so much first. Once Linux can run Windows viruses with a one-very-poorly-chosen-click install process I might make the switch. Besides, I can just run my FOSS software under Windows and still have access to all of the proprietary viruses that are only made for windows.
So if this is the future...where's my jet pack?
Didn't read TFA yet (already slashdotted?), but I think I've encountered one working "unwanted program" under Wine lately.
If I recall correctly, the vector was the setup or the program itself for a peer to peer TV system, which I wanted to try under wine.
Once launched, some unwanted processes kept popping out, and the command reported by ps was stuff like "wine C:\WINDOWS\TEMP\asasaazasdax.exe" or similar.
Suspect at first look.
Actually I don't remember which one between "killall wine" or "kill -KILL " solved the issue.
Mastering the English language is fucking easy: all you have to do is to put an f* word in every fucking sentence.
Preface: I'm Debian GNU/Linux user of 10 years, but not a professional computer geek. I use GNU/Linux to get work done.
I thought Linux was just a kernel? Should not the headline read "A Linux distribution that has Wine installed *might* be vulnerable to Windows viruses?"
If you look deeper to Apple users virtual machines (Sun Virtual Box etc.) , lots of them doesn't bother to install some free AV, a basic one saying "it is virtual anyway". When you talk about how evil things can be done while their virtual machine up and what kind of trouble they may get into if they have bad luck, they install a free AV to Windows.
If you have trouble convincing such people, just use plain logic: It can even run some games let alone a worm/trojan/virus.
It is not in the culture you know...
...you should be able to get a virus from wine is at church.
I work as a sysadmin at a company making a slow switchover to Linux, and I've experimented with this a bit. You can greatly, greatly limit the damage any virus can cause through wine by unmapping it's Z drive from the wine configuration menu. By default, wine maps / to Z. I can see why they did this, (wine can only run applications within a mapped drive) but it likely needs to be undone across the board. The best alternative would be to create a unhidden wine folder in the user's home directory and map that in wine. If Z is left mapped to /, then a windows virus can run rampant all throughout your system.
09-F9-11-02-9D-74-E3-5B-D8-41-56-C5-63-56-88-C0
So WINE can get a virus intended for Windows, if you jump through some hoops to help the virus along. Color me unworried.
What can a Windows-targeted virus in WINE do to a Linux system, other than hang around looking impotent? Most of the target DLLs and other windows hidey-holes don't exist in WINE. Even if it finds a place to lurk, it's unlikely that it could hit the Linux system files or boot loader, or perform keylogging outside WINE or snoop on private files. A very crude "wipe drive C:" type virus might molest your WINE environment (your data files are elsewhere, of course), but that's about all. Even if the virus were specifically tailored for WINE on Linux, a successful attack would rely on user stupidity even more blatant than Windows viruses must depend on.
TFA even commented on how easy it is to dispose of the malware, even after spending some effort helping it to limp onto your system.
Those who can make you believe absurdities can make you commit atrocities. - Voltaire
Users with Office installed seem to end up documents infected with a macro virus.
While the Macs are themselves unaffected, they pass along the infection to windows boxes.
That's usually the point where they are found and removed, but the general lack of av for Mac (few choices and most lack functionality/accuracy) along with the perception of macs as immune means that av is rarely installed on macs.
When it is, AV_App_X doesn't detect the malware, whereas AV_App_Y detects, but can't clean, and AV_App_Z has no realtime scanning.
In 1996, my Linux box was hacked in under 20 minutes of being online. The root account password was changed and my account was deleted (along with all my files). I reinstalled and learned about securing unix.
In 1998 my Linux box was hacked due to a 3 month behind-patch version of bind. They dropped a perl script into /tmp and tried to gain root with a perl timing-to-root bug, which had already been patched on my system. A disconnected backup was used to validate all the files on the system and proved that only the named userid and /tmp/.sdfsdfs directory had been touched.
I don't run bind on an internet accessible machine anymore.
I haven't been hacked since, but I'm not so ignorant to believe that I can't be hacked. My plans for when I'm hacked revolve around discovering the cause and restoring from a complete system backup, then removing the vulnerability. I expect to be hacked, period. "I" is really "we" since I run servers for my company and for other companies.
Neither hacks were viruses, but they were just as bad and could have been much worse.
Linux isn't THAT more secure, it is just less targeted since Windows is 90%+ of the computers. Stop being so smug folks.
I think Apple is about to learn a real lesson with the iPhone being hacked constantly. Then Linux will be targeted.
I use Parallels Desktop 4.0. It works great on my MacBook Pro. I can run almost any Windows program. The downside is that, of course, the Windows virtual machine is slower than a real Windows box. However, what is important to me is that Windows viruses are trapped inside the virtual machine.
I like to say, "The Power of Mac. The Utility of Windows. Thanks to Parallels." No. I don't work for Parallels, but I love this product.
Yes it does: it's just very very rare.
A friend of mine bought a domain and within hours of getting it and starting it, someone put a rootkit on that damn thing before he could lock it down - yes, it was a Linux server hosting his domain. Yes, it's not malware per se as you would from surfing the web, but we shouldn't get complacent about Linux' absence of threats.
It's NOT me! It's the meds! I'm on 1000mg of Fukitol.
Ubuntu 9.10 will start sandboxing desktop programs (starts with xpdf i think), other distros do already/will follow. I think that sandboxing can (and if required will) criple malwares abilities (e.g can't listen on network ports, can't insert itself to bootsequence, can't touch chrome tabs that are connected to https sites) leaving them unable to do most malwarey things without permission and can work like an AV that is designed right (e.g warn users that they are about to do something very stupid, only when they are not everytime they run a 3rd party app/widget, without having to scan binaries)
IranAir Flight 655 never forget!
The site is already running evil code on my computer against my permission!
(before down-voting look at the top of TFA)
IranAir Flight 655 never forget!
Felinae spongiform encephalopathy!
Now they can claim a 100% emulation of Windows.
Thousands of Linux systems now are running windows virus. That new improvement in Wine made a lot of Linux users to intentionally install the last wine version and browse dangerous places using IE6 under it to see if they get lucky and get some virus. "I'm excited", said one linux user, "i managed to get 3 different virus, a worm, and you wont believe, my machine is now part of a botnet! Woohoo!".
Yeah, it can run viruses, but "not all features may work -- in this case, the crippling of the system, immunity to the task manager, identity theft, etc.".
So in fact, it's not a virus anymore. It's just another program. The very point of being a virus is gone. Because the security settings still hold. (Unless you are retarded enough to run a Wine program as root. But in that case you're just asking for it anyway. ^^)
Any sufficiently advanced intelligence is indistinguishable from stupidity.
Don't want a virus, it's simple, stop whining.
We've seen "viruses running under Wine" stories on Slashdot before. Years before, as a matter of fact.
BTW I love the really pathetic spin in the submission - "things don't work correctly, and that's a plus!"
#DeleteChrome
The Linux virus via WINE, or S-WINE bug.
This just goes to shows you how good Windows emulation on Linux is.
Obama has just declared the WINE Flu a boring and uninteresting, non mainstream worthless distraction from the launch of Windows 7. It runs viruses natively folks!
Actually Windows 7 is quite good.
Good luck Bro. -Opie
From TFA:
If it managed to infect the Wine registry well enough that it's run automatically, I will have to go into the Wine registry to remove it manually. Or I could run a couple of simple commands:
sudo aptitude purge wine;
sudo aptitude install wine;
Wrong. Wine installs stuff in ~/.wine. The above commands don't touch user directories, so he would end up with a fresh system-wide wine installation but the same malware-ridden user config.
The state you are in while your HEAD is detached... - wait, what?
See, Linux _can_ do everything Windows can do! A better Windows than Windows...where have I heard that before?
I hope it won't get the new sWine virus.
Love many, trust a few, do harm to none.
Is it possible that Wine could grow more powerful by running viruses on it, learning about how the virus interacts with Windows, and then figuring something "undocumented" about Windows from the virus? I could see Wine gaining alot of new and better functionality by learning from Windows Viruses that malware writers write. Turning every malware writer an unwitting Wine contributor.
wine has been able to run a vires payload for a wile now. it doesent effect the system any. linux can spred a windows vires to a windows system but not get infected itsself. this is why linux antivires softwhere is out not to relly protect the linux system but to prevent accidentally sending a infected file to windows.
Who could have possibly seen this coming?
ReactOS is still around, and progressing well enough. It's based on NT though, not 95, or at least, it is now.
He says that it is all about money, no evil conspiracy. But he does say they (MS/Canonical/Red Hat) have made an agreement to push forwat Mono as THE platform, and that they really don't openly share this Grand Plan with their developers. They just slowly are moving their developers in the direction of Mono, fearing that if they push too fast there might be some silly revolt.
I suspected as much. I think a number of us have had a feeling for a while now, that Mono = Embrace and extend for Linux, essentially.
People will eventually come to realise that the so called, "purist," perspective in this case was prescient. It's just a shame that it's still probably going to destroy Linux in the process.
I just hope Microsoft are willing to allow us to keep the BSDs, at least.
Call it the-bell. Then you can have "last saved by the-bell."
signature is pants
It has been known for some time that viruses might run on wine. Threr is an urban legend about some Linux user who has tried to launch some malware in wine just to see if it's gonna work.
It worked. Indeed it worked so well, that the malware has managed to steal his ICQ password from QIP (which was running in wine too).
Hi, I wrote an article about my observations of klez infecting a computer that was both a friend's desktop machine and a small vhost business. It was on slashdot SEVEN YEARS AGO. So this is anything but news. http://tech.slashdot.org/article.pl?sid=02/10/23/1853219
I read the script, and I think it would help my character's motivation if he was on fire. -Bender
Well, many malware apps still spread simply because users will click on anything and also try to click away checkboxes as fast as possible.
The problem is the user, not the os. It doesn't matter how secure your system is.
So this comment is actually very insightful. Replace "malware" with any app that the certain user REALLY wants to have (like Facebook-Hack-And-See-Pictures-Marked-Private-In-Profiles-Application) and they WILL install it. Even if the procedure is complicated.
Simple.
1. Use a real distribution and read fucking books
2. Only use ssh (It can do everything) and lock it down
3. iptables takes care of the rest
4. You don't need Wine (Who needs MS software anyway?)
This has been posted because the Washington Post declared that Linux is the safest way to go for online banking. Action - Reaction. The oldest trick in the books.
Unix IS proven technology. Microsoft is just soft.
or administrator, then the viruses won't be able to install.
ReactOS is also based on WINE code, but it has a different security model than Windows XP/2003 has in that it is more like Linux in that normal user accounts cannot install anything or modify system files, you have to run as Administrator/Root for that. The same thing with WINE.
Just like you wouldn't surf the Internet as root, you don't want to run WINE as root either. In that way WINE is superior to Windows XP/2003 as it uses Linux security.
Actually I switched from WINE to VirtualBox from Sun to run Windows XP Pro in a virtual machine to get more XP compatibility. But it doesn't do 3D Video and DirectX 3D support very well, but that part is still being developed. It is the only way I can get Visual BASIC 2008 to run under Linux, WINE won't run it.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
Isn't the difference between "purge" and "remove" that "purge" also removes the user settings (in this case ~/.wine)?
BTW I love the really pathetic spin in the submission - "things don't work correctly, and that's a plus!"
Yeah, that got me too. Have you ever had the "fun" of trying to get an app working on Wine that their website claims works just perfectly with it? I've had only a 30% success rate at getting games to run under Wine, and I'm not really surprised to see some Wine user with Stockholm syndrome deeply impressed by just how far a virus could stubble, stutter, and limp its way through Wine.
Wine still sucks as far as I'm concerned.
If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
If you are infected while VM is on, there is nothing stopping your virtual machine send spams, distribute viruses and doing even worse things. I have seen how fast and easy a good written worm infects system without any sign.
There are also mad things happening like Delphi based virus infecting million downloaded utility developer machine without getting noticed and being distributed. Take Windows security very serious and of course, I don't say you should run some state of art security suite. A basic and good written AV like Avast can even run fine under emulated x86 (VPC 7).
I beg your pardon?
It's hard to get effective third-party software because of some vague thing about Linux kernel versions?
You'll excuse me for pointing out inconvenient truths, but _all_ Linux software other than the kernel itself is third-party. Linux is, after all, just a kernel. The rest of what makes up a Linux-based operating system is written by third parties, starting with GCC and the rest of the GNU tools. Some of it is even proprietary.
Lest you try and backtrack and say you were only talking about AV software, there is lots of AV decent software available for Linux, and guess what? It's all written by third parties, too.
The distributors themselves are third parties, except to the extent that they have kernel developers on their staffs.
You may have also failed to notice that there is excellent support available for Linux from a variety of sources, including paid support with SLAs, for those who want or need it.
If you're going to troll, you should at least be good at it.
So, your story was only one year after the earliest story of this type that I could find on Slashdot:
http://tech.slashdot.org/story/01/09/23/1614214/SirCam-on-Linux-via-WINE
2001... wow.
lets call it swine flue. Oh wait the name is taken
Not entirely true. Most wine installs have access to either your homedir or the root directory as various drive letters (mind you only as the user it runs as).
So technically if it was a runs-in-wine-but-targets-'nix type of virus, it could find your .bashrc or whatever, and edit it to launch on login.
It's actually funny. A lot of things in windows are various hacks to improve security. For example, disabling access to the "Internet Properties" control panel from IE. At least on XP, that policy doesn't work because it is still accessible from elsewhere such as the privacy/cookies section in media player. The lack of an underlying security method makes some things very difficult or well near impossible to secure.
For Linux, the problem is the opposite. You're working against certain levels of security to improve accessibility. For example, when accessing thumb drives or scanners, you may need to work with udev to ensure than the /dev/x entries are read+writable by a particular group (floppy, disk, cdrom, plugdev, whatever) that your normal users would belong to. You don't want all the dev block entries to be thus because then the user could have direct access to your system disks.
Gee, what an illustrious milestone. A red-letter day for Linux. Woo-hoo... whoop it up boys and girls! A system so desperate for exploits that we'll EMULATE a whole 'nuther system just to get them!
Comment removed based on user account deletion
LMAO . . . . Agree Totaly : D
A serious zero day threat, such as Blaster doesn't need any kind of user intervention, nothing open, no configuration faults. It just works. It is not like they will browse with IE and let me tell one reason why most installs a VM, to actually BROWSE with IE under Windows. Web designers, people who does business with companies infested with MS and even some Intranet users.
Also when I talk about OS X users, I talk about the general community. You know, same guys double click DMG files and happily give their passwords to have some "codec" installed (trojan).
rm -rf ~/.wine; winecfg
The largest prime factor of my UID is 263267.
We've known about this for years. As others have posted, don't run Wine as root, only run it as your account. Only map drives in Wine that you absolutely need, and restrict them as much as possible. I would strongly suggest removing the default drive of Z: which points to / . As long as we need to use Wine, we'll always have the risk of viruses getting through, it's just the nature of the beast. Personally I only use Wine for running games and a few apps that I must have that I can't find Linux replacements for. But overall, it's worth using native GNU/Linux applications wherever possible. Find a replacement for all apps like Adobe, etc, and enjoy the freedom of open source at the same time.