Author Topic: Security of Quiet Pro controller?  (Read 26531 times)

0 Members and 1 Guest are viewing this topic.

Offline Burz

  • Thread Starter
  • Posts: 248
  • maybe get a blister on yo' little finger...
Security of Quiet Pro controller?
« on: Wed, 06 November 2013, 12:40:12 »
Could your microcontroller expert comment on the possibility of a Quiet Pro keyboard having its controller firmware changed over the USB link? This is assuming the OS of a connected system has been completely compromised.

The report on #badBIOS has raised important questions about devices which get plugged into a great number of systems over their lifetime and possibly act as a vehicle for malware. I also noticed that J. Rutkowska at ITL (security research) has commented "Generally USB keyboards is something we really don't like...". The picture I'm getting is not encouraging, but can Matias provide any reassurance about their products?
Matias Mini QuietPro  \\ Dell AT101W - Black ALPS  \\ SIIG MiniTouch x2 White XM - Monterey  \\ Colemak layout.

Offline BucklingSpring

  • Posts: 1613
Re: Security of Quiet Pro controller?
« Reply #1 on: Wed, 06 November 2013, 19:13:56 »
I'm curious, why are you targeting Matias for this question. Wouldn't this be a concern for any USB keyboard?

Sounds like a 5 years old story on Mac keyboards.
In memory of smallfry 1996-2013
Boards I own, click ->
More
Ducky x2 (9008G2 Pro PBT/MX Green and Mini MX Red), Matias x2 (QP and Mini QP Dampened ALPS), Topre RealForce x4 (87U 55g/Digilog case, 103U-UW & 104UG High-Profile x2), Filco Majestouch x2 (TKL MX Blue & V2 AI 104 MX Blue), IBM-M x2 (BS & RD), Unicomp-M x5 (BS black on black x2, BS Ivory x2, QT Ultra-Classic), Deck x4 (Legend MX Black & MX Clear, Hassium & Francium w/ MX Brown), DAS III (MX Blue), KBT Pure Pro 60% (MX Red), NMB-RT8256CW+ x2 (black space invader), XArmor U9BL-S (MX Brown) given for free to someone I hate, CM X2 (Trigger/MX Green + Storm TKL/NovaTouch), TVS GOLD (MX Blue) and a many many more (NMB, DELL, MS, ATT, KeyTronic, Etc...)

Offline Burz

  • Thread Starter
  • Posts: 248
  • maybe get a blister on yo' little finger...
Re: Security of Quiet Pro controller?
« Reply #2 on: Thu, 07 November 2013, 04:26:21 »
I'm curious, why are you targeting Matias for this question. Wouldn't this be a concern for any USB keyboard?
Simple-- Because I use my Matias keyboard and want to keep using it (safely) for a long time to come. Also, doing a general shoutout in the keyboards subforum would probably yield zero manufacturer responses. So, best to start here.

If I had bought a WASD or TECK instead, I would have asked one of them. In time, I may ask them anyway.
Matias Mini QuietPro  \\ Dell AT101W - Black ALPS  \\ SIIG MiniTouch x2 White XM - Monterey  \\ Colemak layout.

Offline dante

  • Posts: 2553
Re: Security of Quiet Pro controller?
« Reply #3 on: Sat, 09 November 2013, 11:01:01 »
Is it possible to use a PS/2 converter to get past the issue?

I still think the Ducky Shine 3 is a time bomb waiting to happen with the number of patches being applied to it.  If you can add new lighting modes what's to stop someone from redirecting keystrokes?

Offline Matias

  • * Moderator
  • Posts: 517
  • Location: Toronto
    • http://matias.ca
Re: Security of Quiet Pro controller?
« Reply #4 on: Sat, 09 November 2013, 17:33:53 »
Could your microcontroller expert comment on the possibility of a Quiet Pro keyboard having its controller firmware changed over the USB link? This is assuming the OS of a connected system has been completely compromised.

The report on #badBIOS has raised important questions about devices which get plugged into a great number of systems over their lifetime and possibly act as a vehicle for malware. I also noticed that J. Rutkowska at ITL (security research) has commented "Generally USB keyboards is something we really don't like...". The picture I'm getting is not encouraging, but can Matias provide any reassurance about their products?


It's interesting that I saw your question within minutes of seeing this suggestion from another GHer...


Layout: Never one fits all. No one can design universal layout for everyone. Programmability is required.
1) Reprogrammable controller.
The keyboard will get to be fully programmable by user community endeavor if MCU datasheet and toolchain are publicly available. No need extra customer support cost for manufacturer!
Widely pervasive Atmel AVR or ARM Cortex is preferable? I think we'll happily pay the cost for that if it is like $5-10.


Anyway, to answer your question, no that's not possible.

They would need to gain physical access to the keyboard to be able to change it, and they would need to know technical details which we have not disclosed.  It's not enough to just run some software.  If someone malicious gains physical access to your computer, the keyboard is the least of your concerns.

Setting aside all the technical and logistical hurdles to doing this, the microcontroller in the keyboard doesn't have enough memory to store anything more than the keyboard layout, so it wouldn't have anywhere to put any information captured.

With regards to security, wired keyboards are as safe as they come.  You don't need to worry.

Offline BucklingSpring

  • Posts: 1613
Re: Security of Quiet Pro controller?
« Reply #5 on: Mon, 11 November 2013, 18:27:16 »
Thank you Matias for the update. I feel much safer ;-)

I like Dante's suggestion to use a PS/2 port. The PS2 marketing guys must jump on this opportunity to prolong the life of this interface. Built-in PS2 keyboard firewall... Added security.

Sounds like the memory required to program the led might give enough space to insert something malicious. Still there is so many ways to inject a keylogger. I'm not convinced the keyboard is the best target.
Is it possible to use a PS/2 converter to get past the issue?

I still think the Ducky Shine 3 is a time bomb waiting to happen with the number of patches being applied to it.  If you can add new lighting modes what's to stop someone from redirecting keystrokes?
In memory of smallfry 1996-2013
Boards I own, click ->
More
Ducky x2 (9008G2 Pro PBT/MX Green and Mini MX Red), Matias x2 (QP and Mini QP Dampened ALPS), Topre RealForce x4 (87U 55g/Digilog case, 103U-UW & 104UG High-Profile x2), Filco Majestouch x2 (TKL MX Blue & V2 AI 104 MX Blue), IBM-M x2 (BS & RD), Unicomp-M x5 (BS black on black x2, BS Ivory x2, QT Ultra-Classic), Deck x4 (Legend MX Black & MX Clear, Hassium & Francium w/ MX Brown), DAS III (MX Blue), KBT Pure Pro 60% (MX Red), NMB-RT8256CW+ x2 (black space invader), XArmor U9BL-S (MX Brown) given for free to someone I hate, CM X2 (Trigger/MX Green + Storm TKL/NovaTouch), TVS GOLD (MX Blue) and a many many more (NMB, DELL, MS, ATT, KeyTronic, Etc...)

Offline Matias

  • * Moderator
  • Posts: 517
  • Location: Toronto
    • http://matias.ca
Re: Security of Quiet Pro controller?
« Reply #6 on: Mon, 11 November 2013, 19:16:35 »
Yes, the keyboard IC really is the least of your worries.

As a vector for malicious code, it's pretty gutless.


Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Re: Security of Quiet Pro controller?
« Reply #7 on: Mon, 11 November 2013, 20:24:02 »
I like Dante's suggestion to use a PS/2 port. The PS2 marketing guys must jump on this opportunity to prolong the life of this interface. Built-in PS2 keyboard firewall... Added security.

Except that in one sense at least, since you can send data from the host via PS/2, exactly the same security hole exists! There have been programmable PS/2 keyboards, even if only for macro functionality, programmed from the host (e.g. Cherry 8200). Theoretically a keyboard could send out malicious keystrokes to further an infection by other means (and it could easily have stored your password!).

The main problem with that and hacking USB keyboards etc. in a similar way is that each would use a proprietary method for programming. Usually, there wouldn't even be any overt indication that programming is possible. Sure, the malware could have a huge library of programming methods, but it still wouldn't be a route that's likely to succeed (from the malware's POV) in general. As part of a targeted attack it perhaps has more to offer, if the attacker knows that the target uses certain susceptible hardware.

Offline Burz

  • Thread Starter
  • Posts: 248
  • maybe get a blister on yo' little finger...
Re: Security of Quiet Pro controller?
« Reply #8 on: Mon, 18 November 2013, 12:37:44 »
Anyway, to answer your question, no that's not possible.

They would need to gain physical access to the keyboard to be able to change it, and they would need to know technical details which we have not disclosed.  It's not enough to just run some software.  If someone malicious gains physical access to your computer, the keyboard is the least of your concerns.

Setting aside all the technical and logistical hurdles to doing this, the microcontroller in the keyboard doesn't have enough memory to store anything more than the keyboard layout, so it wouldn't have anywhere to put any information captured.

With regards to security, wired keyboards are as safe as they come.  You don't need to worry.

Thanks for the assurance, though I wasn't worried necessarily about physical access. The claims from Dragos re: badBIOS has got people concerned about malware travelling on different kinds of USB devices that can have their firmware changed (and, I imagine, an exploitable keyboard with a USB hub in it might be a problem).
Matias Mini QuietPro  \\ Dell AT101W - Black ALPS  \\ SIIG MiniTouch x2 White XM - Monterey  \\ Colemak layout.

Offline metalliqaz

  • * Maker
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Security of Quiet Pro controller?
« Reply #9 on: Mon, 18 November 2013, 12:56:03 »
BadBIOS is pretty darn far from being confirmed.

Offline Burz

  • Thread Starter
  • Posts: 248
  • maybe get a blister on yo' little finger...
Re: Security of Quiet Pro controller?
« Reply #10 on: Tue, 19 November 2013, 05:47:04 »
BadBIOS is pretty darn far from being confirmed.
BadBIOS doesn't have to be confirmed per se, since even the sceptical experts are agreeing that what is described could become real in some form.

The way that hardware gets built these days is reckless.

 
Matias Mini QuietPro  \\ Dell AT101W - Black ALPS  \\ SIIG MiniTouch x2 White XM - Monterey  \\ Colemak layout.