Covert Channels: How Programs Find Hidden Ways to Talk
Two programs that aren't allowed to exchange messages may still find a way to communicate. A covert channel carries information through an unintended route, such as changes in shared storage or the time another program takes to respond.
The crucial point is permission: the information crosses a boundary it wasn't supposed to cross. NIST, the National Institute of Standards and Technology, describes a covert channel as communication that violates the system's rules for information flow.
Those rules specify who or what may exchange particular information. A channel can break them even when each program is individually allowed to use the resource that carries the signal.
A shared resource becomes a messenger
Suppose two programs may use a shared resource but aren't allowed to pass confidential information between them. One program deliberately changes something the other can observe, and both agree on what the changes mean.
The sender might use one observable state to mean 1 and another to mean 0. A sequence of these binary digits, or bits, can represent a message.
This simplified example needs both a sender able to influence the resource and a receiver able to observe it. Merely sharing a computer doesn't prove that such a channel exists or is usable.
Storage channels leave a readable change
In a covert storage channel, one program changes stored information or state, and another reads the result. The storage needn't look like a normal message inbox.
For example, a sender could change whether a shared marker exists, while a receiver checks its presence. If they're using that signal to carry forbidden information, the marker has become a communication path its designers didn't intend.
How Do You Hack a Computer With No Network?
Timing channels make delay carry meaning
A covert timing channel uses differences in response time. One program changes how heavily it uses a shared resource, affecting how quickly another program can get work done.
The cooperating receiver measures those differences and interprets the agreed pattern. In a simplified example, longer waits and shorter waits could represent different bits.
Ordinary activity can interfere with the timing, making the signal slower or less reliable. A sluggish application, by itself, is no evidence that someone is sending secret messages.
- Stop a stranger from plugging a drive into a computer you leave unattended.
- Lock ten ports at once, and open them again with the included key.
- Keep dust out of the ports you rarely use.
Hidden, encrypted, and leaked aren't interchangeable
Encryption conceals a message's contents using a mathematical process and a digital key. An approved encrypted connection isn't automatically a covert channel: the communication itself may be entirely authorized.
Steganography conceals the existence of a message, often by embedding information inside other data. It can provide a covert path when used to bypass information-sharing rules, but hidden content isn't necessarily malicious.
Files also contain metadata, meaning information about the file, such as dates or descriptions. Ordinary metadata isn't a covert channel simply because most readers don't look at it.
A side-channel attack infers secrets from observable effects, such as timing or power use. Unlike the cooperating programs in our covert-channel example, the system leaking those clues doesn't have to be deliberately sending the attacker a message.
Look for paths, then test their limits
Defenders need to identify which resources cross a protected boundary and whether their observable changes could carry information. Reducing unnecessary sharing can remove opportunities, while restrictions on outgoing communication can limit some network paths.
NIST's covert channel analysis guidance calls for identifying potential channels and estimating their bandwidth: how much information they could carry per unit of time. Its related controls include testing whether a channel is usable and measuring it under real operating conditions.
Eliminating every timing channel may impose a large performance cost. Slowing a channel can reduce its usefulness, though a small amount of sensitive information may still matter.
The practical question is which forbidden information could cross a particular boundary, through which shared feature, and at what rate. Calling a channel “covert” doesn't make it invisible or guarantee that it will work.
Steganography: How an Ordinary File Can Carry a Hidden Message

Emanations Analysis: What a Device's Stray Signals Can Reveal

Data Exfiltration: How Information Leaves Without Disappearing

QUOTE:
"Amateurs hack systems, professionals hack people."
