covert channel

term

securitynetworking

Kept in this browser · My desk

A path that carries information although it was never meant to carry any, such as a header field, the timing of packets or the load on a shared computer; the network relative of steganography.

Butler Lampson named the problem in 1973 while asking how to confine a program so that it cannot leak its caller's data. The Orange Book of 1985 split covert channels into storage channels, where one process writes what another reads, and timing channels, where one process changes when things happen and another measures it, and required their analysis in its higher classes. NIST keeps the requirement as control SC-31 today.

What it is exactly. The Trusted Computer System Evaluation Criteria (TCSEC) of the United States Department of Defense, the Orange Book of 26 December 1985, define a covert channel as any communication channel that a process can exploit to transfer information in a manner that violates the system's security policy. The glossary of the National Institute of Standards and Technology (NIST) now carries the wording of the Committee on National Security Systems Instruction (CNSSI) 4009-2022, taken from Request for Comments (RFC) 4949: an unintended or unauthorized intra-system channel that enables two cooperating entities to transfer information in violation of the security policy without exceeding their access authorizations. Two words in it decide most cases. Cooperating: a sender and a receiver both want the message to pass, which separates a covert channel from a side channel, where a victim leaks without meaning to. Authorizations: neither party breaks a permission, which is why access control alone never closes one.

Where the idea came from. Butler Lampson of the Xerox Palo Alto Research Center posed the confinement problem in Communications of the ACM (Association for Computing Machinery) in October 1973: how to stop a borrowed service program from passing its customer's data back to its owner. He listed the leaks, numbered 0 to 6, from remembering the data for the next call to writing a file, using a file lock as a shared bit and varying the system's load; he credited the last two examples to A. G. Fraser of Bell Laboratories. In his vocabulary only channels not intended for information transfer at all, such as load, were covert. The Orange Book later used the word for every policy-violating channel and split it into storage channels, where one process writes and another reads, and timing channels, where one process modulates when things happen and another measures it. Lampson's remedies were masking, where the caller fixes every input the service may make into its channels, enforcement, where the supervisor makes the program conform even at the cost of slowing it down, and, where enforcement costs too much, a bound on capacity with some leakage accepted.

How fast is dangerous. Section 8 of the TCSEC called 100 bits per second high, because that was roughly the speed at which many terminals ran, found channels under 1 bit per second acceptable in most environments, and asked that the use of any channel that may exceed one bit in ten seconds be auditable. Class B2 required a thorough search for covert storage channels and the maximum bandwidth of each, by measurement or engineering estimate; B3 extended the analysis to timing channels and A1 required formal methods. The National Computer Security Center (NCSC) guide NCSC-TG-030 of November 1993, written mainly by Virgil Gligor with Jonathan Millen, taught the method: Richard Kemmerer's shared resource matrix to find channels; the Tsai and Gligor formula B(0) = b × (Tr + Ts + 2Tcs)⁻¹ to bound their bandwidth, which gives 47.28 bits per second for its worked inode-table example; and elimination, bandwidth limitation by noise or delay, or audit to handle them. NIST Special Publication (SP) 800-53 Revision 5 (September 2020) keeps the requirement as control SC-31: identify the avenues for covert storage or timing channels and estimate their maximum bandwidth, with enhancements that test a subset for exploitability, reduce the maximum bandwidth to organization-defined values and measure it in the operational environment.

What the network adds. C. G. Girling's local area network (LAN) channels of 1987 encoded data in the choice of destination addresses, in frame lengths and in whether a frame was sent in a time slot. Craig Rowland's covert_tcp (First Monday, 1997) put one character per packet in the Internet Protocol (IP) identification field, the Transmission Control Protocol (TCP) initial sequence number or a bounced acknowledgement: at one packet per second, 8 bits per second, eight times the Orange Book's acceptable rate. A survey of 109 network techniques published between 1987 and 2013, by Steffen Wendzel, Sebastian Zander, Bernhard Fechner and Christian Herdin, found that they reduce to 11 hiding patterns, seven of storage (P1 to P7) and four of timing (P8 to P11), and that four patterns account for 76 of them, 69.7%: reserved or unused fields (24), added redundancy (21), value modulation (21) and random-looking values (10). Tunnels move whole protocols: iodine, a Domain Name System (DNS) tunnel, measured 43.6 to 74.2 kilobits per second upstream through ordinary resolvers, hundreds of times the rate the Orange Book called high.

What stops them, and what does not. Lampson's answers still apply: eliminate the shared resource, limit the bandwidth with noise or delay, or audit its use. On networks, normalizers rewrite the fields that carry storage channels, but Mark Handley, Vern Paxson and Christian Kreibich, who proposed the normalizer in 2001, noted that little can be done if both ends of a connection are compromised, and no rewriting removes a channel in content the protocol must deliver, such as the names in DNS queries. NIST's discussion of SC-31 adds that complete elimination, especially of timing channels, is usually not possible without significant performance impact. The idea has also moved into processors: the Spectre attacks use cache-based covert channels, Flush+Reload and Evict+Reload, to carry data out of speculative execution, and their authors note that current processors lack the mechanisms required to eliminate covert channels completely.

In Brazil. Ivo de Carvalho Peixinho of the Centro de Atendimento a Incidentes de Segurança (CAIS) of the Rede Nacional de Ensino e Pesquisa (RNP) presented header channels, tunnels in the Internet Control Message Protocol (ICMP) and in DNS, and the defences against them at the eighth meeting of the Grupo de Trabalho em Segurança de Redes (GTS-8) in December 2006. A detector for backdoors and "canais dissimulados" was presented at the 2005 Simpósio Brasileiro de Segurança da Informação e de Sistemas Computacionais (SBSeg) by Carlos Chaves of the Instituto Nacional de Pesquisas Espaciais (INPE) and Antonio Montes of the Centro de Pesquisas Renato Archer (CenPRA), and a 2013 master's dissertation at COPPE, the engineering graduate school of the Universidade Federal do Rio de Janeiro (UFRJ), proposed a channel built from the paths of web resources. The Portuguese term still wavers between canal encoberto and canal dissimulado.

Neighbours. The covert storage channel and the covert timing channel are its two kinds; steganography hides a message in content, a covert channel in the behaviour of a protocol or a system; a subliminal channel hides one inside cryptographic values; a side channel leaks without a willing sender; DNS and ICMP tunnelling carry an entire protocol; and in an intrusion the channel serves exfiltration or command and control.

Also known as: covert channels, canal encoberto, canais encobertos, canal dissimulado

Sources

← Back to C Back to the glossary