What follows is a tutorial I've seen in linux-party.com and which I found interesting. Who knows, may be useful someday. So I copied unchanged.
Disinfect Virus Windows to Linux.
in principle (and in theory), that you could do from your LiveCD, because when the program will install a virtual drive in RAM. These are the steps ... Disinfect
Windows system infected by a virus or malware is quite easy thanks to the ClamAV Antivirus, powerful and versatile anti-virus free for Linux and other flavors of Unix.
1 .- Install ClamAV, either with YUM or APT-GET (depending on the distro you have installed)
- sudo apt-get install clamav
- yum install clamav
- fdisk-l
Disk / dev / sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors / track, 19452 cylinders Units = cylinders of
16065 * 512 = 8225280 bytes Disk identifier
: 0 ×
41ab2316 Device Boot Start End
Blocks Id System
/ dev/sda1 May 1
40,131 Dell Utility / dev/sda2 * 6 19 046 152 946 832 + 7 HPFS / NTFS
/ dev/sda3 19047 19452 3261195 db CP / M / CTOS / ...
4 .- This example is easy to detect the Windows partition as the partition is NTFS . Before you can scan and remove virus / malware that plague it is necessary to mount it.
4.1 .- Create a directory in which you mount the partition:
- mkdir / media / windows
- mount / dev/sda2 / media / windows 5 .-
- mkdir / tmp / virus
- clamscan-v - r-bell-move / tmp / virus-log / tmp / virus.log / media / windows
- -v: verbose - Prints out the details of the scan
- -r: recursive - Check all files and directories
- - bell: bell - makes a noise when a virus is detected
- - move: Move the virus to the / tmp / virus / To delete them directly using the - remove = yes
- - log: Keep a log of all files in / tmp / virus.log
- / media / windows: This is the directory where we will scan our windows partition mounted
- not included in the example, but using the - you can exclude certain file types excluded under. Example: - exclude =. avi
- cd / tmp / virus
- In
- rm-rf / tmp / virus
Note: You can also install ClamTk, a graphical interface to clamav, but does not allow using some of the features described in this article. For that reason, it is advisable to use clamav directly from the terminal.
If you have not installed any Linux distro and you want to disinfect your Windows by following this little How-To, download a LiveCD and run the above steps, you can do it using a Live USB . Sure, it would be better definitely get rid of Windows and Linux finally adopted the philosophy. :) Forget the virus and find out why Linux is more secure than Windows .
NOTE: This article was translated from English page: Phrank's Ubuntu Blog
We also used references: Usemoslinux .
Seen here: http://www.linux-party.com/modules.php?name=News&file=article&sid=6123/desinfectar-a-windows-desde-linux-de-virus.
0 comments:
Post a Comment