covert timing channel
termKept in this browser · My desk
A covert channel in which the sender changes when events happen, such as the gaps between packets, and the receiver decodes the information by measuring them.
The Orange Book defined it as one process modulating its own use of system resources so that another sees a change in response time. On networks the simplest version sends a packet in an interval for 1 and stays silent for 0; JitterBug (2006) added tiny keystroke delays so that an interactive session's packet gaps carried the bits without compromising the computer.
What it is exactly. The Trusted Computer System Evaluation Criteria (TCSEC) of 1985 say that covert timing channels include all vehicles that would allow one process to signal information to another by modulating its own use of system resources so that the change in response time observed by the second process provides information. The glossary of the National Institute of Standards and Technology (NIST) keeps that wording, adapted from the Committee on National Security Systems Instruction (CNSSI) 4009-2022 and Request for Comments (RFC) 4949. The receiver needs no shared storage at all, only a clock and something it can observe: how long its own operation takes, when packets arrive, how fast a flow runs. That is why timing channels outlive the fixes that close storage channels, and why the Orange Book left them to its higher classes: B2 searched for storage channels only, B3 required the analysis of both kinds, and the text on systems beyond A1 expected covert timing channels to be more fully addressed in the future.
Its oldest forms. Butler Lampson's sixth leak of 1973 varied the ratio of computing to input and output, or the paging rate, so that another process saw the system slow down; he observed that coding lets information through even such a noisy effect, at a rate that may be very low. On networks, C. G. Girling proposed in 1987 that a sender transmit or stay silent in each time interval, and suggested lengthening the interval to fight noise at the cost of capacity. Serdar Cabuk, Carla Brodley and Clay Shields built a working Internet Protocol (IP) timing channel on that on/off principle and presented it at the Association for Computing Machinery's Conference on Computer and Communications Security (ACM CCS) in October 2004; Cabuk's 2006 Purdue thesis added time-replay channels, which record the inter-packet delays of legitimate traffic and replay them as symbols. In the 2015 survey by Steffen Wendzel, Sebastian Zander, Bernhard Fechner and Christian Herdin the timing family has four patterns: inter-arrival time, rate, protocol data unit (PDU) order and retransmission.
A worked example. JitterBug, by Gaurav Shah, Andres Molina and Matt Blaze of the University of Pennsylvania (USENIX Security Symposium, 2006), sits in a keyboard cable and needs no compromise of the computer. It encodes one bit per keystroke in the gap δ between key events, modulo a timing window w: a 0 when δ mod w is 0, a 1 when it is w/2. With w = 20 milliseconds, to send 0, 1, 0, 1, 1 over natural gaps of 123, 145, 333, 813 and 140 milliseconds it holds keys back so that the gaps become 140, 150, 340, 830 and 150, which read 0, 10, 0, 10 and 10 modulo 20. Interactive programs such as the Secure Shell (SSH) send each keystroke at once, so the bits ride on the timing of the encrypted session's packets and a passive receiver anywhere on the path decodes them. Across the PlanetLab research network the raw bit error rate with a 20-millisecond window was about 4.5% to a node in Singapore 236 milliseconds and 18 hops away, and the authors found 20 milliseconds of added lag unnoticeable to the typist.
Detection. Steven Gianvecchio and Haining Wang (ACM CCS 2007) sort detectors into shape tests, which compare the distribution of delays with a reference (the Kolmogorov-Smirnov test measures the largest distance between the two), and regularity tests, which notice that covert flows vary less over time than human traffic: Cabuk's test takes the standard deviation of the delays in successive windows and then the spread of their pairwise relative differences, and his ε-similarity counts delays that cluster at multiples of the interval. Their own entropy measures catch abnormal shape with the entropy of the delay distribution and abnormal regularity with corrected conditional entropy, an estimate of entropy rate designed for small samples. The limits are on record: Cabuk's regularity measures failed once noise exceeded about 10%, replayed delays defeat distribution analysis under certain assumptions, and JitterBug's authors rotated the window by a shared pseudo-random sequence precisely so that the inter-arrival times stop clustering.
Countermeasures. One family takes away the receiver's clock. Wei-Ming Hu's fuzzy time of 1991 randomized the relation between real and virtual time at a cost of about 5 to 6% of performance on a VAX; after Spectre, whose attacks carry data out of speculative execution through cache-timing covert channels such as Flush+Reload, major browsers degraded the resolution of the JavaScript timer and disabled SharedArrayBuffers, which can serve as a timer, although the Spectre authors call the protection unclear because noise only reduces the rate. The other family takes away the sender's modulation: pad links to fixed rates or insert dummy packets, which Sebastian Zander, Grenville Armitage and Philip Branch's 2007 survey calls costly and imperfect. NIST's control SC-31 asks for covert channel analysis, lets an organization reduce the maximum bandwidth of timing channels to values it defines, and notes that eliminating them completely is usually not possible without significant performance impact.
Neighbours. Its partner is the covert storage channel; beaconing, the regular call home of malware, is a timing pattern defenders hunt rather than a channel; a timing side channel, such as a cache-timing attack on cryptographic code, leaks without a willing sender; jitter is the noise every network timing channel has to survive.
Also known as: timing channel, covert timing channels, canal encoberto de temporização, canal de temporização
Sources
- Department of Defense, TCSEC, 26 December 1985 (read 2026-11-23): covert timing channels allow one process to signal to another by modulating its own use of system resources so that the change in response time observed by the second conveys information; B3 requires analysis of both kinds
- NCSC-TG-030, November 1993 (read 2026-11-23): Hu's fuzzy time randomizes the relation between real and virtual time, about 5 to 6% performance cost on a VAX; noise and delay as bandwidth limitation
- Serdar Cabuk, Network Covert Channels: Design, Analysis, Detection, and Elimination, Purdue University, CERIAS TR 2006-53 (read 2026-11-23): on/off IP timing channels, regularity-based detection failing above about 10% noise, time-replay channels
- Steven Gianvecchio and Haining Wang, Detecting Covert Timing Channels: An Entropy-Based Approach, ACM CCS 2007 (read 2026-11-23): active and passive channels, JitterBug, shape and regularity tests, entropy and corrected conditional entropy
- NIST Computer Security Resource Center, glossary, covert timing channel (read 2026-11-23): a system feature that enables one system entity to signal information to another by modulating its own use of a system resource so as to affect system response time observed by the second entity; CNSSI 4009-2022 from RFC 4949, adapted in NIST SP 800-53 Rev. 5
- Butler W. Lampson, A Note on the Confinement Problem, Communications of the ACM 16(10), October 1973, republished text (read 2026-11-23): Xerox Palo Alto Research Center; the leaks numbered 0 to 6; file interlocks as a shared bit and system load, examples credited to A. G. Fraser of Bell Laboratories; masking, enforcement and bounded capacity
- Gaurav Shah, Andres Molina and Matt Blaze, Keyboards and Covert Channels, 15th USENIX Security Symposium, 2006 (read 2026-11-23): JitterBug, a keyboard interception device that leaks typed secrets through inter-keystroke timing in interactive sessions such as SSH and Telnet without compromising the host; one bit per keystroke, delta mod w equal to 0 or w/2; with w = 20 ms a raw bit error rate of about 4.5% to Singapore at 236 ms and 18 hops; 20 ms unnoticeable; rotating windows as a countermeasure to detection
- Paul Kocher, Jann Horn, Anders Fogh and others, Spectre Attacks: Exploiting Speculative Execution, paper copy at spectreattack.com (read 2026-11-23): attacks combine speculative execution with data exfiltration via microarchitectural covert channels, Flush+Reload and Evict+Reload; CVE-2017-5753 and CVE-2017-5715; browsers degraded the JavaScript timer and disabled SharedArrayBuffers; current processors lack the mechanisms required for complete covert channel elimination
- NIST SP 800-53 Revision 5, September 2020 (read 2026-11-23): SC-31 covert channel analysis; enhancement (2) reduces the maximum bandwidth of storage or timing channels to organization-defined values; the complete elimination of covert channels, especially timing channels, is usually not possible without significant performance impacts
- Sebastian Zander, Grenville Armitage and Philip Branch, A Survey of Covert Channels and Countermeasures in Computer Network Protocols, IEEE Communications Surveys and Tutorials 9(3), 2007, faculty copy (read 2026-11-23): Girling's LAN channels of 1987 (addresses, frame lengths, on/off timing) and his countermeasures; Padlipsky and Wolf; normalization moves for reserved bits, unused fields, IP identification, ISN, TTL and timestamps; link padding costly and imperfect
- Steffen Wendzel, Sebastian Zander, Bernhard Fechner and Christian Herdin, Pattern-Based Survey and Categorization of Network Covert Channel Techniques, ACM Computing Surveys 47(3), 2015, arXiv:1406.2901 (read 2026-11-23): 11 patterns, P1 to P7 storage and P8 to P11 timing (inter-arrival time, rate, PDU order, re-transmission); 76 of 109 techniques in four patterns