1. A method for detecting network anomalies, the method comprising: receiving, using a hardware processor, a communication protocol message having an argument string that is transmitted from a first processor to a second processor across a computer network; applying, using the hardware processor, a probabilistic model to the received communication protocol message to determine whether the communication protocol message is anomalous based on determining that at least one n-gram in the communication protocol message is anomalous, wherein the probabilistic model uses at least one Markov chain specified by one or more parameters to determine a probability that the argument string is anomalous based on n-grams in the argument string; and performing, using the hardware processor, a predetermined action in response to determining that the communication protocol message is anomalous.
1. A method for detecting network anomalies, the method comprising: receiving, using a hardware processor, a communication protocol message having an argument string that is transmitted from a first processor to a second processor across a computer network; applying, using the hardware processor, a probabilistic model to the received communication protocol message to determine whether the communication protocol message is anomalous based on determining that at least one n-gram in the communication protocol message is anomalous, wherein the probabilistic model uses at least one Markov chain specified by one or more parameters to determine a probability that the argument string is anomalous based on n-grams in the argument string; and performing, using the hardware processor, a predetermined action in response to determining that the communication protocol message is anomalous. 4. The method of claim 1 , further comprising: receiving a plurality of packets transmitted from the first processor to the second processor across the computer network; assembling the plurality of packets to form the communication protocol message; and extracting the argument string from the communication protocol message.