Public repository for Agent Skills
analyzing-email-headers-for-phishing-investigation
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
Parse and analyze email headers (Received chain, Return-Path, Message-ID)
How to install analyzing-email-headers-for-phishing-investigation
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-email-headers-for-phishing-investigation/
# into
~/.claude/skills/analyzing-email-headers-for-phishing-investigation/ (all projects)
.claude/skills/analyzing-email-headers-for-phishing-investigation/ (one project)
1# Analyzing Email Headers for Phishing Investigation23## When to Use4- When investigating a suspected phishing email to determine its true origin5- For verifying sender authenticity and detecting email spoofing6- During incident response when a user has clicked a phishing link7- When tracing the delivery path and relay servers of a suspicious email8- For validating SPF, DKIM, and DMARC alignment to identify forgery910## Prerequisites11- Raw email headers from the suspicious message (EML or MSG format)12- Understanding of SMTP protocol and email header fields13- Access to DNS lookup tools (dig, nslookup) for SPF/DKIM/DMARC verification14- Email header analysis tools (MHA, emailheaders.net concepts)15- Python with email parsing libraries for automated analysis16- Access to threat intelligence platforms for IP/domain reputation1718## Workflow1920### Step 1: Extract Raw Email Headers2122```bash23# Export from Outlook: Open email > File > Properties > Internet Headers24# Export from Gmail: Open email > Three dots > Show original25# Export from Thunderbird: View > Message Source2627# If working with EML file from forensic image28cp /mnt/evidence/Users/suspect/AppData/Local/Microsoft/Outlook/phishing_email.eml \29 /cases/case-2024-001/email/3031# If working with PST file, extract individual messages32pip install pypff33python3 << 'PYEOF'34import pypff3536pst = pypff.file()37pst.open("/cases/case-2024-001/email/outlook.pst")38root = pst.get_root_folder()3940def extract_messages(folder, path=""):41…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
Similar skill repositories
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
The open-source app everyone uses to manage agents at work
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
