26

I read a book in which someone hacked into a computer and used the speakers (not a microphone) to listen to what was happening in the room. Is this even remotely possible without gaining physical access to the computer, assuming you could completely take over the computer electronically?

  • 10
    It certainly is possible to turn a speaker into a microphone and visa versa. Wether it is possible to do so from a distance infiltrating a computer is another question. I feel that the title of your question is therefore a bit misleading. – Raskolnikov Aug 9 '11 at 7:10
  • 4
    I tried this by accident before I was 10 years old, and I discovered that it did work, although the recording quality was absolutely terrible. So, due to a natural feeling of burning curiosity, I also tried using a cheap microphone as a speaker, and that also worked although the output was very quiet and intermittent, and resulted in damaging the microphone (recording with that microphone didn't work very well after that, so I didn't experiment with any more microphones). – Randolf Richardson Aug 9 '11 at 12:31
  • 1
    Is this in a novel, or a how-to book? If so, I'd say that's pretty off topic. – Nicole Aug 12 '11 at 21:26
51

Most speakers really can work as microphones; the signal is weak, but it is there. See, for example, All speakers are microphones:

What happens is that in a speaker there's a magnet and coil, and a pair of wires connecting it up to something. What is supposed to happen when the device is used for outputting sound that electricity is converted to sound. Electrical output from an amplifier is put into the speaker and turned into sound. However, the process is reversible, so it's possible for the magnet and coil in a speaker to pick up sound in the air and turn it into electrical signals in the wires.

Some audio devices have configurable connections to the connectors (jacks) so that you can plug a speaker or microphone into any jack; this means that you can reconfigure them to record the signal coming from the speakers. See the manual for a common onboard audio chipset RealTek, Chapter 3 Audio I/O, page 11:

Realtek HD Audio Manager frees you from default speaker settings. Different from before, for each jack, they are not limited to perform certain functions. Instead, now each jack is able to be chosen to perform either output (i.e. playback) function or input (i.e. recording) function, we call this “Retasking”.

There is one more step: between the jack and the speaker may be an amplifier. Amplifiers don't pass any signal from their outputs to their inputs, so if a speaker signal is to be read, the speaker must be connected directly, without an amplifier. This would require the speaker to be a passive speaker plugged directly into the jack:

...a passive speaker (or unpowered speaker) is a speaker which does not have its own power source and draws power from an amplifier located outside of the loudspeaker enclosure.

So, if you hacked the computer into a state where you can install and run your own device drivers, and if there are passive speakers connected in a "retaskable" jack, then it is possible.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .