Skip to content

A command-line tool for analyzing the vulnerability of domain names to email spoofing attacks and suggesting changes for mitigation.

Notifications You must be signed in to change notification settings

v1sc0/stopemailspoofing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StopEmailSpoofing!

icon

What it is?

A command-line tool written in Go (Golang) for analyzing the vulnerability of domain names to email spoofing attacks and suggesting changes for mitigation.

How it works?

[+] Accepts either a single domain name or a path to a list of domain names.

[+] Checks if the entry corresponds to a organizational domain or a subdomain.

[+] Gets SOA, NS and MX records.

[+] Attempts to locate DKIM (DomainKeys Identified Mail) record using the 100 most common selectors.

[+] Checks if there is a BIMI (Brand Indicators for Message Identification) record.

[+] Checks if the server uses a Catch-All configuration (for user enumeration prevention).

[+] Checks the existence and compliance of the SPF (Sender Policy Framework) record.

[+] Checks the existence and compliance of the DMARC (Domain-based Message Authentication, Reporting, and Conformance) record.

[+] Indicates whether the domain is vulnerable to email spoofing attacks and specifies the level of vulnerability*.

[+] Provides solutions to address and resolve the identified vulnerabilities*.

[+] Generates a CSV file with the results.

** The tool makes its conclusions according to what is found in ULTIMATE_TABLE.

Installation

  1. Install Golang https://go.dev/doc/install (v1.23.1 at least)

  2. git clone https://github.com/v1sc0/stopemailspoofing.git
    cd stopemailspoofing/
    go build
    
    

Usage

./stopemailspoofing

image

Output example

image

How email authentication works?

SPF DKIM dmarc

About

A command-line tool for analyzing the vulnerability of domain names to email spoofing attacks and suggesting changes for mitigation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages