40. secure client side st-dm watermark embedding


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

40. secure client side st-dm watermark embedding

  1. 1. CLIENT SIDE EMBEDDING FOR ST-DM WATERMARKS A. Piva, T. Bianchi, A. De Rosa University of Florence Department of Electronics and Telecommunications Via S.Marta 3, 50139 - Firenze, Italy ABSTRACT content and at the same time to implicitly embed a watermark to obtain a uniquely watermarked version of the content.Client side watermark embedding schemes have been proposed as a In literature, several approaches for secure embedding have beenpossible solution for the copyright protection in large scale content proposed. Here we are interested in techniques based on encryptiondistribution environments. In this framework, we propose a look- systems that allow the use of multiple decryption keys, which de-up-table based secure embedding system, designed for the Spread crypt the same ciphertext to slightly different plaintexts. The dif-Transform Dither Modulation (ST-DM) watermarking algorithm, ference between original and decrypted content represents thus thethat outperforms Spread Spectrum based systems. hidden watermark. The first scheme following this approach was Index Terms— content distribution, secure watermark embed- proposed by Anderson et al. [2] who designed a special stream ci-ding, multiple decryption, ST-DM informed embedding, fingerprint- pher, called Chameleon, which allows to decrypt the ciphertext ining slightly different ways. During encryption, a sequence of indices is used to select four entries from a look-up-table (LUT) for each 1. INTRODUCTION plaintext element. These entries are XORed with the plaintext to form the ciphertext. The decryption is identical to encryption ex-New distribution channels such as digital music downloads and cept for the use of a decryption LUT, that superimposes some errorsvideo-on-demand services present new challenges to the design of onto the content, thus leaving a unique watermark. Generalizationscontent protection measures for the prevention or deterring of copy- of Chameleon, suitable for embedding spread spectrum watermarks,right violations from malevolent users. One of the adopted solutions have also been proposed [3, 4].is the digital watermarking technology [1]. In the distribution mod- The analysis of the related literature reveals that several solu-els we are analyzing, this technique is used to embed into each copy tions exist for secure watermark embedding, however, up till now,of the content a unique code identifying a particular user or a spe- they have been applied to Spread-Spectrum (SS) watermarking al-cific device that receives it. When unauthorized published content gorithms. In this paper, we propose a LUT based secure embeddingis found, the detection of the hidden watermark allows to trace the system designed for the Spread Transform Dither Modulation (ST-user who has redistributed the content. DM) algorithm [5], belonging to the class of data hiding schemes Current content distribution systems are based on a client-server defined informed embedding algorithms or host-interference reject-architecture, where the watermark embedding is usually carried out ing methods.by a trusted server before releasing the content to the final user.However in large scale distribution systems the server may become 2. BACKGROUNDoverloaded, due to the fact that the computational burden grows lin-early with the number of users. In addition, since the distribution The LUT based secure embedding proposed in [4] works as fol-of individually watermarked copies requires point-to-point connec- lows. The distribution server generates a long-term master encryp-tions, bandwidth requirements can become prohibitive. tion look-up table E of size T , whose entries E[t] are indipendently A possible solution consists in using client-side watermark em- and randomly generated according to a Gaussian distribution. Thebedding: the server is allowed to send a unique copy of the content LUT E will be used to encrypt the content to be distributed to the KUto all the interested users through broadcasting. Each client will be clients. Next, for the k-th client, the server generates a personalizedin charge of embedding a watermark identifying the received copy. watermark LUT Wk according to a desired probability distribution,Since the client is untrusted, the users should not have access to the and builds a personalized decryption LUT Dk by combining compo-original content or to the secret information required to embed the nentwise master encryption LUT E and watermark LUT Wk :watermark. In secure watermark embedding schemes, the servertransmits the same encrypted version of the original content to all Dk [t] = −E[t] + Wk [t], t = 0, 1, . . . , T − 1. (1)the clients but a client-specific decryption key allows to decrypt the The personalized LUTs are then transmitted once to each client over The work described in this paper has been partially supported by the Eu- a secure channel.ropean Commission through the IST Programme under Contract no 034238 A content, represented as a vector x of size M, is encrypted by- SPEED and by the Italian Research Project (PRIN 2007): “Privacy aware adding to each element R entries of the LUT E pseudo randomly se-processing of encrypted signals for treating sensitive information”. The in-formation in this document reflects only the author’s views, is provided as lected according to a session key sk. The encrypted content c is sentis and no guarantee or warranty is given that the information is fit for any to all the authorized clients along with the session key sk. The k-thparticular purpose. The user thereof uses the information at its sole risk and client can decrypt c by using his/her personalized decryption LUTliability. Dk , with the final effect that a spread-spectrum watermark sequence978-1-4244-5654-3/09/$26.00 ©2009 IEEE 97 ICIP 2009
  2. 2. is embedded into the decrypted content yk , through an additive rule. Each dithered quantizer is used to quantize one of the L randomlyIn detail, driven by the session key sk, a set of M ·R values tij in the chosen projections, so the marked components are (rj − rj ) = w xrange [0, T −1] is generated, where 0 ≤ i ≤ M −1, 0 ≤ j ≤ R−1. [Q0 (rj ) − rj ] + θj , where j ∈ A. x xEach feature xi is encrypted by adding R entries of E, obtaining the The vector of watermarked features is then given by:encrypted feature ci : w x x x y = x+ (rj −rj )sj = x+ [Q0 (rj )−rj ]sj + θj sj . (6) R−1 j∈A j∈A j∈A ci = xi + E[tij ]. (2) j=0 In a forensic application, we can think that each k-th user can be identified by employing a different set of dithered quantizers, char-Joint decryption and watermarking is accomplished by reconstruct- acterized by a dithering vector θk = {θk,j }j∈A . According to thising with sk the same sequence of indices tij and by adding R entries approach, referring to equation (6), in yk it is possible to distinguishof Dk to each encrypted feature ci : between a term present in all the watermarked copies of the con- tent, the summation j∈A [Q0 (rj ) − rj ]sj and a term identifying x x R−1 R−1 the single k-th user, i.e. the summation j∈A θk,j sj . The detector yk,i = ci + Dk [tij ] = xi + Wk [tij ] = xi + wk,i . (3) will thus try to identify a dishonest client by looking at this uniquely j=0 j=0 distinguishing component.The result of this operation is the sequence of watermarked contentfeatures yk identifying the k-th user. 3.1. ST-DM client side embedding Let us now describe how we implement a ST-DM based secure2.1. Spread Transform Dither Modulation client side embedding. A distribution server, like in [4] generates an encryption look-up table E, whose entries are i.i.d. randomThe ST-DM algorithm belongs to the wider class of Quantization In- variables following a Gaussian distribution N (0, σE ); moreover,dex Modulation (QIM) watermarking [5]. According to the QIM ap- for each client, a personalized watermark LUT Wk is generated,proach, watermark embedding is achieved through the quantization according to N (0, σW ), and a decryption LUT Dk is computed byof the host feature vector x on the basis of a set of predefined quan- combining componentwise E and Wk . In addition, let us supposetizers, where the particular quantizer depends on the to-be-hidden that the projection matrix S has been generated. The personalizedmessage. In the case of ST-DM, the correlation between the host LUTs and the matrix S are then transmitted once to each client overfeature vector x and a reference spreading signal s is computed as M a secure channel.rx =< x, s >= i=1 xi si ; this correlation is then quantized by The server encrypts a content x of size M by adding to it someapplying to it either a quantizer Q0 , or a quantizer Q1 , depending entries of E; however, differently from Eq. (2), here R entries areon the to-be-hidden bit, obtaining the quantized correlation rw . The added along each of the Md orthogonal directions sj . In addition,watermarked features are then: in L randomly chosen directions the common terms [Q0 (rj ) − rj ] x x y = x + (rw − rx )s (4) present in the embedding rule are introduced, so that at the server side the host features will be modified as in the following:To recover the embedded bit, a minimum distance decoder applied to Md R−1the correlation r of the watermarked and possibly attacked features ci = x i + E[tjh ]sji + x x [Q0 (rj ) − rj ]sji . (7)y with the vector s is adopted [6]. The ST-DM approach can be˜ j=1 h=0 j∈Aextended in such a way that the host features are projected not onlyalong one direction, but on a vector subspace, allowing to introduce Decryption and watermark embedding is driven by the sessionan additional degree of freedom in the design of the scheme. key sk needed to reconstruct the sequence of indices tjh and add Md · R entries of the decryption LUT Dk to each encrypted feature ci : yk,i = ci + Md R−1 h=0 Dk [tjh ]sji , then: 3. ST-DM SECURE EMBEDDING j=1 Md R−1Starting from an original vector composed by M features, a M ×Md x x yk,i = xi + [Q0 (rj ) − rj ]sji + Wk [tjh ]sji . (8)projection matrix S = (s1 , s2 ,. . . , sMd ) whose columns are orthog- j∈A j=1 h=0onal is generated. The host features are projected according to S,which, differently from the traditional ST-DM, needs to be known If we assume it is possible to set R−1 Wk [tjh ] = θk,j , the result ofto the clients; in order to add a level of secrecy, only L out of Md h=0 this operation is the sequence of watermarked features yk , using theprojections will be quantized to embed the watermark, where the L dithered quantizers shifted by the set θk = {θk,j }j∈A identifyingdirections are kept secret to the clients. Let us indicate by A the the k-th user. The joint decryption and watermarking process thenindexes corresponding to the L directions where the watermark will becomes:be introduced. To represent that only L out of Md projections arequantized we will resort to a M × L matrix SA denoting a partition yk,i = xi + x x [Q0 (rj ) − rj + θk,j ]sji + θk,j sji . (9)of S obtained by picking the columns whose indexes are in A. j∈A j ∈A / To embed the watermark, it is chosen to use not just two quan-tizers, but a set of L dithered quantizers, shifted each by a factor θj The final effect of the joint decryption and watermarking, iswith respect to a reference quantizer Q0 () having a fixed step size that a ST-DM watermark has been embedded in L directions, butΔ, so that, for j ∈ A in (Md − L) directions a spread spectrum like noise has been added. These noise terms can not be avoided, since the client is not allowed Qj (x) = Q0 (x) + θj . (5) to know the L out of Md directions, indicated by the set A. 98
  3. 3. 4. DETECTION M = l · m. If the number of 8 × 8 blocks inside an image is NB , the number of available chunks NC is given by: NC = m·NB . MIt is assumed that the input to the detector is a vector of possibly al- For each chunk the same projection matrix is adopted, but dif-tered watermarked features, denoted as y. Such a vector is projected ˜ ferent sets of dithering θj are considered. According to this, the k-thonto the L directions carrying the watermark, yielding a vector of L client is identified by a vector obtained as the concatenation of NCwatermarked projections: vectors θk of length L (one for each chunk), that is in detection the i 1 N vector Θk = (θk , ..., θk C ) having size L · NC = L m·NB will be ρ = SA y . ˜ ˜ (10) M used.Since the embedding rule makes it difficult to define a likelihood The performance analysis is carried out by defining the operat-ratio, the proposed detector relies on a suboptimal approach based on ing conditions in terms of Document to Watermark Ratio (DWR).a correlation statistic, followed by a maximum detector [7]. Namely, The DWR expresses the ratio between the power of the host featuresthe detector computes a vector of quantization errors as and that of the watermark: σx e = ρ − QΔ (ρ) ˜ ˜ (11) DWR = 20 log10 , (17) σWATand the detector statistics for the k-th client is defined as: where σWAT is the standard deviation of the watermark components. T 2 While σx can be estimated on the original host features, σWAT can Tk (ρ) ˜ θk e − ||θk || /2. (12) be computed as follows:The decision is made according to the following test: 2 2 MD m Δ2 L m σWAT = σθ + (18) arg maxKU Tk (ρ) if ˜ maxKU Tk (ρ) ≥ γ ˜ M 64 12 M 64 D (ρ) = ˜ k=1 k=1 (13) ∅ if maxKU k=1 Tk (ρ) < γ. ˜ where MD 64 and M 64 represent the percentages of DCT coeffi- m L m M cients suffering the quantization error introduced by the embeddingThe output of the test is either the index k of the guilty client or the process, due to the shift addition process (involving all the MD di-special symbol k = ∅ meaning that no watermark has been found on rections) and to the quantization process (involving only L direc-the examined content. tions) respectively. The threshold γ has to be set so as to minimize the probability In order to force a given DWR value for a specific water-of detection errors. To do so, we formulate the problem as a binary marked image, we introduce a parameter α controlling the water-hypothesis testing where the hypotheses are: H0 , the content is not mark strength and we put it as a factor multiplying the watermarkwatermarked; Hk∗ , the content contains the watermark of the k∗ -th LUT; specifically, we will consider αE[tjh ] and αDk [tjh ] insteadclient. The detector makes an error every time it accuses a client and of E[tjh ] and Dk [tjh ] in equations (7) and (8), and consequentlyno watermark was present (false alarm) or it fails in detecting the wa- also the watermark LUT will result multiplied by α. Since thistermark of the k∗ -th client because it decides that no watermark is parameter is required in decryption, the server will need to send thepresent (missed detection) or it wrongly accuses an innocent client adopted α value to all the clients.(wrong accusation). The performance of the detector is then mea- The relationship between α and the DWR can be computed bysured by the probability of false alarm Pf , the probability of missed taking into account that to assure that the shift value θ remains insidedetection Pm , and the probability of wrong accusation Pw : the interval [−Δ/2, +Δ/2], and given that θ follows a Gaussian Pf =P r {D (ρ) = ∅; H0 } ˜ (14) distribution, the standard deviation σθ of the shifts θ has to be chosen in such a way that σθ = Δ/2 . Furthermore, since a shift value is 4 Pm =P r {D (ρ) = ∅; Hk∗ } ˜ (15) obtained by the addition of R entries of the LUT Wk , we have that 2 2 2 Pw =P r D (ρ) = k , k = k∗ ; Hk∗ . ˜ (16) σθ = Rα σW . By considering that Δ2 = 64σθ , equation (18) can thus be 2Hence, the probability of correct detection should be expressed as rewritten as:Pd = 1 − Pm − Pw . The above error probabilities will depend onthe threshold γ and on several other parameters of the system, and 2 Rα2 σW m 2 16L σWAT = MD + . (19)will allow to measure the performance of the proposed system. 64M 3 Finally, we achieve the watermark strength as a function of the linear 5. PERFORMANCE EVALUATION DWR value (DWRl ) as:To assess the performance of the proposed system, a practical imple-mentation of our scheme has been developed and compared with the 64M σx 2 α= 2 (20)implementation of the previous LUT-based secure Spread Spectrum RσW m[MD + 16L/3]DWRlwatermark embedding presented in [4]. The system embeds a watermark into a gray level image by mod- and therefore by imposing a given watermark distortion (i.e. a givenifying m out of 64 block DCT coefficients. In particular, for each DWR), a proper value for α is achieved.8 × 8 block, the DCT coefficients are reordered in the zig-zag scan, In order to compare the performances of the proposed ST-DMand the ones from the second until the (m+1)-th are selected. Since client-side watermarking system vs. the SS version, we implementedthe host features have variable size, whereas the spreading vector has the two systems considering the following values for the system pa-a fixed size (i.e. M ), we divide the vector of available host features rameters: M = 32, L = 4, m = 4, MD = 32, R = 4, σE = 100,into chunks of length M : each chunk is composed by the DCT co- σW = 0.01, T = 216 , DW R = 36 dB. Parameters α, Δ and σθefficients belonging to l blocks, so that the length of each chunk is have then been derived from the fixed ones, while σx and NB are 99
  4. 4. 0 0 10 10 SS − lena SS − lena SS − mandrill SS − mandrill STDM − lena STDM − lena STDM − mandrill STDM − mandrill −1 −1 10 10 m Pm P −2 −2 10 10 −3 −3 10 10 −20 −19 −18 −17 −16 −15 −14 20 30 40 50 60 70 80 WNR JPEG qualityFig. 1. Comparison between SS and ST-DM client-side embedding: Fig. 2. Comparison between SS and ST-DM client-side embedding:missed detection probability (Pm ) for different values of WNR. missed detection probability (Pm ) for different JPEG qualities. 7. REFERENCESestimated from the under testing image (512 × 512 8-bit grey levelimages were considered). The Pf has been set to 10−3 . [1] M. Barni and F. Bartolini, Watermarking Systems Engineering: Here, the two systems are evaluated in presence presence of ad- Enabling Digital Assets Security and Other Applications, Mar-ditive white Gaussian noise (AWGN), and in presence of JPEG com- cel Dekker, 2004.pression. [2] R. J. Anderson and C. Manifavas, “Chameleon—a new kind of In the first case, we computed the missed detection probability stream cipher,” in Proceedings of the 4th International Work-(Pm ) with respect to the Watermark to Noise Ratio (WNR), that ex- shop on Fast Software Encryption — FSE’97, London, UK,presses the ratio between the power of the watermark and that of the 1997, pp. 107–113, Springer-Verlag.noise: WNR = 20 log10 σWAT /σn where σn is the standard devi- [3] A. Adelsbach, U. Huber, and A.-R. Sadeghi, “Fingercasting—ation of the considered AWGN. The robustness of SS and ST-DM joint fingerprinting and decryption of broadcast messages,” inclient-side systems to the AWGN attack is represented in Fig. 1: 11th Australasian Conference on Information Security and Pri-the results, concerning two stadard images, are in agreement with vacy. 2006, vol. 4058 of Lecture Notes in Computer Science, pp.the usual behavior of the corresponding non-client-side systems [8], 136–147, Springer.that is, ST-DM shows a better performance for higher WNR values.A similar behavior can be observed in the case of the second attack, [4] M. Celik, A. Lemma, S. Katzenbeisser, and M. van der Veen,i.e. JPEG compression, as shown in Fig. 2. We can conclude that in “Look-up table based secure client-side embedding for spread-both cases, ST-DM shows a vanishing probability of missed detec- spectrum watermarks,” IEEE Transactions on Informationtion at high WNR/JPEG quality and performs better than SS when Forensics and Security, vol. 3, no. 3, pp. 475–487, 2008.the degradation on the watermarked content is kept within an accept- [5] B. Chen and G. Wornell, “Quantization index modulation: aable range. class of provably good methods for digital watermarking and information embedding,” IEEE Trans. on Information Theory, vol. 47, no. 4, pp. 1423–1443, May 2001. [6] L. Perez-Freire, P. Comesana-Alfaro, and F. Perez-Gonzalez, 6. CONCLUSIONS “Detection in quantization-based watermarking: performance and security issues,” in Security, Steganography, and Water-In this paper we propose a new scheme following the client side marking of Multimedia Contents VII, Proc. SPIE Vol. 5681,watermark embedding approach for the data copyright protection in P. W. Wong and E. J. Delp, Eds., San Jose, CA, USA, Januarya large scale content distribution environment. In particular, starting 2005, pp. 721–733, SPIE.from the idea of the LUT based secure embedding, we modify such a [7] Z. Jane Wang, Min Wu, Hong Vicky Zhao, Wade Trappe, andscheme for designing it specifically for the Spread Transform Dither K. J. Ray Liu, “Anti-collusion forensics of multimedia finger-Modulation (ST-DM) belonging to the informed watermark embed- printing using orthogonal modulation,” IEEE Trans. on Imageding algorithms. This modification is not straightforward; however, Processing, vol. 14, no. 6, pp. 804–821, June 2005.the experimental results confirm that the superiority of ST-DM vs.SS watermarking exhibited in the classical embedding approach is [8] M. Barni, F. Bartolini, and A. De Rosa, “On the performancemaintained also in the client-side embedding one. We are currently of multiplicative spread spectrum watermarking,” in Proc.working on the theoretical analysis of the detector performance and IEEE Work. on Multimedia signal Processing, MMSP’02, Sanwe are also studying the performance of the system under the aver- Thomas, Virgin Islands, USA, December 2002.age collusion attack. 100