Wine Issue n Solution

Embed Size (px)

Citation preview

  • 8/17/2019 Wine Issue n Solution

    1/2

    sign up log in tour h

     Take the tour    Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

    What if I run a virus/trojan Windows EXE on Ubuntu with Wine?

    ve got a file said to contain information I was looking for. Unfortunately i t is an executable instead of DOC (as it was meant to be) and thete I 've download it from looks suspicious for me. If I was not using Linux, I'd run it on a VM or a separate PC. But running Linux, do I need to

    orry, or can I just run it with Wine? Can Wine system be infected?

     security windows wine viruses

    sked Oct 1 '10 at 20:16Oct 1 '10 at 20:16

    Ivan

    6,5846,584 21 70 143

     –

    This is almost a complete duplicate of this question of the Unix and Linux stackexchange site. Some good answers

    there. unix.stackexchange.com/questions/1729/… frabjous Oct 1 '10 at 21:12

    –See also: Risks/Disadvantages associated with Wine Lekensteyn Aug 18 '11 at 21:07

    4 Answers

    he news is only slightly better than it is on Windows. If you run the executable, it can do anything

    n executable can, up to and including getting whatever data is in your home folder.

    he good news is that most Windows viruses aren't (yet) written in a way to work well on Wine. In

    ome cases you can delete the wine folder and be otherwise unaffected.

    he bad news is that a wine executable is an executable in the full Linux sense -- there's nothing

    opping it from doing anything a malicious shell script might, including escaping the .wine folder.

    ine has a wiki page on securing Wine here: -- partial

    easures you can take include things like scanning a file with ClamAV before running it.

    http://wiki.winehq.org/SecuringWine

    edited Mar 5 '12 at 5:22Mar 5 '12 at 5:22 answered Oct 2 '10 at 12:59Oct 2 '10 at 12:59

    Scott Ritchie

    2,9732,973 9 21

    here was an . Short version: Almost all Windows viruses aren't

    ritten to run well on Wine. Maybe Wine has gotten better, but it's not the sort of compatibility

    at Wine i s looking to offer.

    ancient article about this 5 years ago

    here are a couple viruses that infect both Windows & Linux but they're very very rare and didn't

    pread all that well.

    edited Mar 2 '12 at 18:27Mar 2 '12 at 18:27 answered Oct 1 '10 at 21:10Oct 1 '10 at 21:10

    Broam

    89 9899 4 13

    mple way to "secure" wine is in winecfg tell all the desktop integration folders to point to your

    wine folder and remove drives other than the drive_c inside the .wine folder.

    nswered May 14 '11 at 10:53May 14 '11 at 10:53

    bob

    5151 1 1

    buntu Community Ask! Developer Design Discourse Hardware Shop More ›  

  • 8/17/2019 Wine Issue n Solution

    2/2

    s no so muc v ruses u roo s a a re angerous o nux. us e care u w roo access,

    do and su commands.

    nswered Feb 24 '11 at 20:51Feb 24 '11 at 20:51

    user11353

     –

    That might be true when Linux was almost exclusively in the domain of servers and enterprise machines, but

    nowadays a lot of people use it as a desktop OS... it'd be hard to argue to those people that they aren't

    endangered, even after losing all their personal info, because the virus wasn't able to run as root.

    really 

    Chan-Ho Suh

    Mar 2 '12 at 20:34