Skip to main content

SSL Decryption FortiGate

 

We have pretty much heard about SSL decryption and of malware hiding inside an encrypted traffic. A large amount of traffic in the internet is pretty much encrypted which basically means that bad things like malware, virus, ransomware can hide inside this encrypted traffic. If majority of these traffic are encrypted our Firewalls are not able to analyze these traffic which can easily infect our organization and the investment which we have done in these firewalls are wasted.

There does come around a solution for this and as my topic suggest SSL Decryption also know as Deep Packet Inspection as by some IT folks. The image that I have attached down below clearly suggest about what I am trying to explain. Using deep packet inspection, the firewall simply decrypts the encrypted traffic happening  between client and server, inspects the content to find the threats and block them , then forwards it to the destination re-encrypting it .




We will need to first setup the SSL/SSH inspection. There are 2 ways of doing deep packet inspection . One of them is for outgoing traffic also technically sometimes referred to as Source NAT and the other one is for incoming traffic referred to as Destination NAT. 

Source NAT is usually the traffic the we are using for the purpose of surfing the internet from inside of an protected network to the outside . Destination NAT is used for provided application as a service to the customer. The SSL Certificate bundle of that particular service domain must be imported inside the FortiGate.

Exemption of certain web categories and addresses can also be done which we will talk about it later in the blog.



We will need to use now use the SSL Inspection profile that we have just made with our policy.



You can see in the policy named SOSYS-INTERNET under Security Profiles that we have used Anti Virus , IPS and custom-deep-inspection. Custom Deep Inspection will be applied to anyone that is trying to browse the internet from SOSYS-SUBNET.

Finally we will need to install the CA Certificate in the web browser of the end host client as a trusted root certificate.



Once we start browsing the website we can see the certificate we had imported and deep packet inspection has started working . 



Exempt of sites can also be done with the help of addresses (FQDN, IP Address) or web site categories maintained by Fortiguard. I have done using addresses in this particular example for a site boxoffice.gov.np using wildcard FQDN






You can now clearly see the certificate Issued by is now by Geotrust not by Fortigate and therefore it is also not performing deep packet inspection for this particular site. This is usually done for some trusted websites like youtube, facebook and so on .

On my final note I would like to add that although these devices does do deep packet inspection and helps us find those malware inside the data sent but there does imply some down side as well. The performance of these firewalls does go down significantly because they need to decrypt the packet inspect the packet and re-encrypt it and send it towards the application server or towards the internet.






Comments

Popular posts from this blog

High Availability Palo Alto (Active/Standby)

 High Availability is usually performed in most of the data centers networks today which ensures application availability . High Availability is usually achieved in case one of the appliance goes down or have some physical or logical connectivity issues.  Achieving high availability in Palo Alto firewall is relatively very easy. Palo Alto firewall can work in both Active/Standby mode or in Active/Active. We will basically be talking about Active/Standby mode in this article. There are basically two links that needs to be configure in Palo Alto for HA. 1. Control Links Control Links are associated with control plane traffic which is mainly used for heartbeat exchanged, configuration synchronization. Dedicate HA ports are available in higher series of Palo Alto or even a HA interface can be created for some inband ports.   2. Data Links Data Links are mainly used for session synchronization, forwarding table synchronization. Dedicated HSCI Ports are available for highe...

Virtual Chassis Juniper EX 3400 (PREPROVISONED)

Juniper has always been an technology that I have always liked right from the beginning of my career when I was working as an Jr Network Administrator. The logical command as well as the hierarchy based Juniper devices has always made me love the device. Let me today talk about a very useful and an interesting topic which we usually called stack in the world of Cisco and virtual chassis in the world of Juniper, both of them mean the same thing logically make two or more than two switch as a one and configure and manage the device as a single unity. High Availability, managed configuration and maintenance are few of the benefits that a virtual chassis can provide. The configuration for virtual chassis can be found easily in the juniper sites but my objective about writing this is making it more simpler in context to Juniper's document. There are basically two ways of configuring virtual chassis in Juniper. 1.   Nonprovisioned configuration  :  The master switch assig...