Yara

Yara is a tool and language from the developers of VirusTotal, capable of searching the contents of files for a set of binary or text signatures. Its most common application is in searching for malware remnants in a compromised system.