1. A method of detecting script language viruses in data streams comprising: using a processor for: preparing language description data corresponding to at least one script language; preparing detection data for viral code corresponding to a script language virus; lexically analyzing a data stream to identify the at least one script language; lexically analyzing the data stream using the language description data to generate a stream of tokens; generating viral code detection data by analyzing a plurality of samples of polymorphic script language viral code; and lexically analyzing the stream of tokens using the detection data and the language description data to identify the script language virus.
1. A method of detecting script language viruses in data streams comprising: using a processor for: preparing language description data corresponding to at least one script language; preparing detection data for viral code corresponding to a script language virus; lexically analyzing a data stream to identify the at least one script language; lexically analyzing the data stream using the language description data to generate a stream of tokens; generating viral code detection data by analyzing a plurality of samples of polymorphic script language viral code; and lexically analyzing the stream of tokens using the detection data and the language description data to identify the script language virus. 10. The method of claim 1 , wherein the data stream is converted to a stream of tokens using lexical analysis.