Stegdetect is an automated tool for detecting steganographic content in images.
C Shell C++ Assembly Other
Latest commit ff03fa9 Apr 24, 2013 @abeluck document NDK_BASE
Permalink
Failed to load latest commit information.
compat import of stegdetect 0.6 Apr 9, 2013
file fixed "error: two or more data types in declaration specifiers" Apr 9, 2013
jpeg-6b update gitignore and remove generated files from git Apr 9, 2013
.gitignore add android (arm) cross compilation support Apr 9, 2013
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 import of stegdetect 0.6 Apr 9, 2013
README.md document NDK_BASE Apr 24, 2013
acconfig.h import of stegdetect 0.6 Apr 9, 2013
aclocal.m4 import of stegdetect 0.6 Apr 9, 2013
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
config.guess update config.[guess,sub] to work with android Apr 9, 2013
config.h.in import of stegdetect 0.6 Apr 9, 2013
config.sub update config.[guess,sub] to work with android Apr 9, 2013
configure import of stegdetect 0.6 Apr 9, 2013
configure.in import of stegdetect 0.6 Apr 9, 2013
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.

URL: http://www.outguess.org/detection.php

This repo contains the 0.6 sources with compilation fixes for modern dev environments and Android (ARM).

Building on x86_64

To build on x86_64 you must prefix the commands with linux32, like so

    $ 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

License

Copyright 2002 Niels Provos provos@citi.umich.edu. See LICENSE for details.