It's Friday afternoon and the person who handles the books at a small company gets an email. The subject line reads "Your October invoice". The sender name looks a lot like the courier firm they use. Attached is a file called Invoice_October_2026.pdf. They double-click it, nothing opens, they shrug ("must be corrupted") and head home. On Monday morning, none of the files in the shared folder will open.
The details change from case to case, but the skeleton is always the same, with a subject that sounds routine, a file name that looks familiar, and one moment of "I only opened it once." In this guide we look at why attachments can be sneakier than links, the three tricks attackers lean on most, and the checks you can run before you open anything.
Why can an attachment be more dangerous than a link?
When you click a link, a page usually opens in your browser. Browsers are built to run pages inside a restricted space. A fake login page can steal your password, but it has a hard time launching a program on your computer by itself.
An attachment is different. It's a file that lands on your computer. The moment you open it, whatever program handles it (Word, Excel, a PDF reader, an archive tool, or the operating system itself) gets involved. If the file is a program or a script, it runs with your user permissions. So "opening" often really means "running". Think of it this way. A link shows you a door, while an attachment is a parcel that's already come through it.
The first trick uses Office documents with macros
Macros are small programs that can be embedded in Word and Excel files. Normally they automate repetitive jobs, and you'll see them a lot in accounting spreadsheets. The problem is that the same mechanism can be used to download and run another file from the internet as soon as the document opens.
Malicious documents usually greet you with a message along these lines.
"This document is displayed in Protected View. To see the content, please click Enable Editing and then Enable Content."
That sentence is the trap. The document's content is deliberately blurred or blank so that curiosity pushes you to click. In recent years Microsoft has started blocking macros in files from the internet by default, which has pushed attackers towards other methods. Even so, older versions, different settings and custom corporate configurations mean a macro prompt is still a warning sign worth taking seriously.
The rule is simple. If a document you received by email asks for macro permission just so you can read it, say no. If you really are expecting a file that needs macros, phone the sender and confirm first.
The second trick relies on double extensions and hidden file types
By default, Windows hides the extensions of known file types. That means a file called Invoice.pdf.exe can show up on screen as Invoice.pdf. If its icon has been made to look like a PDF icon too, telling the difference gets much harder. In reality, that file is a program.
Similar tricks include:
- Padding the file name with lots of spaces so the real extension is pushed out of view.
- Using a special character that reverses text direction, so a name that actually ends in "exe" reads differently on screen.
- Giving shortcut (.lnk) files names that make them look like documents.
The most useful setting you can change on your own computer is turning on file extensions. In Windows File Explorer, open the View menu and turn on File name extensions. That one switch defeats most double-extension tricks.
The third trick hides files in archives (ZIP, RAR, 7z) and password-protected archives
Mail servers and antivirus software scan attachments. To get past that scanning, attackers put the malicious file inside an archive. A step further, they password-protect the archive and put the password in the email body, something like "For privacy reasons the file is encrypted, password: 2026". Because the archive is encrypted, automated scanners can't look inside, and you end up opening the file with your own hands.
It makes no sense for an organisation, a bank or a courier to send you an archive with the password sitting in the same email. Sending the password through the same channel defeats the point of protecting it. When you see that, stop.
Disk image files (.iso, .img) and HTML attachments that open in your browser have also become common in recent years. An HTML attachment can show you a fake login page in your browser. The giveaway is the address bar. Instead of a website name, it shows a file path on your own computer.
Which file types deserve a closer look?
The table below isn't a strict "safe/dangerous" list. A PDF can be malicious and a ZIP can be completely harmless. It just gives you a sense of how suspicious to be when you see each type attached to an email.
| File type | Example extensions | Why be careful |
|---|---|---|
| Executable programs and scripts | .exe, .scr, .bat, .cmd, .js, .vbs, .msi | They run code directly when opened. Getting one unexpectedly by email is almost always a bad sign. |
| Shortcut files | .lnk | Can look like a document while running a command in the background. |
| Macro-enabled Office documents | .docm, .xlsm, older .doc and .xls | Can run code if you grant macro permission. |
| Archives and disk images | .zip, .rar, .7z, .iso, .img | Can hide their contents from scanners, especially when password-protected. |
| HTML attachments | .html, .htm | Can open a fake login page in your browser. |
| Ordinary documents | .pdf, .docx, .xlsx, .jpg | Lower risk, but not zero, because of links inside them and flaws in out-of-date reader software. |
Ask yourself before you open an attachment
- Was I expecting this file? If an invoice turns up from a company you never ordered from, or a contract for a job you never applied for, don't open it.
- Does the sender address really belong to that organisation? What matters isn't the display name but the domain after the @ sign. We explain how to check this in our guide to reading email headers.
- What is the file's real extension? If you've made extensions visible, read the full name.
- Is the email rushing me? Phrases like "if not paid today" or "final notice" are there to stop you thinking. Fake invoice emails use this pressure all the time.
- Can I confirm through another channel? Call the sender on a number you already know, not the one in the email.
Why doesn't Geçici Mail show attachments?
If you've used Geçici Mail, you may have wondered why you can't see an attachment that was sent to you. That isn't a bug. It's a deliberate choice. The text of incoming emails is shown in the inbox, but attachments are not displayed and can't be downloaded.
The reason ties straight back to this article. A temporary address is a short-lived mailbox, and it's never clear who else may have been handed it. If an attachment arrives there, there's no practical way to verify who sent it or why. Allowing file downloads in that setting would expose our visitors to a risk they don't need to take. And the main things people use a temporary email for (getting a verification code, clicking a confirmation link, glancing at a newsletter once) don't need attachments anyway.
We follow the same logic with HTML emails, so scripts are stripped out and the message opens in a separate, isolated frame. You can read the technical background in our article on HTML email security.
If you genuinely need to receive a file (a contract, an invoice, a ticket), that isn't a job for a temporary address. Use your permanent one. We've listed the situations where a temporary email is the wrong tool in what not to do with a temporary email.
I opened the attachment. What now?
Don't panic, but don't wait either. If you allowed macros, or if the file closed without showing anything:
- Disconnect the computer from the internet (turn off Wi-Fi or unplug the cable).
- If it's a work device, tell your IT team right away. Say when you opened it and which email it was.
- Run a full scan with up-to-date antivirus software.
- From a different, clean device, change the passwords saved on that computer. Start with your email account.
If you notice strange activity on your account, our guide on what to do first when your email account is hacked will help.
FAQ
Are PDF files safe?
PDFs are lower risk than programs, but they aren't completely safe. They can contain links to fake sites, and flaws in outdated PDF readers can be exploited, so keep your reader updated.
If I have antivirus, can I open attachments without worrying?
Antivirus is an important layer, but it won't recognise every new piece of malware on day one, and it can't look inside password-protected archives. Keep doing your own checks on attachments you weren't expecting.
I clicked "Enable Content". What happens now?
If the document contained a malicious macro, that step may have let it run. Disconnect the computer from the internet, run a scan, and change your passwords from another device.
How can I download an attachment sent to Geçici Mail?
You can't. Geçici Mail doesn't show attachments, for security reasons. For anything where you need to receive a file, use your permanent email address.