1. the DIR operation on the infected floppy disk will cause the hard disk to be infected.
If the computer memory does not contain viruses, the computer will be infected only after a program (File) with viruses is executed. The DIR command is an Internal DOS command and does not need to execute any external programs (Files). Therefore, the DIR operation on the infected floppy disk will not infect the virus.
However, if the computer memory is infected with viruses (or the computer is infected with viruses), if you perform the DIR operation on a non-infected floppy disk, the disk may be infected. It may be infected because some viruses do not spread through the DIR operation.
2. Change the file to read-only mode to avoid virus infection.
Some people think that setting the file to read-only through the external DOS command ATTRIB can effectively defend against viruses. In fact, you only need to call a few DOS interruptions to modify the attributes of a file. Therefore, the ATTRIB command is almost powerless to prevent virus infection and spread.
3. A virus can infect a write-protected disk.
Because the virus can infect read-only files, many people think that the virus can also modify files on the write protection disk. In fact, the disk drive can determine whether the disk is write-protected and whether write operations should be performed on it. This is all controlled by hardware. You can physically remove the write-protection sensor of the PC, but it cannot be done with software.
If your drive is normal, and the write protection of the floppy disk is not removed once, it will never be infected with viruses. However, if you remove the file and use the DIR of the infected machine, the file may be infected with the virus. Note that this DIR is infected with a virus from the machine to the floppy disk, rather than the virus from the floppy disk to the machine.
The write protection is different from the file read-only mode. The file read-only mode is set through the computer, so the virus can be inserted with one hand. However, the write protection requires human intervention, and the virus cannot remove the write protection. The computer cannot rewrite the write protection disk, which cannot be changed unless you break the drive ).
[Content navigation] |
Page 1: Be careful with several mistakes that are easy to make when anti-virus attacks |
Page 1: Be careful with several mistakes that are easy to make when anti-virus attacks |