Stegdetect is an automated tool for detecting steganographic content in images.
Switch branches/tags
Nothing to show
Clone or download
jconerly
Latest commit ac1df7a May 26, 2018
Permalink
Failed to load latest commit information.
compat import of stegdetect 0.6 Apr 9, 2013
file Adding file for Ubuntu 16.04 May 27, 2017
jpeg-6b update gitignore and remove generated files from git Apr 9, 2013
.gitignore Adding file for Ubuntu 16.04 May 27, 2017
LICENSE add license Apr 9, 2013
Makefile.am import of stegdetect 0.6 Apr 9, 2013
Makefile.android add android (arm) cross compilation support Apr 9, 2013
Makefile.in Compile fixes for Ubuntu 16.04 Jun 28, 2016
README.md Added 18.04 compatibility statement May 26, 2018
acconfig.h import of stegdetect 0.6 Apr 9, 2013
aclocal.m4 Compile fixes for Ubuntu 16.04 Jun 28, 2016
arc4.c import of stegdetect 0.6 Apr 9, 2013
arc4.h import of stegdetect 0.6 Apr 9, 2013
bf-586.s import of stegdetect 0.6 Apr 9, 2013
bf_enc.c import of stegdetect 0.6 Apr 9, 2013
bf_locl.h import of stegdetect 0.6 Apr 9, 2013
bf_pi.h import of stegdetect 0.6 Apr 9, 2013
bf_skey.c import of stegdetect 0.6 Apr 9, 2013
blowfish.h import of stegdetect 0.6 Apr 9, 2013
break_jphide.c import of stegdetect 0.6 Apr 9, 2013
break_jphide.h import of stegdetect 0.6 Apr 9, 2013
break_jsteg.c import of stegdetect 0.6 Apr 9, 2013
break_jsteg.h import of stegdetect 0.6 Apr 9, 2013
break_outguess.c import of stegdetect 0.6 Apr 9, 2013
break_outguess.h import of stegdetect 0.6 Apr 9, 2013
cfg.c import of stegdetect 0.6 Apr 9, 2013
cfg.h import of stegdetect 0.6 Apr 9, 2013
chi2cdf.c import of stegdetect 0.6 Apr 9, 2013
chi2cdf.h import of stegdetect 0.6 Apr 9, 2013
common.c import of stegdetect 0.6 Apr 9, 2013
common.h import of stegdetect 0.6 Apr 9, 2013
compile Compile fixes for Ubuntu 16.04 Jun 28, 2016
config.guess update config.[guess,sub] to work with android Apr 9, 2013
config.h.in Compile fixes for Ubuntu 16.04 Jun 28, 2016
config.sub update config.[guess,sub] to work with android Apr 9, 2013
configure Compile fixes for Ubuntu 16.04 Jun 28, 2016
configure.in Compile fixes for Ubuntu 16.04 Jun 28, 2016
db.c import of stegdetect 0.6 Apr 9, 2013
db.h import of stegdetect 0.6 Apr 9, 2013
dct.c import of stegdetect 0.6 Apr 9, 2013
dct.h import of stegdetect 0.6 Apr 9, 2013
dirname.c import of stegdetect 0.6 Apr 9, 2013
discrimination.c import of stegdetect 0.6 Apr 9, 2013
discrimination.h import of stegdetect 0.6 Apr 9, 2013
err.c import of stegdetect 0.6 Apr 9, 2013
extraction.c import of stegdetect 0.6 Apr 9, 2013
extraction.h import of stegdetect 0.6 Apr 9, 2013
f5.c add android (arm) cross compilation support Apr 9, 2013
install-sh import of stegdetect 0.6 Apr 9, 2013
jphide_table.c import of stegdetect 0.6 Apr 9, 2013
jphide_table.h import of stegdetect 0.6 Apr 9, 2013
jutil.c import of stegdetect 0.6 Apr 9, 2013
jutil.h import of stegdetect 0.6 Apr 9, 2013
math.c import of stegdetect 0.6 Apr 9, 2013
md5.c import of stegdetect 0.6 Apr 9, 2013
missing import of stegdetect 0.6 Apr 9, 2013
mkinstalldirs import of stegdetect 0.6 Apr 9, 2013
rpp.c import of stegdetect 0.6 Apr 9, 2013
rpp.h import of stegdetect 0.6 Apr 9, 2013
rules.c import of stegdetect 0.6 Apr 9, 2013
rules.h import of stegdetect 0.6 Apr 9, 2013
stamp-h.in import of stegdetect 0.6 Apr 9, 2013
stegbreak.1 import of stegdetect 0.6 Apr 9, 2013
stegbreak.c import of stegdetect 0.6 Apr 9, 2013
stegcompare.c fixes error unknown type name 'ushort' Apr 9, 2013
stegdeimage.c import of stegdetect 0.6 Apr 9, 2013
stegdetect.1 import of stegdetect 0.6 Apr 9, 2013
stegdetect.c fix to build on newer versions of gcc Apr 9, 2013
strlcat.c import of stegdetect 0.6 Apr 9, 2013
strlcpy.c import of stegdetect 0.6 Apr 9, 2013
util.c import of stegdetect 0.6 Apr 9, 2013
xsteg.c import of stegdetect 0.6 Apr 9, 2013
xsteg.h import of stegdetect 0.6 Apr 9, 2013
xsteg_xpm.c import of stegdetect 0.6 Apr 9, 2013

README.md

stegdetect

Stegdetect is an automated tool for detecting steganographic content in images.

This repo has been updated to compile cleanly on Ubuntu since the original project appears to be abandoned and no longer accepts pull requests.

Tested on Ubuntu 16.04 and 18.04 only(17.x likely works though)

Building on 64-bit Systemgs

    $ linux32 ./configure
    $ linux32 make

You can now run stegdetect from the local directory: ./stegdetect

Build for Android

This Android build is sort of fragile, there are many compile warnings.

You must set the environment variable NDK_BASE to the root location of your Android NDK.

    $ make clean
    $ make -f Makefile.android

Usage

Stegdetect does two types of F5 detection, simple and "slow". Simple merely looks for a comment in the header, which any savy coder has removed. This method is enabled with the "-tf" option.

The "slow" F5 detection is enabled with "-tF"

To run detection on a directory of JPEGs use:

    for img in `find /path/to/images/ -iname "*jpg"`; do
        ./stegdetect -tF $img;
    done

Android

    $ adb push stegdetect /data/local/tmp
    $ adb shell
        for img in `ls /sdcard/PixelKnot/*jpg`; do
            /data/local/tmp/stegdetect -tF $img
        done