Page 3 of 13 FirstFirst 12345 ... LastLast
Results 21 to 30 of 122

Thread: What would happen if you ran a windows virus using Wine?

  1. #21
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,162

    Re: What would happen if you ran a windows virus using Wine?

    Interesting! Gonna try to scan mine now, just for the fun

  2. #22
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: What would happen if you ran a windows virus using Wine?

    Ok, here is what happened. I ran the program maybe for about 5-10 Seconds and then killed it. However it put programs in memory, and they continued running for maybe about 10 min untill I killed everything. Here is what happened. I have a 8 Gig partition that is full of all my work. While the thing was running it managed to really expand itself. In every folder that I have in an 8Gb partition I have a very lot of partitions, it made and exe file after the folder name. Ex:

    Folder name - htmlwork
    inside that folder is an htmlwork.exe file that is a virus.
    I have literally 100's of viruses on that partition, in a matter of 10 min, and it is still scanning after 3 hours of scanning. Does anyone have a simple way of removing these? I can go and manually do it, but it will take me a considerable amount of time. The folder names very extensivelly, many of them contain spaces ect. HELP!

    A good peice of advice VIRUS SCAN EVERY .EXE, .BAT, .COM OR OTHER MISC WINDOWS FILE YOU DOWNLOAD BEFORE YOU RUN IT IN WINE!!!

    Shane

  3. #23
    Join Date
    Feb 2007
    Beans
    53
    Distro
    Ubuntu 6.10 Edgy

    Re: What would happen if you ran a windows virus using Wine?

    Code:
    cd /
    rm -rf *.exe
    ?

  4. #24
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: What would happen if you ran a windows virus using Wine?

    Quote Originally Posted by Luk0r View Post
    Code:
    cd /
    rm -rf *.exe
    ?
    If I'm not mistaken that would remove every .exe file on that partition, or direcotry recursively? I have a lot of old downloaded Windows programs that I really don't want to get rid of. And several that I run in Linux under wine. I did find a way to do this with clamscan. I'm moving them all to a separate directory for revision. I have yet to find any of my filesystem infected, just the data partition that my user name has write permissions to. So far it has moved 177 files there for me to review and delete. Thanks for the help though!

    Shane

    Oh, the command is pretty simple
    Code:
    clamscan --move=directory/to/move/infected/files name -ri --no-mail /directory/to/scan
    any doubts just use man clamscan and it will give you the scoop.
    Last edited by shane2peru; February 23rd, 2007 at 04:58 AM.

  5. #25
    Join Date
    Apr 2006
    Beans
    170

    Re: What would happen if you ran a windows virus using Wine?

    Just run wine as an underprivileged user that only has read and write access to ~/.wine ( I would't even give it read access to / as it could read and transmit sensitive data ). Windows privilege escalation attacks don't work in wine ( the emulation isn't THAT good ) and the virus will think that it has Administrator privileges and access to the entire ( fake ) C: drive anyways, it's like a chroot jail.
    Computers are like air-conditioners... neither work as well with Windows open.

  6. #26
    Join Date
    Sep 2005
    Beans
    29

    Re: What would happen if you ran a windows virus using Wine?

    So you people that have been running an anti-virus, is that a Linux side anti-virus or a anti-virus installed and running in wine? I find it interesting if a Linux side anti-virus finds wine'd windows viruses. But I also don't funny understand how wine works so I could be missing something.

  7. #27
    Join Date
    Feb 2007
    Beans
    0

    Talking Re: What would happen if you ran a windows virus using Wine?

    I wonder what would happen if someone ran a virus using wine as root, with / mounted as a drive in wine. I have a free partition.... I'm tempted to try. Of course not mounting any other drives so it doesn't spread outside too far.
    Last edited by cearum; February 23rd, 2007 at 03:06 PM.

  8. #28
    Join Date
    Feb 2007
    Location
    Cape Town
    Beans
    1
    Distro
    Xubuntu 6.06 Dapper

    Re: What would happen if you ran a windows virus using Wine?

    Cool, you got dugg!!

  9. #29
    Join Date
    Aug 2006
    Beans
    8

    Re: What would happen if you ran a windows virus using Wine?

    Recursively delete all .exe files in a directoy:

    Code:
    find <dir> -name '*.exe' -exec rm {} \;
    Recursively move all .exe files to some other directory

    Code:
    find <dir> -name '*.exe' -exec mv {} <dest dir> \;

  10. #30
    Join Date
    Mar 2006
    Beans
    1,107

    Talking Re: What would happen if you ran a windows virus using Wine?

    NOTHING!!!!!!!!!!!!!!!!

    Its likegoing to Russia(Linux) and saying F-OFF(Virus), no one would understand you, except the interpreter(Wine).
    Last edited by cantormath; February 23rd, 2007 at 03:38 PM.
    Linux Hardware Boycott!
    How Many People Have you Converted To Linux?
    HD-DVD code:I cant tell you because I got an infraction for posting it here.

Page 3 of 13 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •