Technology

Antimalware – Firewall

What is malware?

To put things in context, I find it appropriate to begin with a definition of malware. Malware is a portmanteau of malicious software, and it encompasses all forms of software designed to cause harm (viruses, trojans, keyloggers, ransomware, adware, spyware, SPAM, SPIM, etc.). We often colloquially—though mistakenly—refer to all such software as viruses. Still, for the purposes of the official acTIC learning materials, which are what matter here, we will refer to antivirus as any programme capable of preventing and acting against malware, as that is how it is defined in the competency-based subject matter at hand.

So, it’s not surprising that there is confusion about exactly what functions an antivirus covers and which ones fall under the responsibility of the firewall. Let’s start from a basic premise: both are IT security applications; protection software for our PC. Perhaps it is at this very starting point where the root of confusion and doubt lies.

Contextually, we should understand that “security” is a term far more complex than it might first appear. There are several types of security (even several distinct branches).

In English, we distinguish between safety and security. These translate into Spanish as “protección” and “seguridad”, words almost synonymous in essence; however, the former deals with unintentional and accidental threats (environmental disasters, fires, workplace accidents, etc.), while the latter addresses deliberate threats involving a conscious, malicious agent intent on compromising our (or any other object’s) integrity.

Security vs Prevention

After this brief introduction to the various aspects of security and/or protection, it becomes clear that security is not the same as prevention (or treatment) in terms of health; with regard to possible infections by bacteria or viruses (diseases), as opposed to security developed around an external, deliberate and quantifiable threat, poised to attack in one way or another, usually through a premeditated plan.

This distinction of meaning can help shed light and understanding on the indistinction between these vital applications for the protection and security of our PC.

The Antivirus

Let’s therefore associate antivirus with the field of medicine (prevention and cure, infection by viruses, quarantine, etc.). In this sense, metaphorically, think of the antivirus as medical staff, preventing infections, applying potential cures when needed, and placing infections in quarantine if there is a risk of them spreading further. Just as in medicine, your software must also be kept updated, especially its database of infections (viruses) that may arise, just like healthcare professionals need to stay trained and up-to-date.

You only need to apply these concepts to IT (removal of infected files, prevention of potential malware infections, quarantining to avoid contaminating other files, updating virus databases, etc.) to clarify the functions of antivirus software (antimalware).

The Firewall

On the other hand, we have the firewall, which can be linked to the functions of security personnel in charge of access controls, area protection against external threats, blocking/unblocking of at-risk zones, and so on.

Consequently, we can think of the firewall as security staff responsible for access to the premises. They restrict entry to suspicious individuals, filter out potential threats that could disrupt order or normal activity, contain (and even eject, in some cases) problematic individuals inside the premises, and conversely, allow access to authorised persons.

Translating these functions to IT, the firewall restricts access to your computer from possible threats, blocks the transmission of data packets if these seem dangerous, and can even, in the opposite sense, allow access for potentially risky applications if the user decides to do so.

To simplify and better contextualise things, I’d like to share a metaphorical example I often use in the courses we teach at TAU:

A member of the security staff receives clear instructions on entry authorisations to a nightclub on New Year’s Eve:

He must not allow in anyone who doesn’t meet minimum hygiene standards, show appropriate behaviour, and look presentable in line with the venue. He must also apply a strict filter based on an agreed age range. Of course, the legal capacity of the venue must be respected as well.

But there is an exception:

On this date, staff from a particular company are allowed entry with a special pass authorised by the venue management. The security staff are aware of this exception and will therefore allow entry to any member of that company.

There is a risk, of course. These x people from company y, who may not meet all the usual access requirements, could potentially cause problems. In such a case, responsibility for any incidents, mishaps or damage would rest with whoever authorised access for that company y.

In short, this is equivalent to when a user enables access for programmes such as uTorrent, Ares, Emule, etc., by disabling the firewall for them and enabling file sharing—with all the associated risks of infection. Therefore, the user becomes responsible for any problems that may arise.

Conclusions

In conclusion, if someone manages to get past security protocols and gain entry to the venue and causes damage, you may then need a doctor to treat anyone who’s been affected. In IT, something similar happens. If an infected file manages to slip through the protections set by the firewall for any reason, then it’s the antivirus that must act to repair the possible damage done. The aim of this article is to clarify, in a simple and general way, these differences and distinctions in terms of function, which are sometimes minor from the user’s perspective, but often cause confusion when it comes to antiviruses and firewalls.