-
Notifications
You must be signed in to change notification settings - Fork 89
/
README
182 lines (138 loc) · 6.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# This repository is read-only.
**A GitHub org, [StegHigh](https://github.com/orgs/StegHigh/) has been set up to maintain steghide. Please submit all PRs, discussions, and issues [there](https://github.com/StegHigh/steghide).**
**Additionally, [StegHigh/steghide](https://github.com/orgs/StegHigh) is looking for maintainters. Please contribute!**
Introduction :
==============
Steghide is a steganography program that is able to hide data in various kinds
of image- and audio-files. The color- respectively sample-frequencies are not
changed thus making the embedding resistant against first-order statistical
tests.
The current version of steghide is 0.5.1
Features:
*) compression of embedded data
*) encryption of embedded data
*) embedding of a checksum to verify the integrity of the extracted data
*) support for JPEG, BMP, WAV and AU files
Steganography :
===============
Steganography literally means covered writing. Its goal is to hide the fact
that communication is taking place. This is often achieved by using a (rather
large) cover file and embedding the (rather short) secret message into this
file. The result is an innocuous looking file (the stego file) that contains
the secret message.
Compilation and Installation :
==============================
Dependencies :
--------------
You should have the following libraries installed to use steghide.
* libmhash
A library that provides various hash algorithms and cryptographic key
generation algorithms. Steghide needs this library to convert a passphrase
into a form that can be used as input for cryptographic and steganographic
algorithms.
Available at: http://mhash.sourceforge.net/
* libmcrypt
A library that provides a lot of symmetric encryption algorithms. If you
compile steghide without libmcrypt, you will not be able to use steghide to
encrypt data before embedding or to extract encrypted data (even if you know
the correct passphrase).
Available at: http://mcrypt.sourceforge.net/
* libjpeg
A library implementing jpeg image compression. Without this library, you will
not be able to embed data in jpeg files or to extract data from jpeg files.
Available at: http://www.ijg.org/
* zlib
A lossless data compression library. If you compile steghide without having
this library installed, you will not be able to use steghide to compress data
before embedding or to extract compressed data from a stego-file.
Available at: http://www.gzip.org/zlib/
Libmhash is absolutely required to compile steghide. While you can compile it
without the other libraries, they are highly recommended as major functionality
will not be available without them.
Linux / Unix :
--------------
After unpacking the source distribution, enter the following commands:
1) ./configure
2) make
3) make check
4) make install (as root)
For more information see the generic installation instructions in the file
INSTALL that came with the distribution.
If any of these commands fails, please send a mail to the steghide development
mailing list ([email protected]) describing the error.
Windows :
---------
The easiest way is to download the precompiled binary (including Windows
versions of the necessary libraries) from the steghide website at:
http://steghide.sourceforge.net/index.php
If you want to compile the sources yourself you need a C++ compiler. How you
need to compile the source code depends on the compiler you are using: Please
consult your compiler's documentation.
Steghide can be compiled with gcc in the cygwin environment
(http://www.cygwin.com/) which is a unix emulation layer for Windows using the
procedure mentioned above for the Linux/Unix compilation.
Quick-Start :
=============
Here are some examples of how steghide can be used. Take a look at these to get
a first impression. If you want more detailed information please read the
manpage.
The basic usage is as follows:
$ steghide embed -cf picture.jpg -ef secret.txt
Enter passphrase:
Re-Enter passphrase:
embedding "secret.txt" in "picture.jpg"... done
This command will embed the file secret.txt in the cover file picture.jpg.
After you have embedded your secret data as shown above you can send the file
picture.jpg to the person who should receive the secret message. The receiver
has to use steghide in the following way:
$ steghide extract -sf picture.jpg
Enter passphrase:
wrote extracted data to "secret.txt".
If the supplied passphrase is correct, the contents of the original file
secret.txt will be extracted from the stego file picture.jpg and saved
in the current directory.
If you have received a file that contains embedded data and you want to get
some information about it before extracting it, use the info command:
$ steghide info received_file.wav
"received_file.wav":
format: wave audio, PCM encoding
capacity: 3.5 KB
Try to get information about embedded data ? (y/n) y
Enter passphrase:
embedded file "secret.txt":
size: 1.6 KB
encrypted: rijndael-128, cbc
compressed: yes
After printing some general information about the stego file (format, capacity) you will be
asked if steghide should try to get information about the embedded data. If you answer with
yes you have to supply a passphrase. Steghide will then try to extract the embedded data
with that passphrase and - if it succeeds - print some information about it.
Contact :
=========
Website :
---------
You can get the latest version of steghide as well as some additional
information and documentation from the steghide website at:
http://steghide.sourceforge.net/
Mailing Lists :
---------------
If you have found a bug or if you have questions, comments, suggestions, etc.
please send a mail to the development mailing list:
To receive mails sent to this list, subscribe to it at:
http://lists.sourceforge.net/lists/listinfo/steghide-devel
If you want to be informed, when a new version of steghide is released please
subscribe to the steghide announcement mailing list at:
http://lists.sourceforge.net/lists/listinfo/steghide-announce
Anonymous CVS access :
----------------------
You can access the most recent development source code via anonymous cvs. Just
type the following lines:
$ cvs -d:pserver:[email protected]:/cvsroot/steghide login
CVS password: [ Hit RETURN here ]
$ cvs -z3 -d:pserver:[email protected]:/cvsroot/steghide co steghide
You can also browse the cvs repository on the web:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/steghide/
Author :
--------
You can contact me (Stefan Hetzl) via e-mail: [email protected]