Tuesday 31 December 2013

Posted by Haxor On 22:14

How to protect pc from usb virus (autorun.in)

Salam From Haxor Farhan
Mostly viruses come to PC through Internet, Pen-drive and Floppy (It Not Used Nowdays). And we are using CD’s to transfer data between computers but CD’s not allowed to write virus file. Pen-drive is not like this, we can format it many times and we can save different data again and again. This ability helps the virus to attack the PC again and again :p . So Here are some Tricks to protect PC from virus.

We can protect the Pen-drive from viruses by doing the Following Method.




Creating Fake autorun.inf file :


1) Create a "New Folder" in the Pen-drive
2)  Rename it as autorun.inf
3)  Then, as shown in the image check on “Read only & Hidden” :


4) Then click on OK. Now this folder will get hidden inside this pendrive. We did this because mostly virus comes to pen drive as “autorun.inf”. Already the Pen-drive has a folder named asautorun.inf (read only, hidden). So “autorun.inf” cannot enter into pen drive because already Pen-drive has fake “autorun.inf”.



We can use the above mention trick in our own Pen-drive, but in any situation if we have to use our friend’s Pen-drive in our PC, so let’s see in that situation, 

How to protect PC against viruses When Using Friend's Pendrive?



1) Press “Shift Key” before connecting the Pen-drive to the PC. By doing this, if that Pen-drive contains a virus, it will not allow to Start automatically through autorun.


2) After this you can see a Green color Arrow icon/mark in the right side of the Task bar. This is shown that the Pen-drive has connected to PC successfully . After that

3) Press Windows key + E


A wild  window will appear :p


In that window select the Pen-drive and open it. (Open it by Clicking “Right Click” --> “Open”. Do notDouble Click it).


Its A best practise to scan the Pen-drive with your Antivirus before open it.


4) If that pendrive consist virus file....

  • Press Windows Key + R 
  • Type cmd
  • Then Click on OK

Now Command prompt will appear

  • Now type your Drive letter ( example K: )
  • Then type ATTRIB -H -R -S AUTORUN.INF 
  • Again type EDIT AUTORUN.INF

A new window will appear. 
In that window 

  • File --> Save as then Exit.
Again Press Windows Key + R
  • Type cmd 
Command prompt window will appear.

In that window type

  • ATTRIB +H +R +S AUTORUN.INF --> EXIT
So Here Was a Short Trick To Protect Your PC from Viruses of USB/CD/or any portable device ,autorun.inf is a best example and common also , well Its not my trick obviousely , but its a new Trick to
protect your PC so Hope you liked , kindly Comment / share and subscribe for future updates.
Regards,
#Haxor Farhan & Dud3-Th!nk3r



0 comments:

Post a Comment