githubEdit

Steganography

Steganography is the practice of representing information within another message or physical object, in such a manner that the presence of the information is not evident to human inspection.

Basic Analysis

open example.jpg
file example.jpg

strings example.jpg
# Display the first N lines (default: 10 lines)
strings example.jpg | head
strings example.jpg | head -n 50
# Display the last N lines (default: 10 lines)
strings example.jpg | tail
strings example.jpg | tail -n 50

xxd example.jpg
xxd example.jpg | head

# -e: extract data inside a file
binwalk -e example.jpg

# Read meta information & embedded data
exiftool example.jpg

# GUI Analyzer
# https://github.com/zardus/ctf-tools/blob/master/stegsolve/install
java -jar stegsolve.jar

Using OSINT

Search the image information using search engines.

JPG

PNG

QR Code Image (JPG/PNG)

If the zbarimg command does not exist, install it with the following command:

PDF

Crack PDF Password

PPM

npiet

npietarrow-up-right is an interpreter for the piet programming language. It takes as input a portable pixmap (PPM) and PNG, GIF.

  1. Download and Compile

    First of all, download the npiet and extract it.

    Then compile the "npiet.c".

  2. Decode

    After compiling, decode the image files

Embed Hidden Data

Exiftool

Steghide

Outguess

Outguess is a steganography tool for JPG, PPM and PNM.

Last updated