Sunday, January 27, 2008

How to delete the hidden virus file.

Assalamu Alaikum (May peace and blessings of almighty be upon all of you) to everybody,

In the first blog I discussed about "How you can remove the virus coded Autorun.inf".
In fact it will prevent you from only not running the virus programme which is hidden under each Drive (Like C:, D:, E: and so on).

So you need to delete the main virus files that are hidden in your drives.

STEP 01. You can first of all see the hidden files by the following command:

dir /A:H

STEP 02. You can see the attributes of the files by the following command:

attrib

STEP 03. You will see that the hidden virus files has got 3 attributes (ReadOnly, System, Hidden as SHR ). And this is why you will normally not be able to delete the files.

First of all you have to remove the attributes by the following commands to altimately delete the files:

attrib -R -H -S
this command will remove the attributes form the files.

STEP 04. To delete the files you have to put the following command:

del

The screen shoot of the deletion and other commands are the following for your convenient:


Sunday, January 6, 2008

Autorun.inf virus solution

Hi everybody,
It is very much irritating to see everytime the "autorun.inf" causing so much viral problem.
Recently I had a problem with this and wanted to delete the hidden "autorun.inf" file from my flash from command prompt.
But couldn't do so as the file was "read-only".

After a few days of searching on that I found the following solution and want to share with everybody.

To find a hidden file form command prompt:
write : dir /A:H
hidden file will be displayed.

Now how can we create a simple "blank autorun.inf"
01. Right click on the desktop choose "new" and "New Textdocument".
02. Give the file the name "autorun.inf"

Now we will replace the "autorun.inf with viral code" by the "blank autorun.inf that we have created:
01. Open command prompt by writing "cmd" in "start" ---> "run"
02. In the command prompt write the following command to replace the "viral autorun.inf":
xcopy "address of our blank autorun.inf" "address of the viral autorun.inf" /R

Example:
xcopy C:\Documents and Settings\S\Desktop\autorun.inf I:\autorun.inf /R

03. A warning will appear that "Do you want to replace the file or not?" (yes/no)

Your answer is obviously "yes" and Press enter key.

The file will be replaced. And now you can open your flash drive and HDD drive and delete other hidden and virus file.

Thank you for your time. If this does any good to your computer please send me feedback.