The problem of U disk poisoning, we may often encounter inserting a U disk into the computer will have some anti-soft pop-up warning message to tell you that your U disk has a virus.
I can say not necessarily, you should first be clear that this is a warning to kill soft pop, that is to say, all files that it thinks are viruses will report poison to you, and there is another point that advises everyone to turn off killing soft before inserting their own U disk, because this will lead to the loss of files in your U disk, and it is impossible to restore the things in the U disk, not as simple as throwing them into the trash can.
But if you are inserting an unknown flash drive, it is best to open it.
# the simplest, but not the most effective, way to prevent USB disk poisoning is:
Do not double-click when opening the flash drive, use the right-click to open it can prevent the flash drive from running the autorun.inf file.
# relatively troublesome, but the effective way is:
Create a folder called autorun.inf, in the root directory of your hard disk or mobile device to prevent the use of viruses spread by autorun.inf files.
Because there are a large number of viruses, especially the U disk to spread the virus with the help of autorun.inf files.
The virus first copies itself to the U disk and then creates an autorun.inf,. When you insert the U disk or double-click the U disk, the settings in autorun.inf will run the virus in the U disk.
As long as we can stop the creation of autorun.inf files, then even if there is a virus on the USB disk, you can only sleep on your back. You may also think of this, but no matter what property you set to autorun.inf, the virus will change it.
Under the root directory, after deleting the autorun.inf file, create a folder called autorun.inf.
This is based on the principle that files and folders with the same name cannot coexist in the same directory, and the virus is powerless to create autorun.inf files.
But at this stage, there are new variants of the virus, automatically delete folders, and then create autorun.inf files, this method is not so effective, so it is necessary to improve this method.
Create a band in the autorun.inf folder.
Folder, so that the virus can not delete the autorun.inf folder, the virus is powerless to create autorun.inf files.
In the future, even if poisoned, the virus will not run, thus achieving the purpose of preventing poisoning.
The specific methods are as follows:
Press and hold the shift key plus the right mouse button to display the right-click menu in the directory where you want to create the autorun.inf folder that cannot be deleted, and then click "Open Command window this time"
Then enter the following code step by step, enter each line of code and enter each line of code in order from top to bottom.
Md autorun.inf.
Cd autorun.inf.
Md prduc\.
Md pxd..\.
After typing, there is no hurry to close the command window.
There is another line of code to hide the autorun.inf folder.
Before that, enter the following code to return to the root directory.
Cd..
Then enter the hidden code.
Attrib + s + h autorun.inf.
This completes the creation of a folder to prevent it from being exploited by viruses.
Here is how to delete this folder.
To delete this autorun.inf folder, you must delete it with the dos command.
The first thing to do is to open a command line window, as mentioned above.
Then enter the following code to display the autorun.inf folder first.
Attrib-s-h autorun.inf.
The next step is to delete the two folders in the folder.
Cd autorun.inf.
Rd prduc\.
Rd pxd..\.
These two folders must be deleted before you can delete the autorun.inf folder.
Enter the following two lines of code to delete autorun.inf.
Cd..
Rd autorun.inf.
In this way, the deletion and construction of the autorun.inf folder is completed.
Here is the answer to the above code:
Create a folder: md.
Format: MD [path\] directory.
Delete folder: rd.
RMDIR [/ S] [/ Q] [drive:] path.
RD [/ S] [/ Q] [drive:] path.
/ S in addition to the directory itself, all subdirectories and subdirectories under the specified directory will be deleted.
Files.
Used to delete the directory tree.
/ Q quiet mode, no confirmation is required when deleting the directory tree with / S.
The rd command can only delete empty folders without any parameters.
Cd command.
Function: change the working directory.
Usage: cd target path.
For example, cd.. Is a simplified command, and the complete command should be cd..\.
*: on behalf of all.
?: stands for arbitrary.
\: current disk root directory.
.. /: represents the directory at the next level.
. /: represents the current directory.
>: redirector (overwrite the original file).
> >: redirector (append content).
Attrib is a command that displays or changes the properties of a file.
+ set properties.
-clear attributes.
R read-only file properties.
An archive file properties.
S system file properties.
H hides file properties.
[drive:] [path] [filename].
Specifies the file properties to process.
/ S processes matching files in the current folder and its subfolders.
/ D also handles folders.
Finally, there are commands related to autorun.inf (note that autorun.inf here is a file, not the folder created above).
Related documentation: https://wenku
Contact us
Company :
Lucky (Guangzhou) technology Co.,Ltd
Address :
Lucky science park, No.613,Tainan Road, Dongchong Town, Nansha District, Guangzhou, China
E-mail :
lucky1@luckyone.com.cn
Hot-line :
+86 18620625888/ 020 34545588 Fax:+86 020 34545599
Copyright 2022 Lucky (Guangzhou) technology Co.,Ltd All rights reserved
备案号: 粤ICP备20037885号
备案号: 粤ICP备20037885号