Pendrive Safety: Make your Pendrive immune to Autorun.inf553

Pendrive Safety: Make your Pendrive immune to Autorun.inf

View previous topic View next topic Go down

Pendrive Safety: Make your Pendrive immune to Autorun.inf

Post by BIT0122-Amit on Wed Feb 17, 2010 10:28 pm

well, here is the trick.
Most of the USB viruses make autorun.inf in your pendrive, and when you let it autoplay, the virus automatically plays into your system

that is, it infects your system.
So.. what if there is a way to make your pendrive immune to autorun.inf ? that is, the virus can't even create that autorun.inf file regardless of where you use it?
my friend, there is a way, and I am goind to show it

First thing is first, make sure that your pendrive doesn't have any autorun.inf file.
now,
go to start meny>Run>type cmd>press enter
go to the Pendrive directory.
If your pendrives drive letter is (N:) then simply write N: in command prompt and press enter.

Now, just do like the image:



Here is the explanation:

The first command, mkdir autorun.inf makes a folder named autorun.inf in your pendrive.
so, even if there is a virus that tries to make a file named autorun.inf, it will face error.
Just like I did when I tried to make autorun.inf manually.





So, what if the virus tries to delete that autorun.inf folder ?
To seal the autorun.inf folder, we use the attrib +h +r +s +a autorun.inf command
+h makes the folder hidden
+r makes the folder read only
+s makes the folder system file(so you can't delete it easily)
+a makes the folder archived

Hope you enjoy your autorun.inf virus free pendrive!!

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Pendrive Safety: Make your Pendrive immune to Autorun.inf

Post by BIT0129-Tabassum on Wed Feb 17, 2010 11:49 pm

Thanks for this awesome and tricky process.

autorun.inf is a very disgusting virus!hoping now we can make our pen
drives safe from this evil

BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s):
  • BIT

Blood Group: A+
Posts: 1496
Points: 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Pendrive Safety: Make your Pendrive immune to Autorun.inf

Post by BIT0104-ANIK on Thu Feb 18, 2010 8:44 am

fascinating trick...thnx

_________________________________________________________________
Buddhong shoronogocchami..
dhommong shoronogocchami..
shonghong shoronogocchami..
Jogoter sokol prani.. shukhi hok.

BIT0104-ANIK
Administrator
Administrator

Course(s):
  • BIT

Blood Group: O+
Posts: 423
Points: 699

View user profile http://anikstech.blogspot.com

Back to top Go down

Re: Pendrive Safety: Make your Pendrive immune to Autorun.inf

Post by tonmoy_roy on Thu Feb 18, 2010 9:58 am

here is a .bat file to speed up the process:
just paste these text in a notepad and save as a.bat:


@echo off
echo This Script Will Make Your Pendrive immune to all the viruses that use any kind of autorun.inf
set Drv=
set /P Drv=Enter drive letter of pendrive (Example: f,g,h etc): %=%
mkdir %Drv%:\autorun.inf
attrib +h +s +a +r %Drv%:\autorun.inf
echo You are done
pause



then run the a.bat


Last edited by tonmoy_roy on Thu Feb 18, 2010 1:26 pm; edited 2 times in total (Reason for editing : just a little mistake :p)

tonmoy_roy
Pre-Alpha Release
Pre-Alpha Release

Posts: 4
Points: 9

View user profile

Back to top Go down

Re: Pendrive Safety: Make your Pendrive immune to Autorun.inf

Post by BIT0122-Amit on Fri Feb 19, 2010 10:06 pm

Tonmoy Very Happy
Good to see you here Very Happy rep ++
Ah great Very Happy I have made an installer with an exe file that will even delete the hardest of all autorun.inf created by virus in your pendrive (that is, it can't be deleted even with nullifying the attributes or with antiviruses) and then immunize it.

I will have to test it, if it works, then I will ship it Razz

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum