IP Library Granted Patent US 8,839,428
Granted Patent B1
US 8,839,428 · App. 12/968,526 · Granted Sep 16, 2014

Systems and methods for detecting malicious code in a script attack

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,839,428
App. No.
12/968,526
Granted
Sep 16, 2014
Kind
B1
Abstract

A computer-implemented method to detect malicious code in a script attack, is described. An activity associated with calling a function is detected. An operation code set associated with the activity to call the function is identified. A predetermined sequence of characters included in the operation code set is identified. The identified predetermined sequence of characters is analyzed. The operation code set is classified as malicious or non-malicious based on the analysis of the predetermined sequence of characters.

Claims (51)

1. A computer-implemented method to detect malicious code in a script attack, comprising:

detecting an activity associated with calling a function;

identifying an operation code set associated with the activity to call the function;

determining a reputation score for a website associated with the operation code set; and

upon determining the reputation of the website satisfies a threshold, initiating buffer overflow detection actions, the buffer overflow detection actions comprising:

identifying a predetermined sequence of characters included in the operation code set;

analyzing the identified predetermined sequence of characters, wherein analyzing the identified predetermined sequence of characters comprises detecting any non-printable characters;

upon detecting at least one non-printable character included in the operation code set, performing a first action, wherein performing a first action comprises generating a warning;

upon detecting two consecutive non-printable characters included in the operation code set, classifying the operation code set as malicious;

identifying at least one printable character included in the operation code set;

determining whether the operation code set is of a type of code set for printable characters; and

upon determining at least one printable character is included in the operation code set and the operation code set is of the type of code set for printable characters, continuing to allow the at least one printable character to execute;

upon determining at least one printable character is included in the operation code set and that the operation code set is not of the type of code set for printable characters, classifying the operation code set as malicious.

2. The method of claim 1 , wherein the operation code set includes a no-operation performed (NOP) sled.

3. The method of claim 1 , wherein the operation code set includes shellcode.

4. The method of claim 1 , wherein the called function comprises a JavaScript function.

5. The method of claim 4 , wherein the JavaScript function comprises at least one of the following functions: Unescape, Eval, CharCodeAt, Split, or Char.

6. A computing device configured to detect malicious code in a script attack, comprising:

a processor;

memory in electronic communication with the processor; and

instructions stored in the memory, the instructions being executable by the processor to:

detect an activity associated with calling a function;

identify an operation code set associated with the activity to call the function;

determine a reputation score for a website associated with the operation code set; and

upon determining the reputation of the website satisfies a threshold, initiate buffer overflow detection actions, the buffer overflow detection actions comprising:

identify a predetermined sequence of characters included in the operation code set;

analyze the identified predetermined sequence of characters, wherein analyzing the identified predetermined sequence of characters comprises detecting any non-printable characters;

upon detecting at least one non-printable character included in the operation code set, perform a first action, wherein the instructions to perform a first action comprise instructions executable by the processor to generate a warning;

upon detecting two consecutive non-printable characters included in the operation code set, classify the operation code set as malicious;

identify at least one printable character included in the operation code set;

determine whether the operation code set is of a type of code set for printable characters;

upon determining at least one printable character is included in the operation code set and the operation code set is of the type of code set for printable characters, continue to allow the at least one printable character to execute; and

upon determining at least one printable character is included in the operation code set and that the operation code set is not of the type of code set for printable characters, classify the operation code set as malicious.

7. The computing device of claim 6 , wherein the operation code set includes a no-operation performed (NOP) sled.

8. The computing device of claim 6 , wherein the operation code set includes shellcode.

9. The computing device of claim 6 , wherein the called function comprises a JavaScript function.

10. The computing device of claim 9 , wherein the JavaScript function comprises at least one of the following functions: Unescape, Eval, CharCodeAt, Split, or Char.

11. A computer-program product for detecting malicious code in a script attack, the computer-program product comprising a non-transitory computer-readable medium having instructions thereon, the instructions comprising:

code programmed to detect an activity associated with calling a function;

code programmed to identify an operation code set associated with the activity to call the function;

code programmed to determine a reputation score for a website associated with the operation code set; and

upon determining the reputation of the website satisfies a threshold, code programmed to initiate buffer overflow detection actions, the buffer overflow detection actions comprising:

code programmed to identify a predetermined sequence of characters included in the operation code set;

code programmed to analyze the identified predetermined sequence of characters, wherein analyzing the identified predetermined sequence of characters comprises detecting any non-printable characters;

upon detecting at least one non-printable character included in the operation code set, code programmed to perform a first action, wherein the code programmed to perform a first action comprises code programmed to generate a warning;

upon detecting two consecutive non-printable characters included in the operation code set, code programmed to classify the operation code set as malicious; and

code programmed to identify at least one printable character included in the operation code set;

code programmed to determine whether the operation code set is of a type of code set for printable characters;

upon determining at least one printable character is included in the operation code set and the operation code set is of the type of code set for printable characters, code programmed to continue to allow the at least one printable character to execute; and

upon determining at least one printable character is included in the operation code set and that the operation code set is not of the type of code set for printable characters, code programmed to classify the operation code set as malicious.

12. The computer-program product of claim 11 , wherein the operation code set includes a no-operation performed (NOP) sled.

Assignments (4)
NOTICE OF SUCCESSION OF AGENCY (REEL 050926 / FRAME 0560) Recorded Sep 13, 2022
From: JPMORGAN CHASE BANK, N.A.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 061422/0371 →
SECURITY AGREEMENT Recorded Sep 13, 2022
From: NORTONLIFELOCK INC.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 062220/0001 →
CHANGE OF NAME Recorded Jan 30, 2020
From: SYMANTEC CORPORATION
To: NORTONLIFELOCK INC.
Reel/Frame 051759/0845 →
SECURITY AGREEMENT Recorded Nov 4, 2019
From: SYMANTEC CORPORATION; BLUE COAT LLC; LIFELOCK, INC,; SYMANTEC OPERATING CORPORATION
To: JPMORGAN, N.A.
Reel/Frame 050926/0560 →