DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Trending

  • Understanding and Mitigating IP Spoofing Attacks
  • Enhancing Security With ZTNA in Hybrid and Multi-Cloud Deployments
  • Automating Data Pipelines: Generating PySpark and SQL Jobs With LLMs in Cloudera
  • AI-Based Threat Detection in Cloud Security

What Is SSL Inspection? Why Use SSL Inspection?

Find out when to use SSL Inspection.

By 
Crumb Peter user avatar
Crumb Peter
·
Oct. 10, 19 · Presentation
Likes (2)
Comment
Save
Tweet
Share
21.6K Views

Join the DZone community and get the full member experience.

Join For Free

magnifying-glass-above-gear


SSL Inspection or HTTPS Inspection is the process of intercepting SSL encrypted internet communication between the client and the server. The interception can be done between the server and the client and vice-versa.

We know that SSL encryption helps keep our data safe. Every bit of data is encrypted, such that data tampering or 3rd party intervention is not possible. However, that is not the case now. SSL can now be used to hide malware. 

That’s where SSL Inspection comes into the picture. SSL Inspection intends to filter out dangerous content, such as malware. This inspection is also called Deep SSL Inspection or Full SSL Inspection. It allows the user to do web and email filtering, antivirus scanning, etc.

You may also like: What Is SSL? How Do SSL Certificates Work?

How SSL Inspection Removes Malware

Basically, SSL uses an interception device between the server and the client. The interceptor device sits between the server and the client, and all the traffic goes through it. When the connection is made to the webserver, the interceptor intercepts all the traffic going through, decrypts it, and scans it.

Once the scanning is done, it forms another SSL connection with the client. So, the data is sent to the client via encryption.

SSL Inspection Overview

  • First, the interceptor intercepts the traffic coming and decrypts HTTPS sessions between clients and servers.
  • Once the traffic has been decrypted, the interceptor inspects the content through antivirus scanning, web filtering, etc.
  • Then, the interceptor encrypts the traffic and forwards it to the destination, in this case, the webserver.

In 2015, there was an incident involving a Lenovo PC, which was shipped with a preinstalled image advertisement optimizer developed by Superfish. Superfish is a form of adware that can hijack an encrypted web session and open a system up to potential HTTPS man-in-the-middle (MiTM) attacks, which implies that ads will be there in encrypted files.

Now, this allows a 3rd party to intervene and eavesdrop or modify the HTTPS secure communication; the amazing thing is that there will be no browser warning to the user. This mistake was made public and Windows released an update for Windows Defender, which removed Superfish.

However, this was not the first time that Superfish software was installed. Mozilla Firefox, Apple, and Microsoft Windows also expressed their concerns that Superfish was installed on their computers. 

Qualified personnel said that Superfish was not directly involved in the incident — a third party was involved behind the scenes. They found the code involved in the incident, and it was authorized by the tech company, Komodia. Komodia refers to its HTTPS-decrypting and interception software as an SSL hijacker and has been doing so since 2011.

Shortly after the Superfish incident, another piece of SSL interception software named PrivDog, made by Adtrustmedia, was also found to be vulnerable. PrivDog is an advertising program that intercepts HTTPS connections and replaces bad advertisements with advertisements approved by Adtrustmedia.

PrivDog is marketed as a solution to protect users against malicious advertising without completely blocking ads. To replace ads on websites protected with HTTPS, PrivDog installs a self-generated root certificate on the system and then runs as a man-in-the-middle proxy.

When users access the secured HTTPS sites, PrivDog hijacks their connections and replaces the legitimate certificates of those sites with new ones, signed by their own, with the locally installed root certificate.

Since the root certificate installed by PrivDog on computers is trusted by browsers, all certificates that chain back to it will also be trusted. This means that the users will think that they’re securely speaking to the websites they accessed, while in the background, PrivDog will decrypt and manipulate their traffic.

The only difference between PrivDog and Superfish is that Superfish’s mistake was that they used the same certificates across all deployments. PrivDog, on the other hand, copied the self-signed certificate of the user and signed it with their own trusted root certificate, thus forcing the browser to accept it.

But, PrivDog’s mistake was that they didn’t validate their certificates. Soon, PrivDog was caught and their methods were exposed to the public. 


Further Reading

  • Security: Defending Your Code.
  • DZone Research: The Most Important Security Elements.
  • Learn How to Secure Service-to-Service Microservices.
Inspection (medicine)

Published at DZone with permission of Crumb Peter. See the original article here.

Opinions expressed by DZone contributors are their own.

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!