# US 2019/0243975 A1 · Persistence probing to detect malware

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0243975 A1
- Document ID: US20190243975A1
- Status: Published application
- Kind: A1
- Application number: 16/388,509
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2016-12-27
- Assignees: McAfee, Inc.
- Applicants: McAfee, LLC
- Inventors: Craig Schmugar; John Teddy; Cedric Cochin
- Web page: https://patentgrep.com/patent/US20190243975A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/568: {eliminating virus, restoring damaged files}
- G06F 21/575: {Secure boot}
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for detecting malware looks at startup hooks that may be created by malware to assist in ensuring that the malware is started upon a reboot of a programmable device. After enumerating startup hooks in the system, startup hooks associated with untrusted executables are deleted. If the startup hook is restored, that is an indication that the untrusted executable may be malware. An indication may then be passed to an anti-malware software to analyze the executable further.

## Claims

### Claim 1

A server computer system comprising:
at least one processor; and
memory including instructions that, when executed, cause the at least one processor to at least:
process a reputation associated with a target executable, the reputation determined by:
removing a startup item associated with the target executable from a programmable device;
determining whether the startup item is restored to the programmable device within a time period after the removal;
when the startup item is determined to be restored to the programmable device within the time period, setting the reputation of the target executable to a negative reputation; and
when the startup item is determined to not be restored within the time period, setting the reputation of the target executable to a positive reputation;
when the reputation of the target executable is a positive reputation, updating a whitelist to include the target executable;
when the reputation of the target executable is a negative reputation, updating a blacklist to include the target executable; and
provide the whitelist and the blacklist to the programmable device.

### Claim 2 (depends on 1)

The system of claim 1, wherein the target executable is a first target executable, and wherein, when a second target executable is not on the whitelist or the blacklist, the instructions, when executed, cause the at least one processor to trigger the programmable device to evaluate the reputation associated with the second target executable.

### Claim 3 (depends on 1)

The system of claim 1, wherein the instructions, when executed, cause the at least one processor to backup the startup item.

### Claim 4 (depends on 3)

The system of claim 3, wherein the instructions, when executed, cause the at least one processor to restore the startup item from the backup.

### Claim 5 (depends on 1)

The system of claim 1, wherein the instructions, when executed, facilitate configuration of the time period.

### Claim 6 (depends on 1)

The system of claim 1, wherein the instructions, when executed, cause the at least one processor to, when the target executable is on the blacklist, trigger anti-malware software to process the target executable.

### Claim 7 (depends on 1)

The system of claim 1, wherein the instructions, when executed, trigger a reboot of the programmable device associating the reputation with the target executable.

### Claim 8

At least one machine readable medium comprising instructions which, when executed, cause at least one processor to at least:
process a reputation associated with a target executable, the reputation determined by:
removing a startup item associated with the target executable from a programmable device;
determining whether the startup item is restored to the programmable device within a time period after the removal;
when the startup item is determined to be restored to the programmable device within the time period, setting the reputation of the target executable to a negative reputation; and
when the startup item is determined to not be restored within the time period, setting the reputation of the target executable to a positive reputation;
when the reputation of the target executable is a positive reputation, update a whitelist to include the target executable;
when the reputation of the target executable is a negative reputation, update a blacklist to include the target executable; and
provide the whitelist and the blacklist to the programmable device.

### Claim 9 (depends on 8)

The at least one machine readable medium of claim 8, wherein the target executable is a first target executable, and wherein, when a second target executable is not on the whitelist or the blacklist, the instructions, when executed, cause the at least one processor to trigger the programmable device to evaluate the reputation associated with the second target executable.

### Claim 10 (depends on 8)

The at least one machine readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to backup the startup item.

### Claim 11 (depends on 10)

The at least one machine readable medium of claim 10, wherein the instructions, when executed, cause the at least one processor to restore the startup item from the backup.

### Claim 12 (depends on 8)

The at least one machine readable medium of claim 8, wherein the instructions, when executed, facilitate configuration of the time period.

### Claim 13 (depends on 8)

The at least one machine readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to, when the target executable is on the blacklist, trigger anti-malware software to process the target executable.

### Claim 14 (depends on 8)

The at least one machine readable medium of claim 8, wherein the instructions, when executed, trigger a reboot of the programmable device associating the reputation with the target executable.

### Claim 15

A method comprising:
processing, by executing an instruction using at least one processor, a reputation associated with a target executable, the reputation determined by:
removing a startup item associated with the target executable from a programmable device;
determining whether the startup item is restored to the programmable device within a time period after the removal;
when the startup item is determined to be restored to the programmable device within the time period, setting the reputation of the target executable to a negative reputation; and
when the startup item is determined to not be restored within the time period, setting the reputation of the target executable to a positive reputation;
when the reputation of the target executable is a positive reputation, updating, by executing an instruction using the at least one processor, a whitelist to include the target executable;
when the reputation of the target executable is a negative reputation, updating, by executing an instruction using the at least one processor, a blacklist to include the target executable; and
providing, by executing an instruction using the at least one processor, the whitelist and the blacklist to the programmable device.

### Claim 16 (depends on 15)

The method of claim 15, wherein the target executable is a first target executable, and wherein, when a second target executable is not on the whitelist or the blacklist, the method further includes triggering the programmable device to evaluate the reputation associated with the second target executable.

### Claim 17 (depends on 15)

The method of claim 15, further including backing up the startup item.

### Claim 18 (depends on 17)

The method of claim 17, further including restoring the startup item from the backup.

### Claim 19 (depends on 15)

The method of claim 15, further including facilitating configuration of the time period.

### Claim 20 (depends on 15)

The method of claim 15, further including, when the target executable is on the blacklist, triggering anti-malware software to process the target executable.
