TEMPEST is a U.S. National Security Agency specification and a NATO certification referring to spying on information systems through leaking emanations, including unintentional radio or electrical signals, sounds, and vibrations. TEMPEST covers both methods to spy upon others and how to shield equipment against such spying. The protection efforts are also known as emission security (EMSEC), which is a subset of communications security (COMSEC).
The NSA methods for spying on computer emissions are classified, but some of the protection standards have been released by either the NSA or the Department of Defense. Protecting equipment from spying is done with distance, shielding, filtering, and masking. The TEMPEST standards mandate elements such as equipment distance from walls, amount of shielding in buildings and equipment, and distance separating wires carrying classified vs. unclassified materials, filters on cables, and even distance and shielding between wires or equipment and building pipes. Noise can also protect information by masking the actual data.
While much of TEMPEST is about leaking electromagnetic emanations, it also encompasses sounds and mechanical vibrations. For example, it is possible to log a user's keystrokes using the motion sensor inside smartphones. Compromising emissions are defined as unintentional intelligence-bearing signals which, if intercepted and analyzed (side-channel attack), may disclose the information transmitted, received, handled, or otherwise processed by any information-processing equipment.
During World War II, Bell Telephone supplied the U.S. military with a device called 131-B2 mixer that encrypted teleprinter signals by XOR’ing them with key material from one-time tapes (the SIGTOT system) or a rotor based key generator called SIGCUM. It used electromechanical relays in its operation. Later Bell informed the Signal Corps that they were able to detect electromagnetic spikes at a distance from the mixer and recover the plain text. Meeting skepticism that the phenomenon they discovered in the laboratory could really be dangerous, they demonstrated their ability to recover plain text from a Signal Corps’ crypto center on Varick St in Lower Manhattan. Now alarmed, the Signal Corps asked Bell to investigate further. They identified three problem areas: radiated signals, signals conducted on wires coming out of the facility and magnetic fields, and suggested shielding filtering and masking as possible solutions.
Bell developed a modified mixer, the 131-A1 with shielding and filtering, but it proved difficult to maintain and too expensive to deploy. Instead, relevant commanders were warned of the problem and advised to control a 100 feet diameter zone around their communications center to prevent covert interception, and things were left at that. Then in 1951, the CIA rediscovered the problem with the 131-B2 mixer and found they could recover plain text off the line carrying the encrypted signal from a quarter mile away. Filters for signal and power lines were developed and the control zone was extended to 200 feet, based more on what commanders could be expected to accomplish than any technical criteria.
A long process of evaluating systems and developing possible solutions followed. Other compromising effects were discovered, such as fluctuations in the power line as rotors stepped. The question of exploiting the noise of electromechanical encryption systems had been raised in the late 1940’s, but was re-evaluated as a possible threat. Acoustical emanations could reveal plain text, but only if the pick up device was close to the source. The bad news was that even mediocre microphones would do. Soundproofing the room made the problem worse by removing reflections and providing a cleaner signal to the recorder.
In 1956 the Naval Research Laboratory developed a better mixer that operated at much lower voltages and currents and therefore radiated far less. It was incorporated in newer NSA encryption systems, however many users needed the higher signal levels to drive teleprinters at greater distances or where multiple teleprinters were connected, and so the newer encryption devices included a higher level signal option. NSA began developing techniques and specifications for filtering, shielding, grounding and separating conductors that carried sensitive plain text from lines that did not and might leave a secure environment, the RED/BLACK separation dogma. A 1958 joint policy called NAG-1 set radiation standards for equipment and installations based on a 50 foot limit of control. It also specified the classification levels of various aspects of the TEMPEST problem. The policy was adopted by Canada and the UK the next year. Six organizations, Navy, Army, Air Force, NSA, CIA, and the State Department were to do the bulk of the work.
Difficulties in implementation quickly emerged. Computer processing of intelligence data was becoming important and computers and their peripherals had to be evaluated and many proved problematical. The Friden Flexowriter, a popular I/O typewriter at the time, proved to be among the strongest emitters, readable as far out as 3,200 feet in field tests. the U.S. Communications Security Board (USCSB) produced a Flexowriter Policy that banned it use overseas for classified information and limited its use to Confidential level in the U.S. and only within a 400 foot security zone, but users found the policy onerous and impractical. Later the NSA found similar problems with the introduction of cathode ray tube (CRT) displays, which were also powerful radiators.
There was a multi-year process of moving from policy recommendations to more strictly enforced TEMPEST rules. The resulting directive, coordinated with 22 separate agencies, 5200.19, was signed by Secretary of Defense Robert McNamara in December, 1964, but still took years to fully implement. The NSA’s formal implementation took effect in June 1966.
Meanwhile the problem of acoustic emanations became more critical with the discovery of some 900 microphones in U.S. installations overseas, most behind the Iron Curtain. The responses was to build room-within-a-room enclosures, some transparent, nicknamed the fish bowl. Other units were fully shielded to contain electronic emanations, but were unpopular with personnel who were supposed to work inside, calling them meat lockers, and they sometimes just left the door open. None the less, they were installed in critical locations, such at the embassy in Moscow, were there were two, one for State Department use and one for Military Attaches. A unit installed at the NSA for its key generation equipment cost $134,000.
Tempest standards continued to evolve in the 1970s and later, with newer testing methods and more nuanced guidelines that took account of the risks in specific locations and situations.:Vol I, Ch. 10 But then as now, security needs often met with resistance. According to NSA's David G. Boak, "Some of what we still hear today in our own circles when rigorous technical standards are whittled down in the interest of money and time are frighteningly reminiscent of the arrogant Third Reich with their Enigma cryptomachine." :ibid p. 19
- NATO SDIP-27 Level A (formerly AMSG 720B) and USA NSTISSAM Level I
- "Compromising Emanations Laboratory Test Standard"
- This is the strictest standard for devices that will be operated in NATO Zone 0 environments, where it is assumed that an attacker has almost immediate access (e.g. neighbouring room, 1 m distance).
- NATO SDIP-27 Level B (formerly AMSG 788A) and USA NSTISSAM Level II
- "Laboratory Test Standard for Protected Facility Equipment"
- This is a slightly relaxed standard for devices that are operated in NATO Zone 1 environments, where it is assumed that an attacker cannot get closer than about 20 m (or where building materials ensure an attenuation equivalent to the free-space attenuation of this distance).
- NATO SDIP-27 Level C (formerly AMSG 784) and USA NSTISSAM Level III
- "Laboratory Test Standard for Tactical Mobile Equipment/Systems"
- An even more relaxed standard for devices operated in NATO Zone 2 environments, where attackers have to deal with the equivalent of 100 m of free-space attenuation (or equivalent attenuation through building materials).
Additional standards include:
- NATO SDIP-29 (formerly AMSG 719G)
- "Installation of Electrical Equipment for the Processing of Classified Information"
- This standard defines installation requirements, for example in respect to grounding and cable distances.
- AMSG 799B
- "NATO Zoning Procedures"
- Defines an attenuation measurement procedure, according to which individual rooms within a security perimeter can be classified into Zone 0, Zone 1, Zone 2, or Zone 3, which then determines what shielding test standard is required for equipment that processes secret data in these rooms.
The NSA and Department of Defense have declassified some TEMPEST elements after Freedom of Information Act requests, but the documents black out many key values and descriptions. The declassified version of the TEMPEST test standard is heavily redacted, with emanation limits and test procedures blacked out. A redacted version of the introductory Tempest handbook NACSIM 5000 was publicly released in December 2000. Additionally, the current NATO standard SDIP-27 (before 2006 known as AMSG 720B, AMSG 788A, and AMSG 784) is still classified.
Despite this, some declassified documents give information on the shielding required by TEMPEST standards. For example, Military Handbook 1195 includes the chart at the right, showing electromagnetic shielding requirements at different frequencies. A declassified NSA specification for shielded enclosures offers similar shielding values, requiring, "a minimum of 100 dB insertion loss from 1 KHz to 10 GHz." Since much of the current requirements are still classified, there are no publicly available correlations between this 100 dB shielding requirement and the newer zone-based shielding standards.
The information-security agencies of several NATO countries publish lists of accredited testing labs and of equipment that has passed these tests:
- In Canada: Canadian Industrial TEMPEST Program
- In Germany: BSI German Zoned Products List
- In the UK: UK CESG Directory of Infosec Assured Products, Section 12
- In the U.S.: NSA TEMPEST Certification Program
The United States Army also has a Tempest testing facility, as part of the U.S. Army Information Systems Engineering Command, at Fort Huachuca, Arizona. Similar lists and facilities exist in other NATO countries.
Tempest certification must apply to entire systems, not just to individual components, since connecting a single unshielded component (such as a cable or device) to an otherwise secure system could dramatically alter the system RF characteristics.
TEMPEST standards require "RED/BLACK separation", i.e., maintaining distance or installing shielding between circuits and equipment used to handle plaintext classified or sensitive information that is not encrypted (RED) and secured circuits and equipment (BLACK), the latter including those carrying encrypted signals. Manufacture of TEMPEST-approved equipment must be done under careful quality control to ensure that additional units are built exactly the same as the units that were tested. Changing even a single wire can invalidate the tests.
One aspect of Tempest testing that distinguishes it from limits on spurious emissions (e.g., FCC Part 15) is a requirement of absolute minimal correlation between radiated energy or detectable emissions and any plaintext data that are being processed.
In 1985, Wim van Eck published the first unclassified technical analysis of the security risks of emanations from computer monitors. This paper caused some consternation in the security community, which had previously believed that such monitoring was a highly sophisticated attack available only to governments; van Eck successfully eavesdropped on a real system, at a range of hundreds of metres, using just $15 worth of equipment plus a television set.
As a consequence of this research, such emanations are sometimes called "van Eck radiation", and the eavesdropping technique van Eck phreaking, although government researchers were already aware of the danger, as Bell Labs noted this vulnerability to secure teleprinter communications during World War II and was able to produce 75% of the plaintext being processed in a secure facility from a distance of 80 feet. (24 metres) Additionally the NSA published Tempest Fundamentals, NSA-82-89, NACSIM 5000, National Security Agency (Classified) on February 1, 1982. In addition, the van Eck technique was successfully demonstrated to non-TEMPEST personnel in Korea during the Korean War in the 1950s.
Markus Kuhn has discovered several low-cost techniques for reducing the chances that emanations from computer displays can be monitored remotely. With CRT displays and analog video cables, filtering out high-frequency components from fonts before rendering them on a computer screen will attenuate the energy at which text characters are broadcast. With modern flat panel displays, the high-speed digital serial interface (DVI) cables from the graphics controller are a main source of compromising emanations. Adding random noise to the least significant bits of pixel values may render the emanations from flat-panel displays unintelligible to eavesdroppers but is not a secure method. Since DVI uses a certain bit code scheme that tries to transport a balanced signal of 0 bits and 1 bits, there may not be much difference between two pixel colors that differ very much in their color or intensity. The emanations can differ drastically even if only the last bit of a pixel's color is changed. The signal received by the eavesdropper also depends on the frequency where the emanations are detected. The signal can be received on many frequencies at once and each frequency's signal differs in contrast and brightness related to a certain color on the screen. Usually, the technique of smothering the RED signal with noise is not effective unless the power of the noise is sufficient to drive the eavesdropper's receiver into saturation thus overwhelming the receiver input.
LED indicators on computer equipment can be a source of compromising optical emanations. One such technique involves the monitoring of the lights on a dial-up modem. Almost all modems flash an LED to show activity, and it is common for the flashes to be directly taken from the data line. As such, a fast optical system can easily see the changes in the flickers from the data being transmitted down the wire.
Recent research has shown it is possible to detect the radiation corresponding to a keypress event from not only wireless (radio) keyboards, but also from traditional wired keyboards, and even from laptop keyboards. From the 1970s onward, Soviet bugging of US Embassy IBM Selectric typewriters allowed the keypress-derived mechanical motion of bails, with attached magnets, to be detected by implanted magnetometers, and converted via hidden electronics to a digital radio frequency signal. Each eight character transmission provided Soviet access to sensitive documents, as they were being typed, at US facilities in Moscow and Leningrad.
In 2014, researchers introduced "AirHopper", a bifurcated attack pattern showing the feasibility of data exfiltration from an isolated computer to a nearby mobile phone, using FM frequency signals.
In 2015, "BitWhisper", a Covert Signaling Channel between Air-Gapped Computers using Thermal Manipulations was introduced. "BitWhisper" supports bidirectional communication and requires no additional dedicated peripheral hardware.
Later in 2015, researchers introduced GSMem, a method for exfiltrating data from air-gapped computers over cellular frequencies. The transmission - generated by a standard internal bus - renders the computer into a small cellular transmitter antenna.
In February 2018, research was published describing how low frequency magnetic fields can be used to escape sensitive data from Faraday-caged, air-gapped computers with malware code-named ’ODINI’ that can control the low frequency magnetic fields emitted from infected computers by regulating the load of CPU cores 
In popular culture
- In the television series Numb3rs, season 1 episode "Sacrifice", a wire connected to a high gain antenna was used to "read" from a computer monitor.
- In the television series Spooks, season 4 episode "The Sting", a failed attempt to read information from a computer that has no network link is described.
- In the novel Cryptonomicon by Neal Stephenson, characters use Van Eck phreaking to likewise read information from a computer monitor in a neighboring room.
- In the television series Agents of S.H.I.E.L.D., season 1 episode "Ragtag", an office is scanned for digital signatures in the UHF spectrum.
- In the video game Tom Clancy's Splinter Cell: Chaos Theory, part of the final mission involves spying on a meeting in a Tempest-hardened war room. Throughout the entire Splinter Cell series, a laser microphone is used as well.
- In the video game Rainbow Six: Siege, the operator Mute has experience in TEMPEST specifications. He designed a Signal Disrupter initially to ensure that hidden microphones in sensitive meetings would not transmit, and adapted them for combat, capable of disrupting remotely activated devices like breaching charges.
- In real life the BBC, supposedly, has a television van that can "read" various things like what channel and show you are watching in real time.
- Computer and network surveillance
- Computer security
- Side-channel attack
- Van Eck phreaking
- Product Delivery Order Requirements Package Checklist (PDF), US Air Force, archived from the original (PDF) on 2014-12-29
- TEMPEST Equipment Selection Process, NATO Information Assurance, 1981
- "How Old IsTEMPEST?". Cryptome.org. Retrieved 2015-05-31.
-  Archived December 23, 2013, at the Wayback Machine
- An Introduction to TEMPEST, Sans.org, retrieved 2015-05-31
- N.S.A., TEMPEST: A Signal Problem (PDF), archived from the original (PDF) on 2013-09-18, retrieved 2014-01-28
- Marquardt, P.; Verma, A.; Carter, H.; Traynor, P. (2011). "(sp)i Phone". Proceedings of the 18th ACM conference on Computer and communications security - CCS '11. p. 551. doi:10.1145/2046707.2046771. ISBN 9781450309486.
- "NACSIM 5000 Tempest Fundamentals". Cryptome.org. Retrieved 2015-05-31.
- A History of U.S. Communications Security; the David G. Boak Lectures, National Security Agency (NSA), Volumes I, 1973, Volumes II 1981, partially released 2008, additional portions declassified October 14, 2015
- "SST: TEMPEST Standards SDIP 27 Level A, Level B & AMSG 784, 720B, 788A". Sst.ws. Retrieved 2015-05-31.
- Specification nsa no. 94-106 national security agency specification for shielded enclosures, Cryptome.info, retrieved 2014-01-28
- N.S.A., NSTISSAM TEMPEST/2-95 RED/BLACK INSTALLATION, Cryptome.org, retrieved 2014-01-28
- "Canadian Industrial TEMPEST Program". CSE (Communications Security Establishment ). Retrieved 2017-07-27.
- "German Zoned Product List". BSI (German Federal Office for Information Security). Retrieved 2015-12-16.
-  Archived May 19, 2011, at the Wayback Machine
- "TEMPEST Certification Program - NSA/CSS". iad.gov. Retrieved 2017-07-27.
- "A History of U.S. Communications Security (Volumes I and II)"; David G. Boak Lectures" (PDF). National Security Agency. 1973. p. 90.
- Kuhn, Markus G. (December 2003). "Compromising emanations: eavesdropping risks of computer displays" (PDF). Technical Report. Cambridge, United Kingdom: University of Cambgride Computer Laboratory (577). ISSN 1476-2986. UCAM-CL-TR-577. Retrieved 2010-10-29.
- J. Loughry and D. A. Umphress. Information Leakage from Optical Emanations (.pdf file), ACM Transactions on Information and System Security, Vol. 5, No. 3, August 2002, pp. 262-289
- Vuagnoux, Martin; Pasini, Sylvain. "Compromising radiation emanations of wired keyboards". Lasecwww.epfl.ch.
- Maneki, Sharon (8 January 2007). "Learning from the Enemy: The GUNMAN project" (PDF). Center for Cryptologic History, National Security Agency. Retrieved 30 January 2019.
All of the implants were quite sophisticated. Each implant had a magnetometer that converted the mechanical energy of key strokes into local magnetic disturbances. The electronics package in the implant responded to these disturbances, categorized the underlying data, and transmitted the results to a nearby listening post. Data were transmitted via radio frequency. The implant was enabled by remote control.[...] the movement of the bails determined which character had been typed because each character had a unique binary movement corresponding to the bails. The magnetic energy picked up by the sensors in the bar was converted into a digital electrical signal. The signals were compressed into a four-bit frequency select word. The bug was able to store up to eight four-bit characters. When the buffer was full, a transmitter in the bar sent the information out to Soviet sensors.
- Guri, Mordechai; Kedma, Gabi; Kachlon, Assaf; Elovici, Yuval (November 2014). "AirHopper: Bridging the Air-Gap between Isolated Networks and Mobile Phones using Radio Frequencies". arXiv:1411.0237.
- Guri, Mordechai; Kedma, Gabi; Kachlon, Assaf; Elovici, Yuval (November 2014). "How to leak sensitive data from an isolated computer (air-gap) to a near by mobile phone - AirHopper". BGU Cyber Security Labs.
- Guri, Mordechai; Monitz, Matan; Mirski, Yisroel; Elovici, Yuval (April 2015). "BitWhisper: Covert Signaling Channel between Air-Gapped Computers using Thermal Manipulations". arXiv:1503.07919.
- Guri, Mordechai; Monitz, Matan; Mirski, Yisroel; Elovici, Yuval (March 2015). "BitWhisper: The Heat is on the Air-Gap". BGU Cyber Security Labs.
- Guri, Mordechai; Kachlon, Assaf; Hasson, Ofer; Kedma, Gabi; Mirsky, Yisroel; Elovici, Yuval (August 2015). "GSMem: Data Exfiltration from Air-Gapped Computers over GSM Frequencies". 24th USENIX Security Symposium (USENIX Security 15).
- Guri, Mordechai; Kachlon, Assaf; Hasson, Ofer; Kedma, Gabi; Mirsky, Yisroel; Monitz, Matan; Elovici, Yuval (July 2015). "GSMem Breaking The Air-Gap". Cyber Security Labs @ Ben Gurion University.
- Guri, Mordechai; Zadov, Boris; Daidakulov, Andrey; Elovici, Yuval (February 2018). "ODINI : Escaping Sensitive Data from Faraday-Caged, Air-Gapped Computers via Magnetic Fields" (PDF). Cornell University Library - Cryptography and Security.
- Kubuiak I., "TEMPEST font counteracting a non-invasive acquisition of text data", Turkish Journal of Electrical Engineering and Computer Sciences 26(1), DOI: 10.3906/elk-1704-263
This article's use of external links may not follow Wikipedia's policies or guidelines. (August 2012) (Learn how and when to remove this template message)
- NSA Tempest endorsement program
- The Complete, Unofficial Tempest Information Page (Original defunct. This is a mirror)
- The Origin of TEMPEST on Cipher Machines and Cryptology
- Electromagnetic Eavesdropping Risks of Flat-Panel Displays (.pdf file)
- Compromising emanations: eavesdropping risks of computer displays
- TEMPEST and QinetiQ: electronic eavesdropping counter-measures
- Soft Tempest: Hidden Data Transmission Using Electromagnetic Emanations (.pdf file)
- Publicly released version of NACSIM 5000
- NIST 800-59—NIST 800-59 - Guideline for Identifying an Information System as a National Security System. (.pdf file)
- Information Leakage from Optical Emanations—journal article in ACM Transactions on Information and System Security, Vol. 5, No. 3, pp. 262–289 (2002).
- A History of U.S. Communications Security (Volumes I and II); David G. Boak Lectures, National Security Agency, 1973 (partially redacted)