Thursday, February 17, 2011

Entropy of a binary file #2

$ java ByteEntropy -c -r 512 -w 200 -o find.ent -f /usr/bin/find

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' find.ent
Entropy average: 56.6122



$ java ByteEntropy -c -r 512 -w 200 -o make.ent -f /usr/bin/make

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' make.ent
Entropy average: 59.429


$ java ByteEntropy -c -r 512 -w 200 -o readelf.ent -f /usr/bin/readelf

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' readelf.ent
Entropy average: 46.1129


$ java ByteEntropy -c -r 512 -w 200 -o rsync.ent -f /usr/bin/rsync

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' rsync.ent
Entropy average: 59.8378


$ java ByteEntropy -c -r 512 -w 200 -o strip.ent -f /usr/bin/strip

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' strip.ent
Entropy average: 54.0469

 
$ java ByteEntropy -c -r 512 -w 200 -o sudo.ent -f /usr/bin/sudo

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' sudo.ent
Entropy average: 50.9658


$ java ByteEntropy -c -r 512 -w 200 -o top.ent -f /usr/bin/top

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' top.ent
Entropy average: 47



$ java ByteEntropy -c -r 512 -w 200 -o wget.ent -f /usr/bin/wget

$ awk -F',' '{s+=$1} END {printf "Entropy average: %s\n", s/NR}' wget.ent
Entropy average: 47.5117

No comments:

Post a Comment