A found USB device: why not to connect it
A USB drive found in a car park, a waiting room or on a reception desk prompts a natural reaction: to find the owner, or at least to see what it contains. This reaction is exactly what attackers rely on. This article describes what can happen after connecting an unknown device and how to handle such a situation correctly.

The basic rule
Never connect a found USB device to a computer that has access to sensitive data or to the company network. If the contents must be examined for some reason, use only an isolated computer with no data and no network connection.
Why this attack works
Most people want to return a found item to its owner, or are simply curious. The attacker counts on this and places the prepared device where somebody is likely to pick it up: in the car park outside the company building, in the canteen or near the entrance. A single employee connecting the drive is enough for the attack to succeed.
The effectiveness of this technique is confirmed by published studies as well as by our own social engineering engagements. A substantial share of the devices placed end up in a computer, including at companies that train their staff on the subject.
The techniques used continue to evolve. Attackers once relied on programs starting automatically from the media; today they more often use devices that present themselves to the system as a keyboard, or devices designed to physically damage the computer.
AutoRun and its relevance today
The AutoRun feature was introduced in 1995 with Windows 95 so that an installer would start automatically when a CD was inserted. As USB drives spread, the same behaviour applied to them, and attackers exploited it for many years.
Since Windows 7, automatic execution from USB media has been disabled by default. For older versions of the system Microsoft released a corresponding update, which was distributed broadly in 2011. Unless you enabled the feature yourself, this particular attack does not apply to you.
Relying on this protection alone would nonetheless be a mistake. AutoRun is now only one of several possible paths, and far from the most significant one.
HID devices: an attack through a virtual keyboard
Some devices look identical to an ordinary USB drive but contain no storage at all. The operating system recognises them as a keyboard, which it trusts by design. Within a few seconds the device enters a prepared sequence of commands: it opens a command prompt, downloads and runs malicious software and removes the traces of its activity.
The best-known example is the USB Rubber Ducky, but modified charging cables use the same principle. The important point is that the targeted system need not contain any vulnerability. The attacker is simply entering commands through a keyboard that you made available by connecting it.

If the computer starts performing actions on its own after a device is connected, or a password prompt appears, disconnect the device immediately and report the event to your IT department.
USB Killer: hardware damage
The second category of devices targets the computer itself rather than its data. A so-called USB Killer uses the power supplied by the port to charge capacitors and then sends voltage pulses of around 200 volts into the data lines. The result is usually a destroyed USB controller and often the entire motherboard. Antivirus software cannot help here, because this is not a software attack.
The only effective protection is physical separation of the device from the computer. For the same reason we never connect unknown devices directly during our engagements.
Hardware protection options
USB data blocker
An adapter that connects only the power lines and interrupts the data lines. It prevents any data communication, and therefore HID attacks and data copying as well. It does not protect against a voltage pulse, because the power lines remain connected.
Optical isolator
A device that converts the data signal to light and back, so that no electrical connection exists between the connected device and the computer. It also protects against high voltage. It is the most expensive and slowest solution, but the only one that covers both risks.
Fuse and surge protection modules
These contain a fast fuse or a surge protection diode that interrupts the circuit on overcurrent or overvoltage. They provide single-use protection; after an event the module must be replaced.
These devices exist and work, but in practice only a small proportion of users carry them, and a number of them can be circumvented. The most reliable protection therefore remains the principle of never connecting an unknown device at all.
Further risks associated with a found device
- Ransomware or a trojan stored in a file that appears to be an ordinary document.
- Modified USB controller firmware (BadUSB). Reinstalling the operating system does not resolve the problem in this case.
- Covert copying of documents from the computer on which the device is merely being tried out.
- A document containing a link to a fraudulent website, which by itself runs no program.
Recommended procedure when a device is found
The safest option is to leave the device where it is. If you have already picked it up, hand it to the IT department of your company or school, where it can be handled safely. A device found on company premises should always end up with the security team, regardless of how harmless it appears.
If you nevertheless decide to examine the contents, use a computer with no network connection, none of your data, and one whose possible damage would not be a problem for you. A live system booted for single use is a suitable choice.
Recommendations for organisations
Block unauthorised USB devices using device management tools (Device Control) or your EDR solution, including newly connected keyboards. Give employees a clear procedure for handing in a found device. Without such a procedure the device usually ends up in the nearest free port.
Examples from practice
Stuxnet (discovered in 2010)
The Stuxnet malware penetrated the Iranian nuclear facility at Natanz even though its control systems were not connected to the internet. It got in on USB drives that staff carried between computers. Once inside, Stuxnet altered the operating parameters of the centrifuges until they were physically damaged. The case demonstrated that isolating a network from the internet is not sufficient when employees carry data into it on removable media.
Heathrow Airport (2017)
An unencrypted USB drive containing 2.5 GB of airport security data, including camera positions and information about access routes, was found on a London street. The airport operator was fined £120,000 by the UK data protection authority. No attack was involved; the device had simply been lost without encryption.
Summary
USB dropping is an inexpensive and effective technique that relies on a natural human reaction. Technical measures reduce the risk, but the decisive moment remains the point at which an employee decides whether to connect the found device. We recommend never connecting such a device and, in a corporate environment, making sure everyone knows whom to hand a find to.
Glossary
- USB dropping
- An attack technique in which prepared USB devices are deliberately left where someone will find them and connect them to a computer.
- HID device
- A device that presents itself to the operating system as a keyboard or mouse and enters commands on its own.
- BadUSB
- A modification of the USB controller firmware after which the device behaves differently from what its appearance suggests. Reinstalling the operating system does not remove the problem.
- USB Killer
- A device that sends high voltage into the USB port in order to physically damage the computer.
- USB data blocker
- An adapter with interrupted data lines. It allows charging but not data transfer.
- Optical isolator
- A device that transmits data by means of light, so that no electrical connection exists between the two sides.
- AutoRun
- A Windows feature for automatically running programs from inserted media. It has been disabled for USB devices since Windows 7.
- Device Control
- A tool for managing connectable devices that determines which USB devices may be connected to company computers.
Would you like to know how a similar test would turn out at your organisation?
Placing prepared USB devices is part of our social engineering engagements. The output consists of specific figures: how many devices were connected, at which sites, and what access an attacker would have gained.