Operation Booby Trap
A supplier sends a payment remittance with an HTML attachment. It opens like a document and asks for your email password. Take the trap apart: extract it, hash it and decode where the password would go.
At a glance
- Type
- Walkthrough (guided: every task says where to look)
- Difficulty
- Easy
- Time
- about 25 min
- Tools
- Thunderbird, CyberChef, VirusTotal
- Skills
- Phishing Attachment Analysis, Email Header Analysis (SPF, DKIM, DMARC)
- Exam prep
- Security+, CySA+, BTL1
- MITRE ATT&CK tactics
- Initial Access, Credential Access, Defense Evasion
- Tasks
- 12
The scenario
CASE FILE 5192 · OPERATION BOOBY TRAP · PRIORITY HIGH
Tuesday, 14:40. Caro Smit in accounts at Westerlund Marine got a "payment remittance" from Brennan Ship Supply, a real supplier. She opened the attachment, saw a sign-in box with her email already filled in, and stopped.
HIGH 14:40 · Reported phishing with attachment Remittance_Advice_7731.htm
She did not type her password, but she did open the file. Your job: take the attachment apart safely, collect the indicators the SOC needs to hunt for it, and confirm whether the email really came from Brennan.
What you will investigate
- Open the evidence bag
- Why HTML
- Packed for transport
- Fingerprint it
- Ask the crowd
- Look inside
- Where would it go
- Follow the password
- Not really Brennan
- The sending machine
- Hunt for more
- File your report
Terms you will meet
- HTML attachment
- A web page sent as a file. Opens in the browser and can show a fake login.
- Content-Disposition
- The header that says a part is an attachment and gives its file name.
- SHA-256
- A fingerprint of a file. Any change to the file gives a completely different hash.
- atob()
- The browser's Base64 decoder. Often used to hide URLs in phishing pages.
- SPF softfail
- The sender's domain says this server is probably not allowed to send for it.
- Indicator (IOC)
- Something specific you can search for: a hash, an IP, a domain.
Key takeaways
- An
.htmor.htmlattachment that asks for a password is a phish. Treat it as one. - Hash the decoded attachment and hunt by hash across mailboxes.
- "Not found on VirusTotal" does not mean safe.
atob("...")in a page is a reason to decode and look.- SPF softfail + DMARC fail from a VPS = a spoofed sender, even if the name is a real supplier.
How to talk about this case in an interview
I analysed an HTML attachment on a fake remittance email. I extracted it from the raw .eml with CyberChef, took its SHA-256 for hunting, and found a fake sign-in form with the victim's address pre-filled. The form's destination was hidden with atob(), and decoding it gave the attacker's collection URL. The headers showed SPF softfail and DMARC fail from a VPS, so it was spoofed. I recommended blocking the domain and searching all mailboxes by hash.