If you are reading executable files like .exe you will not be reading Strings. It will be a sequence of bytes.
As I understand AV software, they have large dictionaries of sequences of bytes that...