Patent ID: 8201245
Filing Date: 2012-06-12
Classification: G06F

Abstract:
1. A method for detecting an attack on a computer, the computer including a web browser with a first program function to render static components of a markup language document and identify program code within the markup language document or an associated file, and a second program function to execute the program code from the markup language document or associated file, the method comprising the steps of: the computer receiving the markup language document; the computer invoking the first program function to render static components of the markup language document and identify program code within the markup language document or associated file, and in response, before executing the identified program code, the computer invoking a malicious-code detector to scan the identified program code for malicious code, and if the malicious-code detector identifies malicious code in the identified program code, the computer not executing the identified program code, and if the malicious-code detector does not identify malicious code in the identified program code, the computer invoking the second program function to execute the identified program code which revises the identified program code, and in response, before executing the revised program code, the computer invoking the malicious-code detector to scan the revised program code for malicious code, and