PDA

View Full Version : Deleting the notorious newfolder.exe virus


dayanandasaraswati
September 13th, 2008, 02:49 PM
Hello friends,
Every windows user would have fallen prey to the NewFolder.exe virus some time or the other. If you put your pendrive in some public net cafes and bring it back home, you are sure to bring back your Christmas Gift - NewFolder.exe. In linux we can directly delete these exe files but the problem is they live under each directory. Thus navigating through directories and deleting them is tedious. So this small one line code helps you get rid of this virus.

Instructions:
1. Open terminal (Applications -> Accessories -> Terminal)
2. Change directory to the root of your pen drive
3. Type the following and press enter
find -iwholename *\ .exe -deleteKudos!!! Your virus has been killed!!

C.S.Cameron
September 30th, 2008, 04:11 PM
So what happens to all the valid *.exe stuff on my flash drive?
Like installers and such?

DrMelon
September 30th, 2008, 04:12 PM
Instructions:
1. Open terminal (Applications -> Accessories -> Terminal)
2. Change directory to the root of your pen drive
3. Type the following and press enter
find -iwholename *\ .exe -deleteKudos!!! Your virus has been killed!!

Um, it'd probably be better just to do this:


find -iwholename *\ NewFolder.exe -delete

lisati
September 30th, 2008, 04:20 PM
Every windows user would have fallen prey to the NewFolder.exe virus some time or the other.
I don't remember encountering it....I think I'll go off and look it up.

EDIT: looked it up, seems like a real pain in the "wherever"

If you put your pendrive in some public net cafes and bring it back home, you are sure to bring back your Christmas Gift - NewFolder.exe.
Simple answer: (a) be wary of hooking up your writiable drives to "unknown" computers, and (b) scan your drive a.s.a.p. when you get back to your regular machine.

lian1238
September 30th, 2008, 04:20 PM
Look at a howto (http://ubuntuforums.org/showthread.php?t=924080) I wrote on preventing viruses from spreading through your USB flash/pen/thumb drive. (It was moved to Windows Discussion. :o)