KaliRange / Tools / PhishTrace
Free phishing forensics tool
Find out if that email is phishing, and why.
PhishTrace is a free command-line tool that reads a suspicious email file and gives you a 0 to 100 risk score, a verdict, plain-English findings, a delivery trace and safe indicators of compromise.
Download
Download PhishTrace
Free, and yours to keep. Sign in with a free KaliRange account to download. The build for your system is marked; the others are below it.
First run: a one-time security step
These programs are not code-signed yet, so your system shows a one-time warning. On macOS, after you move the file into place, allow it with sudo xattr -d com.apple.quarantine /usr/local/bin/phishtrace. On Windows, click More info, then Run anyway. This is normal for a new independent tool. Check the SHA-256 below if you want to be certain.
macOS (Apple Silicon)
phishtrace-macos-arm64
Sign in to download8df33d6356cc59f311d5eab6fe6b7b8f9879e2c823cc9be5a71241f75565a464macOS (Intel)
phishtrace-macos-x64
Sign in to download6897692e2f7b9190e1899a28cac5a50fd5b73901567a84093c6cf767a7d3391cWindows
phishtrace-windows-x64.exe
Sign in to downloade3984b6436ed13f80c26df9703b0d243e5b0b7e7c054f691ee0e6444a40c99f9Linux
phishtrace-linux-x64
Sign in to downloadbc99aa9028687fb8c27d3f26d7f746e6d13fc922f44eea43e3b0000c9678aee7Most Macs from 2020 onward are Apple Silicon. On an older Intel Mac, choose Intel.
Verify your download
Because the programs are unsigned, the SHA-256 is how you confirm that your download arrived intact. Compute the SHA-256 of your file and compare it with the value on its card. Any difference means a corrupted or tampered download: delete it and download again.
macOS shasum -a 256 phishtrace-macos-arm64 Windows certutil -hashfile phishtrace-windows-x64.exe SHA256 Linux sha256sum phishtrace-linux-x64
Install it
PhishTrace is one file. Put it where your terminal can find it, then check that it runs.
macOS chmod +x phishtrace-macos-arm64 && sudo mv phishtrace-macos-arm64 /usr/local/bin/phishtrace Linux chmod +x phishtrace-linux-x64 && sudo mv phishtrace-linux-x64 /usr/local/bin/phishtrace Windows rename the file to phishtrace.exe and run it from PowerShell in that folder phishtrace version
The first run can take a few seconds while the program unpacks itself. Later runs start almost instantly.
How it works
From a suspicious email to a verdict you can explain
Save the email
Save it as an
.emlfile. Gmail, Apple Mail and Thunderbird can all do this.Run PhishTrace
Type
phishtrace analyze invoice. A name is enough: it looks in the current folder, Downloads, Desktop and Documents.Read the result
A verdict and score at the top, then each reason in plain English with what to do about it.
What it does
The checks an analyst runs, done for you and explained
A score you can explain
Every email gets a 0 to 100 risk score and a verdict, with the points behind each finding listed, so you can show your reasoning.
Reads the headers for you
Checks From, Return-Path and Reply-To mismatches, display-name spoofing, and the SPF, DKIM and DMARC results.
Traces the delivery path
Lays out each hop in order, with delays, odd or private addresses and the likely origin IP.
Spots lookalike domains
Finds homoglyphs, punycode, typosquats, brand-plus-word domains and subdomain tricks.
Inspects links and attachments safely
Flags mismatched link text, IP links, shorteners and risky file types. Links are never visited and attachments are never opened.
Reports you can share
Export the result as HTML, Markdown or JSON, and the indicators as CSV, all defanged so nobody clicks them by accident.
Offline by default
Your email stays on your computer. Domain lookups only happen when you add --online.
Built for learning
Each finding comes with a plain-English reason and a "Do:" tip, so students see what an analyst looks for.
Requirements
Runs on a normal laptop
- macOS, Apple Silicon or Intel
- Windows, 64-bit
- Linux, 64-bit
- A terminal, and about 25 MB of disk. No internet connection is needed
Questions
Straight answers, including the honest limits
Is it really free?
Yes. PhishTrace is free with no usage limit. You sign in here with a free KaliRange account to get the download; the tool itself needs no account or key.
Do I need Python or anything else installed?
No. It is one program with nothing else to install.
Does it send my email anywhere?
No. Analysis happens on your computer and nothing is stored. Network lookups only happen if you add --online, which sends domain names to WHOIS and DNS servers.
Is it safe to run on a malicious email?
Yes. Attachments are never opened, links are never visited, and the email is never shown as a web page. Every link, domain and IP in the report is defanged.
Why does my computer warn me when I run it?
The programs are not code-signed yet, so macOS and Windows show a one-time caution. Follow the first-run steps above. Check the SHA-256 if you want to be certain.
Does a low score mean the email is safe?
No. The score comes from rules, not proof. A well-written targeted phishing email can score low, so treat the result as evidence to weigh.
Which email files does it read?
It reads .eml files up to 10 MB. Gmail, Apple Mail and Thunderbird can all save one. Outlook .msg files are not supported yet.
Does it verify SPF and DKIM itself?
No. It reads the results that the receiving mail server wrote into the headers. A file that never passed through a trusted server can carry fake results.
For defensive and educational use only. PhishTrace is for analysts, students and teachers investigating suspicious mail. Free to use; PhishTrace and its source code are proprietary.