# US 2019/0102554 A1 · Security model training and threshold selection

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

- Number: US 2019/0102554 A1
- Document ID: US20190102554A1
- Status: Published application
- Kind: A1
- Application number: 15/720,697
- Filed: 2017-09-29
- Published: 2019-04-04
- Earliest claimed: 2017-09-29
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Pengcheng LUO; Reeves Hoppe BRIGGS; Bryan Robert JEFFREY; Naveed Azeemi AHMAD
- Web page: https://patentgrep.com/patent/US20190102554A1

## CPC

- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 21/554: {involving event detection and direct action}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06N 5/025: Extracting rules from data
- G06N 20/20: Ensemble learning
- G06F 21/60: Protecting data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A set of candidate malicious activity identification models are trained and evaluated against a production malicious activity identification model to identify a best performing model. If the best performing model is one of the candidate models, then an alert threshold is dynamically set for the best performing model, for each of a plurality of different urgency levels. A reset threshold, for each urgency level, is also dynamically set for the best performing model.

## Claims

### Claim 1

A computing system, comprising:
model training logic that automatically trains a set of candidate models to identify malicious activity in a monitored computing system based on activity indicators obtained from the monitored computing system;
model evaluation logic that automatically evaluates a performance of each of the candidate models and a production model used by an alert generation computing system, based on a set of test data, and that generates a performance metric corresponding to each candidate model and corresponding to the production model; and
model promotion logic that automatically deploys a best performing model, based on the corresponding performance metrics, to the alert generation computing system.

### Claim 2 (depends on 1)

The computing system of claim 1 wherein the candidate models and the production model are each configured to receive input activity data indicative of activities and generate an output indicative of whether the model has determined that the input activity data represents malicious activity and an associated confidence score indicative of a confidence that the model has in the determination that the input activity data represents malicious activity.

### Claim 3 (depends on 2)

The computing system of claim 2 wherein the model training logic is configured to train the candidate models to identify malicious activity and a corresponding urgency level, of a plurality of different urgency levels, the corresponding urgency level being identified by comparing the confidence score associated with the malicious activity to an alert threshold for the urgency level.

### Claim 4 (depends on 3)

The computing system of claim 3 and further comprising:
dynamic alert threshold setting logic configured to automatically configure each candidate model to set a corresponding alert threshold for each urgency level.

### Claim 5 (depends on 5)

The computing system of claim 5 wherein the dynamic alert threshold setting logic configures the candidate models to set the alert threshold for each urgency level by identifying a confidence score, above which the model generates no more than a first predefined number of false positive outputs that identify input activity test data, that represents benign activity, as representing malicious activity.

### Claim 6 (depends on 5)

The computing system of claim 5 wherein the dynamic alert threshold setting logic configures the candidate models to set the alert threshold for each urgency level by performing a binary search of confidence scores to identify the confidence score, above which the model generates no more than a first predefined number of false positive outputs that identify input activity test data, that represents benign activity, as representing malicious activity.

### Claim 7 (depends on 5)

The computing system of claim 5 wherein the model training logic is configured to train the candidate models to identify a scope of the monitored computing system as being affected by the malicious activity and, when the confidence score meets an alert threshold for an urgency level, an alert status of the corresponding scope is set to an alert level for the malicious activity and when the confidence score drops below a reset threshold, that is below the alert threshold, the alert status for the scope is reset to an un- alerted level.

### Claim 8 (depends on 7)

The computing system of claim 7 and further comprising:
dynamic reset threshold setting logic configured to automatically configure each candidate model to set a corresponding reset threshold for each urgency level.

### Claim 9 (depends on 8)

The computing system of claim 8 wherein the dynamic reset threshold setting logic configures the candidate models to set the reset threshold, for each corresponding urgency level, to be a percent of the alert threshold for the corresponding urgency level.

### Claim 10

A computer implemented method, comprising:
automatically identifying a set of training data and test data that represent malicious activity and benign activity on a computing system;
automatically training a set of candidate models, with the training data, to identify malicious activity in a monitored computing system based on activity indicators obtained from the monitored computing system;
automatically evaluating a performance of each of the candidate models and a production model used by an alert generation computing system, based on the test data, and based on a performance metric corresponding to each candidate model and corresponding to the production model; and
automatically deploying a best performing model, based on the corresponding performance metrics, to the alert generation computing system.

### Claim 11 (depends on 10)

The computer implemented method of claim 10 wherein automatically training comprises:
automatically training the candidate models and the production model to receive input activity data indicative of activities and to generate an output indicative of whether the model has determined that the input activity data represents malicious activity and an associated confidence score indicative of a confidence that the model has in the determination that the input activity data represents malicious activity.

### Claim 12 (depends on 11)

The computer implemented method of claim 11 wherein automatically training comprises:
automatically training the candidate models to identify malicious activity;
comparing the confidence score associated with the malicious activity to an alert threshold for an urgency level; and
assigning the malicious activity to the urgency level, of a plurality of different urgency levels, corresponding to the alert threshold.

### Claim 13 (depends on 12)

The computer implemented method of claim 12 and further comprising:
automatically configuring each candidate model to set a corresponding alert threshold for each urgency level.

### Claim 14 (depends on 14)

The computer implemented method of claim 14 wherein automatically configuring each candidate model to set a corresponding alert threshold for each urgency level comprises:
identifying a confidence score, above which the model generates no more than a predefined number of false positive outputs that identify input activity test data, that represents benign activity, as representing malicious activity.

### Claim 15 (depends on 14)

The computer implemented method of claim 14 wherein configuring each candidate model to set an alert threshold for each urgency level comprises
identifying a confidence score corresponding to each urgency level, above which the model generates no more than a predefined number of false positive outputs, the predefined number of false positive outputs being different for each urgency level.

### Claim 16 (depends on 15)

The computer implemented method of claim 15 wherein identifying a confidence score corresponding to each urgency level comprises:
performing a binary search of confidence scores to identify the confidence score, above which the model generates no more than the predefined number of false positive outputs that identify input activity test data, that represents benign activity, as representing malicious activity.

### Claim 17 (depends on 15)

The computer implemented method of claim 15 wherein automatically training a set of candidate models comprises training the candidate models to identify a scope of the monitored computing system as being affected by the malicious activity and, when the confidence score meets an alert threshold for an urgency level, to set an alert status of the corresponding scope to an alert level for the malicious activity and when the confidence score drops below a reset threshold, that is below the alert threshold, to reset the alert status for the scope to an un-alerted level, and further comprising:
automatically configuring each candidate model to set a corresponding reset threshold for each urgency level.

### Claim 18 (depends on 17)

The computer implemented method of claim 17 wherein automatically configuring the candidate models to set a corresponding reset threshold comprises:
automatically configuring each candidate model to set the reset threshold, for each corresponding urgency level, to be a percent of the alert threshold for the corresponding urgency level.

### Claim 19

A computing system, comprising:
model training logic that automatically trains a set of candidate models to identify malicious activity in a monitored computing system based on activity indicators obtained from the monitored computing system, the candidate models and a production model used by an alert generation computing system each being configured to receive input activity data indicative of activities and generate an output indicative of whether the model has determined that the input activity data represents malicious activity and an associated confidence score indicative of a confidence that the model has in the determination that the input activity data represents malicious activity, and to assign the malicious activity to an urgency level by comparing the confidence score associated with the malicious activity to an alert threshold for the urgency level;
dynamic alert threshold setting logic configured to automatically configure each candidate model to set a corresponding alert threshold for each urgency level;
model evaluation logic that automatically evaluates a performance of each of the candidate models and the production model, based on a set of test data, and that generates a performance metric indicative of the performance of each candidate model and the production model; and
model promotion logic that automatically deploys a best performing model, based on the corresponding performance metrics, to the alert generation computing system.

### Claim 20 (depends on 19)

The computing system of claim 19 wherein the model training logic is configured to train the candidate models to identify a scope of the monitored computing system as being affected by the malicious activity and, when the confidence score meets an alert threshold for an urgency level, an alert status of the corresponding scope is set to an alert level for the malicious activity and when the confidence score drops below a reset threshold, that is below the alert threshold, the alert status for the scope is reset to an un-alerted level, and further comprising:
dynamic reset threshold setting logic configured to automatically configure each candidate model to set a corresponding reset threshold for each urgency level.
