• 沒有找到結果。

在行動裝置上作視訊及文字之資訊隱藏研究

N/A
N/A
Protected

Academic year: 2021

Share "在行動裝置上作視訊及文字之資訊隱藏研究"

Copied!
102
0
0

加載中.... (立即查看全文)

全文

(1)

!

֤

!

֫

!

!

Ҵ

!

ᓡ!

၅૩࣫Ꮠᆤήม࣢ؠۺ!

!

ҳ

!

!

Ԏ

!

在行動裝置上作視訊及文字之

資訊隱藏研究

A Study on Techniques and Applications of Information Hiding in

Videos and Messages via Mobile Phones

研 究 生:王彝琳

指導教授:蔡文祥 教授

(2)

在行動裝置上作視訊及文字之資訊隱藏研究

A Study on Techniques and Applications of Information Hiding in Videos

and Messages via Mobile Phones

研 究 生:王彝琳 Student:Yi-Lin Wang

指導教授:蔡文祥 Advisor:Wen-Hsiang Tsai

國 立 交 通 大 學

資 訊 科 學 與 工 程 研 究 所

碩 士 論 文

A Thesis

Submitted to Institute of Computer Science and Engineering College of Computer Science

National Chiao Tung University in partial Fulfillment of the Requirements

for the Degree of Master

in

Computer Science June 2006

Hsinchu, Taiwan, Republic of China

(3)

A Study on Techniques and Applications of

Information Hiding in Videos and Messages via Mobile

Phones

Student: Yi-Lin Wang

Advisor: Dr. Wen-Hsiang Tsai

Institute of Computer Science and Engineering

National Chiao Tung University

ABSTRACT

With the increase of population having mobile phones as well as the advance of high-speed transmission capability of the wireless network, more and more multimedia data are transmitted through and displayed on public networks for mobile devices. In this study, several methods for information hiding applications, such as copyright protection, covert communication, secret sharing, and text authentication, on mobile devices are proposed. In order to restrict a user account to a specific mobile phone for downloading videos, a copyright protection method is proposed. Because users do not want to see their video productions suffering from downloading by illegal users, a copyright protection method by a lossless visible watermarking technique for videos is proposed. In order to transmit large-volume secret messages on the Internet securely, a covert communication by videos is proposed. Because of the convenience of getting shares by mobile networks, storing shares in mobile devices, and transmitting shares by the SMS, a secret sharing technique by mobile devices is proposed. Furthermore, because of the large number of usages of short messages, an authentication method for short messages is proposed. Good experimental results show the feasibility of the proposed methods.

(4)

在行動裝置上作視訊及文字之資訊隱藏研究

研究生:王彝琳 指導教授:蔡文祥 博士

國立交通大學資訊科學與工程研究所

摘要

隨著行動無線網路的進步以及手機使用率的普及,越來越多樣化的多媒體資 料在網路上供使用者利用行動裝置瀏覽、使用。本論文主要針對行動裝置上普遍 使用的 3GP 影音格式以及文字訊息,利用資訊隱藏和數位浮水印的技術,在行動 裝置的平台上作版權保護、秘密通訊、秘密分享與驗證之研究與應用。在版權保 護方面,我們提出一個架構,來做到限定一個帳號只能在一個特定的行動裝置上 使用以及一個可無失真還原的數位浮水印技術來保護視訊檔案。在秘密傳輸方 面,我們將秘密資訊隱藏在視訊檔案中,再透過網路來傳遞秘密資訊。在秘密分 享方面,我們改善前人所提出的方法,將系統移植到行動裝置上實現。針對廣泛 使用的手機簡訊,我們提出一個方法,可以驗證所接收到的簡訊內容的真偽及發 送方。最後,我們提出相關的實驗結果證明所提出的方法的可行性。

(5)

ACKNOWLEDGEMENTS

The author is in hearty appreciation of the continuous guidance, discussions, support, and encouragement received from his advisor, Dr. Wen-Hsiang Tsai, not only in the development of this thesis, but also in every aspect of his personal growth.

Thanks are due to Mr. Tsung-Yuan Liu, Mr. Chih-Jen Wu, Mr. Kuo-Feng Chien, Mr. Yen-Long Chen, Mr. Kai-Li Chiang, Miss Yu-Tzu Wang, Miss Chia-Yu Hsu, and Miss Pei-Pei Chen for their valuable discussions, suggestions, and encouragement. Appreciation is also given to the colleagues of the Computer Vision Laboratory in the Institute of Computer Science and Engineering at National Chiao Tung University for their suggestions and help during her thesis study.

Finally, the author also extends her profound thanks to her family for their lasting love, care, and encouragement. She dedicates this dissertation to her parents.

(6)

CONTENTS

ABSTRACT(in English)...i

ABSTRACT(in Chinese) ...ii

ACKNOWLEDGEMENTS ... iii

CONTENTS ...iv

LIST OF FIGURES ...vii

LIST OF TABLES...ix

Chapter 1 Introduction...1

1.1. Motivation...1

1.2. Overview of Related Works ...2

1.3. Overview of Proposed Methods...2

1.3.1. Definitions of Terms ...2

1.3.2. Brief Descriptions of Proposed Methods...3

1.3.2.1. Copyright Protection of Videos for Displays on Specified Mobile Phones ...3

1.3.2.2. Lossless Visible Watermarking for Copyright Protection of Videos Displayed on Mobile Phones ...4

1.3.2.3. Covert Communication by Videos on Mobile Phones...4

1.3.2.4. Secret Message Sharing on Mobile Phones by An Information Sharing Technique...4

1.3.2.5. Text Secret Authentication on Mobile Phones...5

1.4. Contributions ...5

1.5. Organization of Thesis ...5

Chapter 2 Review of Related Works and Standards...7

2.1. Introduction...7

2.2. Review of Related Works ...7

2.2.1. Review of Information Hiding Techniques for Videos ...7

2.2.2. Review of Information Sharing of Text-type Documents...8

2.3. Review of Standards ...8

2.3.1. H.263 Video Format...9

2.3.2. Mobile Phone Identification Number ---- International Mobile Equipment Identity (IMEI) ... 11

Chapter 3 Copyright Protection of Videos for Displays on Specified Mobile Phones ...14

(7)

3.2. Techniques of Proposed Method...14

3.2.1. System Configuration ...15

3.2.2. Randomization of Video Contents by Random Keys ...17

3.2.3. Copyright Protection Scheme by Use of IMEI and An Encryption Technique via Exclusive-OR Operation ...18

3.2.4. Detailed Algorithm...19

3.3. Experimental Results and Discussions ...22

Chapter 4 Lossless Visible Watermarking for Copyright Protection of Videos Displayed on Mobile Phones ...27

4.1. Introduction...27

4.2. Proposed Lossless Visible Watermarking Method...28

4.2.1. Review of Block Layer Encoding of H.263 Format ...28

4.2.2. Idea of Proposed Method ...32

4.2.3. Watermark Image Embedding Process ...35

4.2.4. Watermarking Information Embedding Process ...37

4.2.5. Recovery of Watermarked 3GP Video by Removing Visible Watermarks ...39

4.3. Experimental Results ...41

4.4. Discussions ...45

Chapter 5 Covert Communication by Videos on Mobile Phones ...46

5.1. Introduction...46

5.2. Proposed Data Hiding Method for Covert Communication ...46

5.2.1. Proposed Idea Using AC Coefficients of DCT ...47

5.2.2. Detailed Algorithm...48

5.3. Experimental Results ...53

5.4. Discussions ...57

Chapter 6 Secret Message Sharing on Mobile Phones by An Information Sharing Technique ...58

6.1. Introduction...58

6.2. Proposed Secret Sharing Method...58

6.2.1. Creation of Secret Shares...60

6.2.2. Fitting Large Noise Share into Mobile Phone Message ...62

6.2.3. Steganographic scheme for Disguising Noise Share ...62

6.2.4. Secret Pure Text Recovery Process...69

6.3. Experimental Results ...71

6.4. Discussions ...74

Chapter 7 Text Secret Authentication on Mobile Phones...75

(8)

7.2. Proposed Method for Message Authentication ...75

7.2.1. Process of Embedding Authentication Signals ...77

7.2.1.1. Embedding Authentication Signals in English Messages...77

7.2.1.2. Embedding Authentication Signals in Chinese Messages ...78

7.2.2. Creation of Authentication Signals ...79

7.2.3. Verification of Authenticated Messages...83

7.3. Experimental Results ...84

7.4. Discussions ...87

Chapter 8 Conclusions and Suggestions for Future Works ...88

8.1. Conclusions...88

8.2. Suggestions for Future Works...89

(9)

LIST OF FIGURES

Figure 3. 1 The system configuration of a multimedia website proposed in this study..15

Figure 3.2 The procedure of user registration...16

Figure 3.3 A flowchart of proposed copyright protection method...17

Figure 3.4 A flowchart of proposed scheme. ...19

Figure 3. 5 Result of protected video.(a)(b)(c)(d)(e)(f) Some frames of the protected video. ...23

Figure 3. 6 (a) The main menu of client program. (b) The login menu of client program. (c) After login, the movie list of this website will be shown and the user can choose the movie to display. (d) (e) (f) Some pictures caught when displaying...25

Figure 3. 7 (a) User use the same user account to login the web server. (b) Getting the movie list of web server. (c) (d) The result of displaying the same movie on an illegal mobile device. ...26

Figure 4.1 A system configuration of the proposed copyright protection method...29

Figure 4.2 The structure of block layer. ...30

Figure 4.3 The idea of embedding a watermarking pixel. ...33

Figure 4.4 The process of proposed method of watermarking. ...34

Figure 4.5 Flowchart of the watermark image embedding process. ...36

Figure 4.6 Structure of the recording token. ...38

Figure 4.7 Flowchart of watermarking information embedding process...38

Figure 4.8 Flowchart of recovery process...40

Figure 4.9 Some frames extracted from the watermarked videos. (a) The first I-frame with the watermark information embedded. (b) (c) (d) (e) (f) Some frames after watermarking with user input key. ...41

Figure 4.10 Procedure of downloading the shared videos. (a) Browse the movie list of the shared watermarked videos by browser. (b) After choosing the movies, the key is requested. (c) The downloading process. (d) Display of the downloading video. ...42

Figure 4.11 Illustration of the recovered video with the correct key. (a) (b) (c) (d) (e) (f) Some frames extracted from the recovered video with the correct key. ...43

Figure 4.12 Illustration of the recovered video with an incorrect key. (a) (b) (c) (d) (e) (f) Some frames extracted from the recovered video with the incorrect key...44

Figure 5.1 System configuration of proposed covert communication method. ...47

Figure 5.2 Flowchart of the secret embedding process...48

Figure 5.3 The flowchart of embedding process ...50

Figure 5.4 A flowchart of secret message extracting process ...52 Figure 5.5 Comparison between the original video and the stego-video.(a) (c) (e) (g) (i)

(10)

(k) The original frames of the video. (b) (d) (f) (h) (j) (l) The frames after a secret

message is embedded with a user key. ...53

Figure 5.6 Process of getting a secret message from a stego-video.(a) Downloading movies by keying in a public URL. (b) Sending the request. (c) Inputting the key to extract and recover the secret message. (d) The secret message extracted by a correct key. (e) Inputting a wrong key. (f) The result of extracting the secret message by a wrong key. ...56

Figure 6.1 System configuration of proposed method...59

Figure 6.2 Flowchart of secret pure text sharing process. ...60

Figure 6.3 Flowchart of noise data translation process...63

Figure 6.4 Flowchart of the secret recovery process. ...70

Figure 6.5 Illustration of shares.(a) (b) Two shares produced with secret message “Good morning 123”. (c) (d) The texts. ...71

Figure 6.6 Illustration of secret sharing process on mobile phones. (a) The menu of the client program including the “Send shares” which can send the stored shares by the SMS, the “Receive” which can receive the shares by the SMS, and the “sharing” which can get the shares in the Internet, show the shares, solve the secret message and, clear all data. (b) The menu of the sharing program. (c) (d) Get shares in the Internet. (d) (f) The shares. (g) Receive the shares by the SMS. (h) The result of solving the secret message with all shares. ...73

Figure 7.1 Procedure of the proposed method. ...76

Figure 7.2 Procedure of embedding the authentication signal in English messages. ...78

Figure 7.3 Process of embedding authentication signals in Chinese messages...79

Figure 7.4 Flowchart of creation of the authentication signals...82

Figure 7. 5 Flowchart of the authentication process. ...84

Figure7.6 Illustration of a Chinese short message.(a) The original Chinese short message. (b) The message after preprocessed. (c) The message after the authentication signals is embedded...85

Figure 7.7 Illustration of an English short message.(a) The original English message. (b) The message after preprocessed. (c) The message after the authentication signals is embedded. ...86

Figure 7.8 Illustration of an authentication process of an English short message. (a) When user receive a Chinese message. (b) After the “Verification” button is pressed. (c) When user receive an English message. (d) After the “Verification” button is pressed. ...87

(11)

LIST OF TABLES

Table 2.1 The relationships between frames and macroblocks... 11

Table 2.2 The structure of IMEI. ...12

Table 2.3 The FAC. ...12

Table 2.4 Parameter of different manufacturers to extract IMEI ...13

Table 4.1 The FLC table for RUN and LEVE. ...30

(12)

Chapter 1

Introduction

1.1. Motivation

With the increase of population having mobile phones as well as the advance of high-speed transmission capability of the wireless network, more and more multimedia data are transmitted through and displayed on public networks for mobile devices. Some websites adopt the Windows Media DRM (Digital Right Management) to place restrictions on the display of multimedia data to users. But the Windows Media DRM works only on the Windows system. Unfortunately, the Windows system is not popular on mobile phones. In order to solve this problem, we propose a technique for copyright protection of videos for displays on specified mobile phones.

Besides, more and more people like to share their videos recorded by mobile phones on the Internet. And on account of the limit storage size of the mobile phone, an user may delete the original copy of a video in the mobile phone. Because illegal users may download videos for misuses, authors may want to protect the copyright of their videos. In order to solve this problem, a lossless visible watermark technique is proposed in this study. Illegal users cannot get the correct video content without the protection key.

On the other hand, since video files can be distributed via the Internet quickly, they might be good camouflages for secret transmissions. Because of the large volumes of video files, they become suitable cover-media for carrying secret messages from one site to another with mobile phones. This application of covert communication needs an extraction program running on a mobile phone to extract the secret message from the

(13)

cover-media. We propose a covert communication method by embedding secrets into videos for use in the mobile network to solve this problem.

Because of the popularity of carrying mobile phones, sharing secret messages by mobile phones is very convenient. In order to achieve the goal of sharing secret messages via mobile phones, we also propose a method of secret message sharing on mobile phones.

Nowadays, the so-called short message service (SMS) is used frequently. But some swindlers might send short messages pretending messages sent by banks to defraud people of money. The authentication of short messages is urgently necessary. So we finally propose a message authentication method to solve this problem.

1.2. Overview of Related Works

In this study, some new techniques for information hiding applications are proposed. These applications are about embedding information within videos and text messages. A review of video and text information hiding researches will be described in Chapter 2. In addition, because the proposed information hiding and watermarking techniques are applied to H.263 videos, we will also make a review of the H.263 standard in Chapter 2.

1.3. Overview of Proposed Methods

1.3.1. Definitions of Terms

The definitions of some related terms used in this study are described in this section as follows.

(14)

files in which messages are embedded.

2. Protected video: A protected video is a video in which the content has been changed by a certain technique like information hiding, etc., for copyright protection.

3. Watermarked video: A watermarked video is a video in which watermarking information and a visible watermark have been embedded.

4. Recorded token: A recorded token is a code with the fixed length code (FLC) format used to record the watermarking information.

5. Random key: A random key is a user-specified input key used to randomize the content of a video.

6. Stego-video: A stego-video is a video in which a secret message has been embedded.

7. Share: A share is one of several pieces of the result after applying a steganographic technique on a piece of information.

8. Authenticated message: An authenticated message is a piece of short messages in which authentication signals have been embedded.

1.3.2. Brief Descriptions of Proposed Methods

1.3.2.1.

Copyright

Protection

of

Videos

for

Displays

on

Specified

Mobile

Phones

In this study, a copyright protection technique is proposed for displays of videos on specified mobile phones. The basic idea is to randomize the video content by a random key. Then, a copyright protection scheme by use of the International Mobile Equipment Identity (IMEI) code is applied for key transmission. The purpose of this step is to achieve the goal to place restriction on specified mobile phones for video displays.

(15)

1.3.2.2.

Lossless

Visible

Watermarking

for

Copyright

Protection

of

Videos

Displayed

on

Mobile

Phones

In this study, a lossless visible watermarking for copyright protection for videos is proposed. The idea is to take a macroblock as a unit and then change the DC value of the DCT of the macroblock by the exclusive-OR operation with the user-specified random key. In addition, a technique of embedding the watermarking information to record the positions of changed macroblocks is also proposed.

After the server program receives the key from the client, it will recover the watermarked video with the random key, remove the recorded token, and then deliver the recovered video to the client.

1.3.2.3.

Covert

Communication

by

Videos

on

Mobile

Phones

In this study, we adopt video files as cover media for covert communication. We use the user-specified random key to randomize the secret message and transform the result into binary form. And then a process of changing the encoding format of the AC coefficients which exist originally in the video files is applied to embed the binary secret message.

And when a receiver gets stego-videos and provides the correct key, a client program will extract the embedded message and use the key to recover the message.

1.3.2.4.

Secret

Message

Sharing

on

Mobile

Phones

by

An

Information

Sharing

Technique

In this study, we propose a secret message sharing technique to share the text-type secret message with steganographic effects on mobile phones. The first technique of secret sharing is based on the exclusive-OR operation. We use the exclusive-OR operator to generate several pieces of share data. A second technique we propose is to translate pieces of share data into simple sentences to form meaningful texts, called stego-texts. The purpose of this technique is to make each share of data meaningful to

(16)

increase the steganographic effect. By combining the two techniques together, a secret pure text can be shared among several participants.

1.3.2.5. Text Secret Authentication on Mobile Phones

In this study, we also propose a technique of short message authentication on mobile phones. First, we use the message-digest algorithm 5 (MD5) to produce a 16-byte authentication data for a short message content. And then we combine the authentication data with an identification code of the short message sender to form 1-byte authentication signal. Finally, the 1-byte authentication signal is embedded into the original short message and then the resulting authenticated message is delivered.

When the receiver gets the authentication message, a client program will help the user to determine the correctness of the content of this short message and the identity of the publisher.

1.4. Contributions

s

Several contributions are made in this study, as described in the following:

1. A system with server and client programs for copyright protection for displays on specified mobile phones is proposed.

2. A lossless visible watermarking technique for copyright protection is proposed. 3. A method of covert communication by videos is proposed.

4. A method of secret sharing for text messages on mobile phones is proposed. 5. A technique for authentication of short messages is proposed.

1.5. Organization

of

Thesi

In the remainder of this thesis, a review of related works about video data hiding, video copyright protection, visible watermarking, text secret sharing, and text message

(17)

authentication, as well as the H.263 and the IMEI standards is given in Chapter 2. In Chapter 3, the proposed method for copyright protection for videos is described. In Chapter 4, the proposed method for lossless visible watermarking is described. In Chapter 5, the proposed method of cover communication is presented. In Chapter 6, the proposed method of text message sharing is stated. In Chapter 7, the proposed method of text message authentication is described. Finally, conclusions and some suggestions for future researches are made in Chapter 8.

(18)

Chapter 2

Review of Related Works and

Standards

2.1. Introduction

Nowadays, many data hiding techniques for videos or text messages have been proposed. These techniques are applied to achieve the goal of copyright protection, authentication, cover communication, secret sharing, etc. In this chapter, some related work of information hiding for videos and text message will be described. And some standards which are used in this study will be stated.

2.2. Review of Related Works

2.2.1. Review of Information Hiding Techniques for Videos

Nowadays, many techniques of data hiding in videos have been proposed [1-5]. The purpose is to achieve the functions of copyright protection, covert communication, and authentication. Chen and Tsai [1] proposed a method to hiding data in the median frequency of the DCT domain in the I-frame and the proper motion vectors in the P-frame and the B-frame. The reason why data are hidden in the median frequency regions is that the human visual system is less sensitive to the change in the high frequency regions than in the low frequency ones. And according to the property of the P-frame and the B-frame, the data are embedded in two motion vectors where the difference between them is smaller than a threshold. The threshold is selected according to a rule that the change to these two motion vectors is not sensitive to the

(19)

human visual system.

A method of embedding information in H.263 videos is proposed by Song and Liu [3] in which the information is embedded by changing the half-pixel motion estimation in every macroblock coded in INTER mode.

Many techniques about visible watermarking techniques have been proposed for copyright protection of videos [1, 4]. Chen and Tsai [1] proposed a method for embedding visible watermarks in MPEG videos. In their method, the black pixel of a watermark is embedded by changing the DC value in the DCT domain and the watermarking information is embedded in the medium frequency region in the DCT domain of the corresponding macroblock. Meng et al. [4] proposed a method for visible watermarking in MPEG videos. The method is to adjust the watermark strength dynamically according to the local content features derived in the DCT domain.

2.2.2. Review of Information Sharing of Text-type

Documents

An information sharing technique of text-type documents with steganography capability is proposed by Huang and Tsai [6], which shares the text message by a quick exclusive-OR operation and disguise the noise data as one paragraph of English sentences.

2.3. Review of Standards

The most popular multimedia container format for mobile devices is the 3GP defined by the 3rd Generation Partnership Project (3GPP) for use on third-generation technology (3G) mobile phone [8]. The file extension of 3GP is .3gp or .3gp2. One of

(20)

the video compression techniques adopted in the 3GP format is ITU-T Recommendation H.263 [9].

In this study, we adopt the 3GP file with the H.263 video compression technique as our video file. We will give a brief description of the H.263 standard in Section 2.3.1. In Section 0, we will give an introduction to the International Mobile Equipment Identity (IMEI) code.

2.3.1. H.263 Video Format

An H.263 video consists of a hierarchical structure with four layers. From top to bottom the layers are: Picture, Group of Blocks (GOB), Macroblock, and Blocks. There are five standardized picture formats: CIF, 4CIF, 16 CIF, Sub-QCIF and QCIF.

The data of each picture consists of a picture header which indicates the frame type of this picture. There are various types of frames in the H.263 format, including intra-coded frame (I), predictive-coded frame (P), bi-directionally predictive-coded frame (B), and PB frame which consist of two pictures coded as one unit: one P-frame and one B-frame. The structure of an H.263 video is described in Fig 2.1.

H.263 pictures are divided into regions of macroblocks which are in order from the left border of the picture to the right border of the picture in the same row, each of which is called a Group of Blocks (GOB). Fig 2. 2 shows the arrangement of GOBs in a CIF, 4CIF, 16 CIF, Sub-QCIF, and QCIF picture format.

(21)

Fig 2.1 The structure of H.263 video stream

(22)

In the H.263 standard, not only the transform coding method similar to the JPEG is applied to reduce the spatial redundancy, but also the motion-compensation algorithm is adopted to reduce the temporal redundancy between frames. A macroblock (MB) is adopted as a motion-compensation unit. There are different types of macroblocks in each type of frames. Table 2.1 shows the relationships between frames and macroblocks.

Table 2.1 The relationships between frames and macroblocks

Intra-coded MB Forward-coded MB Backward-coded MB Bidirectionally-interpolated MB I frame P frame ● ● B frame ● ● ● ● PB frame ● ● ● ●

2.3.2. Mobile Phone Identification Number ----

International Mobile Equipment Identity (IMEI)

IMEI is a short term for International Mobile Equipment Identity. It is a unique identification number to every Global System for Mobile Communication (GSM) and Universal Mobile Telecommunications System (UMTS) mobile phone. The IMEI number is used by the GSM network to check if the mobile device is valid. If the mobile device is reported as stolen, the IMEI will be marked as invalid to access the mobile network. In other mobile networks, the IMEI number is only used to identify

(23)

the device.

The IMEI is a 15-digit number which is combined of the origin, model, and serial numbers of the device. The model and the origin comprise the initial 8-digit of the IMEI as six-digit Type Approval Code (TAC) and two-digit Final Assembly Code (FAC). The remainder of the IMEI is manufacturer-defined and a Luhn check digit at the end. The structure of IMEI is shown in Table 2.2 and the FAC is shown in Table 2.3 [11].

Table 2.2 The structure of IMEI.

Table 2.3 The FAC.

Code manufacturer Code manufacturer Code manufacturer

01 30 Ericsson 51 Sony 02 AEG 40 Siemens 60 Alcatel 07 41 70 Sagem 40 Motorola 44 75 Dancall

10 47 Option International 80 Philips 20

Motorola

50 Bosch 85 Panasonic

The JAVA program in a mobile phone can access the IMEI number by the standard API. The parameters to access the identification numbers of different manufacturers are not the same. Some parameters of different manufacturers are

(24)

shown in Table 2.4.

Table 2.4 Parameter of different manufacturers to extract IMEI Manufacturer Parameter Motorola System.getProperty("IMEI") Siemens System.getProperty("com.siemens.IMEI") Sony Ericsson (Except P910 series) System.getProperty("com.sonyericsson.imei") [10] Sony Ericsson (P910 series) System.getProperty("com.sonyericsson.IMEI") [10]

(25)

Chapter 3

Copyright Protection of Videos for

Displays on Specified Mobile Phones

3.1. Principle of Proposed Method

The service of downloading multimedia data at users’ expenses is very popular recently. Some websites impose a restriction on this service, that is, one account is allowed only on a specified device by the Windows Media DRM.

In the recent year, the mobile devices provide users the ability of multimedia access through the Internet. As the growth of mobile devices, requests for net surfing on mobile devices are increasing. The technique of using the Windows Media DRM is not suitable for the mobile device system because the Windows system is not popular for use as software systems on mobile devices.

An idea is proposed in this study to restrict users, who have registered on the website, to display clips of movies only on specified mobile devices. In Section 3.2, we will describe our idea of this kind of video copyright protection. And detailed algorithms will be given. In Section 3.3, some experimental results will be shown with discussions made.

3.2. Techniques of Proposed Method

In order to achieve the above-mentioned purpose, two steps are proposed. First, the video content is randomized by a random key. Second, a scheme of transmission of the key is adopted. In Section 3.2.1, the structure of an involved multimedia web

(26)

server will be shown. In Section 3.2.2, we will propose an idea of copyright protection of videos by randomization of video contents using the random key. In Section 3.2.3, we will propose another idea of how to put restrictions on users so that they can only download and display videos on specified mobile phones. In Section 3.2.4, a detailed algorithm for this purpose will be shown.

3.2.1. System Configuration

Our multimedia web servers provide registered users the service of viewing movie clips. There need some databases in the server for this type of service. First, there is a user database which records the user account and the IMEI number of the mobile phone of each registered user. Second, there needs a database of provided 3GP movie clips and the keys used to randomize the video contents in the database.

More specifically, a manager of the multimedia website assigns a random key to randomize the video contents of the movie clips and records the key into the database. He/She then puts the protected movie clips on the website for registered users to download and view. An illustration of the configuration of the proposed system is shown in Figure 3. 1.

(27)

Furthermore, a user who wants to be a member of the multimedia website has to download a client program from the multimedia website. The client program will help the user to register to get a user account. Then, the client program sends the user account and the IMEI extracted from the user’s mobile phone to the multimedia server. The server records the information into the database. After the registration procedure is done, the user can use the client program to browse the website and enjoy the service of downloading and viewing movies from the multimedia website. A flowchart of the registration procedure is shown in Figure 3.2.

(28)

3.2.2. Randomization of Video Contents by Random Keys

In order to prevent the copyright of the movie clips in the multimedia server, we randomize the video contents by user random keys in advance. Without getting a correct key, the server cannot recover the video contents correctly.

After a 3GP video is acquired, the proposed system will extract the H.263 video track from the 3GP file at first. Then the system processes the H.263 video track to randomize the content of the video. Because of the property of the GOB format of the H.263 video, the GOB is taken as a unit of randomization. After using a random number generator to produce a random key of a sufficient length, the produced key is used to randomize the position of the MB in every GOB in the I-frames of the video clip.

After randomization, the randomized H.263 file is finally combined with the audio track into the protected 3GP file. A flowchart of the procedure is shown in Figure 3.3.

(29)

3.2.3. Copyright Protection Scheme by Use of IMEI and An

Encryption Technique via Exclusive-OR Operation

In order to bind the user account to a specified mobile phone, a method is proposed in this study. We use the IMEI of the mobile phone and a symmetric encryption technique to achieve this purpose.

When a user logins a website and requests for the movies supplied by the website, the client program will send the user request to the server. After the server receives the request, it will give a response message. The message is the random key encrypted by the IMEI of the requesting mobile phone. The encryption method will be described in Section 3.2.4.

When the client program receives the response message from the server, the client program will use the same encryption method to solve the random key and then send it back to the multimedia server. After the server receives the response key, the server uses the key to recover the 3GP video file and sends the recovered video to the client for display.

(30)

Figure 3.4 A flowchart of proposed scheme.

3.2.4. Detailed Algorithm

After extracting the video track from a 3GP movie clip, a sequence of frames is obtained. An algorithm for randomization of the video content is described as follows.

Algorithm 3.1: Randomization of video contents. Input: a user key K and a sequence of video frames S.

Output: a sequence of frames in which the positions of the macroblocks in the

I-frames are randomized.

Steps:

1. Use K to generate a random byte sequence and separate it into n parts:

(31)

where n is the number of GOBs in every I-frame, m is the number of macroblocks in every GOB, and each aij is a byte with its value being in the range of 0 through

255.

2. Use Ai to randomize the positions of the macroblocks in the i-th GOB of an I

frame in the following way, where i = 1, 2, …, n.

2.1 Take the modulos of every two consecutive elements in Ai as follows:

Lk = (aik)modm;

Lk+1 = (ai(k+1))modm

where k = 1, 2, …, m−1.

2.2 Exchange the Lk-th macroblock with the Lk+1-th macroblock in the i-th

GOB .

3. Repeat the above steps for every I-frame from S.

In the recovery procedure of a protected video, the random positions of the macroblocks should be found out first. Then, by using of the result, reversions of macroblock positions are conducted to recover the protected video content. The recovery process is described as follows.

Algorithm 3.2: Recovery of the contents of a video.

Input: A sequence S of randomized frames and a key K' got from the client side. Output: A recovered video.

Steps:

1. Create a matrix T with n×m elements which records the position of every macroblock as follows:

T = {Tij | i = 1, 2, …, n and j = 1, 2, …, m}

(32)

macroblocks in every GOB. Every Tij represents the position of a macroblock, in

which i means that this macroblock belongs to Number i GOB, and j means that this is the j-th macroblock in the i-th GOB.

2. Initialize the elements in T in the following way:

Tij = j.

3. Use K' to generate a random byte sequence and separate it into n parts:

A1 = (a11, a12, …, a1m), A2 = (a21, a22, …, a2m), …, An = (an1, an2, an3, …, anm)

where each aij is a byte with its value being in the range of 0 through 255.

4. Use Ai to randomize the i-th row of T in the following way, where i = 1, 2, …, n.

i. Take the modulos of every two consecutive elements in Ai as follows:

x= (aik)modm;

y= (ai(k+1))modm

where k = 1, 2, …, m−1. ii. Exchange Ti,x and Ti,y.

5. Make a new matrix T' with n×m elements as follows:

T' = {T'ij | i = 1, 2, …, n and j = 1, 2, …, m}.

6. Set every T'ij as follows:

i. Search every element in the i-th row of T, find out the Tik whose value

is equal to j and set T'ij as k.

7. Search for every I-frame IF in S, and recover the content of IF to be a new I-frame

IF' in the following way.

i. For the j-th macroblock in the i-th GOB in IF', get the data from the

T'ij-th macroblock in the i-th GOB in IF.

ii. Repeat Step i above until all the macroblocks of IF' are processed. iii. Replace IF with IF' in S.

(33)

The symmetric encryption method used in the key transmission scheme is described as follows.

Algorithm 3.3: Encryption used in key transmission.

Input: A key K used to randomize video contents and the IMEI I of the requested

client.

Output: An encrypted sequence B of bytes. Step:

1. Take I as the input of a random number generator to generate a sequence S of bytes with the same size as K.

2. For every byte in K, perform the Exclusive-OR operation on the i-th byte of K and the i-th byte of S to generate the i-th byte of B.

3. Take the generated byte sequence B as the one to be transmitted to the client program.

After the client program receives the encrypted sequence, it recovers the random key and then transmits it to the server to get the desired movies.

3.3. Experimental Results and

Discussions

In our experiments, the application of copyright protection of videos for displays on a specified mobile phones is presented. First, Figure 3. 5 shows some frames of protected videos by a random key.

(34)

(a) (b)

(c) (d)

(e) (f) Figure 3. 5 Result of protected video.(a)(b)(c)(d)(e)(f) Some frames of the protected

video.

Second, an example of the process of viewing videos on mobile device is shown in Figure 3. 6.

(35)

(a) (b)

(c) (d) Figure 3. 6 (a) The main menu of client program. (b) The login menu of client

program. (c) After login, the movie list of this website will be shown and the user can choose the movie to display. (d) (e) (f) Some pictures caught when displaying.

(36)

(e) (f) Figure 3. 6 (a) The main menu of client program. (b) The login menu of client

program. (c) After login, the movie list of this website will be shown and the user can choose the movie to display. (d) (e) (f) Some pictures caught when displaying(continued).

Finally, an example of results that an illegal user uses the same account in an unregistered mobile phone to get a movie for display is shown in Figure 3. 7.

In this chapter, we have proposed a copyright protection scheme of videos for display on mobile devices. The proposed method can protect videos on the Internet from suffering from illegal downloads for display. And the protected videos are safe on the Internet because the contents of the protected videos will not be stolen without the user key.

(37)

(a) (b)

(c) (d) Figure 3. 7 (a) User use the same user account to login the web server. (b) Getting the

movie list of web server. (c) (d) The result of displaying the same movie on an illegal mobile device.

(38)

Chapter 4

Lossless Visible Watermarking for

Copyright Protection of Videos

Displayed on Mobile Phones

4.1. Introduction

With the advance of mobile computing technologies, more and more cellular phone provides the ability of video recording. People may use these functions to record something interesting in their daily life.

And because of the improvement of net surfing on mobile devices, users can use mobile devices to access the Internet. Many kinds of multimedia data are shared on the Internet. When users produce a video, they may want to share their productions on the Internet. Because of the limit of the storage of mobile phones, a user may copy a video clip to a personal computer and does not keep it in his/her mobile device.

When the users share their recorded videos on the Internet, they do not want to see their productions suffering from downloading by illegal users. In order to protect the copyright of the videos, a lossless visible watermarking technology is proposed in this study.

In Section 4.2, we will describe the proposed lossless visible watermarking method for copyright protection of video contents. In Section 4.3, some experimental results of the proposed method will be shown. Finally in Section 4.4, some discussions will be made.

(39)

4.2. Proposed Lossless Visible

Watermarking Method

Our goal is to protect the copyright of 3GP videos by a lossless visible watermarking technology. The video is protected by a user input key. The watermarked videos will not be displayed correctly without the correct key. The watermarking information is embedded in order to help the server to recover the videos without recording the watermark image.

A user uses a program designed in this study to embed a watermark into a recorded video and then uploads the protected video to the server. The server is like a multi-function web server. First, it receives HTTP requests, processes the requests, and then gives appropriate responses. Second, it provides spaces to users to share their videos. Furthermore, it recovers the watermarked video and transmits to the client. A system configuration of the proposed method is shown in Figure 4.1.

In Section 4.2.2, we will describe the proposed method. In Section 4.2.3, the process of embedding a watermark will be described and in Section 4.2.4, the process of embedding watermarking information will be elaborated. In Section 4.2.5, the procedure of recovery of the original video will be described.

4.2.1.

Review

of

Block

Layer

Encoding

of

H.263

Format

As mentioned in Section 2.3.1, every intra-coded MB comprises four luminance blocks and two chrominance blocks. The structure of the block layer encoding format

(40)

Figure 4.1 A system configuration of the proposed copyright protection method.

is shown in Figure 4.2. The field INTRADC, a codeword of 8 bits, and TCOEF represent the DC and AC of the quantized DCT coefficients for intra-coded blocks, respectively.

(41)

INTRADC TCOEF Figure 4.2 The structure of block layer.

The TCOEF field represents a combination of a last nonzero coefficient indication (LAST: “0” and “1” mean that there are more or no more nonzero coefficients in this block, respectively) and a Run-level Coding (RLC).

There are two different coding methods of the TCEOF field: variable length coding (VLC) and fixed length coding (FLC). The most commonly occurring RLC is encoded by VLC and the remaining combination of (LAST, RUN, LEVEL) are fixed length coded with a 22-bit codeword consisting of 7 bits ESCAPE, 1 bit LAST, 6 bits RUN and 8 bits LENGTH. The FLC and VLC codes for TCOEF are given in Table 4.1 and Table 4.2.

(42)
(43)

4.2.2.

Idea of Proposed Method

A watermark to be embedded is assumed to be a binary image (a black and white logo, for instance). Each pixel in the watermark will be referred to as a black watermark pixel or a white one according to its binary value 1 or 0, respectively. The idea of the proposed embedding process for I-frames is to use each macroblock to embed a watermark pixel. The idea is illustrated in Figure 4.3.

The embedded watermark pixels can be losslessly removed by checking the embedded watermarking information in the recovery process. The method of embedding a watermark depends on the random signals generated by a user input key. Without getting the correct key, the video will not be recovered losslessly and correctly.

Because the P, B and P-B frames are coded by referencing to the forward or backward I-frames, the watermarked I-frames will influence the appearance of what they display. The change of the I-frames is sufficient to cause damages to the video content.

The method of embedding watermarking information is to insert a token which fits in with the H.263 encoding but should not be shown in a normal encoding procedure into the corresponding macroblock of the first I-frame. In the recovery procedure, the server extracts the watermarking information from the first I-frame and then recovers the video content by the received key.

(44)
(45)

The procedure of the proposed copyright protection method is shown in Figure 4.4. The detailed process is described in Section 4.2.3 and Section 4.2.3.

(46)

4.2.3.

Watermark

Image

Embedding

Process

In the process of embedding of watermark image, the macroblock of each I-frame are taken as a unit. Each macroblock includes six blocks of 8×8 pixels, four luminance blocks, and two chrominance blocks. In order to retain the black watermark pixels in a macroblock, a modification is made in the DC coefficient in every block in the macroblock. If the embedded watermark pixel is a white pixel, no change will be done in the DC coefficient in the macroblock. A flowchart of the watermark image embedding process is shown in Figure 4.5 and a corresponding detailed algorithm is described in the following.

Algorithm 4.1: Watermark image embedding process

Input: An I-frame F expect the first one, a user key K, and a binary watermark W. Output: A watermarked I-frame F′ with a visible watermark.

Steps:

1. Use the user input key K as a seed for a random number generator to produce two random sequence S and S. S is a sequence of m×n elements with its value being in the range of 0 through 255 and S' is a sequence of m×n elements which are either 0 or 1, where m is the number of GOBs in every frame and n is the number of macroblocks in every GOB. Denote S and S′ as follows:

S = {Sij | i = 1, 2, …, m and j = 1, 2, …, n }

S = {S'ij | i = 1, 2, …, m and j = 1, 2, …, n }.

(47)

Cdc will be made to every block in this macroblock as follows:

set = XOR ' , if =1 and =1; set = NXOR ' , if =1 and =0; keep unchanged, otherwise.

dc dc ij ij ij dc dc ij ij ij dc C C S W S C C S W S C ⎧ ⎪ ⎨ ⎪ ⎩

(48)

4.2.4.

W

Watermarking

Information

Embedding

Process

In the proposed method, we use the first I-frame of the videos to record the watermarking information for lossless recovery. Hence, the watermarked videos can be recovered without the watermark image. We use a recording token which is fit in with the H.263 format but will not be used in normal encoding to record a black watermark pixel.

As mentioned in Section 4.2.1, some codes of LEVEL in FLC are not used, such as (00000000)2 and (10000000)2. Therefore, we use the token which is a combination

of the ESCAPE code, the LAST with its code being (1)2, the RUN with its code being

(000000)2, and the LEVEL with its code being (00000000)2. The structure of the

recording token is shown in Figure 4.6 and a flowchart of the embedding process is shown in Figure 4.7. A detailed algorithm is described as follows.

Algorithm 4.2: Process of watermarking information embedding.

Input: The first I-frame F of a video, the watermark image W, and the recording

token T.

Output: A recorded I-frame F.

Steps:

1. For every macroblock in F, take the first luminance block as the recording block. 2. Find the last coefficient code C in the block and modify the block data as follows:

change into the non-last code and insert the recording token , if the = 1; no change to , otherwise. ij C T C ⎧ ⎨ ⎩

(49)

ESCAPE LAST RUN LEVEL Binary format 0000 011 1 0000 00 0000 0000

Figure 4.6 Structure of the recording token.

(50)

4.2.5.

Recovery of Watermarked 3GP Video by

Removing Visible Watermarks

When the server receives requests for the watermarked video, it uses the user input key to recover the watermarked video and then delivers it to the client. If the input key is wrong, the watermark can not be removed losslessly, thus achieving the purpose of copyright protection. The recovery process is shown in Figure 4.8 and a detailed algorithm is described as follows.

Algorithm 4.3: The process of recovery of watermarked videos Input: A user input key K and a watermarked video V.

Output: A recovered video V′.

Steps:

1. Use the user input key K as a seed for a random number generator to produce two random sequence S and S' different types, where S is a sequence of m×n elements with its value being in the range of 0 through 255 and S is a sequence of m×n elements which are either 0 or 1, where m is the number of GOBs in every frame and n is the number of macroblocks in every GOB. Denote S and S′ as follows:

S = {Sij | i = 1, 2, …, m and j = 1, 2, …, n };

S = {Sij | i = 1, 2, …, m and j = 1, 2, …, n }.

2. Extract the video track Tv and audio track Ta from V.

3. For the first I-frame in Tv, search and remove the recording token and record the

(51)

token in the corresponding macroblocks, set Wij as 1; else, as 0.

4. For every macroblock Mij of the following I-frames in Tv, modify the DC

coefficient Cdc of the blocks as follows:

set = XOR ' , if =1 and =1; set = NXOR ' , if =1 and =0; keep unchanged, otherwise.

dc dc ij ij ij dc dc ij ij ij dc C C S W S C C S W S C ⎧ ⎪ ⎨ ⎪ ⎩

5. After every I-frame is processed, the recovered video track Tv' is produced.

Combine Tv' and Ta into a 3GP video V'.

(52)

4.3. Experimental Results

In our experiments, a watermarked video was put on a public web page. When a user browses this web page, the key is needed to recover the watermarked video and then the recovered video can be download. A watermarked video is shown in Figure 4.9 and the procedure of downloading the shared videos from the web server is shown in Figure 4.10.

(a) (b)

(c) (d)

(e) (f) Figure 4.9 Some frames extracted from the watermarked videos. (a) The first

I-frame with the watermark information embedded. (b) (c) (d) (e) (f) Some frames after watermarking with user input key.

(53)

(a) (b)

(c) (d) Figure 4.10 Procedure of downloading the shared videos. (a) Browse the movie list

of the shared watermarked videos by browser. (b) After choosing the movies, the key is requested. (c) The downloading process. (d) Display of the downloading video.

Some frames from the recovered video with correct and incorrect keys are shown in Figure 4.11 and Figure 4.12, respectively.

(54)

(a) (b)

(c) (d)

(e) (f) Figure 4.11 Illustration of the recovered video with the correct key. (a) (b) (c) (d) (e)

(55)

(a) (b)

(c) (d)

(e) (f)

Figure 4.12 Illustration of the recovered video with an incorrect key. (a) (b) (c) (d) (e) (f) Some frames extracted from the recovered video with the incorrect key.

(56)

4.4. Discussions

In this chapter, a lossless watermarking technique for videos has been proposed. Users can share their videos on the Internet with more security. Even though the web server is cracked by hackers, the watermarked videos are still defended by the proposed watermark technique for copyright protection. Furthermore, the watermarked videos can be shared to the people who know the protected key of the videos. Without the correct key, the watermarked videos cannot be losslessly recovered. The complexity of recovery of the watermarked videos with the correct key is up to (256)n, where n is the number of macroblocks whose DC values are changed by the watermark embedding process.

(57)

Chapter 5

Covert Communication by Videos on

Mobile Phones

5.1. Introduction

Due to the advance of mobile computing technologies and the high capacity network, more and more applications on mobile phones are developed. Because of the popularity of using mobile phones, the application of data hiding on mobile phones is useful.

Since video transmission on the Internet is common, a method of covert communication by videos is proposed in this chapter. In Section 5.2.1, the proposed method is described and in Section 5.2.2, a detailed algorithm is presented. In Section 5.3, some experimental results will be shown and in Section 5.4, some discussions will be made.

5.2. Proposed Data Hiding Method for

Covert Communication

The idea of the proposed application of covert communication is achieved by transmission of covert videos, in which a secret message is embedded. This application on mobile phones is composed of two parts: the web server in which there are some covert videos in which secret messages are embedded, as well as the client application on a mobile phone which may be used to download covert videos and extract the secret message. A system configuration is shown in Figure 5.1.

(58)

Figure 5.1 System configuration of proposed covert communication method.

5.2.1. Proposed Idea Using AC Coefficients of DCT

As mentioned in Section 4.2.1, there are two kinds of encoding formats of the AC coefficients of the DCT in the block layer in the H.263 format: the VLC encoding and the FLC encoding. There are 127 codes encoded by the VLC and the others are encoded by the FLC.

The proposed method of embedding secret messages in videos is achieved by changing the VLC code to the FLC code. For every intra-coded macroblock, if there are VLC codes, we can use them to embed the secret message. A flowchart of the secret embedding process is shown in Figure 5.2.

(59)

Figure 5.2 Flowchart of the secret embedding process.

5.2.2. Detailed Algorithm

Because I-frames are coded without referencing to other frames, all macroblocks in an I-frame are intra-coded. Every intra-coded macroblock is composed of six blocks. The coding fashion is similar to the compression technique of the JPEG standard. A DCT-based method is applied.

Every block can be used to hide secret messages by making a slight modification of the AC coefficients of the DCT. A detailed algorithm is described as follows and

(60)

the process is shown in Figure 5.3.

Algorithm 5.1: Hiding process for videos.

Input: A video V, a secret message D, and a user’s key K. Output: A stego-video V.

Steps:

1. Take K as the input of a random number generator to generate a sequence S of bytes with the same size as D.

2. For every byte in D, perform the Exclusive-OR operation on the i-th byte of

D and the i-th byte of S to generate the i-th byte of D, where D′ is a sequence

of bytes with the same length as D.

3. Set S as the binary format of D′ with N bits. Denote S as follows:

S = {Sj | j = 1, 2, …, N }.

4. For every I-frame in V, read the data of every block and search the VLC code token. If the encoding bit Sk is 1, change the VLC token to the corresponding

FLC code; else, do nothing. That is, perform the following operation: Change the VLC token into FLC token, if is 1;

Make no modification, otherwise.

k

S

⎧⎪ ⎨ ⎪⎩

(61)
(62)

When a user uses the client program on a mobile phone, he/she inputs the address of the covert video to download it and then inputs a key to recover the secret message. A detailed algorithm is described in the following and the process is shown in Figure 5.4.

Algorithm 5.2: Extracting of a secret message. Input: The covert video V and a user key K. Output: A secret message S.

Steps:

1. Search for every AC coefficient token T in the intra-coded blocks of V. 2. Check the encoding type of T. If the token is an FLC token, go to Step 3;

else, go to Step 4.

3. Check if the coded pair of (LAST, RUN, LEVEL) were encoded in the VLC code originally. If so, take the hidden bit to be 1; else, ignore the FLC token. Go to Step 5.

4. If the encoding type of T is a VLC token, take the hidden bit to be 0. 5. Transform the binary format secret into byte data Spre.

6. Take K as the input to a random number generator to generate a sequence

B of bytes with the same size as Spre.

7. For every byte in Spre, perform the exclusive-OR operation on the i-th

(63)

Covert video V' FLC token No Is the coefficient encoded as VLC token origianlly ? Yes

Every AC coefficient token

Take the hidden bit as 0 Take the hidden bit as 1

Record the secret message in binary

format

Transfer the binary format sectet into byte-formatted

S

pre

Decrypt

S

pre with

K

by the XOR operation Secret message

S

User’s key K

(64)

5.3. Experimental Results

In our experiments, a video in which a secret message is embedded is put on the Internet. When a user gets the video, the secret message can be extracted and recovered by the use of the user key. The video with a secret message embedded is shown in Figure 5.5.

(a) (b)

(c) (d) Figure 5.5 Comparison between the original video and the stego-video.(a) (c) (e) (g)

(i) (k) The original frames of the video. (b) (d) (f) (h) (j) (l) The frames after a secret message is embedded with a user key.

(65)

(e) (f)

(g) (h)

(i) (j) Figure 5.5 Comparison between the original video and the stego-video.(a) (c) (e) (g)

(i) (k) The original frames of the video. (b) (d) (f) (h) (j) (l) The frames after a secret message is embedded with a user key(continued).

(66)

(k) (l) Figure 5.5 Comparison between the original video and the stego-video.(a) (c) (e) (g)

(i) (k) The original frames of the video. (b) (d) (f) (h) (j) (l) The frames after a secret message is embedded with a user key(continued).

Then the process of getting a secret message from a stego-video is shown in Figure 5.6.

(a) (b) Figure 5.6 Process of getting a secret message from a stego-video.(a) Downloading

movies by keying in a public URL. (b) Sending the request. (c) Inputting the key to extract and recover the secret message. (d) The secret message extracted by a correct key. (e) Inputting a wrong key. (f) The result of extracting the secret message by a wrong key.

(67)

(c) (d)

(e) (f) Figure 5.6 Process of getting a secret message from a stego-video.(a) Downloading

movies by keying in a public URL. (b) Sending the request. (c) Inputting the key to extract and recover the secret message. (d) The secret message extracted by a correct key. (e) Inputting a wrong key. (f) The result of extracting the secret message by a wrong key(continued).

(68)

5.4. Discussions

In this chapter, a covert communication technique by videos has been proposed. The video files used here are very large. Hence, the size of the secret message can be huge. This is an advantage of the proposed method. Not only text messages but also pictures can be embedded into videos for transmission. A key is used to increase the security of covert communication. Covert communication by mobile devices is very convenient. By the proposed method, large volumes of secret data can be transferred securely.

(69)

Chapter 6

Secret Message Sharing on Mobile

Phones by An Information Sharing

Technique

6.1. Introduction

With the increasing of the population of carrying mobile phones, sharing secret messages by the mobile phone is very convenient. Shares of a secret can be stored in the mobile phone and collected together by the SMS to compose the original secret message.

The size of a message transmitted between mobile phones is usually limited. Hence, the size of a share cannot exceed the size limit of a message. On the other hand, we adopt the basic idea of secret sharing proposed by Huang and Tsai [6] as mentioned in Chapter 2. And some modification of their method is made in this study to fit in with the size limit of short messages.

The proposed secret sharing method is described in Section 6.2. Some experimental results will be shown in Section 6.3. Finally, some discussions will be made in Section 6.4.

6.2. Proposed Secret Sharing Method

The system configuration of the proposed method is described in Figure 6.1. Some application can adopt this method. For example, the manager of several agents

(70)

can assign a job to the agents that must be completed together. The manager creates shares of the content of the job and then uploads the shares on the Internet. Then, each agent can download one piece of shares by the client program on his/her mobile phone and transmits the share by SMS to a specific agent who can recover the content of the job.

In this section, the focus is on the employed process of secret sharing. In Section 6.2.1, a process of creation of secret shares from a pure text secret is described. In Section 6.2.2, a process of fitting a large noise share into a mobile phone message is described, and a process of disguising noise shares by a steganographic scheme is also proposed. Finally, a process of pure text secret recovery is described.

(71)

6.2.1. Creation of Secret Shares

Figure 6.2 Flowchart of secret pure text sharing process.

Figure 6.2 shows the process of sharing a secret text S among participants and creating steganographic effects on the noise data yielded by the secret sharing process. Suppose that the number of participants is n. First, n texts T1, T2, …,Tn are selected

(72)

from a text database. Second, these n texts are taken as input to a random number generator to generate n stego-texts with their lengths all the same as that of S. Third, exclusive-OR S with the n stego-texts to generate a string of noise data, which is a sequence of meaningless bytes. The string is then partitioned into n pieces, denoted as

ND1, ND2, …, NDn. They are then translated into simple sentences to form n

stego-shares SS1, SS2, …, SSn which are meaningful. Finally, each SSi is appended to

the front of Ti to produce n final shares. The procedure of creation of secret shares is

described as an algorithm in the following.

Algorithm 6.1: Creation of secret shares.

Input: Secret text S with length L in bytes, a text database TDB, and the number n of

participants.

Output: n pieces of share data Di, for i = 1, 2, … , n.

Steps:

1. For i = 1 to n, choose a piece of text Ti from TDB.

2. For i = 1 to n, take Ti as input to a random number generator to generate one

piece of stego-texts STi with L bytes.

3. Create an empty text PN with L bytes. Set PN = ST1.

4. For i= 2 to n, do the following steps.

i. For k = 1 to L, set PN(k) = PN(k) ⊕ STi(k), where ⊕ means the

exclusive-OR operation.

(73)

6. For i=1 to n, translate NDi into a simple sentence to produce a piece of text,

denoted as SSi.

7. For i=1 to n, append SSi to the front of Ti to produce a piece of share denoted

as Di.

6.2.2.

6.2.3.

Fitting Large Noise Share into Mobile Phone

Message

There are two steps made in this study to fit the size of shares to the size limit of mobile phone messages. First, the stego-texts are generated as short-lengthed texts. Because of the variation of the lengths of secret texts, the texts selected from the text database cannot be used directly. However, this problem can be solved by using a random number generator to generate stego-texts with lengths all the same as that of the secret message. Hence, if the length of a secret text is out of the size limit of the SMS, we can still use the short texts which fit the size limit of the SMS.

Second, the exclusive-ORed noise data is partitioned into n pieces. This step is to disperse the content of the noise data.

Steganographic scheme for Disguising Noise Share

As mentioned in Section 6.2.1, the n pieces of noise data are translated to simple sentences by a sentence translation machine designed in this study. First, the machine transforms the noise data to its binary format. Then, the result is divided into several parts and each part is encoded into a simple sentence by certain sentence patterns and a database of words.

數據

Fig 2.1 The structure of H.263 video stream
Table 2.1 The relationships between frames and macroblocks  Intra-coded  MB  Forward-coded MB  Backward-coded MB  Bidirectionally-interpolated  MB  I frame  ●  P frame  ●  ●  B frame  ●  ●  ●  ●  PB frame  ●  ●  ●  ●
Table 2.2 The structure of IMEI.
Table 2.4 Parameter of different manufacturers to extract IMEI  Manufacturer Parameter  Motorola System.getProperty("IMEI")  Siemens System.getProperty("com.siemens.IMEI")  Sony Ericsson  (Except P910 series)  System.getProperty("com.so
+7

參考文獻

相關文件

Shih, “On Demand QoS Multicast Routing Protocol for Mobile Ad Hoc Networks”, Special Session on Graph Theory and Applications, The 9th International Conference on Computer Science

Flash 動畫與視訊產生互動,例如加上字幕、音 效…等,也能以 ActionScript 來控制視訊的播放 效果,甚至藉由 ActionScript

• 與資訊科技科、常識科、視藝科進行跨 科合作,提升學生資訊素養能力。圖書

Menou, M.著(2002)。《在國家資訊通訊技術政策中的資訊素養:遺漏的層 面,資訊文化》 (Information Literacy in National Information and Communications Technology (ICT)

Unless prior permission in writing is given by the Commissioner of Police, you may not use the materials other than for your personal learning and in the course of your official

Do you agree with the proposed changes for the Compulsory Part of Information and Communication Technology curriculum.. Agree Disagree

 Propose eQoS, which serves as a gene ral framework for reasoning about th e energy efficiency trade-off in int eractive mobile Web applications.  Demonstrate a working prototype and

電機工程學系暨研究所( EE ) 光電工程學研究所(GIPO) 電信工程學研究所(GICE) 電子工程學研究所(GIEE) 資訊工程學系暨研究所(CS IE )