# US 2025/0097242 A1 · One-class threat detection using federated learning

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

- Number: US 2025/0097242 A1
- Document ID: US20250097242A1
- Status: Published application
- Kind: A1
- Application number: 18/468,213
- Filed: 2023-09-15
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Avast Software s.r.o.
- Applicants: Avast Software s.r.o.
- Inventors: Yue Zhao; Acar Tamersoy; Kevin Roundy; Daniel Kats; Michalis Pachilakis
- Web page: https://patentgrep.com/patent/US20250097242A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/102: {Entity profiles}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A machine learning model is trained to classify data as malicious or benign, including receiving the machine learning model in a user device and training the machine learning model on the user device user-generated data that has been classified as known benign. A result of the training is sent to a remote server. Training samples on the user device may be classified automatically, such as classifying sent emails, instant messages, or other content generated by the user as benign.

## Claims

### Claim 1

A method of training a machine learning model to classify data as malicious or benign, comprising:
receiving in a user device a machine learning model configured to classify data as malicious or benign;
training the machine learning model using user-generated data on the user device, the user-generated data classified as known benign, wherein training the machine learning model comprises training a one-class training model; and
sending a result of training the machine learning model to a remote server.

### Claim 2 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein the user-generated data comprises user communication.

### Claim 3 (depends on 2)

The method of training a machine learning model to classify data as malicious or benign of claim 2, wherein the user communication comprises at least one of email and/or instant messages.

### Claim 4 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein the user-generated data comprises at least one of a user's sent email and/or sent messages.

### Claim 5 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein the user-generated data comprises user-generated data generated by a user classified as a reputable sender.

### Claim 6 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, further comprising training the machine learning model on the user device using data classified as known malicious.

### Claim 7 (depends on 6)

The method of training a machine learning model to classify data as malicious or benign of claim 6, wherein the data classified as known malicious comprises at least one of data from known malicious sources or data identified by a trusted user as malicious.

### Claim 8 (depends on 7)

The method of training a machine learning model to classify data as malicious or benign of claim 7, wherein data from known malicious sources comprises data associated with at least one of an email, domain, phone number, or contact information associated with previously known malicious data.

### Claim 9 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein training the machine learning model comprises training a graph neural network.

### Claim 10 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein training the machine learning model comprises training using stochastic gradient descent, and wherein one or more gradients generated as a result of the training are sent back to the server to be applied to the machine learning model.

### Claim 11 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein training the machine learning model comprises training a first model to identify malicious data and a second model to identify benign data.

### Claim 12

A method of training a machine learning model to classify data as malicious or benign, comprising:
sending a machine learning model configured to classify data as malicious or benign to a user device; and
receiving from the user device a result of training the machine learning model using user-generated data on the user device, the user-generated data classified as known benign.

### Claim 13 (depends on 12)

The method of training a machine learning model to classify data as malicious or benign of claim 12, wherein the user-generated data comprises at least one of user-sent email, user-sent instant messages, and/or user-sent communication.

### Claim 14 (depends on 12)

The method of training a machine learning model to classify data as malicious or benign of claim 12, wherein the a result of training the machine learning model further comprises a result of training the machine learning model on the user device using data classified as known malicious.

### Claim 15 (depends on 14)

The method of training a machine learning model to classify data as malicious or benign of claim 14, wherein the data classified as known malicious comprises at least one of data from known malicious sources or data identified by a trusted user as malicious.

### Claim 16 (depends on 12)

The method of training a machine learning model to classify data as malicious or benign of claim 12, wherein training the machine learning model comprises training at least one of a one-class training model and/or a graph neural network.

### Claim 17 (depends on 12)

The method of training a machine learning model to classify data as malicious or benign of claim 12, wherein training the machine learning model comprises training using stochastic gradient descent, and wherein receiving from the user device a result of training the machine learning model comprises receiving one or more gradients generated as a result of the training and applying the one or more received gradients to the machine learning model.

### Claim 18 (depends on 1)

The method of training a machine learning model to classify data as malicious or benign of claim 1, wherein training the machine learning model comprises training a first model to identify malicious data and a second model to identify benign data.

### Claim 19

A computerized system, comprising:
a user device comprising a processor and a nonvolatile storage, the nonvolatile storage comprising coded instructions that when executed on the user device cause the user device to:
receive a machine learning model configured to classify data as malicious or benign;
train the machine learning model using user-generated data on the user device, the user-generated data classified as known benign, wherein training the machine learning model comprises training a one-class training model; and
send a result of training the machine learning model to a remote server.
