A Powershell tool for assessing phishing emails
I am not responsible if you wedge your system using this.
- Smells phishy logs into your phishing reporting mailbox
- It thanks the user for their submission (configurable in config.json)
- The script extracts all the observables, IPs, Emails, URLs, Domains, Attachments and runs them against reputation based tools
- The script gives the email a score out of 100 and sends a report to the designated security analyst.
- Create a phishing mailbox for users to send mail to
- Install the Microsoft Exchange Web Services API
- Modify the config.sample.json file and name it config.json
- Add your logo as
logo.png
- Modify the
Thank You.html
file with your message - Run
Check-PhishingReport.ps1
- Profit
- Detecting Base64 encoded payloads in HTML attachments
- Extension based scoring (via file extension and magic number)
- MISP Integration
- crt.sh Integration to assess certificate age
- DMARC/DKIM validation
- Parallel processing of e-mails
- Wild Fire sandbox posts
- Observable history (speeds up processing of similiar indicators)
- Report history (when users report similiar e-mails just reply don't assess)
- Exchange integration to automatically remove messages
- If you use SentinelOne you can check
- SentinelOne to see if the recipient has AV installed
- Search SentinelOne Deep Visibility for IOC hits and shares them in the e-mail report
- Performs SSDeep hashing on attachments
- Bitcoin wallet detection
- Extracts all URLs, Domains, IPs, Emails, File hashes (MD5, SHA1, SHA256)
- Checks all emails against HaveIBeenPwned
- Newly Registered Domain detection
- Recently updated domain detection
- Free CA detection (usage of LetsEncrypt for example)
- VirusTotal detection for all:
- File Hashes
- URLS
- Domains
- Detects tracking pixels
- Detects Base Striker attacks
- Detects Executive spoofing
- Detects suspicious subjects (Using SwiftFilter terms)
- Detects suspicious phrases (Using SwiftFilter terms)
- Detects suspicious patterns (Using SwiftFilter terms)
- Detects URL shorteners
- Will unwrap shortened URLs to find the true destination
- Detects rewrapped URLs (e.g. Websense URL rewrapping)
- Will unwrap the wrapped URls too find the true destination
- Detects Reply To mistmatches
- Screenshots all URLs for a snapshot of what the site looks like
Smells Phishy Email Report
Score: 10/100
Message Details
Observables
URLs
• hXXps[:]//hatimedia[.]com/wp-content/plugins/wp[.]admin/secure[.]outloo[.]jdjksajkfdkfjdnffkjdsafkjAKKFDKFJDKFJKDF/ac90c11a260d0bbcf2c15b3e64198dd9/
Domains
• hatimedia[.]com
Hashes
• 42883ED4AFA0FA0BE84A3214E271F8D3
Suspicious Subject
• Account Deactivation
• Incident #748892
Suspicious Phrases
Suspicious Patterns
Screenshots