pwn3d.es

MAILFORGE · BLUE TEAM

Your email domain, hard to impersonate.

MailForge audits a domain’s anti-spoofing protection (SPF, DKIM, DMARC, DNSSEC, MTA-STS…), grades it A to F and generates the records and plan to lock it down.

PythonDNSReact
domain grade
A–F
DNS and TLS checks
9
screens in the guide
3
parts explained
9

What it is and what it is for

MailForge is a defensive suite against email spoofing: it analyses a domain’s anti-spoofing protection (SPF, DKIM, DMARC, DNSSEC, MX, STARTTLS, MTA-STS, TLS-RPT and BIMI), computes a 0–100 score with an A–F grade and simulates which of eight attack vectors would succeed.

It then generates the configuration to close the gaps: ready-to-paste SPF, DMARC and MTA-STS TXT records, Postfix with OpenDKIM configuration, a DKIM key rotation guide and a phased DMARC rollout (none → quarantine 25 % → 100 % → reject) that does not break legitimate senders.

The engine is standard-library Python, with its own DNS client (RFC 1035, EDNS0 and DNSSEC OK) that falls back from UDP to TCP and DNS-over-HTTPS. It includes an interactive CLI, a local React web console, an API, JSON/HTML reports, a monitor that rescans periodically and, for authorised drills on your own mailboxes, a composer and sending through swaks.

When to use it

  • Auditing your mail domain

    Find out in 30 seconds whether someone could send mail that looks like yours, and why.

  • Rolling out DMARC without breaking anything

    Follow the phased plan and review reports before reaching p=reject.

  • Hardening the server

    Copy the DNS records and Postfix + OpenDKIM configuration generated for your domain.

  • Watching for changes

    The monitor warns when the score changes after a provider or DNS change.

How it works

  1. Robust DNS resolution

    core/dnsx.py queries over UDP, falls back to TCP and, behind restrictive NAT, to DoH (dns.google or Cloudflare) with retries.

  2. Standards parsers

    core/spf, dkim and dmarc implement RFC 7208, 6376 and 7489.

  3. Scoring and vectors

    core/scorer.py weighs the controls and simulates the eight vectors (direct spoof, subdomains, DKIM replay, TLS downgrade…).

  4. Hardening and drills

    core/hardening.py generates the configuration; core/swaks_bridge.py builds the .eml and runs swaks with an argument list, no shell.

What changes on pwn3d.es

  • On pwn3d.es the tool is explained with a visual guide: its interface recreated in CSS, screen by screen, with each part numbered and explained.
  • pwn3d.es neither runs nor hosts the tool: to use it there are its official site and repository, always at their latest version.

Defensive integration: it analyzes and generates configuration, but does not include the original repository's Spoof Lab, swaks delivery or self-test. STARTTLS cannot be probed from the browser and is shown as unverifiable.