Headphones can be hijacked to surreptitiously record audio
wired.com
wired.com
I had a MacGyver moment in the past where I made a phone call with only are pair of old earbuds and a phone cord (no switches, no dial pad).
A speaker is basically the same thing as a microphone in reverse. Normally it takes an electrical signal to move a physical element that creates the sound waves. But you can also move the element and it will generate an electrical signal.
To dial you can use the old rotary trick. The old phones dialed by pulses of quickly disconnecting and reconnecting. You can do that by hand if you want but it might require a little bit of practice and dexterity. Basically if you want to dial a 5, just disconnect the wire from the headphone to the phone cord and then reconnect it 5 times in a row.
You have to both listen and speak through the ear bud. Not the best quality or easiest to do but it works.
But that sounds like a fun trick!
My "in case of power failure" phone is an old red Bell System desk phone with rotary dial. Still works great.
I did it once, the quality was rather lacking, since it used amplitude modulation instead of frequency modulation.
Here's an instructable on it: http://www.instructables.com/id/How-to-Send-Sound-using-a-La...
It's not quite what you're asking, but it's probably the closest you can feasibly get. I'm fairly sure that's also the way that laser microphones work as well.
I have not tried using a motor as a mic.
Wouldn't the efficiencies between input/output transducers be inverse? A servo drive transducer would use very little energy to produce a lot of acoustic output, so wouldn't it require a large amount of acoustic input to generate any signal at all?
Edit: Just realized why a zero is in the '10' position on a rotary phone. Huh.
This is why the emergency number in NZ is 111, we had equipment from the UK, where the number was 999.
As to why it was backwards, I have no idea.
Technically, the network gives it a priority, and you can make a 112 call even without a SIM card, or even if your operator does not have coverage. The call goes through any operator that has coverage. (You can actually see this in the phone display when making a 112 call; it handles it quite differently. I have done it a few times; unfortunately, most of those times, someone has died...)
If the network is so busy that all traffic channels in GSM are occupied, and you make a 112 call, one of the existing calls is dropped and you get the emergency call.
This had some interesting side effects in China. There, prior to introduction of GSM, the number 112 was allocated to phone company technical complaints. Police was 110 and fire alarm was 119 and so on.
So, if you were making a GSM phone call to a friend, and the network was full - not that infrequent in China - you wouldn't get through. But you could call the technical complaint line at 112, and this was a priority service which dropped one of the existing calls. Once the technical complaint service was ringing, you could drop that call (to the network, an emergency call) and you'd have one free GSM time slot in your cell. And you could call your friend.
Until the next guy did the same, and your ongoing call would get mysteriously dropped.
> Their malware uses a little-known feature of RealTek audio codec chips to silently “retask” the computer’s output channel as an input channel
Even if the jacks are color coded or annotated, these day they are actually universal.
So it's more of an accidental backdoor.
The more convenient something is, and the more features it has, the easier it is to hijack it.
HDAJackRetask from alsa-tools is the tool for this on Linux.
Its a "feature" that they have sold to a lot of manufacturers as an ease of use thing for people who are frustrated because they plugged in their headphones but get no sound.
How does the computer know whether you've plugged a speaker or a mic into the port?
(Assuming that the connected computer is compromised also already implies that the attacker has a microphone at their disposal, with most modern devices like smartphones, tablets and mobile computers)
video: https://www.youtube.com/watch?v=ez3o8aIZCDM
"It’s no surprise that earbuds can function as microphones in a pinch [...] But the researchers took that hack a step further. Their malware [...] silently “retask” the computer’s output channel as an input channel, allowing the malware to record audio even when the headphones remain connected into an input-only jack and don’t even have a microphone channel on their plug."
SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit
Do you have a link to the paper?
http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...
(I'm getting `access denied' on the original now too, but the Google cache link works.)
http://cyber.bgu.ac.il/advanced-cyber/system/files/SPEAKEaR....
But even this is not quite right: it's by definition not an input-only jack, but rather a jack capable of both input and output (which the user may think is output-only), but that RealTek has quietly switched to input mode as a result of their malware.
Really this title is alarmist. Only very specific hardware, and you'd have to not notice the sound stopped.
This is an interesting idea and something that the driver software should be more vigilant about, but it's definitely not something that would lead me to conclude the headline.
The article itself claims two orders of magnitude better reach:
> In their tests, the researchers tried the audio hack with a pair of Sennheiser headphones. They found that they could record from as far as 20 feet away—and even compress the resulting recording and send it over the internet, as a hacker would—and still distinguish the words spoken by a male voice.
And that's where this falls apart.
While some people buy quality headphones, many will be using cheap, or rebranded low-quality headphones, like beats, or even no-name headphones.
As an example, lets say that a particular organization has taken a number of standard precautions to prevent audio from being recorded surreptitiously. They've banned cell phones and chosen computers without internal mics. The ability to record sound via the output jack would be huge.
Besides, I bet beats would work just fine. The reason Sennheiser's worked so well is probably because they have a large speaker, whereas a ear bud has a pretty small speaker. A speaker being used to pick up audio is basically a dynamic mic, which are not very sensitive for a given size. So I'd expect something like Beats, or the cheapo AKGs I have connected to my audio jack right now to work quite well.
The reason I’m singling out beats, and a few other cheap headphones is because those tend to add a DSP to boost the bass.
That’s why it wouldn’t work with them.
They have no base and sound very muffled. Sure, for 50 $ they are cheapish, but I expected better.
I had 2 pairs of philips before that were even cheaper, but sounded pretty good.
They have a lot of focus on bass (with having far overpowered bass compared to what high-quality headphones would have), and not much on detail.
Sennheiser produces products for many different categories, if you want accurate sound reproduction, better not buy those marketed for DJs.
These https://www.amazon.com/Sennheiser-HD-518-Headphones-Black/dp... or https://www.amazon.com/Sennheiser-HD-4-30i-White-Headphones/... would have been better for that use case.
Dedicated audio interfaces and more expensive cards are normally unable to do this, hardware wise.
Please don tell me a 5c switch is too expensive for a $300 phone.
Cameras are easier, blocking light is even more low-tech than closing a circuit. Unfortunately, cameras are already the limiting component in the current craze for ever thinner devices, so adding a slider on top would not be very popular. Theoretically, cameras could also be physically disabled by shifting some elements that are already there out of the optical axis. The precision requirements to reliably restore it to working condition would be insane.
I suspect it may be possible, depending on what the firmware allows - amplifier circuitry often utilizes feedback in some form or another, which is essentially coupling the output to the input. And even if the amplifier is powered off, there's bound to be capacitive coupling between the input/output lines, but that's probably too small to be useful.
https://en.wikipedia.org/wiki/Operational_amplifier_applicat...
While I have seen a soundcard using two such inverting stages in series for headphone output, in laptops dedicated chips are more common which probably don't have such strong coupling. But better safe than sorry if the NSA is after you :)
Sounds like it'll be one of those "implementation dependent" things then, and someone into this kind of thing should probably investigate.
The Free Software Foundation already does this:
https://www.fsf.org/resources/hw/endorsement/respects-your-f...
Apple files patent for camera hidden behind display http://appleinsider.com/articles/09/01/08/apple_files_patent...
Yes. I have an Acer Vostro laptop and whenever I plug anything into it, Windows asks if it's input (mic) or output (speakers) device.
Once people have access to your underlying device - what exactly do you think is going to happen?
"Oh but if you disconnected your microphone then think again". How many bloody people do that? A few dozen in the world?
What a piece of shit.
Now the technical underpinning that jacks can be reassigned isn't new for Realtek, lots of PC motherboards have given the option for years and years.
This is all not really news.
With regards to the government, while you may not be doing anything illegal now, it will be illegal when they outlaw it.
Amendment XXVI, 18-year-olds can vote, ratified in 1972. Amendment XXVII, left over from 1789, relates to Congressional pay increases, ratified in 1992.
I didn't even know about the last one (I assume I can trust Wikipedia about it)? Which means the last "real" amendment was 44 years ago. None of the currently unratified amendments seem at all close to reaching the required number of ratification votes.
Yeah, well, in the UK the government is trying to justify sweeping constitutional and case law changes based on a non-binding referendum barely passing.
https://www.washingtonpost.com/news/the-watch/wp/2016/03/10/...
I hadn't even heard that one.
We just learned about charity self dealing.
For the last few decades we have been hearing about Trump's 'improprieties'.
That fact has been so inconvenient for the government that the entire system has been redesigned to thwart it. Can't prove Al Capone is a mobster? Prosecute for tax evasion.
Keep passing broad overlapping laws and they can charge anyone with something. Then they don't have to change the law, only who they decide to prosecute.
And after Capone the mobsters started paying their taxes, so now they charge them with money laundering, which is essentially a law against paying your taxes on unexplained income.
Its not just recordings, but raw material to be edited and spliced together.
Its not just illegal stuff you need to worry about but raises concern, adds you to an investigation, adds you to a secret list (no fly list).
"If one would give me six lines written by the hand of the most honest man, I would find something in them to have him hanged." ~ Cardinal Richelieu
I meant just outright fabrication. Record one conversation about my coworker being on vacation in northern Wisconsin to shoot deer and another conversation about my watching the president make a speech before I went to the boy scout troop meeting on Monday and a semi-skilled editor can cut and paste together fake audio evidence that I'm the ringleader of a military coup with all kinds of detailed elaborate plans. Now that wouldn't result in a guilty verdict, but might result in swatting or just generic harassment, or maybe end up on some .gov list.
For instance, my bank account password is not illegal, nor am I ashamed by it in any way; I don't think I'm a prude, yet I feel like I should not tell it around.
In a perfect world, if i had nothing to hide and i trusted my government, then actually i wouldn't mind telling my bank account to the government in the slightest. In the real world though, i'm more concerned about 3rd party malicious acts than i am with the government directly, and the holes that the government injects into our lives.
I don't want the government to have my personal conversations not because i'm afraid of them specifically, but afraid of who else will inevitably get ahold of it when the government drops the ball.
(Note: yes, i know the government could also turn against me in an unknown future)
Privacy is a fence. Tall fences make good neighbors, because they help define what is and is not your business. My life is not the business of the government, nor should yours be. At least not until they have enough information to get a warrant.
Sure you are law abiding, but that doesn't mean every person with this power is.
When 10% of citizens are too afraid to speak out about something, maybe democracy can be still preserved. When it's 90%... ?
There's many more angles, but that is one I don't think people think of very often. Another quick example is this, I have had to be very clear to and friends and family who know me on facebook (even though most of my data is poisoned) that they should never tag me in a photo, and preferably should never post a photo of me in the first place.
People have a history of abusing the power they have over people. The government isn't inherently untrustworthy because it is the government, it is people that are inherently untrustworthy when handed power without oversight and checks on that power. Having total information on an individual is power over that individual.
I don't want my friends or neighbors knowing everything I say and do. I don't want my insurance company taking things I say or do out of context as an excuse to raise my rates or drop me. I don't want the local White Nationalist group to know my background or political opinions. I don't want Google, who has the ability to disable my decade old e-mail account and make my digital life difficult, to know I'm working with a competitor.
For the same reason you have the 5th amendment. It's quite easy to make someone who is innocent look guilty.
why should I, a boring law abiding citizen
Human beings are all "give an inch, take a mile." We have to be constantly put in check, or we will reach farther. Give us enough rope, and we will often hang ourselves. This is why we have laws, social norms, and communities. This also applies to humans who run the government.
All that said, I never liked the "well one day the government will accuse you of a crime somehow or otherwise severely limit your speech" argument. To me the better counter-argument is: "Fine, you don't care at all, you don't have to care. Similarly some people are super paranoid and live in a faraday cage etc., they can do that all they want. But a lot of people care to some degree in between, and a lot of other people are uneducated or unaware of the actual risks so aren't even aware of the problem that they could decide to care/not care about. If you don't care at all, again that's fine, just get out of our way as we try to protect people by default. Mass education of every issue is infeasible."