QR Code and USB Drop Attack Tools
What You'll Learn
You'll learn how to generate malicious QR codes and prepare weaponized USB devices for physical social engineering attacks that trick targets into compromising their own systems.
The Physical Social Engineering Angle
While digital attacks dominate modern offensive security, physical access vectors remain devastatingly effective. QR codes and USB drops exploit human curiosity and trust, turning physical proximity into remote access.
Malicious QR Codes
QR codes are visual shortcuts that most people scan without hesitation. An attacker can generate QR codes that:
- Link to credential harvesting pages disguised as login portals
- Deliver drive-by malware downloads when scanned
- Connect victims to rogue Wi-Fi networks or malicious captive portals
- Redirect to phishing sites with typo-squatted domains
Think of it like this: A QR code is a Trojan horse in pixel form—it looks harmless, but you don't know what's inside until you've already let it in.
Tools within the Social Engineering Toolkit (SET) can generate these malicious QR codes, linking them to payloads you've already configured (like credential harvesters from lesson 2246).
USB Drop Attacks
USB devices exploit autorun features (Windows) or HID (Human Interface Device) emulation to execute payloads when plugged in:
- Autorun payloads: Scripts that execute automatically when mounted
- HID attacks: The USB pretends to be a keyboard, typing malicious commands faster than humans can react (Rubber Ducky-style attacks)
- Payload delivery: Dropping reverse shells, credential stealers, or persistence mechanisms
The attack relies on "baiting"—leaving attractive USB devices in parking lots, lobbies, or mailing them to targets labeled "Executive Salaries Q4" or "Confidential."
Key Takeaway: Malicious QR codes and weaponized USB devices weaponize human curiosity, transforming physical access into digital compromise by hiding payloads behind trusted interfaces people interact with daily.