PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10628586

Detecting malware via scanning for dynamically generated function pointers in memory

Granted 2020-04-21 · Filed 2017-11-30 · Application 15/828,172 · Utility · Kind B1

Assignee as printed
  • Palo Alto Networks, Inc., Santa Clara, CA (US)
Inventors
Robert Jung, Albuquerque, NM (US)
CPC, current
G06F21/566; G06F11/3037; G06F21/52; G06F21/563

Abstract

Techniques for detecting malware via scanning for dynamically generated function pointers in memory are disclosed. In some embodiments, a system/process/computer program product for detecting malware via scanning for dynamically generated function pointers in memory includes monitoring changes in memory during execution of a malware sample in a computing environment; detecting a dynamically generated function pointer in memory based on an analysis of the monitored changes in memory during execution of the malware sample in the computing environment; and generating a signature based on detection of the dynamically generated function pointer in memory, wherein the malware sample was determined to be malicious.

Claims

20 claims · independent 1, 10 and 15

The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.

Claim 1

Independent claim.

1. A system, comprising:

  1. Claim 1, element e1a processor configured to: 25–50
  2. Claim 1, element e2monitor changes in memory during execution of a malware sample in a computing environment, 52–141
  3. Claim 1, element e3wherein a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes during execution of the malware sample in the computing environment, and wherein monitoring changes in memory during execution of a malware sample in a computing environment further comprises: 143–481
  4. Claim 1, element e4search the memory for a list of memory locations of accessible system functions; 483–562
  5. Claim 1, element e5periodically search the memory after predetermined execution events to detect any memory pointers in the memory; 564–675
  6. Claim 1, element e6filter the memory locations where pointers to the system functions were detected in the memory to generate a set of system API function pointers; and 677–821
  7. Claim 1, element e7automatically analyze the set of system API function pointers to determine whether the malware sample attempted to obfuscate suspicious or malicious behavior; 827–984
  8. Claim 1, element e8detect a dynamically generated function pointer in memory based on an analysis of the monitored changes in memory during execution of the malware sample in the computing environment; and 986–1167
  9. Claim 1, element e9generate a signature based on detection of the dynamically generated function pointer in memory, 1173–1268
  10. Claim 1, element e10wherein the malware sample was determined to be malicious; and 1270–1327
  11. Claim 1, element e11a memory coupled to the processor and configured to provide the processor with instructions.1333–1424
8 dependent claims: 2 to 9 (2, 3, 4, 5, 6, 7, 8, 9 on claim 1)

Claim 2

Depends on claim 1.

2. The system recited in claim 1 , wherein

  1. Claim 2, element e1the computing environment comprises a virtual machine instance.43–105

Claim 3

Depends on claim 1.

3. The system recited in claim 1 , wherein

  1. Claim 3, element e1an output of the monitored changes in memory after a system call event during execution of the malware sample for a predetermined period of time in the computing environment is reassembled and analyzed to identify a potential malware binary, and wherein the potential malware binary is submitted for dynamic analysis and/or static analysis.43–382

Claim 4

Depends on claim 1.

4. The system recited in claim 1 , wherein

  1. Claim 4, element e1a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes after one or more system call events during execution of the malware sample for a predetermined period of time in the computing environment.43–321

Claim 5

Depends on claim 1.

5. The system recited in claim 1 , wherein

  1. Claim 5, element e1the processor is further configured to: 43–81
  2. Claim 5, element e2receive a plurality of malware samples; and 83–121
  3. Claim 5, element e3deduplicate the plurality of malware samples.127–171

Claim 6

Depends on claim 1.

6. The system recited in claim 1 , wherein

  1. Claim 6, element e1the processor is further configured to: 43–81
  2. Claim 6, element e2receive a plurality of malware samples; 83–121
  3. Claim 6, element e3deduplicate the plurality of malware samples to output a first malware sample; and 123–200
  4. Claim 6, element e4execute the first malware sample in the computing environment.206–267

Claim 7

Depends on claim 1.

7. The system recited in claim 1 , wherein

  1. Claim 7, element e1the processor is further configured to: 43–81
  2. Claim 7, element e2identify a plurality of pages in memory associated with a process launched by executing the malware sample in the computing environment; and 83–218
  3. Claim 7, element e3perform an initial snapshot of all of the plurality of pages in memory associated with the process at initial time t 0 and cache the initial snapshot of all of the plurality of pages in memory to provide a baseline for contents in memory while executing the malware sample in the computing environment.224–525

Claim 8

Depends on claim 1.

8. The system recited in claim 1 , wherein

  1. Claim 8, element e1the processor is further configured to: 43–81
  2. Claim 8, element e2identify a plurality of pages in memory associated with a process launched by executing the malware sample in the computing environment; 83–218
  3. Claim 8, element e3perform an initial snapshot of all of the plurality of pages in memory associated with the process at initial time t 0 and cache the initial snapshot of all of the plurality of pages in memory to provide a baseline for contents in memory while executing the malware sample in the computing environment; and 220–521
  4. Claim 8, element e4perform a final snapshot of all of the plurality of pages in memory associated with the process at subsequent time t n after a predetermined period of time or after completion of execution of the malware sample in the computing environment.527–766

Claim 9

Depends on claim 1.

9. The system recited in claim 1 , wherein

  1. Claim 9, element e1the processor is further configured to: 43–81
  2. Claim 9, element e2identify a plurality of pages in memory associated with a process launched by executing the malware sample in the computing environment; 83–218
  3. Claim 9, element e3perform an initial snapshot of all of the plurality of pages in memory associated with the process at initial time t 0 and cache the initial snapshot of all of the plurality of pages in memory to provide a baseline for contents in memory while executing the malware sample in the computing environment; and 220–521
  4. Claim 9, element e4perform another snapshot of all of the plurality of pages in memory associated with the process at subsequent time t n after a predetermined period of time or after a system call event if any return address in a call stack points to a memory address that has changed since the initial snapshot.527–820

Claim 10

Independent claim.

10. A method, comprising:

  1. Claim 10, element e1monitoring changes in memory during execution of a malware sample in a computing environment, 26–118
  2. Claim 10, element e2wherein a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes during execution of the malware sample in the computing environment, and wherein monitoring changes in memory during execution of a malware sample in a computing environment further comprises: 120–458
  3. Claim 10, element e3searching the memory for a list of memory locations of accessible system functions; 460–542
  4. Claim 10, element e4periodically searching the memory after predetermined execution events to detect any memory pointers in the memory; 544–658
  5. Claim 10, element e5filtering the memory locations where pointers to the system functions were detected in the memory to generate a set of system API function pointers; and 660–807
  6. Claim 10, element e6automatically analyzing the set of system API function pointers to determine whether the malware sample attempted to obfuscate suspicious or malicious behavior; 813–972
  7. Claim 10, element e7detecting a dynamically generated function pointer in memory based on an analysis of the monitored changes in memory during execution of the malware sample in the computing environment; and 974–1158
  8. Claim 10, element e8generating a signature based on detection of the dynamically generated function pointer in memory, 1164–1261
  9. Claim 10, element e9wherein the malware sample was determined to be malicious.1263–1320
4 dependent claims: 11 to 14 (11, 12, 13, 14 on claim 10)

Claim 11

Depends on claim 10.

11. The method of claim 10 , wherein

  1. Claim 11, element e1the computing environment comprises a virtual machine instance.37–99

Claim 12

Depends on claim 10.

12. The method of claim 10 , wherein

  1. Claim 12, element e1an output of the monitored changes in memory after a system call event during execution of the malware sample for a predetermined period of time in the computing environment is reassembled and analyzed to identify a potential malware binary.37–277

Claim 13

Depends on claim 10.

13. The method of claim 10 , wherein

  1. Claim 13, element e1an output of the monitored changes in memory after a system call event during execution of the malware sample for a predetermined period of time in the computing environment is reassembled and analyzed to identify a potential malware binary, and wherein the potential malware binary is submitted for dynamic analysis and/or static analysis.37–376

Claim 14

Depends on claim 10.

14. The method of claim 10 , wherein

  1. Claim 14, element e1a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes after one or more system call events during execution of the malware sample for a predetermined period of time in the computing environment.37–315

Claim 15

Independent claim.

15. A computer program product, the computer program product being embodied in a non-transitory tangible computer readable storage medium and comprising

  1. Claim 15, element e1computer instructions for: 153–178
  2. Claim 15, element e2monitoring changes in memory during execution of a malware sample in a computing environment, 180–272
  3. Claim 15, element e3wherein a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes during execution of the malware sample in the computing environment, and wherein monitoring changes in memory during execution of a malware sample in a computing environment further comprises: 274–612
  4. Claim 15, element e4searching the memory for a list of memory locations of accessible system functions; 614–696
  5. Claim 15, element e5periodically searching the memory after predetermined execution events to detect any memory pointers in the memory; 698–812
  6. Claim 15, element e6filtering the memory locations where pointers to the system functions were detected in the memory to generate a set of system API function pointers; and 814–961
  7. Claim 15, element e7automatically analyzing the set of system API function pointers to determine whether the malware sample attempted to obfuscate suspicious or malicious behavior; 967–1126
  8. Claim 15, element e8detecting a dynamically generated function pointer in memory based on an analysis of the monitored changes in memory during execution of the malware sample in the computing environment; and 1128–1312
  9. Claim 15, element e9generating a signature based on detection of the dynamically generated function pointer in memory, 1318–1415
  10. Claim 15, element e10wherein the malware sample was determined to be malicious.1417–1474
5 dependent claims: 16 to 19 (16, 17, 18, 19, 19 on claim 15)

Claim 16

Depends on claim 15.

16. The computer program product recited in claim 15 , wherein

  1. Claim 16, element e1the computing environment comprises a virtual machine instance.63–125

Claim 17

Depends on claim 15.

17. The computer program product recited in claim 15 , wherein

  1. Claim 17, element e1an output of the monitored changes in memory after a system call event during execution of the malware sample for a predetermined period of time in the computing environment is reassembled and analyzed to identify a potential malware binary.63–303

Claim 18

Depends on claim 15.

18. The computer program product recited in claim 15 , wherein

  1. Claim 18, element e1an output of the monitored changes in memory after a system call event during execution of the malware sample for a predetermined period of time in the computing environment is reassembled and analyzed to identify a potential malware binary, and wherein the potential malware binary is submitted for dynamic analysis and/or static analysis.63–402

Claim 19

Depends on claim 15.

19. The computer program product recited in claim 15 , wherein

  1. Claim 19, element e1a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes after one or more system call events during execution of the malware sample for a predetermined period of time in the computing environment.63–341

19. The computer program product recited in claim 15 , wherein

  1. Claim 19, element e1a plurality of pages in memory associated with a process launched by executing the malware sample are identified and monitored for changes after one or more system call events during execution of the malware sample for a predetermined period of time in the computing environment.63–341

Status

active

As of 2026-11-17, the USPTO record for US 10628586 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-04-29 (20 years from filing, plus 150 days of patent term adjustment), a date not yet passed (data version 20261117.2).

Basis
term_20y · pta_days:150 (20 years from filing, plus 150 days of patent term adjustment)
Term end
2038-04-29 Computed from the dates in the USPTO record
Fee lapse
none on record
Reinstatement
none on record; reinstatement_possible: false, not lapsed
As of
2026-11-17
Data version
20261117.2

A fact about the record with its basis and its as-of date, not legal advice.

Citations

References cited on the grant: 2 US patent documents · Cited by: 46 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10628586/ (needs a free key, as the links under Get this as data)

Family outside the US

Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).

This patent's family on USPTO Global Dossier

Family data from Google Patents Public Datasets, used under CC BY 4.0.

Record JSON
{
 "patent_id": "10628586",
 "status": "active",
 "basis": [
  "term_20y",
  "pta_days:150"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2038-04-29",
 "lapse_date": null,
 "reinstated_date": null,
 "as_of": "2026-11-17",
 "data_version": "20261117.2",
 "catalog_data_version": "20261117.2",
 "permalink": "https://patentref.io/p/10628586?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10628586?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10628586/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10628586",
   "audience": "agent"
  }
 ]
}

Get this as data

These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.

Elsewhere

Cite this record

https://patentref.io/p/10628586?v=20261117.2

Data 20261117.2 · as of 2026-11-17