In addition, an antivirus is a tool for the user and not only won’t be effective for 100% of the cases, they will never be a total or definitive protection. The function of an anti-virus program is to detect, somehow, the presence or the actions of a computer virus in one computer. This is the most important aspect of an antivirus, regardless of additional benefits that can offer, since the fact of the possible presence of a computer virus, stop work and take the necessary measures, is sufficient to define a good percentage of the possible damage. In addition, an antivirus can give the option of eradicating a computer virus from an infected entity. Most primary functions of an antivirus program model is the detection of their presence and, as far as possible, their identification. The first technique that became popular for the detection of computer viruses, and which still continues to be used (though increasingly less efficiently), is the technique of scanning. This technique consists in reviewing the code of all the files contained in the storage unit – mainly executable files – in search of small portions of code that might belong to a computer virus. This procedure, called scanning, is performed from a database that It contains pieces of code representing each known virus, adding the use of certain algorithms that speed up the processes of search.
The technique of scanning was quite effective in the early days of computer viruses, when there were few and their production was small. This relatively small volume of computer viruses allowed the developers of anti-virus scanners had time to analyze the virus, remove the small piece of code that was going to identify and add it to the database of the program to launch a new version. However, the obsolescence of this mechanism of identification as a complete antivirus solution was found in its same model.