Skill · 3 hands-on labs

Phishing Attachment Analysis

Learn phishing attachment analysis safely: extract a Base64 MIME attachment with CyberChef, take its SHA-256, check VirusTotal and decode hidden JavaScript.

What is Phishing Attachment Analysis?

Phishing attachment analysis means taking a suspicious attachment apart without opening it the way the victim would. You extract it from the raw email, take a hash to hunt for it elsewhere, check reputation services, and read or decode its content to find where it sends data or what it downloads.

How analysts do it

  1. Find the attachment part: Content-Type, Content-Disposition and file name.
  2. Decode the Base64 in CyberChef and take a SHA-256 hash of the decoded bytes.
  3. Search the hash on VirusTotal. Unknown does not mean safe.
  4. Read the decoded content as text and decode anything hidden (atob, Base64, hex).
  5. Collect indicators: hash, sender IP, domains and URLs.

What to look for

  • HTML attachments that ask for a password.
  • Double extensions such as .pdf.js or .pdf.exe.
  • Scripts (.js, .vbs, .hta) and disk images (.iso, .img).
  • atob() or long Base64 strings in a page.
  • The victim's own address written into the file.

Practise it: 3 labs, easiest first

Every lab gives you real evidence to download and a set of questions. Guided labs tell you where to look, challenges do not.

Certifications that test this skill

Related skills

Questions people ask

Is it safe to upload a phishing attachment to VirusTotal?

Search the hash first. Uploading shares the file with VirusTotal's community, and phishing attachments often contain the victim's name or email address. If the hash is unknown, analyse the content yourself.

Why are HTML attachments used for phishing?

They open in the browser, can draw a convincing sign-in page and run JavaScript, and they need no macros or download warnings. The page lives on the victim's disk, so link scanners never see it.