lunes, 26 de marzo de 2012
Malware Took over a Pendrive? Linux Goes to the Rescue
I had been away from blogging for a month. I've been working hard on several projects and, since my Linux systems work seamlessly, I've been able to concentrate all my efforts and energies in those projects.
Today, a coworker asked me for help. Her pendrive had been infected with malware and thus, her folders and files had been hijacked. The virus made them invisible (for Windows; they were perfectly visible on Linux, :P) and, as usual, there were some fake folders with the names of the original ones. Of course, the fake folders were no folders at all...they were files pointing to the virus.
What are the Windows ways to recover from that?
1. Downloading any "savemeplease" software (trial version), installing it, and then running it.
2. Running a very good antivirus while hoping it will make things normal again.
3. Using the Windows command line to correct the problem.
Well, I decided to use the third option, just for the sake of trying it. I ran cmd.exe.
Then, I tried the "attrib -a -h -r -s" trick...
Hmmm...it didn't work. Perhaps I should have chosen option 1?
Well, instead, I just used my Linux system to copy the folders from the pendrive and back. In this case, I didn't need anything else. The magic was done. Right, just by doing that.
Hey Windows users, Linux doesn't bite. The penguin is friendly and it certainly can help you a lot. I don't even remember the last time sweat ran down my temples and I hesitated before plugging my pendrive into someone else's PC.