---
title: "3. Certificate Transparency logs"
date: 2024-07-17
draft: false
---

In the sprawling mass of the internet, trust is a fragile commodity. One of the cornerstones of this trust is the `Secure Sockets Layer/Transport Layer Security` (`SSL/TLS`) protocol, which encrypts communication between your browser and a website. At the heart of SSL/TLS lies the `digital certificate`, a small file that verifies a website's identity and allows for secure, encrypted communication.


What are certificate transparency logs? 
CT logs are public, *append-only* ledgers that record the issuance of ssl/tls certs. Whenever a certificate authority issues a new cert; it must submit it to multiple CT logs. Independent orgs maintain these logs and are open for anyone to inspect. 
SEE: `crt.sh` ; `search.censys.io`
Can be thought of as a global registry of certificates. 
Purpose:
1. Early detection of rogue certs 
	1. Monitoring ct logs can quickly identify suspicious / misissued certs. Rogue cert is unauthorized / fraudulent digital certs issued by a trusted CA. 
	2. Accountability for CAs - CT logs hold CAs accountable for issuance practices. If CA issues cert that violates rules; publicly visible in logs. 
	3. Strengthening of Web PKI (Public Key Infrastructure) - Web PKI is trust system underpinning secure online comms. CT logs help to enhance sec/integ of web pki by providing mechanism for public oversight/verification of certs. 

CT logs provide a unique advantage in subdomain enumeration - instead of bruteforcing(guessing) CT give a definitive record of certificates issued for a domain and subdomains - thus, not limited to scope of wordlist or effectiveness of BF algo. CT logs can unveil subdomains with old/expired certs; which might host outdated software/configs making them potentially vulnerable. 
