Learning metamorphic malware signatures from samples