Categories: SSL/TLSWhat is

Digital Certificate Security – Certificate Pinning

Generally, SSL certificate used to verify the security level of a website/URL. In the SSL handshake method, Client verifies the website/application certificate with the authorized public CA or where the respective certificate got issued.

If the certificate got verified by the trusted certificate authority then the connection opens and data transfer in a secure manner.

Also Read SSL/TLS Certificate Revocation is Broken

Why Certificate Pinning Need?

Even though the digital certificate authentication is secure the hacker can launch “Man In Middle Attack” which breaks the security by authenticating the CA public certificate using hacked digital certificate.

The hacker inject their security certificate in our environment to make authenticate the Application/URL. Once it’s done they can easily track the secure encrypted communication like user name and password.

So in that scenario, we are not able to predict security level of certificate verification process, To overcome that we can prefer the method called “Certificate Pinning”.

Also Read Fast and Complete SSL Scanner to Find Mis-configurations

What is Certificate Pinning?

Certificate pinning is a safe security measure to avoid the Man In Middle Attack of secure HTTPS connection. The method of pinning our trusted known certificate along with its fingerprint /serial number in a trusted store is called Certificate Pinning.

Mostly it is applied in mobile application or any other application software only. This avoids the fake certificate authorization process.

The above diagram shows the Certificate Pinning process, that slightly differs from the normal HTTPS handshake process. Pinning is making sure the client checks the server’s certificate against a known copy of that certificate.

Simply bundle your server’s secure certificate inside your application, and make sure any HTTPS/Secure request first validates that the server’s certificate exactly matches the bundle’s certificate.

Also Read Evolution of TLS1.3 – Enhanced security and speed

Source & Credits: Ramesh Senior Project Engineer at Wipro Technologies

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago