A blog to compile what I have learned (and what I am learning) about Mandriva (and GNU/Linux in general) since 2009, when I migrated. Current distros I'm using: OpenMandriva Lx ROME 5.0, Mageia 9, MX 19, Manjaro 23.1, and Elive 3.
jueves, 14 de abril de 2011
When formatting a flash drive doesn't erase a virus
USB viruses are very common and one of the solutions that Windows users resort to when facing one of those bothersome thingies is formatting.
Yes, the complete destruction of data on the device should be enough to get rid of any virus, right? After all, nothing can survive a nuclear bomb...except cockroaches, scorpions, and who knows what else.
Yesterday, a proud user of Windows 7 came to my office with an infected USB drive and, since he knew that Linux is more efficient to deal with those infections than Windows is, he used Mandriva to erase the virus and all the folders it created. However, when he tried to copy his files back into the drive, he got several error messages.
I took his pen drive and checked: some files were still masked and Mandriva would not let me erase them, so I opened Mandriva Control Center and formatted the drive as a FAT32 Windows partition. Yet, files still refused to be copied into this rebellious device, that was apparently clean, or should have been, as it had undergone a formatting operation.
THE VIRUS SURVIVED A FORMATTING OPERATION!
I suspected that the virus might have been hiding somewhere else. After all, there are computer viruses that allocate themselves in the boot sector, so you only waste your time formatting the HD to eliminate them.
I opened Mandriva Control Center again and reformatted the pen drive, but this time I did as a Linux EXT3 partition. When I finished,I could see a nice folder named "lost+found", which I tried to delete manually. I had no luck; the folder was locked.
THE TERMINAL: THE TRUE POWER OF LINUX!
I opened the terminal, typed SU, entered my root password and executed the command
rd --ignore-fail-on-non-empty lost+found
With that powerful spell, the folder was gone!
RESTORING THE WINDOWS PARTITION
After that, I reformatted the drive again as a Windows FAT32 partition and we got no problems copying information to it.
It's good to have the Linux terminal to handle viruses that resist GUI removal...
Suscribirse a:
Enviar comentarios (Atom)
14 Years?! Happy anniversary, Mandriva Chronicles!
Yes, today is the 14th anniversary of this humble blog, which I created to register my experiences as a Linux user. What has changed since ...
-
Linux is commonly de-famed as an operating system for computer gurus and, in the Linux world, many people believe that the only user-friendl...
-
A few days ago, thanks to one student, I realized that something funny was happening with my Linux netbook. He said that it was weird that I...
Way to go! Kill all those pests!
ResponderEliminarMaybe that has something to do with that store that refused to sell USB sticks you told us about the other day.
Yes, I was thinking about that... If one formats the USB drive and it's still malfunctioning, I guess one would think that the hardware is damaged...
ResponderEliminar