How does an antivirus detect a virus?

  1. paiarais profile image71
    paiaraisposted 3 years ago

    How does an antivirus detect a virus?

    I know there are a lot of techs here on HB. I just wanna find out how an antivirus can detect a virus.

  2. magictrickshq profile image61
    magictrickshqposted 3 years ago

    One way is by finding a unique piece of code within the virus and comparing it.

  3. Thief12 profile image89
    Thief12posted 3 years ago

    Much like a real-life doctor, at the time of designing, antivirus are "taught" how most "viruses" are coded, and how they work. Sorta like a doctor knows how certain symptoms equate to certain illnesses. Antiviruses have a database of "viruses" which they compare suspicious software with and offer their results/diagnosis. Every now and then, antivirus update themselves so they can be able to detect new "viruses".