This project demonstrates phishing email analysis techniques to identify and understand email-based threats. It's an educational tool to learn about phishing tactics and email security.
Identify phishing characteristics in suspicious email samples and understand common attack vectors.
- Python 3 - Email header analysis automation
- Online Header Analyzers - MXToolbox, Google Admin Toolbox
- Text Editors - To examine email source code
- Sample phishing emails (
.emlformat) - Python script for automated analysis
- Detailed phishing analysis reports
- Interview questions with answers
# Run the analysis script
python3 email_analyzer.py samples/phishing_sample_1.eml
# Or analyze all samples
python3 email_analyzer.py samples/*.eml- Examine the sender's email address
- Check email headers for discrepancies
- Identify suspicious links or attachments
- Look for urgent language or threats
- Check for spelling/grammar errors
- Verify mismatched URLs
✅ Sender Address:
- Mismatched or spoofed domain
- Random characters or numbers
- Free email service (Gmail, Yahoo) for business
✅ Email Headers:
- Originating IP doesn't match claimed sender
- Multiple "Received" hops through suspicious servers
- SPF/DKIM/DMARC failures
✅ Email Body:
- Urgent or threatening language
- Requests for personal/financial information
- Spelling and grammar errors
- Generic greetings ("Dear Customer")
✅ Links and URLs:
- Mismatched display text vs. actual URL
- Shortened URLs (bit.ly, tinyurl)
- Suspicious domains (typosquatting)
- Non-HTTPS for sensitive actions
✅ Attachments:
- Unexpected attachments
- Executable files (.exe, .scr, .bat)
- Office docs with macros
- Compressed files (.zip, .rar)
- Spear Phishing - Targeted attacks on specific individuals
- Whaling - Attacks targeting executives
- Clone Phishing - Legitimate email replicated with malicious content
- Business Email Compromise (BEC) - Impersonating company executives
- Vishing - Voice phishing via phone calls
- Smishing - SMS/text message phishing
Suspicious Sender:
Display: "PayPal Security"
Actual: security-paypal@gmail.com ❌
Mismatched URL:
Display text: "Click here to verify your account"
Actual link: http://paypa1.suspicious-site.ru ❌
Urgent Language:
"Your account will be suspended in 24 hours!"
"Immediate action required!"
"Unusual activity detected - verify now!"
- MXToolbox Header Analyzer: https://mxtoolbox.com/EmailHeaders.aspx
- Google Admin Toolbox: https://toolbox.googleapps.com/apps/messageheader/
- VirusTotal: https://www.virustotal.com (for attachments)
- URLScan.io: https://urlscan.io/ (for suspicious URLs)
email_analyzer.py- Python script for automated analysissamples/- Sample phishing emailsreports/- Analysis reportsINTERVIEW_QUESTIONS.md- Detailed Q&AANALYSIS_TEMPLATE.md- Report template
If you receive a suspected phishing email:
- Don't click any links or download attachments
- Don't reply to the email
- Don't provide personal information
- Report to your IT/security team
- Delete the email after reporting
- Verify by contacting the organization directly
- How to identify phishing emails
- Email header analysis techniques
- Common social engineering tactics
- Proper response to phishing attempts
This project is for educational purposes only:
- Use only sample/simulated phishing emails
- Never create or send real phishing emails
- Respect privacy and security laws
- Report real phishing to proper authorities
Stay safe online! 🛡️