# US 2021/0286660 A1 · Controlling applications by an application control system in a computer device

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

- Number: US 2021/0286660 A1
- Document ID: US20210286660A1
- Status: Published application
- Kind: A1
- Application number: 17/232,715
- Filed: 2021-04-16
- Published: 2021-09-16
- Earliest claimed: 2018-09-12
- Assignees: Avecto Limited
- Applicants: Avecto Limited
- Inventors: Paul Thexton; Steven Joruk; Simon Fradkin
- Web page: https://patentgrep.com/patent/US20210286660A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/45512: {Command shells}
- G06F 2209/482: Application
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application control system (ACS) in a computer device intercepts a request to launch a requested application by a calling process, and determines, based on the requested application, that user interaction is required before launch. In response, the ACS establishes whether or not the calling process is associated with a controlling terminal and, if so, performs the user interactions using that controlling terminal. Where the user interactions are successful then the intended application is permitted to launch or, conversely, the intended application may be denied. Other solutions are provided in the event that the calling process is not associated with the controlling terminal.

## Claims

### Claim 1

(canceled)

### Claim 2

A method, comprising:
intercepting, via a computing device, a request to launch a requested application on the computing device by a calling process, wherein the request includes information identifying the requested application;
determining, via the computing device, that a user interaction is required before launching the requested application by consulting a set of application policies based on the information identifying the requested application;
in response to determining that the user interaction is required, establishing, via the computing device, whether or not the calling process is associated with a controlling terminal provided by an operating system of the computer device, wherein a process session group containing processes launched within a user session is selectively associated with the controlling terminal by the operating system; and
in response to establishing that the calling process is associated with the controlling terminal, performing, via the computing device, the user interaction using the controlling terminal.

### Claim 3 (depends on 2)

The method of claim 2, wherein the set of application policies define a set of outcomes responsive to the user interaction.

### Claim 4 (depends on 2)

The method of claim 2, further comprising launching, via the computing device, the requested application based on the user interaction.

### Claim 5 (depends on 2)

The method of claim 2, further comprising denying, via the computing device, the requested application from launching based on the user interaction.

### Claim 6 (depends on 2)

The method of claim 2, wherein the request to launch the requested application comprises calling a program execution function and the method further comprises providing, via the computing device, an extra implementation of the program execution function in a system library.

### Claim 7 (depends on 2)

The method of claim 2, wherein the set of application policies are pre-configured and immutable.

### Claim 8 (depends on 2)

The method of claim 2, further comprising:
in response to establishing that the calling process is not associated with the controlling terminal, determining, via the computing device, that the request to launch was initiated from a graphical user interface;
starting, via the computing device, a message process in the graphical user interface; and
in response to determining that the request was initiated from the graphical user interface, performing, via the computing device, the user interaction by communicating with the message process in the graphical user interface.

### Claim 9

A system, comprising:
a memory device; and
at least one computing device in communication with the memory device, the at least one computing device being configured to:
intercept a request to launch a requested application on the at least one computing device by a calling process executed by the at least one computing device, wherein the request includes information identifying the requested application;
determine that a user interaction is required before launching the requested application by consulting a set of application policies based on the information identifying the requested application;
in response to determining that the user interaction is required, establish that the calling process is associated with a controlling terminal provided by an operating system of the at least one computing device, wherein a process session group containing processes launched within a user session is selectively associated with the controlling terminal by the operating system; and
in response to establishing that the calling process is associated with the controlling terminal, perform the user interaction using the controlling terminal.

### Claim 10 (depends on 9)

The system of claim 9, wherein the at least one computing device is further configured to determine an outcome for the requested application based on the user interaction.

### Claim 11 (depends on 10)

The system of claim 10, wherein the outcome comprises one of: permitting a launch of the requested application and denying the launch of the requested application.

### Claim 12 (depends on 9)

The system of claim 9, wherein the at least one computing device is further configured to provide a higher privilege level than a privilege level of a current user to execute the requested application.

### Claim 13 (depends on 9)

The system of claim 9, wherein the at least one computing device is further configured to replace the calling process with new process information.

### Claim 14 (depends on 9)

The system of claim 9, wherein the at least one computing device is further configured to:
receive a cancel to the user interaction; and
perform a default outcome defined by the set of application policies.

### Claim 15

A non-transitory computer-readable medium embodying a program that, when executed by at least one computing device, causes the at least one computing device to:
intercept a request to launch a requested application on the at least one computing device by a calling process, wherein the request includes information identifying the requested application;
determine that a user interaction is required before launching the requested application by consulting a set of application policies based on the information identifying the requested application;
in response to determining that the user interaction is required, establish that the calling process is associated with a controlling terminal provided by an operating system of the at least one computing device, wherein a process session group containing processes launched within a user session is selectively associated with the controlling terminal by the operating system; and
in response to establishing that the calling process is associated with the controlling terminal, perform the user interaction using the controlling terminal.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the program further causes the at least one computing device to:
in response to intercepting the request, iterate over a system directory containing a plurality of file names match individual ones of a plurality of open file descriptors with a respective one of the plurality of file names;
obtain a respective set of flags associated with the individual ones of the plurality of open file descriptors; and
close at least one file descriptor from the plurality of open file descriptors based on a close-on-execute flag being set in the respective set of flags associated with the at least one file descriptor.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the program comprises an application control system that operates in addition to a native security mechanism of an operating system of the at least one computing device.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the set of application policies define conditions under which the requested application may be launched in relation to the at least one computing device.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the program further causes the at least one computing device to:
transmit, to a policy service, a policy request message defining the request to launch the requested application on the at least one computing device by the calling process; and
receive a policy result defining that the user interaction is required from a policy service based on the policy request message and the set of application policies.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the policy service is configured to execute on the at least one computing device.

### Claim 21 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the program further causes the at least one computing device to:
gather at least a process identity of the calling process;
traverse a process tree containing the calling process based on at least the process identity of the calling process; and
discover whether or not the controlling terminal is associated with a process within the process tree.
