1. A method for filtering data, the method comprising: receiving an incoming dataset at a firewall via a network, the incoming dataset directed to a receiver device; executing instructions associated with a pattern matching engine by a processor associated with the firewall, thereby generating a score corresponding to the incoming dataset's association to at least a first category of a plurality of categories, the score generated based on identification of a plurality of features within a string of the incoming dataset; classifying the incoming dataset into the first category of the plurality of categories based on the generated score and based on the string of the incoming dataset not exceeding a predetermined maximum sample size; and identifying that the incoming dataset should not be transmitted to the receiver device based on the first category.