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. 9. The method of claim 1 , wherein the step of preparing detection data comprises: obtaining samples of the viral code; analyzing the obtained samples; and setting a detection regimen that includes at least one pattern match or cyclical redundancy check based on the analysis of the obtained samples.