Patent attributes
A program is executed in a first mode of operation in a controlled environment in accordance with normal operations without malicious behavior. An acceptable behavior model is generated based on a plurality of sequences of events that occur during the normal operation of the program. The acceptable behavior model is indicative of normal behavior of the program that occurs during the normal operation. Then the program is executed in a second mode of operation in an operational environment. An operational sequence of events (determined during the second mode of operation) is compared with the acceptable behavior model. When there is a match between the operational sequence of events and the acceptable behavior model, execution in the second mode of operation continues. When there is not a match between the operational sequence of events and the acceptable behavior model, execution in the second mode of operation is halted.