Sem 7

Steganography and Watermarking

Deck Security in Multimedia Applications (Module 3, 103 slides). Steganography building blocks and embedding principles, Cachin's security, statistics-preserving (OutGuess) and model-based steganography, steganalysis (wardens, blind and targeted), then digital watermarking: properties, evaluation, communication models and robust embedding.

SteganographySearch on YouTube

Steganography is the practice of concealing information inside another medium (text, image, audio or video) in a way that hides its existence.

  • A common example hides a message in the pixels of an image or in the audio of a file, with no noticeable change.
  • It is used in cybersecurity to transmit sensitive data covertly or to evade detection.

Examples: a hidden message in an image, an audio file with concealed text, data embedded in a video, and text steganography.

Key principle: statistical undetectability. The stego file must not differ statistically from a normal file.

Steganography versus watermarking (first look)Search on YouTube

Both embed information in digital media, but for different purposes.

  • Steganography conceals the existence of information.
  • Watermarking embeds identifiable information (a logo, serial number or copyright notice) to show ownership or authenticity.

The full comparison is in the watermarking section.

How it startedSearch on YouTube

EraMethod
Ancient GreeceHistiaeus shaved a slave's head, tattooed the message on the scalp and waited for the hair to grow back
Ancient RomePliny the Elder described invisible ink from milk or lemon juice; heating the paper revealed the message
Ancient timesWax tablets: the message was written on the wood underneath, then covered with wax. The tablet looked blank until the wax was scraped off

Building blocks of steganographySearch on YouTube

  1. The choice of cover work
  2. The embedding and extracting algorithms
    • Symbol assignment function
    • Embedding modification
    • Selection rule
  3. Stego key management

Cover workSearch on YouTube

The cover work is the medium that hides the secret: an image, audio file, video or text. It must look natural after embedding so nobody suspects anything. A complex image hides data better than a plain one.

Embedding and extracting algorithmsSearch on YouTube

These are the steps that hide (embed) the data in the cover and later retrieve (extract) it.

  • Symbol assignment function: decides how the secret is broken into small units (symbols or bits) and assigns them to parts of the cover.
  • Embedding modification: changes the cover to include the hidden data, with slight, usually imperceptible changes.
  • Selection rule: decides which parts of the cover are changed.

Three embedding principlesSearch on YouTube

PrincipleCover pre-exists?Embedder modifies cover?How it works
Cover lookupYesNoAlice picks one song out of many, using a key shared with Bob and a specific hash, so the choice itself carries a few bits. Impractical for large data: too many songs are needed and that raises suspicion.
Cover synthesisNo, generated from the messageNoAlice creates a new cover that mimics natural patterns (for example with SpamMimic, which turns a message into spam-like text). The aim is to blend in and pass statistical analysis.
Cover modificationYesYesThe most common method. An existing file is altered to carry the secret.

Data masking is a further approach. It modifies the cover's statistical properties so the hidden message looks like a typical signal (a song or an image), avoiding anomaly-checking tools.

Selection rule in cover modificationSearch on YouTube

Modifications must be as subtle as possible. Where the data goes matters:

  • Sequential: in order, pixel by pixel.
  • Pseudo-random: at random locations chosen with a key.
  • Adaptive: locations chosen by file properties, such as noisy image areas.

Stego key managementSearch on YouTube

A stego key is like a password that controls embedding and extraction. It is needed to access the hidden information.

Tools to explore: OpenStego, SpamMimic (https://www.spammimic.com/index.cgi), Steghide.

L S M for embedding principles: Lookup (choose), Synthesis (create), Modification (change). Only M touches an existing cover.

LSB embeddingSearch on YouTube

LSB embedding replaces the least significant bit of each selected pixel with one message bit. Each pixel value changes by at most 1, which the eye cannot see.

Embed the bits 1, 0, 1 into three pixels (150, 201, 88).

Step 1. Write the pixels in binary. 150=100101102150 = 10010110_2, 201=110010012201 = 11001001_2, 88=01011000288 = 01011000_2.

Step 2. Replace each LSB with a message bit. 100101112=1511001011\mathbf{1}_2 = 151, 110010002=2001100100\mathbf{0}_2 = 200, 010110012=890101100\mathbf{1}_2 = 89.

Step 3. Check the change. 150→151150 \to 151, 201→200201 \to 200, 88→8988 \to 89. Every pixel moved by 1 grey level out of 256.

Step 4. Extract. The receiver reads the LSBs: 151 mod 2=1151 \bmod 2 = 1, 200 mod 2=0200 \bmod 2 = 0, 89 mod 2=189 \bmod 2 = 1. Message 1, 0, 1.

Step 5. Capacity. At 1 bit per pixel, a 512×512512 \times 512 grayscale cover holds 262,144262{,}144 bits =32,768= 32{,}768 bytes (32 KB).

Cachin's definition of steganographic securitySearch on YouTube

Challenge: hiding is not enough. If a spy or investigator spots the pattern or the hidden message, the whole idea fails.

According to Cachin, the hidden message is truly secure if nobody can detect its presence, even with advanced tools or statistical analysis.

TermMeaning
Space of works, CCAll possible cover objects that can hide messages: images, audio files, text files
Distribution of works, PCP_CThe statistical distribution over the cover space: how often values or patterns occur in a cover
Statistical detectabilityA stego system is secure if the stego objects have exactly the same distribution as normal covers, so PCP_C is unchanged

Secure if the stego distribution PSP_S equals the cover distribution PCP_C:

PS=PCP_S = P_C

Cachin's paper measures the gap with relative entropy D(PC∥PS)D(P_C \Vert P_S). A value of 0 means perfectly secure.

Practical steganographic methodsSearch on YouTube

  1. Statistics-preserving steganography
  2. Model-based steganography
  3. Masking embedding as natural processing

Statistics-preserving steganographySearch on YouTube

Embedding changes statistics, and analysts run tools on patterns, distributions and frequency counts to find tampering. Statistics-preserving methods keep the cover's statistical properties (for example the histogram) the same after embedding.

OutGuess

OutGuess embeds secret messages in JPEG images. Its main advantage is that it preserves the image statistics, so common steganalysis cannot detect it. It works in two phases.

Step 1: selection of redundant bits (embedding)Step 2: adjusting for statistical consistency
Decompress the cover into its DCT coefficientsAfter embedding, analyse the DCT coefficient distribution of the stego image
Find redundant or less significant coefficients that can change without visible distortionIf the histogram is disturbed, adjust the remaining (unmodified) coefficients
Embed message bits in the LSBs of the selected DCT coefficientsGoal: restore the histogram to match the original, so tools cannot tell cover from stego
Leave some coefficients unmodified on purpose for later correctionThis is a "clean-up" step for statistical invisibility
Focus: embed with minimal perceptual impact

Limitations of OutGuess:

  • Over-embedding risk: a large message makes perfect statistical consistency hard, so detection gets easier.
  • File size constraints: works best on large, noisy images (landscapes). It can fail on small or uniform images where changes show.

OutGuess versus Steghide (slide table)

ParameterOutGuessSteghide
Embedding processModifies the DCT coefficientsLSB substitution in both images and audio files
File type supportJPEG imagesJPEG, BMP, WAV and AU files
Security modelStatistical camouflageEncryption and compression
Detection resistanceBetter protected against statistical steganalysisCan be detected if an analyst runs LSB steganalysis
Choice of usageWhen statistical tests must not detect it, for example JPEG where avoiding detection is crucialWhen you want encryption and multiple file types (audio, non-JPEG images); more flexible and practical

Write the slide table in the exam. The lab found more detail: Steghide does not do plain LSB replacement. It uses graph-theoretic value swapping, so the histogram stays the same and the chi-square test missed it. Steghide encrypts with Rijndael (AES); OutGuess uses RC4.

Model-based steganographySearch on YouTube

Statistics-preserving methods keep specific metrics (such as histograms). Model-based steganography keeps the conceptual model of the cover intact.

  • Split the cover into an invariant part CinvC_{inv} and an embedding part CembC_{emb}.
  • Keep the features of CinvC_{inv} (histograms, patterns) unchanged; modify only CembC_{emb}.
  • Key principle: embed so that the modified data still fits the same probabilistic model as the original.
  • The designer chooses a cover model expressed as conditional probabilities P(cemb∣cinv)P(c_{emb} \mid c_{inv}).
  • These probabilities are computed from the invariant part, so sender and receiver hold the same information.

A probabilistic model of an image describes how likely pixel values or features are. It predicts the expected colours, brightness or frequencies from the pixel distribution.

AnalogyModel
8 x 8 black-and-white checkerboard50% black (0), 50% white (1)
Forest photoAbout 70% green, 20% brown, 10% other colours (blue sky, red flowers are outliers)
JPEG imageHigh probability for low-frequency components, low probability for high-frequency ones

When embedding, keep the same probability structure, for example by changing low-frequency components only slightly.

Masking embedding as natural processingSearch on YouTube

The third method makes the embedding changes look like normal processing of the cover (the deck lists it by name only).

SteganalysisSearch on YouTube

Steganalysis detects hidden messages. The classic scenario has Alice (sender), Bob (receiver) and a Warden in between.

Types of wardensSearch on YouTube

WardenPowerAction
PassiveIntercepts and checks for hidden informationPasses the message on unchanged if nothing is found; otherwise drops the whole message
ActiveMore privileges: can modify the message before passing it to BobEven without finding a hidden message, the alteration damages any hidden information
MaliciousMost powerfulDetects the message and can impersonate Alice or Bob. Must know the specific algorithm Alice and Bob use

End Sem 2025 asked how a security agency would act as each warden type against social-media images. Passive: scan and block suspicious images. Active: re-compress, resize or lightly filter every image so any payload breaks. Malicious: identify the algorithm, extract the message and send forged replies.

Detection as classificationSearch on YouTube

Every steganalysis model classifies the input as cover or stego. The difficulty is the warden's knowledge.

  • Passive wardens know little or nothing about the stego process. They need an algorithm that detects all sorts of steganography: blind steganalysis.
  • Malicious wardens know more, including the algorithm. They can use targeted steganalysis.

A classifier makes decisions from parameters. In steganalysis it classifies a file by its characteristics, called features.

  • Challenge: the exact distributions of cover and stego works are unknown. So use features: specific parts of the data that give clues.
  • Feature selection is crucial. Good features separate cover from stego with fewer errors.
  • Classification accuracy: ideally covers and stegos form separate groups in feature space. No overlap means perfect classification. In practice they overlap, which causes errors. Choose features that group covers tightly and keep stegos far away.

A feature is a measurable property of a file that helps separate stego works from cover works. Examples: histogram of pixel intensity, texture patterns, Fourier transform features.

Guidelines for choosing features (trial and error):

  • Capture subtle changes.
  • Avoid features that change naturally.
  • Use feature dimensionality (multiple features).

Targeted steganalysisSearch on YouTube

In targeted steganalysis you know how the message was embedded and which algorithm was used. So you focus on features that the algorithm is most likely to disturb.

Example: LSB embedding. Changing LSBs causes no visible difference, but it adds noise. That noise increases the absolute difference between neighbouring pixels. So the classifier uses the sum of absolute differences between neighbours as its feature.

Sum of absolute differences before and after LSB embedding. A smooth row of pixels: 100, 101, 101, 102, 102, 103. Embed bits 1, 0, 0, 1, 0, 0.

Step 1. Cover SAD. ∣101−100∣+∣101−101∣+∣102−101∣+∣102−102∣+∣103−102∣=1+0+1+0+1=3|101-100| + |101-101| + |102-101| + |102-102| + |103-102| = 1+0+1+0+1 = 3.

Step 2. Embed. Set each LSB to the message bit: 100→101, 101→100, 101→100, 102→103, 102→102, 103→102. Stego row: 101, 100, 100, 103, 102, 102.

Step 3. Stego SAD. 1+0+3+1+0=51 + 0 + 3 + 1 + 0 = 5.

Step 4. Decide. The SAD rose from 3 to 5 in a smooth region. Natural smooth areas keep small neighbour differences, so a large rise across the image flags LSB embedding.

Blind steganalysisSearch on YouTube

Blind steganalysis must detect the hidden message without knowing the algorithm. This is harder.

Is there one feature that detects every stego method? No. A perfect feature set does not exist. If it did, steganographers would design new algorithms to bypass it.

How to train the classifier:

Training methodHowDrawback or note
Multiple known algorithmsTrain on stego images made by many known algorithmsIf Alice and Bob use an algorithm Eve did not train on, detection can fail
One-class learningTrain only on cover images. The classifier learns what a normal image looks like; anything that deviates strongly is flagged as stegoNeeds no stego samples

Universal blind steganalysis: blind classifiers designed to detect steganography in any domain (spatial or JPEG) are universal classifiers. Features: noise patterns, pixel correlation, transform-domain features.

Blind or targeted? If the algorithm is unknown (the usual social-media case), use blind or universal steganalysis. If you know or suspect the tool (for example LSB or OutGuess), targeted steganalysis is more accurate.

WatermarkingSearch on YouTube

Watermarking: embedding information in a host signal (image, video, audio) so that it is imperceptible but detectable or extractable.

Purpose: protect intellectual property, enforce copyright and prove ownership.

Steganography versus watermarkingSearch on YouTube

AspectSteganographyWatermarking
GoalConceal the existence of a messageShow ownership or authenticity
What mattersThe hidden message; the carrier is secondaryThe cover work; the embedded message gives extra information about it
Relation of data to coverHides unrelated dataEmbeds related data
ExampleHerodotus' slave with a message tattooed on the scalp under the hairLogo, serial number or copyright notice in a photo or film
Key requirementStatistical undetectabilityRobustness, fidelity
If foundFailure (the secret is exposed)Often fine, as long as it cannot be removed

Verdict: the goals differ, but many techniques are similar or identical.

Importance of digital watermarkingSearch on YouTube

Concern over copyright in the digital age drives interest in watermarking.

  • The internet as a distribution platform: owners face high risk from easy unauthorized distribution.
  • High-capacity digital recording devices: near-perfect copies with little or no quality loss make it easy for pirates to spread high-quality illegal copies.

Why not cryptography?Search on YouTube

  • First line of defence: encryption makes sure only buyers with the right key can access the content.
  • Limitation: cryptography protects content only in transit. Once decrypted, nothing stops illegal distribution.

Need for watermarkingSearch on YouTube

  • Complement to cryptography: protection continues after decryption.
  • Robustness: watermarks survive decryption, re-encryption, compression, digital-to-analog conversion and format changes.
  • Potential solution: the watermark sits in the content and is never removed during normal use, so protection is long-term.

ApplicationsSearch on YouTube

Copy prevention, copyright protection, broadcast monitoring, transaction tracking, owner identification, proof of ownership, content authentication.

C C B T O P A: "Cops Catch Bad Thieves, Owners Prove Authorship": Copy prevention, Copyright protection, Broadcast monitoring, Transaction tracking, Owner identification, Proof of ownership, content Authentication.

Properties of watermarking systemsSearch on YouTube

The weight of each property depends on the application and the watermark's role.

Embedding propertiesSearch on YouTube

  • Effectiveness: the watermark serves its purpose (copyright protection, authentication).
  • Fidelity: the watermark does not noticeably degrade the content; it is imperceptible.
  • Payload: the amount of information the watermark carries. Higher payload can hurt fidelity and robustness.

Detection propertiesSearch on YouTube

  • Blind detection: detect without the original, unwatermarked content.
  • Informed detection: needs the original content to verify the watermark.
  • False positive behaviour: minimize detecting a watermark where none exists.
  • Robustness: survive compression, format conversion and digital-to-analog conversion.

Other propertiesSearch on YouTube

  • Modifiability and multiple watermarks: the ability to change the encoded information, by altering the watermark or by using several watermarks.
  • Costs: embedding cost (time, computation, complexity to embed) and detection cost (resources to detect or extract; matters for real-time or large-scale use).
  • Security: resistance to hostile attacks, meaning any process meant to defeat the watermark's purpose. Three kinds: unauthorized removal, unauthorized embedding and unauthorized detection.

Against the three hostile attacks:

  • Unauthorized detection: use a secret watermark key, so outsiders cannot detect or read the mark.
  • Unauthorized embedding: tie the mark to the content and the key, so it cannot be copied into other works.
  • Unauthorized removal: use redundant, spread-spectrum embedding in robust coefficients, so removing the mark destroys the content.

Evaluation of watermarking systemsSearch on YouTube

Systems are evaluated to judge fit for an application or to show algorithmic improvement. Key criteria: application suitability and performance metrics (robustness, security, fidelity).

The notion of "best"Search on YouTube

First define what makes one system better than another. "Best" depends on the application.

  • Application-specific criteria: in a video watermark for copy control, robustness against small rotations may be critical, because rotations are used as attacks. That makes it the optimal choice for broadcast monitoring.
  • Flexibility with new systems: an improvement in a single property (robustness, payload or fidelity) can make a new system valuable where that property matters.

Trade-offs between propertiesSearch on YouTube

ChangeGainCost
Payload 20 bits → 30 bits (robustness, fidelity, false positives unchanged)Better for high-payload applicationsMore payload can raise the false positive probability (more noise and interference)
Increase robustnessResists attacks and distortionFidelity can drop; the mark becomes visible
Lower the detection thresholdDetects weak watermarks; more robustHigher false positive probability
Increase embedding strengthMore robustMore noticeable; quality degrades

Conclusion: the best system depends on the application. Evaluation needs a careful understanding of trade-offs between robustness, payload, fidelity and false positives.

BenchmarkingSearch on YouTube

Benchmarking evaluates and compares watermarking systems: do they meet application needs, or show algorithmic improvement?

  • Application-specific testing: each criterion is defined by minimum requirements. Example: the Copy Protection Technical Working Group (CPTWG) tested watermarks for DVD copy control.
  • Universal benchmark: a scalar score to compare systems. In an image benchmark, systems must embed a specific payload (for example 80 bits) at a set fidelity.
  • Limitations of universal benchmarks: not suitable for all systems (priorities such as robustness and false positive rate differ); application-specific security is not fully evaluated; no single benchmark is universally relevant.
  • Conclusion: tailor benchmarking to the application or the improvement being studied.

Models of watermarkingSearch on YouTube

Watermarking as a communication problemSearch on YouTube

Communication blockWatermarking meaning
Message mmThe watermark data to embed
Channel encoderTransforms the message into a form that can be embedded in the content
ChannelThe digital content itself, such as an image
Noise nnEditing, compression or other processing that can affect the watermark
Channel decoderExtracts the watermark mnm_n from the altered content
Encoder (key)++Detector (key)mw_ac_wc_wnm_ncover c_onoise n

There are three communication-based models. Each treats the original content differently.

  1. Basic model
  2. Watermarking with side information
  3. Watermarking as multiplexed communications

Basic modelSearch on YouTube

The original content coc_o is treated as noise that interferes with the watermark. The encoder turns message mm into an added pattern waw_a using the watermark key. The watermarked work is cw=co+wac_w = c_o + w_a. Channel noise nn gives cwnc_{wn}. The detector, with the same key, outputs mnm_n.

The deck's example uses E_BLIND: a reference pattern wrw_r is added to the original image to give the watermarked image.

cw=co+wa,cwn=cw+nc_w = c_o + w_a, \qquad c_{wn} = c_w + n

Watermarking with side informationSearch on YouTube

In many cases the encoder knows the original content. Side information is that extra knowledge of the original before the watermark is added. With it, the encoder blends the watermark into the content better.

Without side information, the reference pattern is applied uniformly, so it may show in some regions. With side information:

  • Dark areas: increase watermark intensity. The eye notices changes in dark areas less.
  • Bright areas: reduce intensity so the watermark is not visible.

Watermarking as multiplexed communicationsSearch on YouTube

Two messages share one medium:

  • Cover work coc_o: the content meant for human perception.
  • Watermark message mm: hidden from humans, decoded by machines.

The embedding must keep the watermark hidden from human perception but detectable by the machine.

AspectCover as noise (basic)Cover as message (multiplexed)
Primary focusRobust watermark extractionBalancing fidelity and robustness
Role of coverInterference (noise)A second message to preserve
DetectionSupports blind detectionMay need informed detection for best results
Fidelity vs robustnessPrioritizes robustness (survival)Balances both
Use caseCopyright tracking, transaction trackingAuthentication, quality-sensitive applications
EmbeddingLess dependent on the cover's contentUses the cover to optimize embedding

Robust watermarking approachesSearch on YouTube

Some strategies aim at robustness to all distortions. Others handle specific distortions.

Redundant embeddingSearch on YouTube

The same watermark is embedded in multiple parts or coefficients. Against attacks such as cropping and filtering, it survives in the unaffected areas.

Spread spectrum codingSearch on YouTube

The watermark signal is spread over a wide range of frequencies or components. Damage to some parts leaves it detectable in the rest. The idea comes from communication systems, where a message is spread over many frequencies against loss and interference.

Embedding in perceptually significant coefficientsSearch on YouTube

Embed in the parts most likely to stay unchanged during normal processing: the perceptually significant coefficients that hold information important to human perception (mid-range audio frequencies, important visual textures).

Why these spots?

  • Frequency coefficients are not equally stable.
  • High-frequency components are easily damaged by compression or filtering.
  • Low-frequency components are more stable but more noticeable, so the watermark would be visible.
  • Hence target mid-frequency coefficients.

Pick the band in the slide's 8 x 8 DCT block. The slide gives the block under "Assume" without a worked answer; this reading follows the slide's rule (avoid LF and HF, target mid).

154   5   3   0   0   0   0   0
 10  25   2   1   0   0   0   0
  8   7  50  15   3   0   0   0
  0   4  18  48  22   0   0   0
  0   0   8  30  45  10   0   0
  0   0   0   2  15  55  20   5
  0   0   0   0   5  20  48  10
  0   0   0   0   0   5  10  25

Step 1. Low frequency. The top-left corner (154 is the DC term, with 5, 10, 25 next to it). Changes here are visible. Avoid.

Step 2. High frequency. The bottom-right corner and the far top-right and bottom-left zeros. JPEG quantization sets these to zero, so a watermark there is lost. Avoid.

Step 3. Mid frequency. The band between them along the anti-diagonals, around the centre of the block (values such as 50, 15, 18, 48, 22, 30, 45). Embed here: it survives compression and stays invisible.

Embedding in coefficients of known robustnessSearch on YouTube

  1. Choose a robust domain: one where the expected processing does little harm.
    • Expected spatial shifting (small translations or rotations): embed in the Fourier magnitudes.
    • Expected linear filtering (blurring): embed in the DCT.
  2. Identify robust coefficients in that domain, by an analytical approach or empirical testing.
  3. Statistical analysis of coefficients: run statistical tests over a large number of works to list coefficients that perform well across content types.

Challenges remain with compression and thresholding.

Exp 16: steganography comparison and steganalysis. Install Steghide and OutGuess, embed a secret file in JPEG, BMP and PNG covers, compare size and appearance, extract, test capacity and robustness, draw flowcharts of both algorithms. Then do steganalysis with stegdetect, histograms, LSB planes, a hex editor and the chi-square test.

# embed
steghide embed -cf scene.jpg -ef secret.txt -sf steghide_scene.jpg -p lab123
outguess -k lab123 -d secret.txt scene.jpg outguess_scene.jpg
# extract
steghide extract -sf steghide_scene.jpg -p lab123
outguess -k lab123 -r outguess_scene.jpg secret.txt
# steganalysis
stegdetect -t jopifa cover/scene.jpg stego/*.jpg
cmp -l scene.bmp steghide_scene.bmp | head -3   # byte offsets that changed

Findings from the submission:

  • File size: BMP and PPM sizes do not change (only pixel values change). JPEG size changes because it is re-compressed. OutGuess shrank the JPEG from 125,365 B to 85,245 B.
  • Formats: Steghide supports JPEG and BMP; OutGuess supports JPEG and PPM; neither supports PNG.
  • Capacity: in a 122 KB JPEG, Steghide held about 7.8 KB and OutGuess about 5.6 KB. OutGuess keeps about half its usable bits for statistical correction.
  • Robustness: renaming kept the data. Brightness change, cropping and re-saving destroyed it for both tools. Neither is robust.
  • Steganalysis: stegdetect and StegExpose missed both tools. The histogram was unchanged.
  • Chi-square test: checks pairs of values (2k,2k+1)(2k, 2k+1). LSB replacement makes the counts in each pair nearly equal. Probability of embedding: 1.00 for simple LSB, 0.00 for Steghide and OutGuess, which keep the pair counts.

Quick self-testSearch on YouTube

Define steganography and state its key principle.

Steganography conceals information inside another medium so that its existence is hidden. Its key principle is statistical undetectability.

List the building blocks of steganography.

Choice of cover work; embedding and extracting algorithms (symbol assignment function, embedding modification, selection rule); stego key management.

Differentiate cover lookup, cover synthesis and cover modification.

Lookup selects an existing unmodified cover using a shared key and hash. Synthesis generates a new cover from the message (SpamMimic). Modification alters an existing cover; it is the most common, with sequential, pseudo-random or adaptive selection.

State Cachin's definition of steganographic security.

A message is secure if no one can detect it even with statistical analysis. Formally, the stego distribution equals the cover distribution PCP_C over the space of works CC, so PCP_C is unchanged by embedding.

Explain the two phases of OutGuess.

Phase 1 embeds message bits in the LSBs of selected redundant DCT coefficients, leaving some coefficients unused. Phase 2 adjusts the unused coefficients so the DCT histogram matches the original, defeating statistical steganalysis.

Compare passive, active and malicious wardens.

Passive: inspects and drops the message if hidden data is found, else passes it on. Active: modifies the message, damaging any hidden data even when undetected. Malicious: detects and can impersonate Alice or Bob; needs to know the algorithm.

Blind versus targeted steganalysis: which suits an unknown algorithm?

Blind steganalysis, because it does not need the algorithm. It trains on many known algorithms or on cover images only (one-class). Targeted steganalysis needs the algorithm and uses specific features, such as the sum of absolute differences for LSB embedding.

Why is watermarking needed when we have cryptography?

Cryptography protects content only in transit; once decrypted there is no protection. A watermark stays in the content and survives decryption, compression, D/A conversion and format changes.

Describe the three communication models of watermarking.

Basic: cover is noise; supports blind detection and prioritizes robustness. Side information: the encoder knows the cover and adapts strength (stronger in dark areas, weaker in bright). Multiplexed: cover and watermark are two messages in one medium; balances fidelity and robustness.

Why embed watermarks in mid-frequency coefficients?

High-frequency coefficients are destroyed by compression and filtering. Low-frequency ones are stable but changes there are visible. Mid frequencies balance robustness and invisibility.

  • Steganography hides existence (unrelated data); watermarking proves ownership (related data). Key principle of stego: statistical undetectability.
  • Building blocks: cover work, embed/extract algorithms (symbol assignment, modification, selection rule), stego key.
  • Embedding principles: cover lookup, cover synthesis, cover modification (sequential, pseudo-random, adaptive).
  • Cachin: secure when the stego distribution equals PCP_C. Practical methods: statistics-preserving (OutGuess), model-based (P(cemb∣cinv)P(c_{emb} \mid c_{inv})), masking as natural processing.
  • Wardens: passive, active, malicious. Blind steganalysis (unknown algorithm, one-class, universal) versus targeted (known algorithm, e.g. SAD for LSB).
  • Watermark properties: effectiveness, fidelity, payload, blind/informed detection, false positives, robustness, security (removal, embedding, detection attacks).
  • Models: basic (cover as noise), side information, multiplexed. Robust methods: redundant embedding, spread spectrum, mid-frequency coefficients, Fourier for shifts and DCT for filtering.