4 ms·
> If I received this card, I would think twice about attaching a homemade USB device to anything. I have a Raspberry Pi devoted to the purpose of plugging unk
by JohnFen 3y ago
> If I received this card, I would think twice about attaching a homemade USB device to anything.
I have a Raspberry Pi devoted to the purpose of plugging unknown USB devices into in order to do a security check on them.
If it kills the R-Pi, no big deal. If it doesn't, then you have the power of Linux to interrogate the device with and spot suspicious behavior.
- kid64 3y agoThat's interesting, may I ask how you'd typically perform the interrogation?
- an_aparallel 3y agoim interested too... im guessing there's some Kali linux utils for doing just this?
- JohnFen 3y agoKali is convenient in that it has security tools preinstalled (it's what I use in my pentesting gear), but this can be done with any distro. Primarily what I'm looking for is if the capabilities of the device match what I expect them to be (does this flash drive -- or even just a random USB cable -- also represent itself as a user input device?), and to spy on the USB packets for things like keystroke replay, bitstreams that don't match what would be expected (virii installations, unusual behavior if the storage device thinks that it is being booted from, etc.) It is not comprehensive. Just a sanity check.
- hathawsh 3y agoIf I were paranoid, I might be concerned that the USB device would detect when it's plugged in to a small device like a Raspberry Pi and only launch its attack when it's plugged in to a more valuable target. Is there some way to mitigate that?
- bpye 3y agoDifferent operating systems also have subtle differences in enumeration - I don’t think there is a great way to mitigate that.
- lcnPylGDnU4H9OF 3y ago> then you have the power of Linux to interrogate the device with and spot suspicious behavior Ideally, you’d find the malicious payload. It’s probably not hidden so well that it can’t be found by a security researcher.
- JohnFen 3y agoTrue, if I care. I use the R-Pi as a screening method, not really as the means to dig into something malicious and analyze it in detail. I have other tools for that. My reasoning for using the R-Pi is that it's disposable, so if the USB device turns out to be an electrical USB-killer, it doesn't kill any hardware that really matters to me.
- JohnFen 3y ago> Is there some way to mitigate that? Against a very sophisticated attacker? Maybe not, but it doesn't matter for my purposes. My concern is the most likely kinds of attacks, which are not terribly sophisticated. It's really more of a sanity check than a comprehensive security audit. No security can ever be 100% effective. Like all security measures, this is just one layer intended to cover attacks I am most likely to be exposed to. In other words, if I'm protecting against governments and other well-funded entities or skilled and determined hackers, I wouldn't be using this alone. I'd be using it in conjunction with other security processes, such as not attaching unknown USB devices to my systems at all, or at least not to ones that matter or aren't permanently isolated from my other machines.