Che cos'è un firewall?
Un firewall è un dispositivo di sicurezza di rete che monitora e filtra il traffico di rete in entrata e in uscita, in base alle politiche di sicurezza precedentemente stabilite da un'organizzazione. Nella sua forma più elementare, un firewall è essenzialmente la barriera che si frappone tra una rete interna privata e l'Internet pubblico. Lo scopo principale di un firewall è quello di consentire l'ingresso di traffico non pericoloso e di escludere il traffico pericoloso.

History of Firewalls
I firewall esistono dalla fine degli anni '80 e sono nati come filtri di pacchetti, che erano reti impostate per esaminare i pacchetti, o byte, trasferiti tra i computer. Sebbene i firewall di filtraggio dei pacchetti siano ancora in uso oggi, i firewall hanno fatto molta strada con lo sviluppo della tecnologia nel corso dei decenni.
- Virus Gen 1
- Generazione 1, fine anni '80, gli attacchi di virus ai PC stand-alone hanno colpito tutte le aziende e hanno spinto i prodotti antivirus.
- Gen 2 rete
- Generazione 2, metà degli anni '90, gli attacchi da Internet colpirono tutte le aziende e portarono alla creazione del firewall.
- Applicazione Gen 3
- Generazione 3, primi anni 2000, sfruttando le vulnerabilità nelle applicazioni che interessavano la maggior parte delle aziende e che hanno spinto i prodotti Intrusion Prevention System (IPS).
- Carico utile Gen 4
- Generazione 4, circa. 2010, ascesa di attacchi mirati, sconosciuti, evasivi e polimorfi che hanno colpito la maggior parte delle aziende e hanno spinto i prodotti anti-bot e sandboxing.
- Gen 5 Mega
- Generazione 5, circa. 2017, i mega-attacchi su larga scala, multi-vettore, che utilizzano strumenti di attacco avanzati e che stanno guidando le soluzioni avanzate di threat prevention.
Nel 1993, Gil Shwed, CEO di Check Point, ha presentato il primo firewall con ispezione statica, FireWall-1. In ventisette anni, un firewall è ancora la prima linea di difesa di un'organizzazione contro cyber attack. I firewall di oggi, compresi Next Generation Firewall e i firewall di rete, supportano un'ampia gamma di funzioni e capacità con caratteristiche integrate, tra cui:
The Firewalls Evolution
Just like the networks they protect, firewalls have undergone a significant amount of change over the last decade. Even the earliest firewall tooling was essential to network security, as their 1980s counterparts first came into existence as packet filtering tools.
Early Development: Packet-Filtering Firewalls
The first generation of firewalls, introduced in the late 1980s, employed simple packet filtering. These tools examined data packets at the network layer (OSI Layer 3), and filtered the packets that a network responds to through parameters such as IP addresses, ports, and protocols. However, their lack of contextual awareness and overwhelming focus on individual packets made them vulnerable to complex attacks like IP fragmentation.
The Emergence of Stateful Inspection
The 1990s saw the advent of stateful inspection firewalls, pioneered by Check Point. These second-generation firewalls continuously monitored the state of connections, ensuring that packets were part of an established session. This enhancement significantly bolstered security.
Application Layer and Proxy Firewalls
Application layer firewalls and proxy firewalls emerged around the same time. The former operated at Layer 7, able to analyze and apply application-specific data and rulesets. They were also highly secure – boasting the ability to completely separate traffic requests from the underlying network architecture – but early models suffered from limited processing power and bad latency.
Unified Threat Management (UTM) and Next-Generation Firewalls (NGFW)
The 2010s saw the advent of UTM systems, which sought to combine a firewall’s reactivity with the extra data points from antivirus, intrusion detection, and other enterprise security systems. NGFWs were able to push these integration capabilities by adding deep packet inspection, advanced threat protection, and application-level filtering.
Modern Adaptations: Cloud and AI
Today, firewalls have adapted to cloud environments and containerized applications, giving rise to Firewall-as-a-Service (FWaaS). Building upon the foundation of cross-environment data, AI and machine learning are increasingly being deployed for their superior anomaly detection, predictive threat analysis, and adaptive policy enforcement.
From static filters to intelligent, context-aware systems, firewalls have continuously evolved to meet the demands of an ever-changing threat landscape. Let’s delve into all the features that make today’s firewalls so critical.
I diversi tipi di firewall
Filtraggio dei pacchetti
Packet filtering is a network security technique used in firewalls to control data flow between networks. It evaluates the headers of incoming and outgoing traffic against a set of predefined rules, and then decides whether to allow or block them.
Firewall rules are precise directives that form a critical part of firewall configurations. They define the conditions under which traffic is permitted or blocked based on parameters such as source and destination IP addresses, ports, and communication protocols. In enterprise environments, these individual rules are nested together to form Access Control Lists (ACLs). When processing traffic, the firewall evaluates each packet against the ACL rules in sequential order. Once a packet matches a rule, the firewall enforces the corresponding action—such as allowing, denying, or rejecting the traffic—without further evaluation of subsequent rules. This structured and methodical approach ensures that network access is tightly controlled and consistent.
Servizio proxy
Since firewalls are happy to sit at the edge of a network, a proxy firewall is naturally well-suited to acting as a single point of entry: in doing so, they’re able to assess the validity of each connection. Proxy-service firewalls completely separate the internal and external, by terminating the client connection at the firewall, analyzing the request, and then establishing a new connection with the internal server.
Stateful Inspection
Stateful packet inspection analyzes the contents of a data packet and compares them to information about packets that have already traversed the firewall.
Stateless inspection analyzes each packet in isolation: stateful inspection, on the other hand, pulls in previous device and connection data to further understand network traffic requests. This is more akin to viewing network data as a continuous stream. By maintaining a list of active connections, and evaluating each from a more macroscopic perspective, stateful firewalls are able to assign network behavior to long-term user and device profiles.
Web Application Firewall
A Web Application Firewall (WAF) wraps around a specific application and examines the HTTP requests being sent to it. Similar to other types of firewall, it then applies predefined rules to detect and block malicious traffic. The components being scrutinized include headers, query strings, and the body of HTTP requests – all of which contribute to signs of malicious activity. When a threat is identified, the WAF blocks the suspicious request and notifies the security team.
AI-Powered Firewall
Firewalls are essentially powerful analytical engines: they’re perfectly suited for the implementation of machine learning algorithms. Because ML algorithms are able to ingest and analyze far greater amounts of data far faster than their manual counterparts, AI-powered firewalls have consistently been able to outperform their older counterparts when handling novel (zero day) threats.
One of the more common implementations of AI within firewalls, for instance, is User and Endpoint Behavioural Analysis (UEBA). This ingests the historical data from entire networks, and establishes how every user and endpoint typically interacts with it – what resources they use, when they access them, etc.
High Availability Firewalls and Hyperscale, Resilient Load-Sharing Clusters
A high availability (HA) firewall is designed to maintain network protection even in the event of firewall failure. This is achieved via redundancy, in the form of HA clustering: multiple firewall peers working together to deliver uninterrupted protection. In the event of device failure, the system automatically transitions to a peer device, therefore maintaining seamless network security. Above and beyond traditional ‘high availability’ designs, many organizations now need hyper scalable and telco-class resilient firewall systems to assure 99.99999%+ uptime and up to 1,000 Gbps of network throughput with full threat prevention. An intelligent load-sharing firewall design distributes network traffic across a firewall cluster. It can also automatically reallocate additional firewall resources to critical applications during unexpected peak traffic conditions or other predefined triggers, and then reassign those firewall resources back to their original group after conditions are back to normal. This optimizes performance and prevents any single device from becoming overwhelmed, and assures maximum network performance under all conditions.
Virtual Firewall
Firewalls were traditionally hardware-exclusive, as they needed the heavy CPU power to manually flick through every rule in the ACL. Now, however, that processing power can essentially be outsourced thanks to firewall virtualization. Virtual systems support internal segmentation: where one tool can be used to set up and monitor multiple segmented firewalls, allowing sub-firewalls to have their own security policies and configurations.
Virtual firewalls offer many advantages: multi-tenancy environments, for instance, benefit from this segmentation. It also allows for larger organizations to implement network segmentation in a more streamlined way, through one central tool. Other than that, virtual firewalls can offer all the same capabilities as their hardware-based counterparts.
Cloud Firewall
It’s common to see people conflate virtualized firewalls with cloud firewalls, but there is a distinction: whereas virtual describes the underlying architecture, cloud firewalls refer to the enterprise assets they are protecting. Cloud firewalls are those used to protect organizations’ public and private cloud-based networks.
firewall come servizio (FWaaS)
Since cloud virtualization now allows for processing power to be purchased and used remotely, virtual firewalls are now possible. This opens up new possibilities for firewall architecture – one of which is Firewall as a Service (FWaaS).
FWaaS, like any SaaS, is a pre-built firewall solution that is deployed through the cloud. Instead of all enterprise traffic being routed and analyzed via an in-house server room, FWaaS’ unique offering is often its global Points of Presence, which allows for more local (and latency-free) firewall deployment.
firewallgestito
Finally, it’s all well and good having a firewall – but as we’ll cover shortly, this tool needs continuous refinement and tweaking. Some enterprises find that the human demands of this can quickly overwhelm a lean cybersecurity team. So, many choose to route their traffic via a managed firewall – which is continuously monitored for threats, anomalies, or unusual traffic patterns. These outsourced firewalls can also benefit from the provider’s advanced tooling and threat intelligence.
The Importance of Firewall Protocols
Even basic firewalls are able to dig into the source, destination, and protocols that every packet is conforming to. But visibility alone doesn’t prevent attacks; firewall rules govern how the firewall tool reacts to each packet – ultimately either allowing it through to the enterprise network, or denying it.
These rules are fundamental to maintaining network security by controlling access to and from systems, ensuring that only authorized traffic passes through while malicious or unwanted data is blocked. To save time, most off-the-shelf firewalls offer preconfigured rulesets. After all, many threats are universal, regardless of the specifics of your industry or employees – especially when attackers are able to scan any public-facing networks for common vulnerabilities. By shipping with preconfigured rulesets, modern firewalls allow for an immediate reduction in potential threats that could hit your enterprise; a boon to deployment, allowing administrators to cut a lot of manual setup that a new tool typically demands. This reduces errors and ensures adherence to industry best practices.
Perché abbiamo bisogno di firewall?
Firewalls, especially Next Generation Firewalls, focus on blocking malware and application-layer attacks. Along with an integrated intrusion prevention system (IPS), these Next Generation Firewalls are able to react quickly and seamlessly to detect and combat attacks across the whole network. Firewalls can act on previously set policies to better protect your network and can carry out quick assessments to detect invasive or suspicious activity, such as malware, and shut it down. By leveraging a firewall for your security infrastructure, you’re setting up your network with specific policies to allow or block incoming and outgoing traffic.
Firewall Security Best Practices
Firewalls aren’t a set-it-and-forget-it solution. The attacks facing your organization are in constant flux, and firewalls that rely solely on manual rule updates demand just as much time and attention.
Set Up Rules According to Least Privilege Principles
Foundational to effective firewall rule management is the principle of least privilege. It functionally means only traffic that serves a specific, necessary business function is allowed. By adhering to this principle, it’s all but guaranteed that future rule changes minimize risk, maintain greater control over network traffic, and limit unnecessary cross-network communication. Applying this to rules demands that details such as source and destination IP addresses (or ranges) and destination ports are always defined. This is why overly permissive rules like “Any/Any,” need to be replaced with an explicit deny/allow strategy for all inbound and outbound activity.
Maintain Up To Date Documentation
As pre-configured rules are changed and updated, clear and comprehensive documentation is essential. Anyone on the network security team should easily understand the purpose of each rule from the documentation. At a minimum, you should record details such as the purpose of the rule, the services it affects, the users and devices involved, the date it was implemented, the rule’s expiration date if temporary, and the name of the analyst who created it.
Protect the Firewall Itself
The firewall isn’t just a critical piece of enterprise safety: it’s the most public-facing piece of any network infrastructure, making unmanaged firewalls themselves a threat. To secure the firewall, a few key best practices are mandatory: insecure protocols like telnet and SNMP should be disabled entirely; configurations and log databases should be backed up; and a stealth rule should be implemented to protect the firewall from network scans. Finally, keep a regular eye on the updates available for the firewall solution.
Group Rules – and Networks – into Corresponding Categories
Segmenting enterprise networks into corresponding security levels is another foundational best practice for network security, and firewall rules are perfectly well-suited for enforcing these segments. To streamline management, organize rules into categories or sections based on their function or related characteristics. This approach allows you to structure the rules in the most effective order and ensures better oversight.
AI-powered firewalls are increasingly able to automate the rules and documentation they’re based on: these massive strides in efficiency are the main reason why NGFWs are replacing their older models.
Ispezione del livello di rete vs. Ispezione del livello di applicazione
I filtri di rete o di pacchetto ispezionano i pacchetti ad un livello relativamente basso dello stack di protocollo TCP/IP, non permettendo ai pacchetti di passare attraverso il firewall a meno che non corrispondano al set di regole stabilito, dove la sorgente e la destinazione del set di regole si basano sugli indirizzi e le porte del protocollo Internet (IP). I firewall che eseguono l'ispezione del livello di rete hanno prestazioni migliori rispetto a dispositivi simili che eseguono l'ispezione del livello di applicazione. L'aspetto negativo è che le applicazioni indesiderate o i malware possono passare attraverso le porte consentite, ad es. traffico Internet in uscita attraverso i protocolli web HTTP e HTTPS, rispettivamente porta 80 e 443.
L'importanza di NAT e VPN
I firewall svolgono anche funzioni di base a livello di rete, come la Network Address Translation (NAT) e la Virtual Private Network (VPN). rete Address Translation nasconde o traduce gli indirizzi IP interni del client o del server che possono trovarsi in un "intervallo di indirizzi privati", come definito nella RFC 1918, in un indirizzo IP pubblico. Nascondere gli indirizzi dei dispositivi protetti preserva il numero limitato di indirizzi IPv4 e costituisce una difesa contro la ricognizione della rete, poiché l'indirizzo IP è nascosto da Internet.
Allo stesso modo, una rete privata virtuale (VPN) estende una rete privata attraverso una rete pubblica all'interno di un tunnel spesso crittografato, dove i contenuti dei pacchetti sono protetti durante l'attraversamento di Internet. Questo consente agli utenti di inviare e ricevere dati in modo sicuro attraverso reti condivise o pubbliche.
Next Generation Firewall e oltre
Next Generation Firewall ispezionano i pacchetti a livello di applicazione dello stack TCP/IP e sono in grado di identificare applicazioni come Skype o Facebook e di applicare i criteri di sicurezza in base al tipo di applicazione.
Oggi, i dispositivi UTM (Unified Threat Management) e Next Generation Firewall includono anche tecnologie threat prevention come Intrusion Prevention System (IPS) o Antivirus per rilevare e prevenire malware e minacce. Questi dispositivi possono anche includere tecnologie di sandboxing per rilevare le minacce nei file.
As the cyber security landscape continues to evolve and attacks become more sophisticated, Next Generation Firewalls will continue to be an essential component of any organization’s security solution, whether you’re in the data center, network, or cloud.
Protect your network using Check Point’s Quantum NGFW – the most effective AI-powered firewalls, featuring the highest rated threat prevention, seamless scalability, and unified policy management.
Combining cutting-edge threat prevention, unparalleled performance, and streamlined efficiency, Check Point Quantum’s advanced capabilities include intelligent traffic inspection, seamless integration with cloud services, and in-depth incident automation. See for yourself how Quantum boasts effortless scalability and centralized policy management with a demo.
To learn more about the essential capabilities your Next Generation Firewall needs to have, download the Next Generation Firewall (NGFW) Buyer’s Guide today.