13:24 Autostop script to protect the stick from the autorunvirus | |
Propose a version of anti-autorun-virus on flash drive, because currently existing solutions do not suit me for several reasons. The existing methods can be divided into 3 categories:
This is the third method was used as a basis for me, and finalized. Outwardly, it looks like this: The principle of the script is as follows: to stick to create 2 directory: AUTORUN.INF and AUTOSTOP. Each of them is protected from removal creating subdirectories with "incorrect" names: mkdir "\ \? \% ~ D0 \ AUTORUN.INF \ LPT3" mkdir "\ \? \% ~ D0 \ AUTORUN. INF \ LPT3 \ .. " As an attempt to rename the directory as I fight the virus AUTORUN.INF in the following way: in that directory create a file desktop.ini follows: [. ShellClassInfo] IconFile = ".. \ AUTOSTOP \ disable.ico" IconIndex = 0 InfoTip = "Antiviral script AUTOSTOP" The icon is placed in the directory disable.ico AUTOSTOP (in the same directory AUTOSTOP created desktop. ini with the same content, with reference to the icon enable.ini, lying in the directory AUTORUN.INF). So in the above two directories is obtained by "mutual responsibility": when renaming folders AUTORUN.INF, an icon indicator on the folder AUTOSTOP disappears (see figure), indicating that infection of the stick autorun-virus (ie the presence of a file on a flash drive autorun.inf) and that the computer that is connected to USB flash drive at the moment, is infected. For the objectivity of the disadvantages of the need pressing F5 in Windows Explorer after you connect the USB drive, and before you remove it (for updating the contents of the stick, and, consequently, the state indicators). Page script in my LJ - mechanicuss.livejournal.com/195192.html, the download link there (do not give a direct link, as regularly modify and update the script, adding the name of the file version number). To those who ask why the city such gardens - in fact, you can use other, more simple and reliable method, I would say I watch:
| |
|
Total comments: 4 | |||||
| |||||