Zurück zum Ranking

Phishing catcher using Certstream

phishingthreat-intelligencecertificate-transparencyosintthreatintel
Sterne-Wachstum
Sterne
1.8k
Forks
362
Wochenwachstum
Issues
28
5001k1.5k
Nov. 2017Sept. 2020Aug. 2023Juli 2026
ArtefaktePyPIpip install phishing_catcher
README

Phishing Catcher

Catch possible phishing domains in near real time by looking for suspicious TLS certificate issuances reported to the Certificate Transparency Log (CTL) via the CertStream API. "Suspicious" issuances are those whose domain name scores beyond a certain threshold based on a configuration file.

This is just a working PoC. Feel free to contribute and tweak the code to fit your needs. 👍

Screencast of example usage.

Installation

The script should work fine using Python2 or Python3. In either case, install the requirements after cloning or downloading the source code:

pip install -r requirements.txt

Configuration

Phishing Catcher uses a simple YAML configuration file to assign a numeric score for strings that can be found in a TLS certificate's common name or SAN field (i.e., a cert's domain name). The configuration file, suspicious.yaml, ships with sensible defaults, but you can adjust or add to both the strings it contains and the score assigned to each string by editing an override file, external.yaml.

Both the default suspicious.yaml and the user-modifiable external.yaml configuration files contain two YAML dictionaries: keywords and tlds. The keys of the dictionaries are the strings and the values are the scores to assign if that string is found in the domain name for an issued certificate. For example:

keywords:
    'login': 25

Here, a score of 25 is added to the generic keyword login when it is found in a TLS certificate domain name. Increasing this value will raise the level of suspicion against domains with the string login in them, thus allowing you to subject these certificate issuances to increased scrutiny.

However, in order to be reported as suspicious by Phishing Catcher, the score assigned to a given certificate must meet or exceed (>=, "greater than or equal to") the following thresholds:

Score Reported as
65 Potential
80 Likely
90 Suspicious

:bulb: See the score_domain() function in the source code for details regarding the scoring algorithm.

Usage

Once configured to your liking, usage is as simple as running the script:

$ ./catch_phishing.py

Example phishing caught

Paypal Phishing

Phishing catcher in Docker container

If you running MacOs or having a different OS version that would make the installation of phishing_catcher difficult, then having the tool dockerized is one of your options.

docker build . -t phishing_catcher

container

License

GNU GPLv3

If this tool has been useful for you, feel free to thank me by buying me a coffee.

Coffee

Ähnliche Repositories
hagezi/dns-blocklists

DNS-Blocklists: For a better internet - keep the internet clean!

TextGNU General Public License v3.0dnsads
24.6k755
htr-tech/zphisher

An automated phishing tool with 30+ templates. This Tool is made for educational purpose only ! Author will not be responsible for any misuse of this toolkit !

HTMLGNU General Public License v3.0phishingphisher
16.5k6.2k
wifiphisher/wifiphisher

The Rogue Access Point Framework

PythonPyPIGNU General Public License v3.0wifiphisherwifi
wifiphisher.org
14.7k2.7k
gophish/gophish

Open-Source Phishing Toolkit

GoGo ModulesOthergophishphishing
getgophish.com
14k2.9k
yeyintminthuhtut/Awesome-Red-Teaming

List of Awesome Red Teaming Resources

MIT Licensecobalt-strikephishing
8k1.7k
elceef/dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation

PythonPyPIApache License 2.0phishingtyposquatting
dnstwist.it
5.7k849
UndeadSec/SocialFish

Phishing Tool & Information Collector

CSSnpmBSD 3-Clause "New" or "Revised" Licensephishingpython
4.8k1.4k
skerkour/black-hat-rust

Applied offensive security with Rust - https://kerkour.com/black-hat-rust

Rustcrates.ioMIT Licenserustsecurity
kerkour.com/black-hat-rust
4.4k434
htr-tech/nexphisher

Advanced Phishing tool

ShellGNU General Public License v3.0htr-techzphisher
github.com/htr-tech/zphisher
3.9k626
Ignitetch/AdvPhishing

This is Advance Phishing Tool ! OTP PHISHING

Hackphishingotpbypass
3.2k839
jaykali/maskphish

Introducing "URL Making Technology" to the world for the very FIRST TIME. Give a Mask to Phishing URL like a PRO.. A MUST have tool for Phishing.

ShellMIT Licensephishingtool
kalilinux.in/2020/07/how-to-hide-phishing-link.html
3.2k409
CrimsonForge-io/king-phisher

Phishing Campaign Toolkit

PythonPyPIBSD 3-Clause "New" or "Revised" Licenseking-phisherpython
2.6k584