BTL1 area 2: Phishing analysis
How to analyse a suspicious email: headers, SPF, DKIM and DMARC, links and attachments safely, and how to report and respond.
How to analyse a suspicious email: headers, SPF, DKIM and DMARC, links and attachments safely, and how to report and respond.
0 of 6 · 0 of 60 points
Task 1: Headers and authentication
Kinds of phishing
Spear phishing targets a specific person, whaling targets executives, BEC impersonates a manager or supplier to divert payments, and quishing uses a QR code.
Key headers
- From (what the user sees) and Return-Path (where bounces go): if they differ, that's a sign.
- Reply-To: if replies go to an address other than the sender, a strong sign.
- Received: read bottom to top; the lowest line is the server closest to the real sender and shows its address.
- Message-ID and its domain.
Sender authentication
- SPF: is the sending server allowed to send for the domain?
- DKIM: a digital signature proving the message wasn't altered.
- DMARC: the domain's policy when SPF and DKIM fail:
none,quarantineorreject.
spf=fail or dmarc=fail in the Authentication-Results header suggests a spoofed sender.
1.1Which way do you read Received headers to reach the real sender?
101.2The technique that proves an email wasn't altered, with a digital signature:
101.3An email From your manager, but Reply-To goes to an odd Gmail and asks for a transfer. This is:
10Task 2: Links, attachments and response
Links
- Don't open the link on your machine. Copy it defanged, like
hxxps://bad[.]example. - Check it with reputation tools such as VirusTotal and URLScan, and look at the domain: its age, look-alike letters (paypa1), long subdomains.
- For a link hidden behind text, check the real href.
Attachments
- Take the hash (SHA-256) and look it up in reputation databases instead of uploading the file (so you don't leak internal data).
- Risky extensions:
.exe,.js,.iso,.lnk, Office files with macros (.docm). - Open anything suspicious in an isolated sandbox.
Response
- Find every recipient of the same message and remove it from their mailboxes.
- Block the sender, domain, link and hash.
- If someone clicked or entered a password: reset it at once and review their sign-ins.
- Write a report: the indicators (IOCs), who was affected, and the actions taken.
2.1How do you write a malicious link safely in a report?
102.2Why look up the attachment's hash instead of uploading the file to a public site?
102.3An employee entered their password on a phishing page. The first action:
10