Skip to content

Steganography

Steganography is the practice of hiding a secret message inside an ordinary-looking file so that the very existence of the message stays concealed. That is the key distinction from encryption. Encryption scrambles content so it can’t be read, while steganography hides the fact that any message is present at all.

NIST’s glossary, quoting CNSSI 4009, defines it as the art, science, and practice of communicating in a way that hides the existence of the communication. The file that carries the hidden data is usually called the cover or carrier, and the result is sometimes called a stego file.

How does steganography work?

Digital media has lots of room for small changes nobody notices. The most common technique is least significant bit (LSB) substitution. Each pixel in a 24-bit color image stores red, green, and blue values from 0 to 255, and flipping the lowest bit of each changes the color by at most one step out of 256, far too little for the eye to see. Using one bit per color channel, a 1,000 by 1,000 pixel image can hold about 375 KB of hidden data.

Other carriers work the same way. Audio files hide bits in samples, video in frames, and documents in white space, fonts, or unused metadata fields. Network steganography tucks data into rarely checked protocol fields, such as IP header bits or the timing between packets, which overlaps with covert channel techniques. Senders often encrypt the message first and then hide it, so that even if a defender finds the payload, it still can’t be read.

What is the difference between steganography and encryption?

Encryption Steganography
— — —
Goal Keep content unreadable Keep the message’s existence secret
What an observer sees Obvious ciphertext An ordinary image, song, or document
Defeated when The key or algorithm is broken The hidden data is detected
Typical defensive tool Key management Steganalysis and anomaly detection

Digital watermarking uses the same embedding methods for a different purpose. A watermark marks ownership or tracks leaks, and it’s often meant to survive copying and compression. Hidden communication isn’t the goal, so watermarking is closer to DRM than to secret messaging.

What is an example of steganography?

Attackers use it at both ends of an intrusion. MITRE ATT&CK tracks it as technique T1027.003 for hiding payloads, and lists examples such as the Andariel group hiding malicious executables inside PNG files and the Invoke-PSImage tool embedding a PowerShell script in an image’s pixels. A separate technique, T1001.002, covers hiding command and control traffic.

On the way out, a hypothetical insider at a design firm could embed stolen CAD files inside holiday photos and upload them to a personal photo-sharing account. A content inspection rule looking for document types or keywords sees only JPEGs. Watch out for the assumption that data loss prevention alone will catch it. Defenders often need dedicated steganalysis, file size and entropy checks against expected baselines, and egress monitoring for unusual upload volumes to notice something is off.

How is steganography tested on the CISSP?

Steganography appears in the cryptography material of Domain 3: Security Architecture and Engineering. The 2024 outline doesn’t name it, so it maps most closely to objective 3.6 on cryptographic solutions, with links to data protection methods such as DRM and Data Loss Prevention in objective 2.6 and egress monitoring in objective 7.2. Candidates should be able to define it as data hiding rather than data scrambling, contrast it with encryption, and recognize its dual use in covert communication and malicious exfiltration.

Expect a definition trap. If a question describes a message that “cannot be read” by outsiders, the answer is encryption. If it describes communication whose existence is concealed, the answer is steganography. When a scenario asks how to reduce exfiltration risk, the strongest answers combine least privilege on the source data with egress monitoring, because detecting a well-made stego file is hard and preventing access to the data in the first place is cheaper.

See NIST’s glossary entry for steganography and the MITRE ATT&CK page for T1027.003 Steganography.

Related terms: Cryptography, Data Loss Prevention