1. Introduction
Kali Linux operating system is often used by some security experts and cyber criminals to do infiltration and audit work, but in addition, here is a special feature: Hide the target file in the picture or audio. (Looks like a tempting look, there's no sense of itching, ^_^)
2. Installing the Steghide tool into Kali Linux
If your Kali Linux has not yet been updated, execute the following command to update it.
# apt-get upgrade
Once the system has been updated, you can install the Steghide tool into your system by taking the online installation method.
# apt-get install steghide
If it is not root, remember to add sudo to the front.
After the installation is complete, you can use the steghide --help
commands to view the help instructions.
The last two lines of the help note illustrate examples of steghide usage:
3. Using Steghide to hide files
To hide the file, we first have to prepare the file to be hidden and the carrier of the file to be hidden (image or audio file), for the sake of convenience, we put two files in the same directory. Start the terminal and enter the test directory. To create a test band hidden file:
# vim test.txt
Write test contents in file: I ' m hidden in a picture!!!
3.1 Hidden files
Next we execute the command as follows:
1. steghide embed -cf [图片文件载体] -ef [待隐藏文件]2. [回车]3. 输入密码,提取文件时用到,如果不想设密码,直接按回车4. [ENTER]
Open a piece, and did not find anything unusual.
3.2 Viewing file information for a picture that has an embedded destination file
Use the following command to display the information that is hidden in the file.
# steghide info background.jpg
3.3 Extracting hidden files
The image containing hidden files for a directory, here to copy it to the desktop, the following extraction experiment.
# steghide extract -sf background.jpg
The perfect extraction of the files we want, and no damage!!!
Hide files into pictures or audio in--kali Linux steghide tools