pylm
(usa Gentoo)
Enviado em 08/05/2015 - 12:40h
11.1. Wine is malware-compatible
Just because Wine runs on a non-Windows OS doesn't mean you're protected from viruses, trojans, and other forms of malware.
There are several things you can do to protect yourself:
Never run executables from sites you don't trust. Infections have already happened.
In web browsers and mail clients, be suspicious of links to URLs you don't understand and trust.
Never run any application (including Wine applications) as root (see above).
Use a virus scanner, e.g. ClamAV is a free virus scanner you might consider using if you are worried about an infection; see also Ubuntu's notes on how to use ClamAV. No virus scanner is 100% effective, though.
Removing the default Wine Z: drive, which maps to the unix root directory, is a weak defense. It will not prevent Windows applications from reading your entire filesystem, and will prevent you from running Windows applications that aren't reachable from a Wine drive (like C: or D:). A workaround is to copy/move/symlink downloaded installers to ~/.wine/drive_c before you can run them.
If you're running applications that you suspect to be infected, run them as their own Linux user or in a virtual machine (the ZeroWine malware analyzer works this way).
7.12. Should I run Wine as root?
/!\ NEVER run Wine as root! Doing so gives Windows programs (and viruses) full access to your computer and every piece of media attached to it. Running with sudo also has these same risks but with the added bonus of breaking the permissions on your ~/.wine folder in the process. If you have run Wine with sudo you need to fix the permission errors as described in the next question, and then run winecfg to set Wine up again. You should always run Wine as the normal user you use to login.
For Linux systems, all ideas that Wine needs root can be solved through Posix Capabilities (http://www.linuxjournal.com/article/5737) or Posix File Capabilities (http://www.ibm.com/developerworks/linux/library/l-posixcap/index.html) or correcting other security settings.
As far as Windows programs are concerned, you are running with administrator privileges. If an application complains about a lack of administrator privileges, file a bug; running Wine as root probably won't help.
http://wiki.winehq.org/FAQ
Se essa era sua questão, vírus podem rodar sim e vão ter sim acesso a todo seu sistema de arquivos, rodar o wine como root vai bagunçar as permissões então não o faça.