Debian posiada ciekawe narzędzie o nazwie binstats pozwalające stworzyć statystyki dla programów zainstalowanych w systemie. W przypadku okresowego sprawdzania systemów porównanie informacji może być przydatne przy wykrywaniu włamań.
debian:/etc# binstats
cat: /etc/ld.so.conf: No such file or directory
Look in /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/X11 for executables
find: /usr/bin/X11: No such file or directory
Find duplicated executable names
Sort out list by alphabetical order
Find executable type (this will take a long time)
Look for dynamic library dependence (this will take an even longer time)
List the used dynamic libraries
Hunt down binaries that depend on missing libraries
Look in /lib /usr/lib for dynamic libraries
Search for unused dynamic libraries
Find un-stripped binaries
Find setuid binaries
Look in /usr/share/man /usr/local/man for man pages
Find duplicated man page names
Gather statistics
binstats-1.08 output from debian on 2004/02/16 18:29:02 CET
Binaries: 559
OMAGIC Demand Paged: 0
NMAGIC Demand Paged: 0
QMAGIC Demand Paged: 0
ZMAGIC Demand Paged: 0
statically linked: 0
not stripped: 0
setuid: 0
ELF: 559
statically linked: 1
not stripped: 0
setuid: 21
ECOFF: 0
statically linked: 0
not stripped: 0
setuid: 0
Java: 0
Duplicate names: 0
Missing libraries: 0
Text: 189
Bourne shell: 85
Bourne-Again shell: 18
C shell: 0
Tenex C shell: 0
Awk: 0
Perl: 78
Python: 6
Tcl: 0
Other interpreted: 1
Unidentified: 1
Used libraries: 68
DLL: 0
Unused libs: 56
Man pages: 1601
Duplicate names: 0
==============================================================
More detailed information can be obtained in bstats.log