diff --git a/modules/signatures/packer_entropy.py b/modules/signatures/packer_entropy.py index bc8ddc46b..ffbb61a89 100644 --- a/modules/signatures/packer_entropy.py +++ b/modules/signatures/packer_entropy.py @@ -34,7 +34,7 @@ def run(self): for section in self.results["static"]["pe_sections"]: total_pe_data += int(section["size_of_data"], 16) - if section["entropy"] > 6.8: + if float(section["entropy"]) > 6.8: self.data.append({"section" : section}) total_compressed += int(section["size_of_data"], 16)