What is antivirus, difference between antivirus and firewall.

Introduction.

Recently there are a lot of activities in the cyber world be it hacking, attacking a personal computer, data breaches, and many more (To know more about cybersecurity read our blog). Here I am going to discuss about difference between antivirus and firewall.

The sole purpose of these activities is to get profit through our data, ransom aware, or any other source.

But, we all know every coin has two-phase so does this.

Attacking your computer or organizations requires hacking software and protection requires antivirus software or firewalls. So in this article, we will focus on antivirus and firewalls.

Difference between antivirus and firewall?

                                      Antivirus                                           Firewall
It protects a computer from malicious code. It protects a network from malicious data packets.
It works within a single computer. It works within a network.
It browses the installed software and checks for viruses within code. It monitors the network and checks the incoming and outgoing packets.
It protects the software. It protects software as well as hardware.
It removes corrupt files from the computer. It prevents a corrupt folder from entering the network.

What is Antivirus?

difference-between-antivirus-and-firewall

To understand antivirus, let us first see what actually a virus means. Similar to a human virus-like flu-virus in this COVID-19 pandemic which requires host (humans) to transmit itself a computer virus also needs host (computer) to transmit or transform from one device to another through networks.

It keeps on replicating itself to infect more and more computers.

How does the virus work?

You may have downloaded certain files from the internet in the form of document, music or video, it’s that point when a virus comes to your computer by attaching itself through your downloaded file.

The virus remains dormant until you execute the downloaded file, once you open or execute the file, the virus starts its effect by reproducing itself within the computer and other computers over the same network connected to yours.

In this way, all of your computer or network gets buggy and not compatible to work. So what’s the solution?

Antivirus.

Like we humans need a vaccine to withstand a deadly virus, in the same way, computers need a vaccine and it is called antivirus. An antivirus is a program that you install on your machine and all it does is, it knows the authenticated software from the original source and if it suspects any foreign or malicious code within that software it removes it.

How do Antivirus works?

Once you successfully download the antivirus it starts working in the background of the machine, it keeps on checking the task manager, browser, hardware and software interrupt, external devices, and many more.

And if it encounters any suspicious activities it lets you know and sometimes if it’s serious it delete on its own without your permission. In order to be updated with technology trends, your antivirus should also update itself regularly.

These are a basic task which antivirus performs.

  • Regular scanning of directories.
  • Scans your hardware such as flash drives and printers.
  • Checks your browser activities.
  • Asks for full computer scan.
  • Schedule times for root directory scans.

What is a Firewall?

difference-between-antivirus-and-firewall

We saw how antivirus protects a computer that is it focuses on protecting a single computer.

But firewalls are designed to protect many computers at once, that is they do not protect computers uniquely instead they protect the whole network on which these computers are connected.

It this way they achieve to protect a lot many computers at once.

Therefore a firewall is also called network protecting device.

How does a firewall work?

We access the internet through modem and routers (to know more about modem and routers read our blog here).

The modem connects us to the internet and the router connects us to this modem, while data exchange takes place from the modem to an external network that is the internet.

Sometimes some unauthenticated code or data package comes within our local network which results in failure of all computers connected to that network.

That’s where the job of the router gets an increase, router not only routes the data from one device to another but also checks the type of data package being exchanged over the network, based on some algorithm.

If anything goes out of order the router discards that packet from leaving or entering the network.

At computers level firewall works at port, but on a network level, it works with router or modem based on the type of data.