Parallel Port Bug


Simple ON/OFF-keyed Morse code oscillator connected to a parallel port to transmit quick data bursts which contain passwords, PGP passphrases or even complete text files.  Will require physical access to the computer for the installation of the hardware bug and a small controller program.

Block Diagram

[parport_bug]

Pictures

Software

The controller software is required to run as root (UID=0) in order to access the computer's hardware port.  Either run the program as root or change the program's owner to root and set the SUID bit (chmod 4755 /path/to/bin).

You should edit parport_bug.c to select the particular settings you'll need like parallel port address, Morse code speed and code delay.

Software Usage

  1. Untar the software package.  tar xvzf parport_bug.tar.gz
  2. Go into the parport_bug directory.  cd parport_bug
  3. Edit parport_bug.c and set the #define BASE_ADDRESS to the parallel port you want to use.
  4. Type make.
  5. Type make install or install the binary anyway you wish.  Make sure the binary is suid-root or run as root.
  6. To verify the hardware and software work, connect the oscillator to the parallel port of your computer.
  7. Tune a receiver to 50.00 MHz in CW mode.  All-mode, all-band receivers like the AOR AR8000 are the best.
  8. Type ./parport_bug -m "sos"
  9. You should hear the Morse code equivalent of "S O S" or three dots, three dashes and then three dots (... --- ...).
  10. Adjust the -s speed and -d delay options to your liking.  Note that some oscillators can not be turned on and off very fast, so use a lower speed setting for those.
  11. To transmit a text file, use the -f "filename" option.

Notes

It is also possible to install the bug internally within a computer by soldering directly to the parallel port and using an unused line in the keyboard or mouse cable as the antenna.  This requires that the keyboard or mouse cable not be shielded, or wrapped in a ferrite choke.

Some crystal oscillators have increased current draw as they go higher in frequency.  The parallel port is current limited, depending on manufacture, and may not be able to power the oscillator properly.  Experiment with different crystal manufactures if it doesn't seem to work right.

Usage can included trojaned login or PAM module binaries to transmit usernames and passwords.  You can also watch kernel memory for PGP-style passphrases or even transmit keystokes directly.

Use Baudline to analyze any audio recording you make of the Morse code message.


Return to Homebrew Military & Espionage Electronics Page