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

Guru baran

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

Norway Recommends Replacing SSLVPN/WebVPN to Stop Cyber Attacks

A very important message from the Norwegian National Cyber Security Centre (NCSC) says that Secure Socket Layer/Transport Layer Security (SSL/TLS)…

1 day ago

New Linux Backdoor Attacking Linux Users Via Installation Packages

Linux is widely used in numerous servers, cloud infrastructure, and Internet of Things devices, which makes it an attractive target…

1 day ago

ViperSoftX Malware Uses Deep Learning Model To Execute Commands

ViperSoftX malware, known for stealing cryptocurrency information, now leverages Tesseract, an open-source OCR engine, to target infected systems, which extracts…

1 day ago

Santander Data Breach: Hackers Accessed Company Database

Santander has confirmed that there was a major data breach that affected its workers and customers in Spain, Uruguay, and…

2 days ago

U.S. Govt Announces Rewards up to $5 Million for North Korean IT Workers

The U.S. government has offered a prize of up to $5 million for information that leads to the arrest and…

2 days ago

Russian APT Hackers Attacking Critical Infrastructure

Russia leverages a mix of state-backed Advanced Persistent Threat (APT) groups and financially motivated cybercriminals to achieve its strategic goals,…

2 days ago