I will show you how to delete wine and the virus it self, step by step:
Step One:
Run the following command(s) in your terminal:
This will purge
wine from your system:
Step Two:
Just in case apt-get
could not delete a Wine .exe
file for whatever reason, delete the entire wine
folder. It resides in your home folder like so: .wine/
Step Three:
To make sure no wine process is still loaded:
This will reboot your system, without confirmation.
You can run the following command after the reboot to see which .exe
process is still loaded:
ps aux | grep .exe
And then force close it:
killall -9 brontok.exe
Make sure you know that the process is malicious.
Step Four:
Run this in your home folder, it will try to find any file that ends with the .exe
prefix.
find ~/ -type f -name "*.exe"
Step Five:
The previous find command will display the path of the .exe
file(s), delete every .exe
file you don't trust. Like so:
sudo rm -f /path/to/maybe-a-virus.exe
Step Six:
Scan with an Antivirus for linux, like clam antivirus. How to install and scan here:
Notes:
clamav
does not have a large database of Windows viruses compared to the mayor Antivirus Corporations. If you are not a hundred percent convinced of the legality of a file, you can upload it to:
At the time of writing, it use 57 anti viruses to scan files. Its still not a hundred percent accurate, but, it is right for about 99% of the time. My personal experience.
Mono names its binaries to .exe
, So, not all .exe
files you don't know, are harmful. For a list of Linux projects that use mono, see:
Here is a quote - my own - that comments about the security benefits from using PlayOnLinux:
"My preferred graphical front-end for Wine is PlayOnLinux, with that you have more control over your Wine environment, and there is a separate environment per application. So, if you happened to get infected by using Safari, use the Configuration options to examine and/or restore, or just delete the entire Safari Volume." - blade19899, malware - Do Wine Viruses only work while Wine is running?
It's a bit safer than using wine.
Step Seven:
After you're absolutely sure that your virus is gone, re-install wine:
sudo apt-get install wine
Links:
E: Package 'clamav' has no installation candidate mylaptop@Mylaptop-Laptop:~$
– Deisie Jun 22 '15 at 16:01.exe
files that you find suspicious. There are other Anti viruses that you can try to install, but, not sure if they support outdated Ubuntu versions. – blade19899 Jun 22 '15 at 16:07