How to use NLP to determine the normal words in the text
You can probably train a classification model to classify normal words from bad words, using character subsequences as features in the words. For example, exe can be a feature for distinguishing a normal word from a bad word in your case.