Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› USB Charge Attack
Cyber Security

USB Charge Attack

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Cyber Security

USB charge attack is a technique that uses a charging connection to deliver malicious data or emulate a USB device through the same port or cable. It relies on users trusting power-only connections, while the host may still enumerate a device and accept input, storage or network-like traffic.

How USB Charge Attacks Work

A USB charge attack abuses the gap between “charging only” and “data disabled.” In practice, the cable or port can still negotiate a USB role, expose a device interface, or present a keyboard, storage device, or network adapter, so the host may trust a connection that appears to be power-only.

The danger is not the charge itself, but the trust boundary it creates. Many users and even some endpoint policies treat a charger, public USB port, or “power-only” cable as harmless, which makes the attack attractive in airports, hotels, conference spaces, and shared work areas.

What Makes USB Charging Connections Risky

USB is a multiplexed interface, so power delivery, device enumeration, and data transfer are related but not identical functions. A malicious cable, adapter, wall charger, or modified port can exploit that ambiguity by presenting as a legitimate accessory while still enabling hostile USB behavior.

That is why the same physical connection can become a route for HID input, malicious storage, or even a network bridge. The user sees a charging action, while the endpoint sees a newly attached peripheral with whatever permissions the operating system and policy allow.

Common Attack Paths and Abuse Cases

One common abuse case is keystroke injection, where a malicious device impersonates a keyboard and sends commands faster than a person could type. Another is removable-media abuse, where the attacker uses the connection to mount storage or deliver payloads that rely on autorun-like behavior, user opening a file, or security tooling gaps.

A third pattern is network emulation, where the accessory presents a USB Ethernet or tethering interface to influence routing, proxy settings, or device trust decisions. These techniques are closely related to removable-media and device-control threats, including USB-borne app installs, host pairing abuse, and forced accessory trust decisions.

For practical controls and broader USB defense patterns, see Removable Media and USB Control Guide and USB Drop Attacks Guide.

How Organisations Reduce Exposure and Detect Abuse

Defence starts with inventory and policy clarity: know where USB data paths are allowed, which devices may enumerate, and whether public charging points are physically separated from trusted endpoints. Device-control rules, USB allowlisting, and restrictions on new peripherals reduce the chance that a “charge-only” connection becomes an execution path.

Detection should focus on unexpected device classes, new HID events, unusual storage mounts, and suspicious accessory pairing. If a user reports an unknown cable, charger, or dock, the endpoint should be checked for recently attached USB devices, unexpected network interfaces, and any signs of file access or command injection.

On mobile devices, pairing restrictions, restricted USB modes, and enterprise USB policies materially reduce exposure. Mobile T1458 Replication Through Removable Media is useful here because it covers USB-borne app installs, data access, and the policy controls that limit risky host pairing.

Risk and Threat Considerations

USB charge attacks are risky because they turn a convenience feature into an access path. The attacker’s advantage is plausibility: the device looks like benign power hardware, so users and controls may give it more trust than a normal peripheral.

Failure mechanism: The host enumerates or trusts the accessory despite the user believing the connection is power-only, allowing input injection, storage access, or network-like traffic.

Impact: The result can be malware delivery, credential capture, unauthorized command execution, data exposure, or a foothold for later compromise on the endpoint.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and OWASP ASVS set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-5 — Account ManagementUSB abuse often hinges on controlling which devices can connect and act.
Recommendation — Restrict and monitor peripheral access so unapproved USB devices cannot interact with endpoints.
NIST SP 800-53 Rev 5AC-19 — Access Control for Mobile DevicesUSB charge attacks often target mobile endpoints through external accessory connections.
IA-3 — Device Identification and AuthenticationAttackers exploit untrusted peripherals that the host may enumerate as legitimate devices.
Recommendation — Apply mobile device access controls to limit risky external connections and accessory trust. Authenticate attached devices where feasible before granting them data-capable access.
ISO/IEC 27001:2022A.8.1 — User endpoint devicesEndpoints and their peripheral interfaces must be governed against malicious accessory abuse.
Recommendation — Define and enforce endpoint rules for untrusted USB peripherals and public charging use.
OWASP ASVSV13 — ConfigurationUSB charge attacks succeed when platform settings leave peripheral trust too permissive.
Recommendation — Harden device and application configuration so untrusted USB accessories cannot gain capabilities.

Practitioner Guidance

Why practitioners should care: This is a physical-to-digital attack path, so endpoint hardening alone is not enough if users can still connect untrusted USB hardware in public or shared spaces. Treat chargers, docks, and cables as part of the access surface, not just power accessories.

What to watch for: Repeated prompts to trust a device, unexpected HID activity, new network interfaces after charging, or users reporting that a “charger” also transferred data. When those signals appear, verify the device class and review USB connection history before assuming it was harmless.

Practitioner takeaway: The safest posture is explicit device control, not informal “charge-only” assumptions.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org