79

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.

all 40 comments
sorted by: hot top controversial new old
[-] Kissaki@feddit.de 82 points 1 year ago

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.

[-] ReversalHatchery@beehaw.org 18 points 1 year ago

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

[-] Kissaki@feddit.de 2 points 1 year ago

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

[-] ReversalHatchery@beehaw.org 5 points 1 year 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.

[-] mctoasterson@reddthat.com 9 points 1 year ago

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

[-] RobotToaster@infosec.pub 7 points 1 year ago

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

[-] library_napper@monyet.cc 2 points 1 year ago

The guy sitting next to you hates you

[-] RovingFox@infosec.pub 7 points 1 year ago

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

[-] Valmond@kbin.social 2 points 1 year ago

Does that work for logging in?

[-] RovingFox@infosec.pub 1 points 1 year ago

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

[-] pjhenry1216@kbin.social 4 points 1 year ago

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

[-] RovingFox@infosec.pub 1 points 1 year ago

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

[-] library_napper@monyet.cc 2 points 1 year ago

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

[-] alp 6 points 1 year ago

Lol my closest neighbor is half a mile away checkmate

[-] library_napper@monyet.cc 9 points 1 year ago

Pay no attention to that unmarked van

[-] this_1_is_mine@lemmy.ml 2 points 1 year ago

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

[-] Phanatik@kbin.social 6 points 1 year 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.

[-] vox@sopuli.xyz 6 points 1 year ago* (last edited 1 year ago)

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

[-] black_mouflon@beehaw.org 2 points 1 year ago

It was indeed a 2.4 Ghz one.

[-] sirico@feddit.uk 5 points 1 year ago

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

[-] Zellith@kbin.social 4 points 1 year ago* (last edited 1 year ago)

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!

[-] vrojak@kbin.social 6 points 1 year 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.

[-] mishimaenjoyer@kbin.social 5 points 1 year 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.

[-] akulium@feddit.de 4 points 1 year 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.

[-] lemann@lemmy.one 4 points 1 year 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

[-] Samsy@lemmy.ml 3 points 1 year ago

People use wireless keyboards?

[-] mishimaenjoyer@kbin.social 5 points 1 year ago

yeah, a bluetooth one and it's great.

[-] Black_Gulaman@lemmy.dbzer0.com 4 points 1 year ago* (last edited 1 year 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.

[-] Doll_Tow_Jet-ski@kbin.social 2 points 1 year ago

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.

[-] Successful_Try543@feddit.de 2 points 1 year ago

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

[-] Doll_Tow_Jet-ski@kbin.social 1 points 1 year ago

It's connected via wireless USB.

[-] Successful_Try543@feddit.de 2 points 1 year ago* (last edited 1 year ago)

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."

[-] Doll_Tow_Jet-ski@kbin.social 2 points 1 year ago

Phew. Thanks for doing the research and sharing the info

[-] humanenough@lemm.ee 2 points 1 year ago
this post was submitted on 08 Sep 2023
79 points (100.0% liked)

Privacy

32444 readers
651 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

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS