492 points · by ge0rg · 9y ago · 116 comments
I'm doubtful of the utility of software like this. Every driver and application seems to want to keep a persistent background process running, and because of the natural inefficiency of software (this executable is ~2MB --- why it needs to be this big, I'm not certain; from a brief inspection, all it seems to be doing is controlling microphone mute/unmute), results in a huge waste of resources and new computers which appear no more responsive and than older ones.
However, to put the severity of this problem in perspective, from the description this is not like a typical keylogger that sends keystrokes out to some remote server; it only logs locally.
If you regularly make incremental backups of your hard-drive - whether in the cloud or on an external hard-drive – a history of all keystrokes of the last few years could probably be found in your backups.
There's going to be plenty of other sensitive information in your backups, which if you don't want others to read you would use encryption anyway, in which case the point is rather moot.
Any process that is running in the current user-session and therefore able to monitor debug messages, can capture keystrokes made by the user.
...or it could just monitor the keystrokes itself with SetWindowsHookEx() like this process.
Thus, I think the correct reaction to this is more towards the "oops... that wasn't a good idea" than "everybody panic!"
This is a bit of a strawman. When you're backing things up, you know what you're backing up and chose to do so. Here you'd be backing up things that you didn't want to, or even worse, things you'd never want to be backed up anyway. If someone gets into my backups, maybe they can see some family photos or financial data...but they wouldn't otherwise be able to see all the porn searches I do in incognito mode. With this, they could potentially access that as well.
That being said, keylogging is just plain horrible and inexcusable. Passwords, searches, private messages, etc. There's no way we should be cutting them slack on this.
The worst part is, it's crapware like this that steers us towards the walled app store model for PCs... and the loss of freedom that accompanies that.
Every time I hear of stuff like this I gain more respect for Stallman.
"Oop..."? - Is that what you'd write on the graves of dissidents whose efforts to communicate securely were subverted by a keylogger in an audio driver?
Too much over the top? The HN-compatible version: Actual reverse engineering can be punished by law in most of the first world (through the illegal status of tools that can be used to circumvent access restrictions). Of course, this is close to impossible to prove when all you publish is the security advisory and thus nobody really cares. "Oops..." someone accidentally just made a recording & backup of all the evidence against you :)
There is no "correct" reaction, only individually justified reactions and if you can afford to just say "oops..." you may consider yourself lucky.
A smart dissident wouldn't be using a Windows laptop to write things that could get themselves killed.
It's not a diss on Windows, but rather basic opsec: if you want to be secure, you need to know what every part of your system is doing. Or at least rely on the fact that open source maintainers have examined every part of the system.
One basic protection is to boot into Tails, where an audio driver like this won't have an effect.
You still need access to the machine in order to take advantage of this and by the time you have access to the machine you can run your own keylogger if you'd like. The only increased risk here is the ability to look back into the past.
Which is bad on its own, but let's not exaggerate. This didn't get any dissidents killed. Nor is it likely to.
I have never once backed up the login details for my online banking, or the passwords to my cloud servers, or the passwords to government websites, etc. etc.
Because writing this in 200 lines against the Win32 API resulting in a 15 kB executable would be far too straightforward. Abstraction is required.
I vaguely recall something that used Electron, but I can't find it. It was 30MB+.
(presses shift-esc, sees this number 91.372K standing next to the hackernews tab. Wonder what that means. Say, the number next to my gmail is like 10 times that. I wonder what that means)
It's like the Internet has collectively decided nobody has 2GB of RAM anymore. (Yep.)
So, when I install Linux on a laptop, most or all of the weird laptop-specific buttons just work without OEM crapware or runtime performance hits.
The downside, of course, is that you can't just download fresh crapware to make your brand new laptop fully functional. I'll take that tradeoff.
* Decent software companies terrible at making hardware
* Decent hardware companies terrible at making software
I yet have to see one that does both correctly. Hardware manufacturers are known to produce the worst code quality you can think of, badly designed, poorly written, undocumented, insecure, bloated.I have the feeling that the whole IoT problem is also related.
Not sure if one wants to count them as a decent software company, but Microsoft is quite good at building keyboards, IMHO.
But their engineering these days is top notch. They might not be the best but they're probably in the top 10% sofware companies regarding engineering practices, IMO. If not higher.
All 64 bit versions of Windows can neither run DOS applications nor Win16 applications (I described the technical reason for this at https://news.ycombinator.com/item?id=14246521).
I'm not sure MS can really dead-end a legacy codebase so easily. They seem to be trying, but hitting resistance at every turn.
I vaguely remember Fujitsu had an ergonomic keyboard (one could even adjust the angle between the two halves), but I have never laid hands on it, so I cannot say anything about the quality. All Fujitsu notebooks I have touched had absolutely crappy keyboards, but that might not mean much.
The main thing it's got going for it is the overall layout, which is fantastic. If someone made a keyboard using mechanical switches with the same layout I'd snap it up in a hot second. But for reasons unknown, while keyboards with mechanical switches have proliferated in recent years, none of them incorporate 4000-style ergonomic features like split keys or a curved key bed.
But nowadays it's all cheap plastic and cheap mechanics, made to last 2 years.
There are alternatives for good keyboards, but I have yet to find a good mouse. (a business mouse, not a rainbow colored funky gamer mouse)
comfortable without the annoyances of going full mechanical.
also their optical mouse is quite good.
but the real crown jewel was the xbox steering wheel (the real one not the U stick): solid, precise, feature packed and sold at an incredible price.
https://en.wikipedia.org/wiki/HP_Superdome
https://en.wikipedia.org/wiki/HP-UX
and HP is usually one of the best rather than worst here, though definitely more so in the pre-carly days.
though i get the general sentiment, esp when applied to consumer products..
SolarFlare network cards are also pretty good and so are their drivers and user space network stack.
In both cases the quality of the software side is a significant drive for their hardware sales.
In both cases the hardware is very expensive though.
Here is a different perspective: https://googleprojectzero.blogspot.com/2017/02/attacking-win...
And "excellent hardware" is probably rather subjective as well.
Their hardware is pretty much best in class in both absolute performance and performance per watt, so I would say that it is a pretty objective evaluation.
[1]: https://streamcomputing.eu/blog/2014-08-05/7-things-nvidia-d...
Looks like it's not intentional. Although really poor code-quality process I would say.
To quote from
> https://en.wikipedia.org/w/index.php?title=Underhanded_C_Con...
(emphasis by mine): "The Underhanded C Contest is a programming contest to turn out code that is malicious, but passes a rigorous inspection, and looks like an honest mistake."
Do you really believe that Malory does not use practices that make the security hole look like a mistake of a not-so-experienced programmer or an internal debugging tool that was accidentally left in?
A little paranoia here would actually be helpful. Anyway my thought process is :
If it's really intentional, they would not dump the keystrokes to a text file ( maybe some `.dat` shit ) and will not truncate it on every log in.
On the other hand. It seems quite stupid for anyone to not foresee what happens when the code is being executed on a scale.
If I'm a big corp, I would actually demand ( via court ) from HP/Conexant to open source the driver itself, since any investigation will need access to it anyway.
EDIT: Think I found it. The new M's name is Gareth Mallory[0]
> https://en.wikipedia.org/wiki/Alice_and_Bob
"Mallory or (less commonly) Mallet: A malicious attacker."
Sorry I forgot one "l" in "Mal[l]ory".
OTOH, pretending incompetence has always been a pretty successful defence. This is a class of error that I won't easily attribute to incompetence.
And the impact in which HP is going to experience - is nothing. Most people still to this day really don't care/understand on why this is a problem. They just want to get a computer for school, General internet surfing or watch cat videos. (Cat and Dog videos are quite interesting.)
(2009: http://gizmodo.com/5431190/hp-face-tracking-webcams-dont-rec... )
I'm really tired of seeing companies positioned to make good things and better the world get focused on quarter profits and short term thinking, because it always bites them in the ass eventually.
Mismanagement from the C level up abounds.
...which any AV will immediately flag. This allows malware to keylog in a much less detectable way by piggybacking off trusted HP software
Even when malice is not to be checked for, genuine error, incompetence, forgetfulness or plain indifference must be checked for.
Source code being open for inspection only helps if people actually take the time to look at the code. OpenBSD deserves an honorable mention.
If an anti-feature is discovered in free software, it can be promptly removed and replaced, regardless of whether the developers of the software consider it to be an anti-feature. What if HP wants this to remain for debugging/diagnostic purposes? There's little you can do about that. (I'm not saying they do.)
The fact that free software can have bugs is an open source argument that falls apart when the argument becomes "open source is better because of technical advantage X".[0]
There are frequent arguments that the freedom of drivers isn't important---mainly because it's inconvenient to use a system without non-free drivers and requires purchasing replacement hardware to work around. This is an example that maybe can help counter that point.
[0]: https://www.gnu.org/philosophy/open-source-misses-the-point....
My point was that if nobody bothers to look at the code, the bug will go undetected. Think of how long the Heartbleed bug had been in OpenSSL before it was discovered.
Yes, there can be issues with open source software, but unlike closed software it can actually be fixed.
"Actually, the purpose of the software is to recognize whether a special key has been pressed or released. Instead, however, the developer has introduced a number of diagnostic and debugging features to ensure that all keystrokes are either broadcasted through a debugging interface or written to a log file in a public directory on the hard-drive.
This type of debugging turns the audio driver effectively into a keylogging spyware."
Carelessness sounds like a fairly reasonable explanation, simply applying Hanlon's razor. :)
A keylogger and this is their response?
I hope they get the shit sued out of them.
document.querySelector('.blogbody').setAttribute("style", "max-width:650px; margin: 0px auto;");Really? You maximise your content window ? Then where do you leave all your tool-windows ? On a second monitor ? Do you only design widescreen content ? Don't you think those white bars on the left/right of your content is a total waste of screen real estate ?