Client-Side Exploitation Techniques
What you'll learn: How attackers compromise systems by targeting the client's browser, office documents, and other local applications rather than server-side infrastructure.
The Client as the Attack Surface
While server-side exploitation targets the infrastructure (web servers, databases), client-side exploitation flips the attack vector: you trick the target's own computer into executing malicious code. Instead of breaking into a fortress, you convince the gatekeeper to open the door from the inside.
This approach targets the weakest link—the human user and their applications—through browsers, PDF readers, office suites, email clients, and other everyday tools.
Common Delivery Mechanisms
Browser-based attacks leverage malicious JavaScript, drive-by downloads, or exploit kits that detect browser plugin vulnerabilities (Flash, Java, outdated browsers). When a user visits a compromised or malicious website, their browser becomes the entry point.
Malicious documents embed exploits in Office files (.docx, .xlsx), PDFs, or rich-text formats. These files exploit parsing vulnerabilities, macro execution, or embedded objects. Once opened, they execute code with the user's privileges—often while appearing legitimate.
Social engineering amplifies these attacks: phishing emails with "invoice.pdf" attachments, fake software updates, or weaponized resume files sent to HR departments.
Why Client-Side Matters in Penetration Testing
During penetration tests and red team operations, client-side exploitation tests an organization's defense-in-depth: email filtering, endpoint protection, user awareness training, and application sandboxing. Even with perfect network security, a single malicious email attachment can bypass perimeter defenses entirely.
These techniques often chain with previously learned concepts: reconnaissance identifies target software versions, vulnerability discovery reveals exploitable flaws, and exploitation techniques deliver the payload—but through the client's own applications.
Key Takeaway: Client-side exploitation targets users' local applications (browsers, document readers) to execute malicious code, bypassing network defenses by turning the victim's own computer into the entry point.