Catching phishing before they catch you

Paypal phishing, paypal phishing everywhere

x0rz
Just another infosec blog type of thing
2 min readNov 7, 2017

--

Let’s catch some phishing domain names using CertStream!

What is Certificate Transparency?

Certificate authorities (CA) get hacked (it already happened), and sometimes they mistakenly issue rogue certificates… That is why Google’s Certificate Transparency project try to fix several structural flaws in the SSL certificate system by providing an open framework for monitoring and auditing SSL certificates in nearly real time, as they are being issued!

Certificate Transparency framework

CertStream + phishing keywords = ❤️

CertStream is a free service for getting data from the Certificate Transparency Log (CTL). Using their Python library to receive certificate log is quite easy:

Now all you have to do is monitor for suspicious keywords such as paypal, outlook, icloud, etc. to get early detection: detect phishing domains before they are even fully operational!

I made a quick proof of concept using the CertStream Python library, and it works like charm! Here are a few samples identified in just a couple of hours:

Get results in seconds!

There are a few false positives but nothing too crippling. Feel free to edit the source code to suit your needs 👍

Feel free to buy me a coffee ☕ if you liked the article!

--

--