can I share my findings for greater fame and glory? • • Create a table schema for every analysis script? • • RDBMS failure is worse than zombie apocalypse.
• Execu5ng Loader o Executes a specific script/program on a file wriIen to a logical path o Example: Hashing • Daemon Loader o Writes binaries to a path, and provides those paths to an already running analysis process o Example: Clamd
had to write malware binaries to the local filesystem on the worker nodes o Note: local copy, not network copy o We op5mized this to use /dev/shm/ instead • Quick scripts are great for rapid itera5on, but... o Interpreter startup 5me can dominate execu5on 5me o Crea5ng small, long running, analy5c daemons provides a huge speedup for frequently used tasks o i.e. the clamscand model of execu5on
improve the experience of valida5ng research. • Packer iden5fica5on o Overall and Sec5onal Entropy o Kolmogorov Complexity o Sec5on and resource names o Sec5on flags • Import tables • Func5on Calls • Resource hashes and subfeatures
to manipulate o Less resolu5on than reverse engineering features o File metadata is also low resolu5on • Headers provide excellent fast features • Headers are oben ignored • Work the analysis around the feature resolu5on o Ignore 5ght clusters, go for wide ones o Triage, not true classifica5on
• Largest cluster: 377,882 samples o Three malware families contained within o Second largest: 124,894 samples • Valida5on is tricky o Manual valida5on cannot be en5rely avoided o Cluster meanings change with feature sets o Cannot just go off of AV results
do not just include family lines o Copycat malware is shown as well o Clear indica5ons of malicious intent • Method of infec5on can be extrapolated o Phishing o Obfuscated executables o Adware (more than we expected) o False posi5ves -‐ popular sobware detec5on
features in PEheader alone o Abundance of features requires pruning • Interpreta5on and Valida5on of Results o Manual valida5on is an unfortunate reality o Care has to be taken to ensure that unsupervised learning provides meaningful results
rapid malware triage • Enables weekly AV scans with latest signatures over previous malware. • Created binary classifier to improve sample collection and categorize new samples So What?
0.11.* • • EC2 tutorial • • More examples/starter scripts o • Inclusion of some of our Mahout tasks o • Open source process for that is moving forward • • Better error logging and handling o Messages should be stored in a separate DB • • Easier deployments o • Analytic daemons o • Dependency libs o • Fabric/Salt/Puppet/Chef