Patent Document ID: 9648032
Application ID: 15062455
Patent Status: 1

Claim One:
1. A method for blocking execution of malicious scripts, the method comprising: intercepting, by a processor of a client, a script requested by the client from a server by providing, on the client, a driver configured to intercept network script requests by rerouting at least one transmission channel of the script from the client to the driver; generating, by the processor, a bytecode of the intercepted script; computing, by the processor, a hash sum of the generated bytecode; determining, by the processor, a degree of similarity between the hash sum of the bytecode and a plurality of hash sums of malicious and clean scripts stored in a database; identifying, by the processor, a similar hash sum from the database whose degree of similarity with the hash sum of the bytecode is within a threshold of similarity; determining, by the processor, a coefficient of trust of the similar hash sum; determining, by the processor, whether the requested script is malicious based on the degree of similarity and the coefficient of trust of the similar hash sum; and blocking, by the processor, the execution of the malicious script on the client.