Brute Logic - XSS For the win
Effective cross-site scripting (XSS) exploitation techniques and strategies for maximizing impact in penetration tests.
Summary
### Moving Beyond the Trivial Alert Box At 00:00, renowned web application security researcher Brute Logic takes the stage at the Packet Hacking Village to present "XSS For the Win." He begins with a critique of how Cross-Site Scripting (XSS) is commonly perceived by developers and penetration testers: all too often, XSS vulnerabilities are dismissed as low-impact issues simply because researchers demonstrate them with a harmless `<script>alert(1)</script>` pop-up window.
### The True Exploitation Potential of Client-Side Injection At 03:15 and 06:40, Brute Logic demonstrates why XSS remains one of the most lethal vulnerability classes on the web. Because an XSS payload executes arbitrary JavaScript directly within the victim's authenticated browser context, the attacker effectively inherits the victim's entire identity and permissions. He demonstrates techniques for hijacking session cookies (bypassing loose cookie configurations), dynamically exfiltrating localStorage tokens, and stealthily reading sensitive personal data from Document Object Model (DOM) trees.
### Automated Credential Harvesting and Intranet Reconnaissance At 07:48 and 10:25, the speaker showcases advanced JavaScript payloads that transform a compromised browser into an active offensive foothold. He details creating fake, CSS-styled overlay login forms that prompt users to re-authenticate, harvesting plaintext passwords directly from browser autofill caches. Furthermore, he explains how JavaScript running in the browser can be weaponized to execute internal port scanning and intranet host discovery, allowing external attackers to map and target internal network routers and firewalls behind corporate perimeter NATs.
### Evading Modern WAFs and Filter Mechanics At 12:10, Brute Logic shares signature-evasion techniques designed to bypass Web Application Firewalls (WAFs) and input sanitization filters. He demonstrates character encoding tricks, alternative execution contexts (such as SVG vector handlers and autofocus attributes), and string concatenation techniques that circumvent keyword blocklists while remaining fully executable in modern browser rendering engines.
### Practical Defensive Architecture and Content Security Policy Concluding around 14:49, Brute Logic reviews essential defense-in-depth principles for web developers. He stresses that input filtering alone is insufficient: developers must implement contextual context-aware output encoding across all user reflection points, deploy `HttpOnly` flags on session cookies, and enforce strict, non-bypassable Content Security Policy (CSP) headers to neutralize inline script execution across modern web applications.
(AI summary — Gemini 3.8 Flash)
Related talks
Videos·32 min
Let's hack the IoT Hub with Pwnhub dudes: IoT Hub Exploitation by Jisub Kim (@JisubK), Kanghyun Choi
Security researchers examine technical aspects of Let's hack the IoT Hub with Pwnhub dudes: IoT Hub Exploitation by Jisub Kim (@JisubK), Kanghyun Choi.
Videos·54 min
Securi-Tay 2025: From Underground POC to CVE: The Pathway to Successful Exploitation -Hamish Maguire
Security researchers examine technical aspects of Securi-Tay 2025: From Underground POC to CVE: The Pathway to Successful Exploitation -Hamish Maguire.
Videos·42 min
Adrian FURTUNA
Industry experts analyze emerging threats surrounding Adrian FURTUNA - Practical Exploitation of rounding vulnerabilities in banking applications [EN].


