Join our Newsletter — 33% off our NHI Course

USB Memory Attacks

USB Memory Attacks are attacks delivered through removable USB storage devices, usually by planting malware, malicious shortcuts, or rogue files that trigger when opened or executed. They rely on users or endpoints trusting removable media, so defenders should restrict autorun, control device use, scan media, and isolate unknown USB devices.

How USB memory attacks work

USB memory attacks use removable storage as the delivery path for malware, malicious shortcuts, and weaponised files. The attack succeeds because the device is often treated as harmless media rather than as an untrusted execution source.

These attacks typically depend on one of three behaviours: a user opens a file, a system processes a shortcut or document preview, or an endpoint automatically reacts to newly attached media. That makes the USB device less like a passive carrier and more like an initial-access mechanism.

Why removable media is such an effective delivery channel

USB devices are effective because they bridge the physical and digital worlds. A threat actor can leave a device where curiosity, convenience, or routine handling creates a chance of execution, and the endpoint often grants the media more trust than it deserves.

The risk is not limited to one malicious file. Attackers can combine multiple payload types on the same device, using one lure to gain execution and another to establish persistence, steal data, or move deeper into the environment. That is why removable-media controls are part of broader endpoint hygiene, not a niche safeguard.

For defenders, the core issue is trust boundary failure: a device that enters the environment from outside can behave like code, content, and transport at the same time. See the broader threat context in Anthropic’s first AI-orchestrated cyber espionage campaign report for how initial access can cascade into credential theft and exfiltration once trust is abused.

How organisations reduce exposure from USB media

The first control is to know where removable media is actually allowed. Many incidents happen because a policy exists on paper but endpoints, exceptions, and offline laptops are not aligned to it. Device allowlists, port control, and endpoint policy enforcement are the practical levers here.

Technical hardening matters as much as policy. Disabling autorun, blocking unapproved storage classes, scanning media before opening, and isolating unknown devices reduce the chance that one insertion becomes a system compromise. On higher-risk systems, organisations often treat any unknown USB device as suspicious until proven otherwise.

Asset visibility also matters because exposure is not uniform. Shared kiosks, build machines, privileged workstations, and air-gapped or semi-isolated endpoints can all have different tolerance for removable media. A good control set makes those differences explicit instead of relying on user judgment.

For baseline control alignment, NIST SP 800-53 Rev 5 Security and Privacy Controls is useful for mapping access control, integrity, logging, and configuration safeguards to removable-media handling. For endpoint-focused prevention and detection, CISA cyber threat advisories remain a useful operational reference point for active threat patterns.

What to do after suspicious USB activity

Suspicious USB activity should be treated as a potential compromise signal, not just a policy breach. A device insertion event followed by unusual process launches, new files in user directories, shortcut creation, or unexpected outbound traffic can indicate that the media did more than simply carry a document.

Response should include endpoint containment, media preservation, and a review of whether the device introduced malware, credential theft, or lateral movement tooling. Where execution is confirmed, the review should extend beyond the endpoint to adjacent systems that may have inherited the compromise through shared credentials, sessions, or synced data.

Post-incident review should also look for recurring exposure points such as unmanaged workstations, reused removable media, or gaps in scanning and logging. If the organisation cannot show which devices were inserted and what they touched, detection is too weak to support reliable investigation.

Standards & Framework Alignment

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

NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 AC-19 — Access Control for Mobile Devices USB media is a removable external device that can bypass endpoint trust assumptions.
SI-3 — Malicious Code Protection USB attacks commonly deliver malware through files or shortcuts on removable media.
CM-7 — Least Functionality Limiting autorun and unused device functions directly reduces USB attack surface.
Recommendation — Restrict removable-media use and enforce approved-device access on endpoints. Scan and block malicious code introduced through removable media before execution. Disable unnecessary media execution features and limit endpoint functionality to what is required.
CIS Controls v8 CIS-10 — Malware Defenses Removable-media malware delivery is a core malware-defence concern.
CIS-4 — Secure Configuration of Enterprise Assets and Software Blocking autorun and enforcing device policy are configuration controls for USB exposure.
Recommendation — Harden endpoints to detect and block malicious content delivered by USB media. Apply secure endpoint configuration that disables risky removable-media behaviors.

Practitioner Guidance

What to watch for: USB memory attacks are best managed as an endpoint trust problem, not a file-scan problem. The most reliable programmes combine media restriction, user awareness, and event telemetry so that removable storage is handled as an untrusted ingress path.

Governance implication: Ownership should sit with endpoint security, not only desktop support, because the control spans policy, device enforcement, logging, and incident response. If exceptions are allowed for business use, they should be explicit, reviewed, and limited to named devices or named roles.