Early exit dynamic analysis of a virtual machine
Abstract
Techniques for early exit dynamic analysis of a virtual machine are disclosed. In some embodiments, a system/process/computer program product for early exit dynamic analysis of a virtual machine includes initiating a dynamic analysis of a malware sample by executing the malware sample in a virtual computing environment; monitoring activities of the malware sample during execution of the malware sample in the virtual computing environment; and determining when to exit the dynamic analysis before a predetermined period of time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (13 — 3 Independent, 10 Dependent)
- Claim 1Independent Claim
A system, comprising: a processor configured to: initiate a dynamic analysis of a malware sample by executing the malware sample in a virtual computing environment for a predetermined period of time; monitor activities of the malware sample including launching a new process during the executing of the malware sample in the virtual computing environment, wherein the monitoring of the activities of the malware sample during execution of the malware sample in the virtual computing environment includes one or more of the following: writing, copying, or moving a file; changing a registry setting; modifying a system service; and scheduling a task; and determine when to exit the dynamic analysis before the predetermined period of time based on the monitoring of the activities of the malware sample during the executing of the malware sample in the virtual computing environment to determine that using all of the predetermined period of time for the dynamic analysis is not required to determine that the malware sample is malicious or benign based on one or more of the following: (1) the malware sample cannot be executed in the virtual computing environment; (2) the malware sample requires an external dependency that is not available in the virtual computing environment; (3) the malware sample is associated with an unsupported file sub-type; and/or (4) an analysis of the new process of the malware sample has been completed; and a memory coupled to the processor and configured to provide the processor with instructions.
- Claim 2Depends on #1
The system recited in claim 1, wherein the virtual computing environment comprises a virtual machine instance.
- Claim 3Depends on #1
The system recited in claim 1, wherein an early exit from the dynamic analysis before the predetermined period of time is performed based on a termination of a main process associated with executing the malware sample in the virtual computing environment.
- Claim 4Depends on #1
The system recited in claim 1, wherein an output of the monitored activities of the malware sample during execution of the malware sample in the virtual computing environment is automatically analyzed to determine whether the malware sample is malicious or benign.
- Claim 5Depends on #1
The system recited in claim 1, wherein the processor is further configured to: monitor memory during execution of the malware sample in the virtual computing environment.
- Claim 6Depends on #1
The system recited in claim 1, wherein the processor is further configured to: perform an early exit of the dynamic analysis of the malware sample before the predetermined period of time based on monitoring of the malware sample during execution in the virtual computing environment.
- Claim 7Depends on #1
The system recited in claim 1, wherein the processor is further configured to: perform an early exit of the dynamic analysis of the malware sample before the predetermined period of time based on monitoring of the malware sample during execution in the virtual computing environment to determine that the malware sample has completed execution and no further dynamic analysis is to be performed to determine whether the malware sample is malicious or benign.
- Claim 8Depends on #1
The system recited in claim 1, wherein the processor is further configured to: perform an early exit of the dynamic analysis of the malware sample before the predetermined period of time based on monitoring of the malware sample during execution in the virtual computing environment; and determine that the malware sample is benign.
- Claim 9Depends on #1
The system recited in claim 1, wherein the processor is further configured to: perform an early exit of the dynamic analysis of the malware sample before the predetermined period of time based on monitoring of the malware sample during execution in the virtual computing environment; and determine that the malware sample is malicious.
- Claim 10Independent Claim
A method, comprising: initiating a dynamic analysis of a malware sample by executing the malware sample in a virtual computing environment for a predetermined period of time; monitoring activities of the malware sample including launching a new process during the executing of the malware sample in the virtual computing environment, wherein the monitoring of the activities of the malware sample during execution of the malware sample in the virtual computing environment includes one or more of the following: writing, copying, or moving a file; changing a registry setting; modifying a system service; and scheduling a task; and determining when to exit the dynamic analysis before the predetermined period of time based on the monitoring of the activities of the malware sample during the executing of the malware sample in the virtual computing environment to determine that using all of the predetermined period of time for the dynamic analysis is not required to determine that the malware sample is malicious or benign based on one or more of the following: (1) the malware sample cannot be executed in the virtual computing environment; (2) the malware sample requires an external dependency that is not available in the virtual computing environment; (3) the malware sample is associated with an unsupported file sub-type; and/or (4) an analysis of the new process of the malware sample has been completed.
- Claim 11Depends on #10
The method of claim 10, wherein the virtual computing environment comprises a virtual machine instance.
- Claim 12Independent Claim
A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for: initiating a dynamic analysis of a malware sample by executing the malware sample in a virtual computing environment for a predetermined period of time; monitoring activities of the malware sample including launching a new process during the executing of the malware sample in the virtual computing environment, wherein the monitoring of the activities of the malware sample during execution of the malware sample in the virtual computing environment includes one or more of the following: writing, copying, or moving a file; changing a registry setting; modifying a system service; and scheduling a task; and determining when to exit the dynamic analysis before the predetermined period of time based on the monitoring of the activities of the malware sample during the executing of the malware sample in the virtual computing environment to determine that using all of the predetermined period of time for the dynamic analysis is not required to determine that the malware sample is malicious or benign based on one or more of the following: (1) the malware sample cannot be executed in the virtual computing environment; (2) the malware sample requires an external dependency that is not available in the virtual computing environment; (3) the malware sample is associated with an unsupported file sub-type; and/or (4) an analysis of the new process of the malware sample has been completed.
- Claim 13Depends on #12
The computer program product recited in claim 12, wherein the virtual computing environment comprises a virtual machine instance.
Technical Overview & Description
CROSS REFERENCE TO OTHER APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/364,697, entitled EARLY EXIT DYNAMIC ANALYSIS OF A VIRTUAL MACHINE filed Jun. 30, 2021 which is incorporated herein by reference for all purposes. BACKGROUND OF THE INVENTION Nefarious individuals attempt to compromise computer systems in a variety of ways. As one example, such individuals may embed or otherwise include malicious software ( “ malware ” ) in email attachments and transmit or cause the malware to be transmitted to unsuspecting users. When executed, the malware compromises the victim's computer. Some types of malware attempt to pack or otherwise obfuscate the malicious code to evade detection by firewalls, host security software, and/or virtualized malware analysis. Further, malware authors are using increasingly sophisticated techniques to pack/obfuscate the workings of their malicious software. BRIEF DESCRIPTION OF THE DRA WINGS Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. FIG. 1 illustrates an example of an environment in which malware is detected and its harm reduced in accordance with some embodiments. FIG. 2 illustrates an embodiment of a data appliance. FIG. 3 illustrates an example of logical components that can be included in a malware analysis system for performing early exit dynamic analysis of a virtual machine in accordance with some embodiments. FIGS. 4 A-D illustrate the inefficient use of computing resources for dynamic analysis performed for a predetermined period of time. FIG. 4 E illustrates a more efficient use of computing resources by performing early exit dynamic analysis of a virtual machine in accordance with some embodiments. FIG. 5 illustrates an embodiment of a process for early exit dynamic analysis of a virtual machine. FIG. 6 illustrates another embodiment of a process for early exit dynamic analysis of a virtual machine. FIG. 7 A illustr
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
Non-Patent Literature (8)
- Lin et al., Efficient Dynamic Malware Analysis using Virtual Time Control Mechanics, Computers
- &
- Security 73 (2018), pp. 359-373.
- O'Kane et al., Detecting Obfuscated Malware Using Reduced Opcode Set and Optimised Runtime Trace, Security Informatics, 2016.
- Or-Meir et al., Dynamic Malware Analysis in the Modern Era
- —
- A State of the Art Survey, ACM Computing Surveys, vol. 52, No. 5, Article 88, Sep. 2019.
- Yoshihiro Oyama , Skipping Sleeps in Dynamic Analysis of Multithreaded Malware, IEEE, 2018.