IP Library › Granted Patent US 10,339,312
Granted Patent B2
US 10,339,312 · App. 15/411,132 · Granted Jul 2, 2019

System and method for detecting malicious compound files

Inventors: Andrey V. Krukov (Moscow, RU); Alexander V. Liskin (Moscow, RU); Anton M. Ivanov (Moscow, RU)
Assignee: AO KASPERSKY LAB
G06F21/565
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,339,312
App. No.
15/411,132
Filed
Jan 20, 2017
Granted
Jul 2, 2019
Kind
B2
Art Unit
2439
USPC
726/23
Abstract

A method and system is provided for detecting malicious compound files. An example method includes: obtaining at least one compound file; identifying a first set of features of the at least one compound file including features associated with a header of the at least one compound file; subsequent to identifying the first set of features, identifying, by the processor, a second set of features of the at least one compound file including features associated with at least one directory of the at least one compound file; determining a hash sum of the at least one compound file based on the first and second set of features; comparing the hash sum of the at least one compound file with information associated with a plurality of compound files stored in a database; and identifying the at least one compound file as being malicious, trusted or untrusted based at least on comparison results.

Claims (45)

1. A computer-implemented method for detecting malicious compound files, the method comprising:

obtaining, by a processor of a computing device, at least one compound file;

identifying, by the processor, a first set of features of the at least one compound file including features associated with a header of the at least one compound file;

subsequent to identifying the first set of features, identifying, by the processor, a second set of features of the at least one compound file including features associated with at least one directory of the at least one compound file;

determining a hash of the at least one compound file based on the first and second set of features by concatenating byte representations of the first set of features with byte representations of the second set of features and byte representations of a size of the compound file;

comparing the hash of the at least one compound file with information associated with a plurality of compound files stored in a database; and

identifying the at least one compound file as being malicious, trusted or untrusted based at least on comparison results.

2. The method of claim 1 , wherein the information associated with the plurality of compound files stored in the database comprise:

hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted, and

for each hash stored in the database, information relating to which of the plurality of compound files is used to determine the hash of the at least one compound file.

3. The method of claim 2 , wherein the identifying the at least one compound file as being malicious, trusted or untrusted is based at least on comparing the hash of the at least one compound file to the hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted.

4. The method of claim 1 , further comprising removing the at least one compound file or placing the at least one compound file in quarantine in response to identifying the at least one compound file as being malicious.

5. The method of claim 1 , wherein the at least one compound file includes a file of Microsoft Compound File Binary File Format (MS-CFB).

6. The method of claim 1 , wherein the features associated with the header of the at least one compound file comprise at least one of: a complete list of structure fields of the header of the at least one compound file, and structure fields of the header of the at least one compound file starting with a selected field.

7. The method of claim 1 , wherein the features associated with at least one directory of the at least one compound file comprise at least one of: a complete list of structure fields of directories of the at least one compound file, and features associated with one or more selected directories of the at least one compound file.

8. A system for detecting malicious compound files, the system comprising:

at least one hardware processor configured to:

obtain at least one compound file;

identify a first set of features of the at least one compound file including features associated with a header of the at least one compound file;

subsequent to identifying the first set of features, identify a second set of features of the at least one compound file including features associated with at least one directory of the at least one compound file;

determine a hash of the at least one compound file based on the first and second set of features by concatenating byte representations of the first set of features with byte representations of the second set of features and byte representations of a size of the compound file;

compare the hash of the at least one compound file with information associated with a plurality of compound files stored in a database; and

identify the at least one compound file as being malicious, trusted or untrusted based at least on comparison results.

9. The system of claim 8 , wherein the information associated with the plurality of compound files stored in the database comprise:

hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted, and

for each hash stored in the database, information relating to which of the plurality of compound files is used to determine the hash of the at least one compound file.

10. The system of claim 9 , wherein a configuration to identify the at least one compound file as being malicious, trusted or untrusted, comprises a configuration of the at least one hardware processor to compare the hash of the at least one compound file to the hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted.

11. The system of claim 8 , wherein the at least one hardware processor is further configured to remove the at least one compound file or place the at least one compound file in quarantine in response to identifying the at least one compound file as being malicious.

12. The system of claim 8 , wherein the at least one compound file includes a file of Microsoft Compound File Binary File Format (MS-CFB).

13. The system of claim 8 , wherein the features associated with the header of the at least one compound file comprise at least one of: a complete list of structure fields of the header of the at least one compound file, and structure fields of the header of the at least one compound file starting with a selected field.

14. The system of claim 8 , wherein the features associated with at least one directory of the at least one compound file comprise at least one of: a complete list of structure fields of directories of the at least one compound file, and features associated with one or more selected directories of the at least one compound file.

15. A non-transitory computer readable medium storing thereon computer executable instructions for detecting malicious compound files, including instructions for:

obtaining, by a processor of a computing device, at least one compound file;

identifying, by the processor, a first set of features of the at least one compound file including features associated with a header of the at least one compound file;

subsequent to identifying the first set of features, identifying, by the processor, a second set of features of the at least one compound file including features associated with at least one directory of the at least one compound file;

determining a hash of the at least one compound file based on the first and second set of features by concatenating byte representations of the first set of features with byte representations of the second set of features and byte representations of a size of the compound file;

comparing the hash of the at least one compound file with information associated with a plurality of compound files stored in a database; and

identifying the at least one compound file as being malicious, trusted or untrusted based at least on comparison results.

16. The computer readable medium of claim 15 , wherein the information associated with the plurality of compound files stored in the database comprise:

hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted, and

for each hash stored in the database, information relating to which of the plurality of compound files is used to determine the hash of the at least one compound file.

17. The computer readable medium of claim 15 , wherein the instructions for the identifying of the at least one compound file as being malicious, trusted or untrusted comprise instructions for comparing the hash of the at least one compound file to the hashes of the plurality of compound files indicating each compound file as being malicious, trusted or untrusted.

18. The computer readable medium of claim 15 , further comprising instructions for removing the at least one compound file or placing the at least one compound file in quarantine in response to identifying the at least one compound file as being malicious.

19. The computer readable medium of claim 15 , wherein the at least one compound file includes a file of Microsoft Compound File Binary File Format (MS-CFB).

20. The computer readable medium of claim 15 , wherein the features associated with the header of the at least one compound file comprise at least one of: a complete list of structure fields of the header of the at least one compound file, and structure fields of the header of the at least one compound file starting with a selected field, and wherein the features associated with at least one directory of the at least one compound file comprise at least one of: a complete list of structure fields of directories of the at least one compound file, and features associated with one or more selected directories of the at least one compound file.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 20, 2017
From: KRUKOV, ANDREY V; LISKIN, ALEXANDER V.; IVANOV, ANTON M
To: AO KASPERSKY LAB
Reel/Frame 041460/0639 →
Priority Claims (1)
RU 2016139470 · Oct 10, 2016 · national
Continuity (1)
Related Publication 20180101682A1 · Apr 12, 2018