IP Library Granted Patent US 12,013,940
Granted Patent B2
US 12,013,940 · App. 17/087,353 · Granted Jun 18, 2024

Automatic detection of software that performs unauthorized privilege escalation

Inventor: Eknath Venkataramani (Beaverton, OR)
Assignee: McAfee, LLC
G06F21/566G06F9/468G06F9/542G06F12/1491G06F21/554G06F21/577G06F21/6281H04L63/1408G06F2221/2113
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 12,013,940
App. No.
17/087,353
Granted
Jun 18, 2024
Kind
B2
Abstract

Automatic detection of software that performs unauthorized privilege escalation is disclosed. Examples disclosed herein include detecting, in an event log, a first event associated with a start of execution of a process, the first event to identify a first privilege level associated with the process, and storing the first privilege level in a data structure associated with the process. Disclosed examples also include detecting, in the event log by executing an instruction with the at least one processor, a subsequent second event associated with the execution of the process, the second event to identify a second privilege level associated with the process. Disclosed examples further include at least one of terminating, pausing or suspending the process in response to the second privilege level being higher than the first privilege level.

Claims (57)

1. An article of manufacture comprising computer readable instructions to cause at least one processor circuit to at least:

detect a first event associated with a start of execution of a process, the first event to identify a first privilege level associated with the process;

cause storage of the first privilege level in a data structure associated with the process;

detect a second event associated with the execution of the process, the second event subsequent to the first event, the second event to identify a second privilege level associated with the process;

determine the second privilege level is unauthorized based on a combination of (i) the second privilege level being higher than the first privilege level and (ii) association of the process with the second privilege level having occurred without an authorized privilege escalation by an operating system component that is to prompt for user credentials; and

at least one of terminate, pause or suspend the process after a determination that the second privilege level is unauthorized.

2. The article of manufacture of claim 1 , wherein the second event is associated with an attempt by the process to access a system resource.

3. The article of manufacture of claim 1 , wherein the first event includes a process identifier to identify the process and first information to identify the first privilege level associated with the process, and the second event includes the process identifier to identify the process and second information to identify the second privilege level associated with the process.

4. The article of manufacture of claim 3 , wherein the instructions are to cause one or more of the at least one processor circuit to parse an event log based on the process identifier to detect the first event and the second event.

5. The article of manufacture of claim 1 , wherein the instructions are to cause one or more of the at least one processor circuit to:

detect a third event subsequent to the second event, the third event associated with a successful request to associate the process with a third privilege level higher than the first privilege level; and

cause replacement of the first privilege level with the third privilege level in the data structure associated with the process.

6. The article of manufacture of claim 5 , wherein the instructions are to cause one or more of the at least one processor circuit to:

detect a fourth event associated with the execution of the process, the fourth event subsequent to the third event, the fourth event to identify a fourth privilege level associated with the process; and

permit the execution of the process to proceed in response to the fourth privilege level being equal to the third privilege level.

7. The article of manufacture of claim 5 , wherein the instructions are to cause one or more of the at least one processor circuit to:

detect a fourth event associated with the execution of the process, the fourth event subsequent to the third event, the fourth event to identify a fourth privilege level associated with the process; and

at least one of terminate, pause or suspend the process in response to the fourth privilege level being higher than the third privilege level.

8. An apparatus comprising:

interface circuitry;

memory;

machine-readable instructions; and

at least one processor circuit to be programmed by the machine-readable instructions to:

detect, in an event log, a first event associated with a start of execution of a process, the first event to identify a first privilege level associated with the process;

cause storage of the first privilege level in a data structure associated with the process;

detect, in the event log, a second event associated with an unsuccessful request to associate the process with a second privilege level higher than the first privilege level;

detect, in the event log, a third event associated with the execution of the process, the third event subsequent to the first event, the third event to identify a third privilege level associated with the process;

determine the third privilege level is unauthorized based on a combination of (i) the third privilege level being higher than the first privilege level and (ii) association of the process with the third privilege level having occurred without an authorized privilege escalation by an operating system component that is to prompt for user credentials; and

at least one of terminate, pause or suspend the process after a determination that the third privilege level is unauthorized.

9. The apparatus of claim 8 , wherein the third event is associated with an attempt by the process to access a system resource.

10. The apparatus of claim 8 , wherein the first event includes a process identifier to identify the process and first information to identify the first privilege level associated with the process, and the third event includes the process identifier to identify the process and second information to identify the third privilege level associated with the process.

11. The apparatus of claim 10 , wherein one or more of the at least one processor circuit is to parse the event log based on the process identifier to detect the first event, the second event and the third event.

12. The apparatus of claim 8 , wherein one or more of the at least one processor circuit is to:

detect, in the event log, a fourth event subsequent to the third event, the fourth event associated with a successful request to associate the process with a fourth privilege level higher than the first privilege level; and

cause replacement of the first privilege level with the fourth privilege level in the data structure associated with the process.

13. The apparatus of claim 12 , wherein one or more of the at least one processor circuit is to:

detect, in the event log, a fifth event associated with the execution of the process, the fifth event subsequent to the fourth event, the fifth event to identify a fifth privilege level associated with the process; and

permit the execution of the process to proceed in response to the fifth privilege level being equal to the fourth privilege level.

14. The apparatus of claim 12 , wherein one or more of the at least one processor circuit is to:

detect, in the event log, a fifth event associated with the execution of the process, the fifth event subsequent to the fourth event, the fifth event to identify a fifth privilege level associated with the process; and

at least one of terminate, pause or suspend the process in response to the fifth privilege level being higher than the fourth privilege level.

15. A method comprising:

detecting, by executing an instruction with at least one processor circuit, a first event associated with a start of execution of a process, the first event to identify a first privilege level associated with the process;

storing the first privilege level in a data structure associated with the process;

detecting, by executing an instruction with one or more of the at least one processor circuit, a privilege escalation event associated with the execution of the process, the privilege escalation event subsequent to the first event, the privilege escalation event to identify a second privilege level associated with the process; and

at least one of terminating, pausing or suspending the process after determination that both (i) the second privilege level is higher than the first privilege level and (ii) the privilege escalation event does not correspond to a successful privilege escalation performed by an operating system after a prompt for user credentials.

16. The method of claim 15 , wherein the privilege escalation event is associated with an attempt by the process to access a system resource.

17. The method of claim 15 , wherein the first event includes a process identifier to identify the process and first information to identify the first privilege level associated with the process, the privilege escalation event includes the process identifier to identify the process and second information to identify the second privilege level associated with the process, and further including parsing an event log based on the process identifier to detect the first event and the privilege escalation event.

18. The method of claim 15 , further including:

detecting a third event subsequent to the privilege escalation event, the third event associated with a successful request to associate the process with a third privilege level higher than the first privilege level; and

replacing the first privilege level with the third privilege level in the data structure associated with the process.

19. The method of claim 18 , further including:

detecting a fourth event associated with the execution of the process, the fourth event subsequent to the third event, the fourth event to identify a fourth privilege level associated with the process; and

permitting the execution of the process to proceed in response to the fourth privilege level being equal to the third privilege level.

20. The method of claim 18 , further including:

detecting a fourth event associated with the execution of the process, the fourth event subsequent to the third event, the fourth event to identify a fourth privilege level associated with the process; and

at least one of terminating, pausing or suspending the process in response to the fourth privilege level being higher than the third privilege level.

Assignments (4)
CORRECTIVE ASSIGNMENT TO CORRECT THE THE PATENT TITLES AND REMOVE DUPLICATES IN THE SCHEDULE PREVIOUSLY RECORDED AT REEL: 059354 FRAME: 0335. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jun 23, 2022
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 060792/0307 →
SECURITY INTEREST Recorded Mar 3, 2022
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
Reel/Frame 059354/0335 →
CERTIFICATE OF CONVERSION Recorded May 14, 2021
From: MCAFEE, INC.
To: MCAFEE, LLC
Reel/Frame 056243/0370 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 14, 2021
From: VENKATARAMANI, EKNATH
To: MCAFEE, INC.
Reel/Frame 056252/0589 →
Continuity (3)
Continuation 15877418 · Jan 23, 2018
Provisional Application 62474193 · Mar 21, 2017
Related Publication 20210049276A1 · Feb 18, 2021