3.2.1. Message-Based, Image-Based, and File-Based Vectors
💡 First Principle: Attackers deliver malicious payloads through communication channels that people trust and use daily. The effectiveness of these vectors relies on human behavior — people open emails, view images, and download files as part of normal work.
Email is the most common initial attack vector. Phishing emails deliver malicious attachments, malicious links, and business email compromise (BEC) social engineering. Email vectors succeed because they arrive in a trusted context — your inbox — and can be crafted to look legitimate. BEC is particularly dangerous because it involves no malware — the attacker impersonates an executive or vendor and requests a wire transfer or sensitive data, often after researching the target through social media and public records.
Voice phishing (vishing) uses phone calls to extract information. Attackers impersonate IT support, banks, or government agencies, creating urgency to bypass critical thinking. Caller ID spoofing makes these calls appear to come from legitimate numbers.
Short Message Service (SMS)/text messaging delivers smishing attacks — phishing via text message. "Your package couldn't be delivered, click here" links lead to credential harvesting sites or malware downloads.
Instant messaging (IM) platforms (Slack, Teams, WhatsApp) are increasingly used to deliver malicious links or files. Users tend to trust messages from colleagues, making compromised accounts particularly dangerous.
Image-based vectors embed malicious code within image files. An image can contain hidden scripts that execute when rendered by a vulnerable viewer, or steganographic payloads extracted by attacker tools. A QR code is an image that hides its destination URL from the person scanning it, so it is a common carrier for links to credential-harvesting pages ("quishing").
File-based vectors deliver malware through documents, PDFs, executables, and archives. Macro-enabled Office documents are a classic vector — the document looks legitimate but contains Visual Basic macros that execute malware when enabled.
More message-based channels:
- Rich Communication Services (RCS) — the successor to SMS in modern messaging apps, carrying images, links, and branded business messages over data. Smishing-style lures arrive looking more official, so treat RCS as SMS with a bigger payload.
- Collaboration tools — Teams, Slack, and shared workspaces. External access lets outsiders message staff directly, and attackers have posed as the help desk in these chats to talk users into installing remote-access tools. A file shared from a compromised partner's workspace inherits that partner's trust.
More image-based vectors:
- Embedded content — images, remote content, and objects inside a message or document. A remote image (tracking pixel) confirms that an address is live and the message was opened; SVG images can carry script and are used as phishing attachments.
- CAPTCHA abuse — two forms. Phishing sites put a CAPTCHA in front of the credential form so automated URL scanners and sandboxes never reach the malicious page, while the CAPTCHA reassures the human. Fake CAPTCHA ("ClickFix") pages tell the visitor to "verify you are human" by pressing Windows+R, pasting, and pressing Enter — the page has silently copied a malicious command to the clipboard, so the user runs the malware themselves and no file download is ever scanned. A real CAPTCHA never asks you to run a command.
Attachment-based vectors:
- Embedded macros — VBA code in Office documents, with a lure such as "Enable Content to view this invoice." Current Office versions on Windows block macros in files from the internet by default, which pushed attackers toward other formats.
- Rich Text Format (RTF) documents — RTF can't carry macros, so it looks safe, but it can embed objects that exploit flaws in the component that renders them. The Equation Editor flaw CVE-2017-11882 was delivered in RTF files for years after it was patched.
- Portable Document Format (PDF) files — can contain JavaScript, embedded files, launch actions, and links or QR codes to phishing pages. A patched reader with JavaScript disabled removes most code-execution risk, but not the link-based lure.
Defenses for attachments are layered: sandbox detonation, content disarm and reconstruction (CDR, which rebuilds the file without active content), blocking risky file types, and keeping Office and PDF readers patched.
⚠️ Exam Trap: "Vishing" is voice phishing (phone calls). "Smishing" is SMS phishing (text messages). "Phishing" is email-based. The exam tests your ability to match the channel to the term.