Listen to this Post
Phishing attacks remain one of the most prevalent cyber threats, and analyzing phishing emails is crucial for cybersecurity professionals. Below are some of the top tools used for phishing email analysis, along with practical commands and steps to enhance your investigation.
You Should Know:
1. Mimecast
Mimecast provides email security, including phishing detection and URL analysis.
Commands & Steps:
- Use curl to inspect suspicious URLs:
curl -I "https://example.com"
- Check DNS records for malicious domains:
dig example.com nslookup example.com
2. PhishTool
A powerful tool for dissecting phishing emails, extracting indicators of compromise (IOCs), and analyzing headers.
Commands & Steps:
- Extract email headers and analyze them:
cat email.eml | grep -i "from|to|subject|received"
- Use grep to search for malicious patterns:
grep -E "http|https" email.eml
3. URLScan.io
Scans and analyzes URLs for malicious content.
Commands & Steps:
- Automate URL scanning with Python:
import requests response = requests.post("https://urlscan.io/api/v1/scan/", json={"url": "https://example.com"}) print(response.json())
4. VirusTotal
Checks files and URLs against multiple antivirus engines.
Commands & Steps:
- Submit a file hash for analysis:
curl --request POST --url 'https://www.virustotal.com/vtapi/v2/file/report' --data 'apikey=YOUR_API_KEY&resource=FILE_HASH'
5. Email Header Analyzer (Google Toolbox)
Helps dissect email headers for signs of spoofing.
Commands & Steps:
- View full email headers in Gmail:
Open Email → Click "More" → "Show Original"
- Analyze headers with dmarc-analyzer:
dmarc-analyzer --input email_headers.txt
6. Wireshark
For deep packet inspection of phishing-related network traffic.
Commands & Steps:
- Capture HTTP traffic:
tshark -i eth0 -Y "http.request" -w phishing_traffic.pcap
- Filter SMTP traffic (common in phishing emails):
tshark -r phishing_traffic.pcap -Y "smtp"
7. TheHarvester
Gathers email addresses and domain info for threat intelligence.
Commands & Steps:
- Harvest emails from a domain:
theHarvester -d example.com -b google
What Undercode Say:
Phishing email analysis requires a mix of automated tools and manual inspection. Always verify URLs, attachments, and sender details before taking action. Use tools like Mimecast, PhishTool, and VirusTotal for quick analysis, and leverage Wireshark & TheHarvester for deeper investigations. Regular security awareness training is essential to mitigate phishing risks.
Expected Output:
- Extracted phishing URLs
- Email header analysis
- Malicious file hashes
- Network traffic logs
- Domain reputation reports
For further reading:
References:
Reported By: Ethical Hacks – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅



