IP Library › Granted Patent US 10,009,370
Granted Patent B1
US 10,009,370 · App. 15/057,631 · Granted Jun 26, 2018

Detection and remediation of potentially malicious files

Inventors: Kevin Douglas (Vienna, VA); Diptanu Das (Falls Church, VA)
Assignee: EMC IP Holding Company LLC
H04L63/145G06F21/562G06F21/563H04L63/1425
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 10,009,370
App. No.
15/057,631
Filed
Mar 1, 2016
Granted
Jun 26, 2018
Kind
B1
Art Unit
2438
USPC
726/23
Abstract

A method comprises obtaining a potentially malicious file, decoding the file to identify one or more code streams, processing each of the identified code streams to determine the presence of respective ones of a set of indicators of compromise, determining whether the file is malicious based on the presence of one or more of the indicators of compromise in the code streams, and modifying access by a given client device to the file responsive to determining that the file is malicious.

Claims (72)

1. A method comprising:

obtaining a potentially malicious file;

decoding the file to identify one or more code streams;

processing each of the identified code streams to determine the presence of respective ones of a set of indicators of compromise;

determining whether the file is malicious based at least in part on the presence of one or more of the indicators of compromise in the code streams; and

modifying access by a given client device to the file responsive to determining that the file is malicious;

wherein the set of indicators of compromise are arranged in a hierarchy from one or more relatively benign indicators of compromise to one or more relatively malicious indicators of compromise;

wherein processing each of the identified code streams to determine the presence of respective ones of the set of indicators of compromise comprises checking for the presence of respective ones of the set of indicators in an order determined based at least in part on the hierarchy; and

wherein the method is performed by at least one processing device comprising a processor coupled to a memory.

2. The method of claim 1 wherein the processing device comprises a network security system configured to communicate with a plurality of client devices, including the given client device, over at least one network.

3. The method of claim 1 wherein the file comprises one of an Object Linking and Embedding Structure Storage (OLESS) document and an Office Open Extensible Markup Language (OOXML) document and at least one of the code streams comprises a Visual Basic for Application (VBA) scripting stream.

4. The method of claim 1 wherein decoding the file comprises identifying one or more module stream names for respective ones of the code streams.

5. The method of claim 4 wherein at least one of the module stream names comprises a stream name encoded utilizing a character set other than an American Standard Code for Information Interchange (ASCII) character set.

6. The method of claim 1 wherein processing each of the identified code streams comprises de-obfuscating a given one of the code streams without executing the given code stream by:

identifying logic used to mask an original intent for the given code stream; and

reversing the logic to restore the original intent of the given code stream.

7. The method of claim 6 wherein the logic masks the original intent for the given code stream by obfuscating portions of code into fragmented strings, and reversing the logic comprises reassembling the fragmented strings to create a clear text code string.

8. The method of claim 1 wherein the indicators of compromise comprise two or more of:

a first indicator of compromise that checks for one or more designated types of code;

a second indicator of compromise that checks for code with auto-launch capability;

a third indicator of compromise that checks for code with network download capability;

a fourth indicator of compromise that checks for code with the ability to read from or write to memory; and

a fifth indicator of compromise that checks for code with the ability to execute one or more other files from memory.

9. The method of claim 8 wherein:

the first indicator of compromise checks for the presence of Visual Basic for Application (VBA) code;

the second indicator of compromise checks VBA scripts for commands to automatically launch code when the file is opened without user intervention or knowledge;

the third indicator of compromise checks for a set of VBA functions and ActiveX controls indicating that the file is capable of downloading content from a network;

the fourth indicator of compromise checks for a set of VBA functions and ActiveX controls used to read from or write content to the memory; and

the fifth indicator of compromise checks for a set of VBA functions and ActiveX controls that allow programs to be started.

10. The method of claim 8 wherein different ones of the indicators of compromise are assigned different weights, and determining whether the file is malicious comprises determining whether a weighted total of the indicators of compromise present in the one or more code streams exceeds a designated threshold.

11. The method of claim 10 wherein the first indicator of compromise and the second indicator of compromise are assigned lower weights relative to the third indicator of compromise, the fourth indicator of compromise and the fifth indicator of compromise.

12. The method of claim 8 wherein determining whether the file is malicious comprises determining that the first, second, third, fourth and fifth indicators of compromise are present in a given one of the one or more code streams.

13. The method of claim 8 wherein the set of indicators of compromise further comprise one or more user-defined indicators of compromise.

14. The method of claim 1 wherein modifying access by the client device to the file comprises at least one of:

removing the file from a memory of the client device;

preventing the client device from obtaining the file; and

causing the file to be opened in a sandboxed application environment on the client device.

15. A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by a processing device cause the processing device:

to obtain a potentially malicious file;

to decode the file to identify one or more code streams;

to process each of the identified code streams to determine the presence of respective ones of a set of indicators of compromise;

to determine whether the file is malicious based at least in part on the presence of one or more of the indicators of compromise in the code streams; and

to modify access by a given client device to the file responsive to determining that the file is malicious;

wherein the set of indicators of compromise are arranged in a hierarchy from one or more relatively benign indicators of compromise to one or more relatively malicious indicators of compromise; and

wherein processing each of the identified code streams to determine the presence of respective ones of the set of indicators of compromise comprises checking for the presence of respective ones of the set of indicators in an order determined based at least in part on the hierarchy.

16. The computer program product of claim 15 wherein the indicators of compromise comprise two or more of:

a first indicator of compromise that checks for one or more designated types of code;

a second indicator of compromise that checks for code with auto-launch capability;

a third indicator of compromise that checks for code with network download capability;

a fourth indicator of compromise that checks for code with the ability to read from or write to memory; and

a fifth indicator of compromise that checks for code with the ability to execute one or more other files from memory.

17. An apparatus comprising:

a processing device comprising a processor coupled to a memory;

the processing device being configured:

to obtain a potentially malicious file;

to decode the file to identify one or more code streams;

to process each of the identified code streams to determine the presence of respective ones of a set of indicators of compromise;

to determine whether the file is malicious based at least in part on the presence of one or more of the indicators of compromise in the code streams; and

to modify access by a given client device to the file responsive to determining that the file is malicious;

wherein the set of indicators of compromise are arranged in a hierarchy from one or more relatively benign indicators of compromise to one or more relatively malicious indicators of compromise; and

wherein processing each of the identified code streams to determine the presence of respective ones of the set of indicators of compromise comprises checking for the presence of respective ones of the set of indicators in an order determined based at least in part on the hierarchy.

18. The apparatus of claim 17 wherein the indicators of compromise comprise two or more of:

a first indicator of compromise that checks for one or more designated types of code;

a second indicator of compromise that checks for code with auto-launch capability;

a third indicator of compromise that checks for code with network download capability;

a fourth indicator of compromise that checks for code with the ability to read from or write to memory; and

a fifth indicator of compromise that checks for code with the ability to execute one or more other files from memory.

19. The method of claim 1 wherein checking for the presence of the respective ones of the set of indicators in the order determined based at least in part on the hierarchy comprises:

checking for the presence of the one or more relatively benign indicators of compromise;

progressing with checking for the presence of the one or more relatively malicious indicators of compromise responsive to detecting the presence of the one or more relatively benign indicators of compromise; and

refraining from checking for the presence of the one or more relatively malicious indicators of compromise responsive to failure to detect the presence of the one or more relatively benign indicators of compromise.

20. The method of claim 1 wherein the indicators of compromise are arranged in two or more groups within the hierarchy, and wherein checking for the presence of respective ones of the set of indicators in the order determined based at least in part on the hierarchy comprises checking for the presence of at least one indicator of compromise in each of the two or more groups within the hierarchy.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045455/0001) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061753/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (040136/0001) Recorded Apr 26, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061324/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 3, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL, L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058216/0001 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2016
From: EMC CORPORATION
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 040203/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 040136/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 040134/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 20, 2016
From: DOUGLAS, KEVIN; DAS, DIPTANU
To: EMC CORPORATION
Reel/Frame 038333/0590 →
Cited By (3)
US 12,430,429 US 12,596,802 US 12,711,039