News for hackers. Stuff that matters.
Re:Headphones can be hijacked to surreptitiously record audio by bcheung on Tuesday November 22, 2016 @03:00PM (#13017110)
Here's a neat party trick for you.

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.

Re:Headphones can be hijacked to surreptitiously record audio by illumin8 on Tuesday November 22, 2016 @03:52PM (#13017551)
As a DJ, I learned the trick to plugging your headphones into the Mic jack and yelling very loudly into the cans as a cheap microphone. It works in a pinch; not the best sound quality though.
Re:Headphones can be hijacked to surreptitiously record audio by anigbrowl on Tuesday November 22, 2016 @03:33PM (#13017402)
You don't even need to disconnect the ear bud, just tap it. The voltage pulse from an audio signal is sufficient. Back in the days of rotary phones I used to show off how to dial numbers by simply tapping the receiver on the table.
Re:Headphones can be hijacked to surreptitiously record audio by Johnny555 on Tuesday November 22, 2016 @09:18PM (#13019435)
That doesn't seem to work - I have a POTS line here, and no amount of tapping or striking the phone receiver on a surface is the equivalent of dialing (I tried the phone itself and my headset microphone). Perhaps a local VoIP ATA works that way, but my Telco does not. And I'm not surprised, there's a big difference between detecting an audio signal and detecting a local loop interruption through 18,000 feet of copper.
Re:Headphones can be hijacked to surreptitiously record audio by qb45 on Wednesday November 23, 2016 @02:35AM (#13020853)
I'm under impression that pulse dialing had been phased out in many countries, with tone dialing being the replacement.
Re:Headphones can be hijacked to surreptitiously record audio by Johnny555 on Wednesday November 23, 2016 @03:11AM (#13020994)
Perhaps so in some countries, but in the USA, pulse dialing still works (even VoIP ATA's here support it). There's lots of older automated equipment out there that depends on it (elevator call boxes, alarm systems, building front door call boxes, etc.)

My "in case of power failure" phone is an old red Bell System desk phone with rotary dial. Still works great.

Re:Headphones can be hijacked to surreptitiously record audio by telekid on Tuesday November 22, 2016 @05:44PM (#13018362)
How do you dial a zero?

Edit: Just realized why a zero is in the '10' position on a rotary phone. Huh.

Re:Headphones can be hijacked to surreptitiously record audio by ptaipale on Tuesday November 22, 2016 @06:10PM (#13018507)
Yes, except in the Swedish phones, where the numbering starts from 0. So dialing 0 would make 1 pulse, dialing 1 would make 2 pulses, and dialing 9 would make 10 pulses.
Re:Headphones can be hijacked to surreptitiously record audio by toomanybeersies on Tuesday November 22, 2016 @07:57PM (#13019054)
And New Zealand, where it was like Sweden, but backwards. 0 made 10 pulses, 1 made 9 pulses, and dialing 9 would make 1 pulse.

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.

Re:Headphones can be hijacked to surreptitiously record audio by christoph on Tuesday November 22, 2016 @08:43PM (#13019269)
112 still works as an emergency number in the U.K. to this day.
Re:Headphones can be hijacked to surreptitiously record audio by ptaipale on Wednesday November 23, 2016 @04:18AM (#13021252)
That's more like "ever since digital mobile phones came around". The number 112 is in GSM standard.

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.

Re:Headphones can be hijacked to surreptitiously record audio by bigiain on Tuesday November 22, 2016 @07:01PM (#13018786)
That would have confused the guys in The Wire who eventually figured out the bad guys "jump 5" phone number encoding...
Re:Headphones can be hijacked to surreptitiously record audio by bmm6o on Tuesday November 22, 2016 @07:15PM (#13018856)
The plot point in question was that they were encoding the phone number when leaving it as a callback number. Pulse dialing wouldn't have come into it.
Re:Headphones can be hijacked to surreptitiously record audio by haimez on Tuesday November 22, 2016 @11:41PM (#13020084)
This is how ISO happened...
Re:Headphones can be hijacked to surreptitiously record audio by tomcam on Wednesday November 23, 2016 @03:34PM (#13025630)
I'll be danged. Never thought about that myself. A little embarrassed too
Re:Headphones can be hijacked to surreptitiously record audio by amelius on Tuesday November 22, 2016 @05:54PM (#13018407)
How would this trick translate to the modern world of proprietary protocols? Would MacGyver have a fighting chance?
Re:Headphones can be hijacked to surreptitiously record audio by mathiasben on Tuesday November 22, 2016 @05:08PM (#13018107)
I've used this before in a pinch too, speaker as a microphone in reverse. that got me wondering... would it be possible to use the same principle with another type of listening device. Focusing a laser beam on a window allows you to hear a conversation in the room. so could the same principle be applied and allow a laser beam to transmit audio?
Re:Headphones can be hijacked to surreptitiously record audio by toomanybeersies on Tuesday November 22, 2016 @08:01PM (#13019075)
You can use a laser to transmit audio to a LDR or a light sensitive transistor/diode, which can then be used to run a speaker (with a battery attached). Essentially fibre optics through the air.

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.

Re:Headphones can be hijacked to surreptitiously record audio by JimmyAustin on Tuesday November 22, 2016 @06:32PM (#13018619)
I'm not 100% sure of the math involved, but I think any laser that impacts a window enough to vibrate it would probably just melt it instead.
Re:Headphones can be hijacked to surreptitiously record audio by dom0 on Wednesday November 23, 2016 @08:21AM (#13022424)
You can actually make music with a laser cutter.
Re:Headphones can be hijacked to surreptitiously record audio by mountaineer22 on Tuesday November 22, 2016 @05:22PM (#13018211)
Did you know you can use a DC motor as a speaker, too?

I have not tried using a motor as a mic.

Re:Headphones can be hijacked to surreptitiously record audio by mikey_p on Tuesday November 22, 2016 @06:29PM (#13018607)
Good ole' Servodrive. I've read some threads with Tom Danley on a few message boards and he is one incredibly fascinating individual.

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?

Re:Headphones can be hijacked to surreptitiously record audio by bigiain on Tuesday November 22, 2016 @07:02PM (#13018794)
AC motors as well. Lots of brushless quadcopter motor controllers buzz out diagnostic/startup tones from the motors as they power up.
Re:Headphones can be hijacked to surreptitiously record audio by branchless on Tuesday November 22, 2016 @04:12PM (#13017705)
Welcome Kevin Mitnick!
Re:Headphones can be hijacked to surreptitiously record audio by enraged_camel on Tuesday November 22, 2016 @03:13PM (#13017230)
I don't know what kinds of parties you attend, man...

But that sounds like a fun trick!