Join our Newsletter — 33% off our NHI Course
Home› Guides› PDF Files for Beginners: How PDFs Carry Phishing…
Guide Endpoint Security

PDF Files for Beginners: How PDFs Carry Phishing and Malware and How to Open Them Safely

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 3 December 2026 11 min read
On this page

A PDF is a document file that looks like paper but can also hold links, scripts and other files.

This guide is for anyone who opens PDFs from email, chat or websites and wants to do it safely. You do not need any technical skill. If you receive invoices, forms or tickets as PDFs, this applies to you.

In short

  • Most PDFs are harmless, but a PDF can carry links, QR codes, small programs (scripts) and attached files.
  • Criminals mostly use PDFs as bait: a button or QR code sends you to a fake sign-in page.
  • A PDF with a password in the same email can be harder for email scanners to check.
  • Open unexpected PDFs in an up-to-date viewer, refuse requests to enable or allow things, and check with the sender another way.

What you will learn

  • Explain what a PDF can carry besides text and pictures.
  • Spot the signs of a PDF used as bait.
  • Check that your PDF viewer is set up and updated safely.
  • Decide what to do with a PDF you did not expect.
Bait message (phishing)
a message that tricks you into clicking, typing a password or opening a file.
Small built-in program (script)
instructions inside a file that a viewer can run when you open it.
Read-only safe mode (Protected View)
a way of opening a file that blocks most actions until you choose to trust it.

What is a PDF?

Think of a sealed envelope. Most of the time it holds a letter. But an envelope can also hold a leaflet with a web address, a smaller locked box, or a gadget.

A PDF works the same way. It is a file format made to look the same on every screen and printer. Inside, it can also hold clickable links, form fields, attached files and scripts (small programs the viewer may run) [1][3].

The app you open it with is called a PDF viewer or reader. Web browsers have one built in. Firefox, for example, opens PDFs inside the browser without saving them first [5].

Where the comparison stops working: you can feel a gadget through an envelope. You cannot see a script or an attached file just by looking at the first page of a PDF.

Why does it matter?

People trust PDFs because they look like paper. That trust is what criminals rely on.

If you deal with bills at home

What could happen: a fake "invoice" PDF asks you to scan a QR code and sign in, and your password goes to a stranger.

Check this: log in to your accounts by typing the address you know, never from a code in a PDF.

Next: QR Code Phishing for Beginners

If you work in an office

What could happen: a PDF says it is "secured" and asks you to click a button, which opens a fake work sign-in page.

Check this: report odd PDFs to whoever handles IT, even if you already clicked.

Next: Phishing for Beginners

If you run a small business

What could happen: staff open PDFs in an old, unpatched reader, so a booby-trapped file has more chances to work.

Check this: make sure every computer gets reader and browser updates.

Next: Malicious Attachments for Beginners

What does it look like?

Here is a made-up email with a PDF lure. Each marked line is a warning sign.

Example only. All values are made up.

From:    [email protected]
Subject: Overdue payment, final notice              (1)
Attached: Invoice_EXAMPLE_0000.pdf
Body:    The file is protected. Password: 0000      (2)

Inside the PDF:
  "This document is blurred. Click View Document."  (3)
  [ View Document ]                                  (4)
  "Or scan this code to sign in" [QR CODE]           (5)
  1. Urgent wording to rush you before you think.
  2. A password sent in the same email. This can stop email scanners looking inside the file.
  3. A made-up reason why you cannot read the file yet.
  4. In a real file, this button would hold a hidden web link, often to a fake sign-in page.
  5. A QR code moves you to your phone, where the full web address is harder to check.

Why this is risky: nothing in this PDF needs a clever trick. It only needs you to click or scan and then type your password.

The safer way: close the file. Contact the company using a number or website you already know, and report the email.

How does it work?

Most PDF attacks follow one of a few simple paths.

  1. The lure arrives. An email or chat message carries a PDF, often an invoice, a delivery note or a shared document.
  2. The PDF asks for something. It may want you to click a link, scan a QR code, or allow it to connect to a website. Adobe's reader shows a security warning when a PDF tries to reach outside websites or run scripts [3].
  3. A link leads to a fake page. The page copies a real sign-in screen. A QR code can do the same, and may even install harmful software on a phone [7].
  4. Or a script tries to misuse the reader. Scripts are a powerful feature, so Adobe gives settings to limit or turn them off [1]. Old, unpatched readers give attackers more chances.
  5. A password hides the contents. If a file is password-protected and the scanner does not have the password, the scanner may not be able to fully check it. Some business email services hold such messages back until they can be checked [6].
Diagram titled Before you open a PDF: four quick checks. Four boxes in a row joined by arrows. Box 1, Expected?: were you waiting for this file? If not, pause. Box 2, Check sender: use a number or website you already know, not the email. Box 3, Open safely: an updated browser viewer, or a reader in Protected View. Box 4, Watch for asks: does it ask you to enable, allow, log in, scan a QR code or type a password? A note underneath says if step 4 happens on a file you did not expect, close it, do not click, and report it. A PDF that only shows text and pictures usually needs none of those things to be read.
Figure 1. Four quick checks before and while you open a PDF.

Two features help. In Adobe Acrobat and Reader on Windows, Protected View opens risky files in a read-only safe mode. It blocks most actions until you choose to trust the file [2]. You can also turn off PDF scripts in the reader's settings, under JavaScript [1].

Diagram titled Spot the signs: a made-up PDF lure. Left panel, What the PDF shows: a file called Invoice_EXAMPLE_0000.pdf, the words Your document is blurred, a View document button, Scan this QR code to sign in, Password for the file: 0000, and Pay within 24 hours. Right panel, What it really means: (1) a name made to look routine, (2) a reason to click something, (3) the button is a web link, (4) it moves you to your phone, (5) it can keep email scanners out, (6) pressure to rush you.
Figure 2. Common signs that a PDF is bait, and what each one is for.

A worked example

Carmen Ortiz sells handmade candles online. One Monday an email arrives with the subject "Payment failed, account on hold". It has a PDF attached and says the file password is 0000.

Carmen opens the PDF in her browser. The page is blurred, with a big "View Document" button and a QR code. A line says she must sign in to her payment account within 24 hours.

She stops. She was not expecting a payment problem, and her payment provider has never sent her a password-protected file before. The QR code also wants her to switch to her phone, which feels like an odd step for an invoice.

She does not click the button or scan the code. Instead she types her payment provider's address into her browser and signs in as usual. Her account shows no problems and no unpaid bills.

Carmen forwards the email to the UK scam email reporting service, then deletes it [8]. She checks that her browser is up to date, and she turns on two-step sign-in for her payment account.

A week later her sister gets a similar email. Carmen shows her the same steps: pause, check another way, report.

The lesson: the PDF did not need to break anything. It only needed Carmen to trust it. Checking through a route she already knew was enough to stop the scam reaching her account.

Myths and mistakes

What people thinkWhat is true
PDFs are always safe because they are not programs.A PDF can hold links, scripts and attached files. Most risk comes from what it asks you to do.
A password-protected PDF must be extra secure.It keeps the contents private, but it can also stop email scanners checking the file.
A PDF from a known contact is fine.Accounts can be taken over. If it is unexpected, check with the person another way.
Clicking "Allow" on a reader warning is harmless.The warning is there to stop a link or script you did not expect. Say no if unsure.
A QR code in a PDF is just a quicker link.It hides the web address and moves you to your phone, where it is harder to check.

What can I do this week?

  • Update your web browser and any PDF reader on your computer and phone. Adobe lists its reader security updates on one page [4].
  • Open PDFs from email in your up-to-date browser unless you need a special reader feature.
  • If you use Adobe Acrobat or Reader on Windows, set Protected View to cover files from unsafe places [2].
  • Turn off PDF scripts in your reader if you do not use forms that need them [1].
  • Agree a rule at home or work: nobody signs in from a link or QR code inside a PDF.

Checklist

  • My browser and PDF reader are up to date.
  • I pause before opening any PDF I was not expecting.
  • I check unexpected files with the sender using contact details I already know.
  • I never sign in through a button or QR code inside a PDF.
  • I treat a PDF password sent in the same email as a warning sign.
  • I say no when a reader asks to allow a website, script or attached file I did not expect.
  • I know how to report a scam email.

Common questions

Can a PDF give my computer a virus?

It can, but it is less common than a PDF used as bait. A harmful PDF may try to misuse a flaw in an old reader. Keeping your browser and reader updated, and turning off scripts you do not need, reduces the chances of this working.

Is it safer to open PDFs in my browser?

For most people, an up-to-date browser is a sensible default. Browser viewers update with the browser and show the file without saving it first. They can still have flaws, so updates matter, and a link inside the file is still a link.

What if I already clicked a link in a PDF?

Do not panic. If you typed a password, change it straight away on the real site and turn on two-step sign-in. If you are at work, tell IT. If you lost money in the UK, report it. In England, Wales and Northern Ireland, use Report Fraud. In Scotland, call Police Scotland on 101 [8].

Why do some companies send password-protected PDFs?

A password can keep a private document private on its way to you. That only works if the password travels separately. We suggest treating any unexpected PDF that arrives with its password in the same message as suspicious, and checking with the sender another way.

Should I scan a QR code in a PDF?

Only if you expected it and trust where it came from. The US consumer regulator advises not scanning codes in emails or texts you were not expecting, and checking the web address before opening it [7].

Where next?

Ready for the detail? Read the practitioner guide: PDF Security Guide. It goes further into reader hardening settings, checking PDFs in email and upload systems, and safe redaction.

Also useful:

Related NHI Mgmt Group resources: QR Code Phishing (Quishing) Guide, Attachment Sandboxing vs CDR and Multi-Factor Authentication for Beginners.

Key terms

PDF
A document file format that looks the same on every device and can also hold links, forms, scripts and attached files.
Phishing
Using fake messages or websites to trick people into giving away passwords, opening harmful files or sending money.
Quishing
Phishing that uses a QR code to hide where a link really goes.
JavaScript
A programming language that can run inside web pages and some PDF readers.
Protected View
A read-only mode that opens possibly unsafe files with most actions blocked.
Malware
Software made to cause harm, such as stealing data or locking files.
Security update
A fix from the maker of a program that closes known weaknesses.

Sources and further reading

  1. Adobe, "JavaScript Controls", Acrobat Enterprise Toolkit, Application Security Guide. https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/javascript.html (accessed 2 Dec 2026).
  2. Adobe, "Protected View (Windows only)", Acrobat Enterprise Toolkit, Application Security Guide. https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/protectedview.html (accessed 2 Dec 2026).
  3. Adobe, "Security warnings", Acrobat Help. https://helpx.adobe.com/acrobat/desktop/protect-documents/mitigate-security-risks/security-warnings.html (accessed 2 Dec 2026).
  4. Adobe, "Security updates for Adobe Acrobat and Reader". https://helpx.adobe.com/security/products/acrobat.html (accessed 2 Dec 2026).
  5. Mozilla Support, "View PDF files in Firefox or choose another viewer". https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-or-choose-another-viewer (accessed 2 Dec 2026).
  6. Microsoft Learn, "Safe Attachments in Microsoft Defender for Office 365". https://learn.microsoft.com/en-us/defender-office-365/safe-attachments-about (accessed 2 Dec 2026).
  7. US Federal Trade Commission, "Scammers hide harmful links in QR codes to steal your information", Consumer Alert, 6 December 2023. https://consumer.ftc.gov/consumer-alerts/2023/12/scammers-hide-harmful-links-qr-codes-steal-your-information (accessed 2 Dec 2026).
  8. National Cyber Security Centre, "Report a scam email". https://www.ncsc.gov.uk/collection/phishing-scams/report-scam-email (accessed 2 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.