
Security 2001 Paper
[Security '01 Tech Program Index]
Defending Against Statistical Steganalysis
Niels Provos^{}
Abstract:The main purpose of steganography is to hide the occurrence of communication. While most methods in use today are invisible to an observer's senses, mathematical analysis may reveal statistical anomalies in the stego medium. These discrepancies expose the fact that hidden communication is happening. This paper presents improved methods for information hiding. One method uses probabilistic embedding to minimize modifications to the cover medium. Another method employs errorcorrecting codes, which allow the embedding process to choose which bits to modify in a way that decreases the likelihood of being detected. In addition, we can hide multiple data sets in the same cover medium to provide plausible deniability. To prevent detection by statistical tests, we preserve the statistical properties of the cover medium. After applying a correcting transform to an image, statistical steganalysis is no longer able to detect the presence of steganography. We present an a priori estimate to determine the amount of data that can be hidden in the image while still being able to maintain frequency count based statistics. This way, we can quickly choose an image in which a message of a given size can be hidden safely. To evaluate the effectiveness of our approach, we present statistical tests for the JPEG image format and explain how our new method defeats them. IntroductionSteganography is the art and science of hiding the fact that communication is taking place. While classical steganographic systems depend on keeping the encoding system secret, modern steganography tries to be undetectable unless secret information is known, namely, a secret key. Because of their invasive nature, steganographic systems leave detectable traces within a medium's characteristics. This allows an eavesdropper to detect media that have been modified, revealing that secret communication is taking place. Although the secret content is not exposed, its hidden nature is revealed, which defeats the main purpose of steganography. In general, the information hiding process starts by identifying redundant bits in a cover medium. Redundant bits are those bits that can be modified without destroying the integrity of the cover medium. The embedding process then selects a subset of the redundant bits to hold data from a secret message. The stego medium is created by replacing the selected redundant bits with message bits. This paper presents two new methods to improve the selection process. The first method selects from a family of pseudorandom number generators [3]. Each pseudorandom number generator results in a different bit selection; the selection that causes the fewest changes to the cover medium is used for the embedding. The second method uses errorcorrecting codes. The result is greater flexibility in selecting bits. The two methods can be used together to minimize modifications to the cover medium. Nonetheless, any modification of the redundant bits can change the statistical properties of the cover medium. For example, ones and zeros are equally likely in a message that has been encrypted. However, the redundant data being replaced might have a strong correlation towards either zero or one. Embedding the encrypted message weakens that correlation. One way to prevent detection of steganographic content is to reduce the size of the hidden message. While such an approach decreases the likelihood of detection, it also results in decreased hiding capacity. Our paper presents a new method to preserve the statistical properties of a cover medium by applying additional transforms to the redundant data. The transforms correct measurable deviations in the statistics caused by the embedding process without decreasing the hiding capacity of the stego medium. We derive an a priori estimate for the amount of data that can be hidden while still being able to preserve frequency count based statistics. As a result, we can quickly identify images in which a particular message can be hidden safely. While the method of using additional transforms is a generic concept that is data format independent, statistical properties and the specific transforms to preserve them depend on the data format of the stego medium. We illustrate existing statistical tests for the JPEG image format. Although these tests are not capable of detecting data embedded with our OutGuess [8] system, we present a new test that does detect the presence of steganographic content. We then demonstrate a specific transform for the JPEG format that preserves the image's statistical properties and thus prevents detection from statistical tests based on frequency counts. The remainder of this paper is organized as follows. Section 2 introduces the prerequisites necessary for secure steganography and discusses related work in image steganography. In Section 3, we give an overview of the embedding process and introduce new methods to improve the embedding of hidden messages. After reviewing JPEG encoding in Section 4, we present statistical tests in Section 5. In Section 6, we show how to apply transforms that prevent detection by statistical tests. Section 7 provides an analysis of the transforms we use to correct deviations in the JPEG image format. We conclude in Section 8. Prerequisites and Related WorkFor steganography to remain undetected, the unmodified cover medium needs to be kept secret^{}. If it is exposed, a comparison between cover medium and stego medium immediately reveals changes. While an adversary gains knowledge of only approximately half of the embedded bits, she still detects modification.Zöllner et al. [14] propose an information theoretic approach to solve the problem of secure steganography by employing nondeterministic selection. In their model, the original medium is known to the adversary but a preprocessing step introduces randomness into the cover medium. If the adversary can not obtain the transformed cover medium, she can not deduce information about the embedded message by observing differences between the original and the stego medium. In summary, they suggest two necessary conditions for secure steganography:
In practice, these two conditions are easily met. It suffices to create a cover medium with a digital camera or by scanning holiday pictures, and to discard the originals. However, even though the original medium might not be available for comparison, the embedding process can introduce distortions. Analysis of many unmodified images may reveal characteristics that modified images lack. Identification of these characteristics allows us to perform correcting transforms after the embedding process that preserve the desirable characteristics. Walton [12] authenticates an image by storing its checksum in the redundant bits of the image. The checksum is distributed uniformly over the image with a pseudorandom number generator. The probabilistic embedding in this paper differs by choosing a seed for the pseudorandom number generator that reduces the necessary changes to the cover medium. Aura [2] uses a pseudorandom permutation generator to select the bits in the covermedium. He notes that if the secret key and cover size remain unchanged, then the selected bits will be the same. In our embedding process, however, the pseudorandom number generator is reseeded to find the best embedding; in addition, the bit selection depends on the hidden message size. Johnson and Jajodia [4] analyze images created with available steganographic software. Although they claim that current steganographic techniques leave noticeable distortions in the discrete cosine transform (DCT) coefficients, they do not further discuss the nature of these distortions. Westfeld and Pfitzmann [13] describe visual and statistical attacks against common steganographic tools. They discuss ways that common steganographic techniques change statistical properties in the cover medium. For example, they evaluate one particular program that embeds data in JPEG images. To detect hidden information embedded by the program, they use a test [6], which estimates the color distribution of an image carrying hidden information and compares it against the observed distribution. The test is perhaps too discriminating, in that it detects only programs that embed hidden message bits without spreading them over all redundant bits. In particular, this test does not detect the OutGuess embedding process, presented in Section 3. In Section 5, we describe an extended test that is capable of detecting more subtle changes. Even so, the methods developed in this paper prevent detection by both the original and the extended test. Embedding ProcessThe specific transforms we introduce to perform statistical corrections depend on embedding methods that distribute a hidden message over all redundant bits. This section explains the underlying steganographic embedding process and introduces new methods to improve on it.We divide the task of embedding hidden information in a cover medium into two steps:
Separating the embedding process into two parts allows for easy replacement. A different data format can be accommodated with a different identification algorithm, and new selection strategies can be implemented without changing other parts of the system. In addition, the computational cost of the selection does not depend on the cost of identifying the redundant bits. One valid objection against this separation is potential loss of information that might be helpful in the selection step. For example, an image may have areas of high complexity that can either hold more hidden information or in which modifications are less likely to be detected. In our model, the selection algorithm sees only the redundant bits and is not aware of their origin. To remedy this, the identification step adds attributes to each redundant bit. These attributes indicate if a bit is locked or how detectable changes to it are. Identification of Redundant BitsIn general, identifying the redundant bits of a data source depends on the specific output format. One has to be aware that the embedding actually happens when the cover medium is written out in that format. Conversion to the final data format might include operations like compression, and is not necessarily deterministic. Minimizing modifications to the cover medium requires knowledge of the redundant bits before the actual stego medium is created. For example, the OutGuess [8] system performs all operations involved in creating the output object and saves the redundant bits encountered. For the JPEG image format, this might be the LSB of the discrete cosine transform coefficients; see Section 4.The hidden information overwrites the redundant bits when the final output is created. This requires determinism in the conversion process, which can always be ensured by replacing random processes with a pseudorandom number generator that is initialized to the same state for the identification and the final conversion step. Before the identified bits are passed to the selection step, they are annotated with additional information. This information includes locked bits, i.e. bits that may not be modified in the embedding process, and a heuristic that determines how detectable changes to a bit might be. A bit is locked when the bit has already been used to carry hidden information. This can occur when more than one message is hidden in the cover medium. Selection of BitsBefore the selection of redundant bits can begin, an RC4 stream cipher [9] is initialized with a userchosen secret key. We use the keyed stream cipher to encrypt the hidden message and derive a pseudorandom number generator (PRNG) for the selection process from it. The bits that are replaced with information from the hidden message are selected with the help of the pseudorandom number generator as follows.First, we need to hide 32 state bits. The state is a concatenation of a 16bit seed and a 16bit integer containing the length of the hidden message. By varying the seed the selection can find a better embedding. Selection starts at the beginning of the identified bits. We determine the next bit by computing a random offset within a fixed interval and adding that offset to the current bit position. To compute the random offsets, we use the pseudorandom number generator described earlier. Data at the new bit position is replaced with the message data. This process is iterated 32 times. The resulting bit positions can be represented as, where b_{i} is the position of the ith selected bit, and R_{i}(x) is a random offset in the interval [1,x]. After the state data has been embedded, the pseudorandom number generator is reseeded with the 16bit seed. The remaining length of the hidden message is used to adapt the interval out of which the random numbers are drawn to the amount of remaining data,
The selection process continues as outlined above, the only difference being that the interval is adjusted every eight bits. This way the hidden message is distributed evenly over all available bits. Choosing the interval in this way restricts the hidden message size to a maximum of of the available redundant bits. We explain in Section 6 why this is not a serious restriction. Not using all the redundant bits gives the selection process a greater opportunity to find a good embedding, as described in Section 3.3. It also leaves enough bits for the correcting transform to preserve frequency count based statistics. Because the PRNG is keyed with a secret, it is not possible to find the hidden message without knowing the key. The recipient initializes the PRNG with that secret and uses the same selection process to retrieve the hidden message from the stego medium. The interval size is changed only after the state has been embedded, so the state is retrievable and can be used to reseed the pseudorandom number generator correctly. Beneficial Reseeding of the PRNGWe now explain how modifications to the cover medium can be reduced with the selection algorithm from the previous section.In the selection process, the keyed pseudorandom number generator can be reseeded with a freely chosen 16bit seed. In effect, the seed creates a family of independent pseudorandom number generators. Each pseudorandom number generator selects its own subset of redundant bits. The selections result in a different number of bits that have to be modified. The distribution of the number of changed bits is binomial. The probability that k of n bits will be changed is as follows, where p is the probability that a selected bit in the redundant data has to be changed.As the hidden data has been encrypted by the RC4 stream cipher, it has the properties of a random stream, so we expect that , and that the average number of changed bits will be close to of the bits in the hidden data. Picking a seed that represents the changed bits at the lower end of the binomial distribution allows us to reduce the number of bits that have to be modified; see Figure 1. It becomes harder to detect the modifications, as more of the hidden message is already naturally represented in the redundant bits.
Detectability is also used as a bias in the selection process. The selector does not try to reduce only the number of changed bits but also the overall detectability. Whenever a bit has to be modified, its detectability will be added to a global bias. A higher accumulated bias reduces the likelihood that this specific embedding will be used.
The standard deviation of a binomial distribution is given by with q = 1  p; in our case . We notice that the ratio of the standard deviation and the square root of the number of bits in the hidden message remains constant, As a result, more modifications can be avoided by reseeding the PRNG for smaller hidden messages than for bigger ones.Measuring the standard deviation of changed bits encountered in the selection step allows us to verify the probability p that a selected bit has to be modified as shown in Figure 2. Furthermore, by varying the seed the algorithm is able to find an embedding that does not have conflicts with locked bits. This allows us to hide multiple data sets within a cover medium, which we discuss in Section 3.5. Choices with Coding TheoryWhile the seeding allows us to view the embedding as a probabilistic process, the flexibility of the PRNG family in selecting bits is not always enough to avoid all bits that are locked or have a high detectability. We could prevent modification of those bits if it were possible to introduce errors into our hidden message without destroying its content. In other words, all introduced errors need to be correctable.Coding theory provides us with codes that can correct errors by maximumlikelihood decoding. We write [n,k,d] to indicate a kdimensional linear code of length n with Hamming distance d. Such a code can correct t errors, where d = 2t + 1. In general, the application of an errorcorrecting code increases the data that we need to embed. A kbit data block will result in an nbit code block. However, we first observe that about one half of the data is already represented and does not need to be modified, and second, that we can introduce t additional errors in the code block. Thus, if
d = n  k + 1, which is exactly the Singleton bound fulfilled by all maximum distance separable (MDS) codes [10].Unfortunately, the only nontrivial binary MDS code is the repetition code [n,1,n]. It's major drawback is the nfold repetition of the data, so that it is useful only for small hidden messages. Once the data is encoded, we can choose t bits in each code block that do not need to be modified in the redundant data. Our choice is determined by conflicts with already locked bits from a previously embedded message, and after all conflicts have been resolved by the detectability of changes. The approach that we take here is similar to the parity encoding suggested by Anderson [1]. However, using errorcorrecting codes has advantages over using the parity encoding. We can trade security against capacity by choosing a code that is not MDS. Additionally with errorcorrecting codes only nt bits are locked, whereas the parity encoding locks all n bits. Plausible DeniabilityTo embed a hidden message into the cover medium, we modify the redundant data of the cover medium. The redundant data might have properties of a statistical nature of which we are not aware, or understand less well than an adversary. If the embedding process changes the characteristics of the cover medium, a more knowledgeable observer can conclude the presence of a hidden message without necessarily being able to point to the specific bits that were changed.The originator of the stego medium might now be forced to reveal the hidden communication. However, we assume that the only predicate the observer can ascertain is the fact that the cover medium was modified. If the sender embeds multiple hidden messages into the cover medium, he can include an innocuous message, turn that over on request, claim that there is no other information hidden in the stego medium, and leave unharmed. This is called plausible deniability. Actually, the described mechanism already implicitly supports plausible deniability. More than one hidden message can be embedded, as the ``locked bit'' attribute prevents information from other hidden messages from being overwritten. Depending on the size of the hidden messages, the likelihood that a selection is found that does not conflict with previously locked bits can be small. In that case, errorcorrecting codes can be employed to increase the selection flexibility. Hidden Message Determines CoverUsually, a hidden message is embedded into a specific medium. Instead of selecting a specific cover medium, the hidden message can be examined and a cover medium will be selected that allows embedding with minimal modifications. This can be achieved by embedding the hidden message into multiple cover media. Afterwards, the cover medium that results in the fewest modifications is chosen. As expected, the distribution of changed bits in the different cover media follows a binomial distribution similar to the one shown in Section 3.3. JPEG image formatWhile the embedding methods mentioned in this paper are independent of the actual data format of the cover medium, each data format has its own statistical properties. We restrict our analysis to a very data format: JPEG [11]. However, similar characteristics can also be found in other formats. The general idea of correcting statistical deviations still applies, but requires different, appropriate transforms.The JPEG image format uses a discrete cosine transform (DCT) to transform successive pixel blocks of the image into 64 DCT coefficients each. The DCT coefficients F(u,v), of an block of image pixels f(x,y), are given by where when u and v equal and C(u),C(v) = 1 otherwise.Afterwards the coefficients are quantized by the following operation: where Q(u,v) is a 64element quantization table.The leastsignificant bits of those quantized DCT coefficients, for which and , are used as redundant bits into which the hidden message is embedded.
Statistical TestsStatistical tests can reveal if an image has been modified by steganography. These tests determine if an image's statistical properties deviate from the norm. Some tests are independent of the data format and just measure the entropy of the redundant data.The simplest test is to measure the correlation towards one. A more sophisticated one is Ueli Maurer's ``Universal Statistical Test for Random Bit Generators'' [5]. We expect images with hidden data to have a higher entropy than those without. Westfeld and Pfitzmann outline an interesting statistical attack [13]. They observe that for a given image, the embedding of encrypted data changes the histogram of color frequencies in a particular way. In the following, we clarify their approach and show how it applies to the JPEG format. In their case, the embedding process changes the least significant bits of the colors in an image. The colors are addressed by their indices in the color table. If n_{i} and are the frequencies of the color indices before and after the embedding respectively, then the following relation is likely to hold In other words, the frequency difference between adjacent colors is reduced by the embedding process. In an encrypted message, zeros and ones are equally distributed. For n_{2i} > n_{2i+1} that means that the bits of the hidden message change n_{2i} to n_{2i+1} more frequently than the other way around. The same is true in the case of the JPEG data format. Instead of measuring the color frequencies, we observe differences in the frequency of the DCT coefficients. Figure 3 displays the histogram before and after a hidden message has been embedded in a JPEG image. The histogram differences are displayed in the subgraph at the bottom of the figure. We observe a reduction in the frequency difference between coefficient 1 and its adjacent DCT coefficient 2. Adjacent means that the coefficients differ only in the least significant bit. A similar reduction in frequency difference can be observed between coefficients 2 and 3. Westfeld and Pfitzmann use a test to determine whether the color frequency distribution in an image matches a distribution that shows distortion from embedding hidden data. In the following, we outline their test for the DCT coefficients in a JPEG. Because the test uses only the stego medium, the expected distribution for the test has to be computed from the image. The assumption for a modified image is that adjacent DCT frequencies are similar. Let n_{i} be the DCT histogram, we then take the arithmetic mean, to determine the expected distribution and compare against the observed distributiony_{i} = n_{2i}. The value for the difference between the distributions is given as where are the degrees of freedom, that is, the number of different categories in the histogram minus one. It may be necessary to sum adjacent values from the expected distribution and from the observed distribution to ensure that there are enough counts in each category. Westfeld and Pfitzmann require that each count is greater than four. If two adjacent categories are summed together, the degrees of freedoms need to be reduced by one.The probability p that the two distributions are equal is given by the complement of the cumulative distribution function, where is the Euler Gamma function.The probability of embedding is determined by calculating p for a sample from the DCT coefficients. The samples start at the beginning of the image and for each measurement the sample size is increased.
Because the test uses an increasing sample size and always starts at the beginning of the image, it detects changes only if the frequency histogram is distorted continuously from the beginning of the image. Intermediate areas in the image that do not exhibit distortions can cause negative test results. This is the case even if other areas in the image are clearly distorted. For this reason, the test does not detect the embedding process described in this paper. DetectionIt is possible to extend Westfeld and Pfitzmann's test to be more sensitive to partial distortions in an image. Observe that two identical distributions produce about the same values in any part of the distribution. Instead of increasing the sample size and applying the test at a constant position, we use a constant sample size but slide the position where the samples are taken over the entire range of the image. Using the extended test we are able to detect our simple embedding process; see Figure 4.In this case, the sample size is set to of all DCT coefficients. The test starts at the beginning of the image, and the position is incremented by one percent for every application. This extended test does not react to an unmodified image, but detects the embedding in some areas of the stego image. To find an appropriate sample size, we choose an expected distribution for the extended test that should cause a negative test result. Instead of calculating the arithmetic mean of coefficients and their adjacent ones, we take the arithmetic mean of two unrelated coefficients, A binary search on the sample size is used to find a value for which the extended test does not show a correlation to the expected distribution derived from unrelated coefficients.
Correcting Statistical DeviationsNot all of the redundant bits are used when embedding the hidden message. In fact, the selection process allows no more than half of the redundant bits to be used for data.If we know what kind of statistical tests are being used to examine an image for modification, we can use the remaining redundant bits to correct any statistical deviation that the embedding process created. Our first (naive) approach included preserving the correlation to one and the entropy measured by the Maurer test. Essentially, when a bit is changed from zero to a one, we try to change a nearby bit from one to zero. Although, this approach helps to prevent entropy increase in the redundant data, it completely neglects statistics that depend on macroscopic properties. For the JPEG format, the result is a distortion in the DCT histogram, illustrated in Figure 5. The DCT coefficients 2 and 1 are even closer together than in Figure 3, and the frequencies for DCT coefficients 2 and 3 are nearly the same. If we want to avoid distortions in the DCT histogram, additional corrections are necessary to maintain the distribution of the DCT coefficients. For example, suppose embedding a hidden message modifies the jth DCT coefficient, DCT(j). If DCT(j) = 2i, it will be modified to 2i+1. We correct this change by finding an adjacent coefficient DCT(k), that is DCT(k) = 2i+1, and changing it to 2i. If we correct every change to the DCT coefficients, their histogram will be identical to the one of the original image. Furthermore, a correcting transform that essentially swaps values keeps all frequency counts constant. Thus, no statistic that is based purely on frequency counts will be able to detect a difference between the original and the stego medium. We make the following observation for frequency count based statistics. Let f be a frequency count in the histogram, and its adjacent count. Without loss of generality, let . Let denote the fraction of redundant bits that are used to hold the hidden message. After embedding, we expect the following changes in frequencies: In order for the transform to be able to correct the frequency count, enough unmodified coefficients need to be left in so that the change in f can be adjusted, in other words the relation must hold.The relation yields an a priori estimate for the fraction of redundant bits that can be used for data while still having enough bits left for the correcting transform to work: Given a hidden message, we can use the estimate to choose an image for which the correcting transform will be able to preserve the original frequency counts. Interestingly enough, for JPEG the fraction of redundant bits that can be used to hold the hidden message does not increase linearly for images with more DCT coefficients; see Figure 6.
The correcting transform has the following requirements:
Some statistical properties of the DCT coefficients may be unknown to us, so we try to prevent introducing additional distortions. Such distortions can result from corrections meant to preserve the statistics that we do know about. If we keep the number of additional modifications small, we reduce the likelihood of further distorting the image's statistical properties. Furthermore, if steganography is to remain undetected by the extended test, all parts of the image must be free of statistical distortions. The test will detect no embedding if each part of the modified image has a DCT coefficient distribution similar to the original. Algorithm 1 meets both requirements. It is run after the embedding process finishes. In step 1, we compute the DCT frequency histogram from the original image and store it in N. Step 2 determines the threshold frequencies. The threshold indicates how many errors in the histogram we are willing to tolerate for a specific DCT coefficient. It is calculated by multiplying the observed frequencies of the DCT coefficients with the scaling factor . When the number of errors for a coefficient exceeds its threshold, we modify the image to preserve the statistics for that coefficient. Step 3 finds AdjDCT, the index of the coefficient adjacent to the modified one. In step 4, we determine if there are pending errors for the adjacent coefficient that should be corrected. In that case, the correction for the current DCT coefficient can be traded against the pending correction of its adjacent coefficient. If that is not the case, we check in step 5 if the number of errors for the coefficient, , can be incremented without exceeding its threshold value. If another increment is possible, we continue with the next modification. Otherwise, we have to correct the current modification in the image. The exchDCT algorithm is responsible for that. If that fails too, we just go ahead and increase the error for the coefficient above the threshold and take care of it later. After all modifications have been examined, we need to correct all remaining errors. Not all the corrections might be possible. However, if we are able to correct most of the errors, changes in the histogram are not detectable. The exchDCT() algorithm is very simple. Given a coefficient value DCT and a position i in the image, it tries to find the same coefficient at a prior position and change it to its adjacent coefficient. It starts searching near the coefficient that caused the algorithm to be executed and works its way to the beginning of the image. Coefficients that hold data from the hidden message or that have been used for previous corrections are skipped by exchDCT(). The algorithm indicates success or failure. AnalysisTo evaluate our correction algorithm, we embedded data into 54 pictures taken with a Fuji MX1700 digital camera around Ann Arbor, Michigan. The size of the images is pixels. After the images were downloaded from the camera, they were recompressed with a quality factor of 75. This simulates the conversion step in the embedding process without actually embedding any data.For this set of images, the average number of DCT coefficients that we can use for modification is about 46,000, varying between 30,000 and 97,000. Each of these contributes one redundant bit. Without embedding any data in the redundant bits, we notice a strong correlation towards one. On average, of all the bits are set with a standard deviation of between images. We embedded the first chapter of Lewis Carroll's ``The Hunting of the Snark'' into the images. After compression, the hidden message had a size of about 14,700 bits.
Figure 7 shows the results for the simple statistics that operate only on the redundant data. With a block size of eight bits, the result of the Maurer test for a truly random source is 7.184. We observe a noticeable increase in entropy for images that have not received statistical correction. The correlation towards one decreases noticeably, too. However, for the images that have been corrected for statistical distortions the values are very close to the data from the unmodified images. Examining only the images for which the a priori estimate holds, we notice that the differences between the unmodified images and the images that received corrections are even smaller. These simple tests are thus not able to detect our steganography.
The more interesting statistic is the DCT frequency histogram. If we plot the DCT histogram of images that have received corrections, we are no longer able to find noticeable differences in the distribution. Figure 8 shows the extended test. The test detects the image without corrections and the image corrected with our naive method, but it is unable to detect the image corrected for statistical deviations with the transform in Algorithm 1. The correcting transform causes about additional changes to the redundant data. That is approximately of the size of the hidden message. The average number of differences that can not be corrected is . The majority of corrections fail for images for which the a priori estimate indicates a maximum message size that was smaller than the one we try to embed. However, if we look only at images for which the estimate holds, the correcting transform changes bits and the average number of differences that can not be corrected is . It is possible to further decrease the changes from the correcting transform, by biasing the selection algorithm against modifying coefficients with a higher frequency than their adjacent coefficients. The identification step from Section 3.1 adds the annotation that changes to bits originating from higher frequency coefficients are easier to detect. Using the worst selection, the correcting transform causes additional changes. The best selection results in only changes. Comparing each image, we see that using this technique, the correcting transform can avoid changes in average. To verify the correctness of the a priori estimate, we embed messages of different sizes and apply the correcting transform. We note that for message sizes below the estimate the transform is able to correct most errors. Increasing the message size above the estimate causes a noticeable increase in errors.
The transform also has to meet the restriction that there be no area in the image that shows noticeable distortion in the DCT coefficients. Figure 9 shows the histogram difference of a modified image in comparison to the original. The differences in the frequency of the DCT coefficients are negligible, thus the extended test does not indicate any hidden data. ConclusionEven though steganography is often undetectable by the observer's senses, statistical analysis can reveal the presence of a hidden message.We introduced two new methods to improve the selection process. The first uses a seeded pseudorandom number generator to determine the fewest modifications to the cover medium. The second uses errorcorrecting codes to increase the flexibility in selecting bits without increasing the number of necessary changes. Together, these methods can be used to provide plausible deniability be embedding multiple hidden messages in the cover medium. Although the commonly used test is unable to detect modifications from the improved embedding process described in this paper, we described an extended test that is capable of detecting modified areas in parts of an image. To counter statistical tests based on frequency counts like the extended test, we introduced a new method to correct the statistical deviations from the embedding process and a correcting transform for the JPEG format. As a result, none of the presented statistical tests can detect the presence of steganography. We also presented an a priori estimate that allows us to determine the amount of data that can be hidden in an image while still being able to preserve frequency count based statistics. Given a hidden message, we can use the estimate to quickly choose an image in which a specific message can be embedded safely. The methods to improve the embedding and to apply correcting transforms to preserve statistical properties have been implemented in the OutGuess [8] program, which is freely available as source code at www.outguess.org. AcknowledgmentsI thank Peter Honeyman and Patrick McDaniel for careful reviews and suggestions, and Peter Gutmann for being a good shepherd. I also thank Andrew Carra for earlier discussions on reducing modifications to the cover medium, and Sean Coffey for helpful comments on errorcorrecting codes.
References
About this document ...Defending Against Statistical SteganalysisThis document was generated using the LaTeX2HTML translator Version 97.1 (release) (July 13th, 1997) Copyright © 1993, 1994, 1995, 1996, 1997, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
The command line arguments were:
The translation was initiated by Charlie & on 5/10/2001 Footnotes
Charlie & 5/10/2001 
This paper was originally published in the
Proceedings of the 10th USENIX Security Symposium,
August 13–17, 2001, Washington, D.C., USA
Last changed: 2 Jan. 2002 ml 
