2
Is it possible to disable a computer's USB ports outside of the machine's BIOS if the BIOS does not offer the option to disable the USB ports? Could this possibly be accomplished via a terminal command using a Live CD running a Linux distro such as Ubuntu?
I am attempting to disable them temporarily in order to run DBAN, so that it does not fail with non-fatal errors.
When I run DBAN in interactive mode currently, there are four devices that come up as "[????] Unrecognized Device". I am assuming that these "Unrecognized Devices" are referring to the USB ports on my machine, which is why I am attempting to disable them temporarily to run DBAN.
Currently the output I am getting when I run DBAN is:
DBAN finished with non-fatal errors.
*ERROR /dev/sde (process crash)
*ERROR /dev/sdd (process crash)
*ERROR /dev/sdb (process crash)
*ERROR /dev/sdc (process crash)
*ERROR /dev/sda (process crash)
The computer that I am attempting to run DBAN successfully on is a HP Pavilion M8530F Desktop PC.
6Fill them with epoxy glue. – user1686 – 2011-09-05T20:53:01.417
1+1 @Grawity - Whilst you may be joking, I had one client in a high security environment and this was an actual requirement/something we had to do as any software disables can always be undone!... However... he does say temporarily! – William Hilsum – 2011-09-05T21:21:48.017
Disable, or restrict access? – wizlog – 2011-09-05T21:29:10.237
Since the usb controller is normally part of the south-bridge, most modern operating systems will always be able to detect them and there's little you can do pre-boot if they can't be disabled in BIOS. If you can't disabled/fix USB directly in DBAN, you might be able to run it in Virtualbox and mount the disk as raw into the vm. – billc.cn – 2011-09-05T22:09:55.460
What is your Ubuntu version? – wizlog – 2011-09-06T04:04:28.820
@wizlog The live distro is Ubuntu 11.04. – Kevin Gurney – 2011-09-07T00:13:47.533
1@William: Wouldn't it be easier to just disconnect the ports? If they could get inside the case without triggering an intrusion detection system, then they could just as easily bring a $5 standalone USB jack to plug directly into the motherboard header anyway. In fact, if you wanted to be really vicious, you could boobytrap the USB ports to fry any thumbdrive that gets plugged into it. – Lèse majesté – 2012-04-10T06:48:27.087
@grawity - at one work site someone did this with Ethernet ports on the wall. Unfortunately it was a K-12 art classroom and they let the kids have hot glue guns... – Alex Hirzel – 2012-07-16T06:49:06.607