Questions tagged [usb]

an industry standard used for connecting to and powering peripheral devices (keyboards, mice, cameras, printers, external hard drives, etc) from a computer or other USB capable device.

Filter by
Sorted by
Tagged with
51 votes
7 answers
30k views

How to prevent BadUSB attacks on Linux desktop?

What can I do to protect my Linux laptop from BadUSB attacks as described by ArsTechnica here? Perhaps writing an appropriate AppArmor profile would help?
student's user avatar
  • 1,453
33 votes
3 answers
10k views

Can malware be transmitted via a USB charger plugged into a wall socket?

I have a smart phone that I often plug into a wall socket for charging via a small adapter that rectifies the AC to DC power and transforms the voltage from line (120V or 240V) to 5 V DC, probably ...
Stone True's user avatar
  • 2,042
11 votes
1 answer
3k views

Is all the alarmism around BadUSB really called for with respect to host devices?

I can understand why there was such a furor about BadUSB and indeed it poses a rather earthshaking threat to the base assumptions of many in their cyber security threat models. Things which many of us ...
J. Doe's user avatar
  • 299
14 votes
6 answers
3k views

Can the BadUSB exploit be prevented?

Recently I read a few things about the BadUSB exploit, for example: http://arstechnica.com/security/2014/07/this-thumbdrive-hacks-computers-badusb-exploit-makes-devices-turn-evil/ My understanding ...
molotovsoda's user avatar
4 votes
3 answers
10k views

How to check if USB device isn't malicious?

Let's say I've got a generic, cheap mouse. It's a USB-device. Any USB-device may contain memory, so how to know if the manufacturer didn't embed any memory with malware software in a device? (on ...
R S's user avatar
  • 225
89 votes
9 answers
16k views

Secure USB cable for charging in untrusted environments

On a long haul flight, I imagine that charging a phone (in flight mode) with the inbuilt USB port on the head rest would be a security risk. Could I mitigate that risk by taking a regular USB cable ...
DarcyThomas's user avatar
  • 1,298
34 votes
2 answers
7k views

Can a connected USB device read all data from the USB bus?

Is it possible for a (malicious) (hardware) USB device to access all the data that is transferred through the USB bus and then read/store this information, essentially sniffing all transferred data? ...
user1049697's user avatar
  • 1,137
21 votes
1 answer
12k views

How to check if my USB stick firmware can be rewritten via the USB port?

How can I know in Linux (or otherwise), if the firmware of my USB flash drive can be rewritten using the USB port (when sticking it in an USB port)? Eg. for a cheap EMTEC 16GB. I was thinking about ...
V G's user avatar
  • 353
2 votes
2 answers
4k views

BAD USB attack possible while screen is locked?

If i leave my screen locked and someone sticks in a thumbdrive that was manipulated using the bad USB exploit would an attack be possible?
Junior J. Garland's user avatar
61 votes
4 answers
9k views

How worried should I be about getting hacked with PoisonTap?

I just heard of PoisonTap today. Here is a short description from a TechCrunch article: PoisonTap connects to the USB port and announces itself not as a USB device, but an Ethernet interface. The ...
Dennis Jaheruddin's user avatar
55 votes
13 answers
23k views

Allow only specific devices to be connected to USB

Suppose I have a Windows PC in a safe room, disconnected from the internet, with only 3 cables connecting to another room, to a mouse, monitor and keyboard. The computer contains highly sensitive ...
Marcelo Glasberg's user avatar
52 votes
6 answers
12k views

Am I at risk if I let someone charge their Android phone from my MacBook through a micro USB cable?

Someone connected their Android phone to my MacBook and it made me think if this has put my MacBook at risk. It was for 3 seconds and I was in control of the MacBook the whole time.
Emanuil Rusev's user avatar
14 votes
5 answers
10k views

Can autoplay USB stick spread virus to windows 8 or 10?

Autoplay was a security hole on older versions of Windows, but can I trust newer version like Windows 8 or 10 to insert USB stick without turning autoplay off?
user2174870's user avatar
  • 1,388
14 votes
2 answers
13k views

Attacks via physical access to USB (DMA...?)

I wonder if USB can be exploited by someone with physical access to a reasonably secured computer. For example a kiosk, or a laptop attached to a desk. Obviously, the boot sequence should be secure (...
Franklin Piat's user avatar
11 votes
3 answers
8k views

Can a physical attacker compromise a Windows machine with UEFI, secure boot and bitlocker?

Machines such as the MS Surface Pro 3 comes with bitlocker encryption and UEFI secure boot out of the box. However, the default boot order is network -> usb -> ssd. If an attacker gets physical ...
Kevin Lee's user avatar
  • 456
7 votes
2 answers
2k views

A compromised USB

Assuming that a given USB drive is compromised(infected), what's the best way to deal with it? I mean, obviously, the solution is to nuke(format) the drive. But for that, the device needs to be ...
Mayank Singh's user avatar
5 votes
3 answers
6k views

How protect ourselves from USB Firmware viruses? Does Antivirus help?

On Windows (pnd probably other operating systems, I don't know), when you plug in a USB appliance (a flash drive, mouse, etc) Windows automatically runs the "Device installation" and the firmware is ...
T.Todua's user avatar
  • 2,727
5 votes
1 answer
771 views

How can a user defeat anti-live forensics software?

Let's say I have a computer with full disk encryption which is logged and running, but I suspect it has anti-forensics software (eg. usbkill), which means that I risk compromising the integrity of the ...
J. Doe's user avatar
  • 53
5 votes
3 answers
2k views

BadUSB: Why are firmware writeable in the first place? Manufacturer's backdoor?

How many of you have actually updated their mouse, keyboard or USB stick firmware? How many vendor actually propose updates for such devices? However these devices firmware often offer a proprietary ...
WhiteWinterWolf's user avatar
3 votes
3 answers
847 views

Risk when attacker has only physical access to a computer's USB port

Attacker has only access to USB port and can either attach a device or pen-drive to a computer, that can be on or off. Imagine a scenario where non-reliable people have access to offices, either ...
Quora Feans's user avatar
  • 1,881
3 votes
2 answers
976 views

How we can prevent innocent looking USBNinja (USBHarpoon) attacks?

Is there anything we can do across the company to make sure USBNinja and other similar USB cables that looks so real for users can really be mitigated?
Filipon's user avatar
  • 1,264
3 votes
2 answers
6k views

How to detect if files were saved or copied from an external hard drive/USB?

Is it possible? If so, how? This is needed to alert on the copying of "important" files. An example of what I need: There is a document on an external hard drive/USB. You're just allowed to ...
Anonymous's user avatar
  • 133
2 votes
2 answers
2k views

Could the USB-Receiver of a wireless mouse/keyboard be a security risk?

I bought a wireless keyboard and mouse from a no-name brand (made in China) with a USB receiver. I'm currently wondering if the USB receiver could be compromised in a way, that my computer could get ...
CherryBlossom1878's user avatar
2 votes
1 answer
2k views

Is moving data between devices on an SD Card safer than a USB stick?

From the perspective of USB device-born malware/exploits, especially affecting firmware (e.g., can an infected computer reprogram an inserted USB memory stick to act like a keyboard and autotype ...
user109295's user avatar
16 votes
4 answers
13k views

Can I block viruses from a USB stick by scanning it before opening its folder?

I inserted my USB stick into a friend's PC which was full of viruses, malwares and adwares. Therefore I suppose they attacked my USB device as well. Now I want to use my USB device on my PC without ...
franz1's user avatar
  • 481
11 votes
4 answers
21k views

How to detect a keylogger in a USB keyboard? Can a USB keyboard host a keylogger?

I recently got an USB keyboard. I want to investigate if the microcontroller of the keyboard may host a keylogger and how could it interact with a Windows OS. My understanding is that, once Windows ...
Alex's user avatar
  • 213
9 votes
2 answers
4k views

Can BadUSB be avoided by looking at the shapes and the controller model inside it?

I'm an average user. I don't take part or have any dangerous jobs. I know that there is no fixed solution for this type of attack. However, I think USB is still become common devices for average user. ...
John Mtenyolo Gunzra Jiyothi's user avatar
9 votes
4 answers
10k views

Is it possible to USB whitelist in Linux?

After watching Black Hat's presentation on the fundamental problems with USB "security", I'm wondering if there's a way to do USB whitelisting in Linux. Is there currently a mechanism that will allow ...
Naftuli Kay's user avatar
  • 6,753
7 votes
1 answer
3k views

Can I safely use a physical USB stick inside VirtualBox (isolated) without possibly infecting the host OS?

There is a program that I wish to run under VirtualBox in order to avoid possibly infecting my computer because I am not sure I should trust the source. (Based on download location). It is for ...
BarrowWight's user avatar
6 votes
2 answers
1k views

How to protect/mitigate IntelME (CSME) JTAG attack over USB?

Two security searchers from ptsecurity.com ( Maxim Goryachy‏ @h0t_max and Mark Ermolov @_markel___ ) have announced on Twitter: Game over! We (I and @_markel___ ) have obtained fully functional ...
Franklin Piat's user avatar
4 votes
1 answer
404 views

Can smart power meters read key presses on a wired keyboard?

Smart power meters are becoming quite prevalent. Question: Can a smart power meter (with patched firmware) read the keys pressed on a wired PS/2 or USB keyboard, connected to a desktop computer? What ...
AlphaCentauri's user avatar
4 votes
3 answers
2k views

Server based pdf signing using etoken from a client browser

I have a requirement where a PDF document is generated on the application server in a web based .Net application and the same is digitally signed and mailed to the recepient. The signing and mail ...
Monil's user avatar
  • 41
3 votes
2 answers
8k views

Does the use of an on-screen keyboard give a false sense of security or protect against all types of keyloggers? [duplicate]

Does the use of an on-screen keyboard (OSK) give a false sense of security? For example when people use the OSK in an attempt to prevent key-loggers from logging information like passwords, typed on ...
Bob Ortiz's user avatar
  • 6,661
2 votes
2 answers
2k views

How can I connect a USB device to a virtual machine while bypassing the host?

From time-to-time it would be useful to connect an untrusted USB device to my computer. If I could connect it directly to a virtual machine, bypassing the host. that would be secure enough for me. I ...
paj28's user avatar
  • 33.4k
1 vote
2 answers
930 views

Bad USB and other Exploits of USB Devices

Can every USB device and most of the chips in other hardware be reprogrammed like it works with the Bad USB hack to inject malware into the operating system? For example i got a DVD burner that i ...
perocent's user avatar
1 vote
2 answers
714 views

How to safely use a possible BadUSB?

I have to use a USB stick that introduce itself as a HID device. I'm not sure if it does something fishy behind the scene or not, but I rather to think it's not safe and take the necessary steps to ...
FooBar's user avatar
  • 41
1 vote
3 answers
1k views

Security of mapping Local Resources over RDP

I work with a group of developers that do network level program. To prevent these developers from accidentally causing problems on the corporate network they have been given there own isolated ...
CaffeineAddiction's user avatar
1 vote
0 answers
128 views

What traces are left on a flash card reader after using it? [duplicate]

If one uses a micro SD card with a card reader on Windows, or on Linux, or on Android, would there be a way to forensically determine on which computer the card reader was used? I know OS can log ...
William's user avatar
  • 21
0 votes
2 answers
302 views

Is there a portable memory device with an offline erase technique? (such as an erase switch?)

I know about the USB devices that have a write protection switch that disables writing on the device side, are there devices that have a similar hardware switch that permanently erases the devices ...
daniel's user avatar
  • 774