Kayaker
June 19th, 2009, 17:31
Is anyone aware of tools or scripts which produce a visual display of randomness in binary files to detect packed malware?
For example like the results in this paper
A Fast Randomness Test that preserves Local Detail
http://www.virusbtn.com/pdf/conference_slides/2008/Ebringer-Sun-VB2008.pdf
Or the quick summary of the paper:
http://lukenotricks.blogspot.com/2009/03/randomness-tests-for-packed-malware.html
Or
Figure 2: Information entropy gradients of insidious GIF
http://www.mcafee.com/us/local_content/misc/sc_sep08.pdf
I found one utility that does entropy calculations, but it only spits out a score that's a little difficult to interpret:
MANDIANT Red Curtain
http://www.mandiant.com/mrc
There have been attempts at visualization of file differences or file fuzzing, but that's not quite the same:
http://computer.forensikblog.de/en/2006/02/compare_binary_files_with_nwdiff.html
https://www.openrce.org/blog/view/922/Visual_Patterns_for_File_Format_Fuzzing
Cheers,
Kayaker
For example like the results in this paper
A Fast Randomness Test that preserves Local Detail
http://www.virusbtn.com/pdf/conference_slides/2008/Ebringer-Sun-VB2008.pdf
Or the quick summary of the paper:
http://lukenotricks.blogspot.com/2009/03/randomness-tests-for-packed-malware.html
Or
Figure 2: Information entropy gradients of insidious GIF
http://www.mcafee.com/us/local_content/misc/sc_sep08.pdf
I found one utility that does entropy calculations, but it only spits out a score that's a little difficult to interpret:
MANDIANT Red Curtain
http://www.mandiant.com/mrc
There have been attempts at visualization of file differences or file fuzzing, but that's not quite the same:
http://computer.forensikblog.de/en/2006/02/compare_binary_files_with_nwdiff.html
https://www.openrce.org/blog/view/922/Visual_Patterns_for_File_Format_Fuzzing
Cheers,
Kayaker