IP Library Granted Patent US 11,620,383
Granted Patent B2
US 11,620,383 · App. 17/168,007 · Granted Apr 4, 2023

Dynamic analysis techniques for applications

Inventors: Cong Zheng (San Jose, CA); Wenjun Hu (Santa Clara, CA); Zhi Xu (Cupertino, CA)
Assignee: Palo Alto Networks, Inc.
G06F21/566G06F21/53G06F21/562G06F11/3414G06F2221/033
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 11,620,383
App. No.
17/168,007
Granted
Apr 4, 2023
Kind
B2
Abstract

A sample is analyzed to determine a set of events that should be selected for performing by a dynamic analyzer executing the sample in an instrumented, emulated environment. In some cases, analyzing the sample includes extracting the sample's user interface layout into a tree hierarchy of user interface elements. The set of selected events is performed. In some cases, at least one emulator detection resistance action is performed. A maliciousness verdict is determined for the sample based at least in part on one or more responses taken by the sample in response to the set of selected events being performed by the dynamic analyzer.

Claims (36)

1. A system, comprising:

a processor configured to:

analyze a sample to determine a set of events that should be selected for performing by a dynamic analyzer executing the sample in an instrumented, emulated environment, wherein analyzing the sample includes extracting the sample's user interface layout into a tree hierarchy of user interface elements;

perform the set of selected events; and

determine a maliciousness verdict for the sample based at least in part on one or more responses taken by the sample in response to the set of selected events being performed by the dynamic analyzer; and

a memory coupled to the processor and configured to provide the processor with instructions.

2. The system of claim 1 , wherein determining the set of events includes evaluating the user interface elements.

3. The system of claim 2 , wherein evaluating the user interface elements includes determining which elements are actionable.

4. The system of claim 3 , wherein determining which elements are actionable includes determining which elements have previously been interacted with.

5. The system of claim 2 , wherein performing the set of selected events includes interacting with at least one user interface element.

6. The system of claim 1 , wherein analyzing the sample includes evaluating a manifest file.

7. The system of claim 1 , wherein performing the set of selected events includes simulating a system event.

8. The system of claim 1 , wherein performing the set of selected events includes forcibly launching a component.

9. The system of claim 1 wherein performing the set of selected events includes returning a random value in response to receiving a system call.

10. The system of claim 1 wherein performing the set of selected events includes modifying a system static constant field.

11. The system of claim 1 wherein performing the set of selected events includes receiving a file open request from the sample, determining that the requested file is on a list, and redirecting a file handler associated with the requested file.

12. The system of claim 1 wherein performing the set of selected events includes generating artificial user data.

13. The system of claim 12 , wherein the artificial user data includes artificial contacts.

14. The system of claim 12 , wherein the processor is further configured to detect when the sample attempts to access at least some of the artificial user data and in response log the attempted access.

15. A method, comprising:

analyzing a sample to determine a set of events that should be selected for performing by a dynamic analyzer executing the sample in an instrumented, emulated environment, wherein analyzing the sample includes extracting the sample's user interface layout into a tree hierarchy of user interface elements;

performing the set of selected events; and

determining a maliciousness verdict for the sample based at least in part on one or more responses taken by the sample in response to the set of selected events being performed by the dynamic analyzer.

16. The method of claim 15 , wherein determining the set of events includes evaluating the user interface elements.

17. The method of claim 16 , wherein evaluating the user interface elements includes determining which elements are actionable.

18. The method of claim 17 , wherein determining which elements are actionable includes determining which elements have previously been interacted with.

19. The method of claim 16 , wherein performing the set of selected events includes interacting with at least one user interface element.

20. The method of claim 15 , wherein analyzing the sample includes evaluating a manifest file.

21. The method of claim 15 , wherein performing the set of selected events includes simulating a system event.

22. The method of claim 15 , wherein performing the set of selected events includes forcibly launching a component.

23. The method of claim 15 , wherein performing the set of selected events includes returning a random value in response to receiving a system call.

24. The method of claim 15 , wherein performing the set of selected events includes modifying a system static constant field.

25. The method of claim 15 , wherein performing the set of selected events includes receiving a file open request from the sample, determining that the requested file is on a list, and redirecting a file handler associated with the requested file.

26. The method of claim 15 , wherein performing the set of selected events includes generating artificial user data.

27. The method of claim 26 , wherein the artificial user data includes artificial contacts.

28. The method of claim 26 , further comprising detecting when the sample attempts to access at least some of the artificial user data and in response log the attempted access.

Continuity (2)
Continuation 16024515 · Jun 29, 2018
Related Publication 20210157920A1 · May 27, 2021