# US 2021/0174199 A1 · Classifying domain names based on character embedding and deep learning

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

- Number: US 2021/0174199 A1
- Document ID: US20210174199A1
- Status: Published application
- Kind: A1
- Application number: 16/709,637
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Micro Focus LLC
- Applicants: Micro Focus LLC
- Inventors: Pratyusa K. MANADHATA; Martin ARLITT
- Web page: https://patentgrep.com/patent/US20210174199A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/09: Supervised learning
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An apparatus may include a processor that may be caused to access a plurality of known domain names. The processor may be caused to determine a character embedding based on the plurality of known domain names. The character embedding may map each character of a known domain name to a respective vector. The processor may be caused to input the character embedding to a deep learning layer of a neural network. The processor may be caused to access a target domain name to be classified. The processor may be caused to classify the target domain name based on an output of the deep learning layer.

## Claims

### Claim 1

An apparatus comprising:
a processor; and
a non-transitory machine-readable storage medium on which is stored instructions that when executed by the processor, cause the processor to:
access a plurality of known domain names;
determine a character embedding based on the plurality of known domain names, the character embedding mapping each character of a known domain name to a respective vector;
input the character embedding to a deep learning layer of a neural network;
access a target domain name to be classified; and
classify the target domain name based on an output of the deep learning layer.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein to determine the character embedding, the processor is further caused to:
for each character of the known domain name, identify N continuous characters that neighbor the character in the known domain name, wherein N represents a number of continuous characters.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the processor is further caused to:
determine similarities among the N continuous characters with other continuous characters in the plurality of known domain names that neighbor other characters in the plurality of known domain names.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein to determine the similarities, the processor is further caused to:
for each character, determine similarities among the N continuous characters that precede the character and the other continuous characters that precede the other characters.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein to determine the similarities, the processor is further caused to:
for each character, determine similarities among the N continuous characters that follow the character and the other continuous characters that follow the other characters.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the deep learning layer comprises a Long Short-Term Memory (LSTM) layer.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is further caused to:
provide the output of the deep learning layer to a classifier layer that classifies the target domain name.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein to classify the target domain name, the processor is further caused to:
determine, based on an output of the classifier layer, whether or not the target domain name is associated with a malicious class of domain names.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the classifier layer comprises a softmax layer that determines a first probability that the target domain name is a malicious domain name, a second probability that the target domain name is a non-algorithmically-generated benign domain name, and a third probability that the target domain name is an algorithmically-generated benign domain name.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein to access the plurality of known domain names, the processor is caused to:
access a first plurality of malicious domain names;
access a second plurality of non-algorithmically-generated benign domain names; and
access a third plurality of algorithmically-generated benign domain names.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the deep learning layer is trained without manual feature generation.

### Claim 12

A method, comprising:
learning, by a processor, a character embedding from a plurality of known domain names;
providing, by the processor, the character embedding as an input to a Long Short-Term Memory (LSTM) layer;
accessing, by the processor, a target domain name to be classified; and
classifying, by the processor, the target domain name via a fully connected softmax layer.

### Claim 13 (depends on 12)

The method of claim 12, wherein learning the character embedding comprises determining the character embedding in a reverse direction.

### Claim 14 (depends on 12)

The method of claim 12, wherein learning the character embedding comprises determining the character embedding in a forward direction.

### Claim 15 (depends on 12)

The method of claim 12, wherein classifying the target domain name comprises:
providing an output of the LSTM to a softmax layer that classifies the target domain name into one or more of a plurality of classes.

### Claim 16 (depends on 15)

The method of claim 15, wherein the plurality of classes comprises a malicious domain name class, a non-algorithmically-generated benign domain name class, and an algorithmically-generated benign domain name class.

### Claim 17

A non-transitory machine-readable storage medium on which is stored machine-readable instructions that when executed by a processor, cause the processor to:
access a plurality of known domain names;
determine a character embedding based on the plurality of known domain names, the character embedding mapping each character of a known domain name to a respective vector;
input the character embedding to a deep learning layer of a neural network;
access a target domain name to be classified; and
provide an output of the deep learning layer to a classifier layer that classifies the target domain name based on the output.

### Claim 18 (depends on 17)

The non-transitory machine-readable storage medium of claim 17, wherein to determine the character embedding, the machine-readable instructions further cause the processor to:
determine the character embedding in a reverse direction.

### Claim 19 (depends on 17)

The non-transitory machine-readable storage medium of claim 17, wherein to determine the character embedding, the machine-readable instructions further cause the processor to:
determine the character embedding in a forward direction.

### Claim 20 (depends on 17)

The non-transitory machine-readable storage medium of claim 17, wherein the classifier layer comprises a softmax layer, and wherein the machine-readable instructions further cause the processor to:
classify, based on an output of the softmax layer, the target domain name into one or more of at least: a malicious domain name class, a non-algorithmically-generated benign domain name class, or an algorithmically-generated benign domain name class.
