Post 06 - What what the email

07 Dec 2022

Task 11, Day 06, Email Analysis It’s beginning to look a lot like phishing

Two main concerns in email analysis:

Basic Header Structure

Basic Process

Also need email header parser tool, can use Sublime Text with some config. Sublime allows viewinf email files without opening or executing any linked attachments/commands. Automatically recognizes .eml and .msg files. If .txt file, can change “plain text” at bottom right to “email header”.

Can also use emlAnalyzer to view body and analyse attachments. Can show headers, body, embedded URLs, plaintext and html data, and atytachments. Syntax: emlAnalyzer -i /path-to-file/filename --header [show header] -u [show URLs] --text [show cleartext data] --extract-all [extract all attachments] Path can be full or relative.

Can use OSINT sources for reputation check on sender and reply-to addresses (i.e. https://emailrep.io)

Can check out suspicious URLs and attachments at sites like:

Body/attachment analysis - can use sha256sum tool/utility to calculate a file’s hash, then check on VirusTotal and InQuest. On VirusTotal check the Behavior tab. On InQuest check Indicator Lookup.

The Task

Gain header info and analyse file info.

All flags gotten.