# US 11,451,670 B2 · Anomaly detection in SS7 control network using reconstructive neural networks

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

- Number: US 11,451,670 B2
- Document ID: US11451670B2
- Status: Granted
- Kind: B2
- Application number: 17/123,235
- Filed: 2020-12-16
- Published: 2022-06-16
- Granted: 2022-09-20
- Earliest claimed: 2020-12-16
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Hamed Ahmadi; Ali Moharrer; Venkatanathan Varadarajan; Vaseem Akram; Nishesh Rai; Reema Hingorani; Sanjay Jinturkar; Nipun Agarwal
- Web page: https://patentgrep.com/patent/US11451670B2

## CPC

- G06N 3/088: Non-supervised learning, e.g. competitive learning
- H04M 7/06: using auxiliary connections for control or supervision {, e.g. where the auxiliary connection is a signalling system number 7 link}
- G06F 18/24133: {Distances to prototypes}
- G06F 18/251: {of input or preprocessed data}
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0499: Feedforward networks
- G06N 20/00: Machine learning
- H04M 3/2254: {in networks}
- H04W 84/042: {Public Land Mobile systems, e.g. cellular systems}
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/20: Ensemble learning
- H04W 24/04: Arrangements for maintaining operational condition
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Herein are machine learning (ML) techniques for unsupervised training with a corpus of signaling system 7 (SS7) messages having a diversity of called and calling parties, operation codes (opcodes) and transaction types, numbering plans and nature of address indicators, and mobile country codes and network codes. In an embodiment, a computer stores SS7 messages that are not labeled as anomalous or non-anomalous. Each SS7 message contains an opcode and other fields. For each SS7 message, the opcode of the SS7 message is stored into a respective feature vector (FV) of many FVs that are based on respective unlabeled SS7 messages. The FVs contain many distinct opcodes. Based on the FVs that contain many distinct opcodes and that are based on respective unlabeled SS7 messages, an ML model such as a reconstructive model such as an autoencoder is unsupervised trained to detect an anomalous SS7 message.

## Claims

### Claim 1

A method comprising:
storing a plurality of signaling system 7 (SS7) messages that are not labeled as anomalous, wherein each SS7 message of said plurality of SS7 messages contains an operation code;
storing, for each SS7 message of said plurality of SS7 messages, said operation code of said SS7 message into a respective feature vector of a plurality of feature vectors that are based on said plurality of SS7 messages that are not labeled as anomalous, wherein said plurality of feature vectors contain a plurality of distinct operation codes;
unsupervised training, based on said plurality of feature vectors that contain said plurality of distinct operation codes and that are based on said plurality of SS7 messages that are not labeled as anomalous, a machine learning (ML) model to detect an anomalous SS7 message.

### Claim 2 (depends on 1)

The method of claim 1 wherein said detect said anomalous SS7 message comprises said ML model detecting:
said anomalous SS7 message is addressed to a particular user equipment (UE) in a first public land mobile network (PLMN) that is not a home PLMN of the UE;
said anomalous SS7 message originated from a second PLMN that is not said home PLMN.

### Claim 3 (depends on 1)

The method of claim 1 wherein said detect said anomalous SS7 message comprises said ML model detecting:
said anomalous SS7 message is addressed to a particular user equipment (UE) in a first public land mobile network (PLMN) that is not a home PLMN of the UE;
said anomalous SS7 message originated from said home PLMN.

### Claim 4 (depends on 1)

The method of claim 1 wherein said unsupervised training comprises measuring a respective reconstruction error for each feature vector of said plurality of feature vectors.

### Claim 5 (depends on 1)

The method of claim 1 wherein:
said plurality of SS7 messages contains a first SS7 message, a second SS7 message, and a third SS7 message;
the method further comprises:
a service switching point (SSP) originating said first SS7 message;
a signal transfer point (STP) originating said second SS7 message;
a service control point (SCP) originating said third SS7 message.

### Claim 6 (depends on 1)

The method of claim 1 further comprising into said plurality of feature vectors, storing at least two distinct values of an SS7 field from said plurality of SS7 messages, wherein said SS7 field is selected from the group consisting of: origin point code (OPC), destination point code (DPC), called transaction type (CDTT), called numbering plan (CDNP), called nature of address indicator (CDNAI), called address (CDADDR), called country name (CDCN), called geolocation (CDLOC), calling transaction type (CGTT), calling numbering plan (CGNP), calling nature of address indicator (CGNAI), calling address (CGADDR), calling country name (CGCN), calling geolocation (CGLOC), calling transaction type (CGTT), link set (LSET), and connectionless service function (CLSF).

### Claim 7 (depends on 6)

The method of claim 6 further comprising encoding multiple values of said SS7 field of said SS7 message into same said feature vector based on at least one encoding scheme selected from the group consisting of: N-hot encoding and hash encoding.

### Claim 8 (depends on 7)

The method of claim 7 further comprising selecting said encoding scheme based on a cardinality of said SS7 field.

### Claim 9 (depends on 1)

The method of claim 1 wherein said ML model is an autoencoder that contains at least three layers of a kind of layer selected from the group consisting of: hidden, batch normalization, activation, and dropout.

### Claim 10 (depends on 1)

The method of claim 1 wherein said ML model is a principal component analysis (PCA) that is configured to compute at least 900 principal components.

### Claim 11 (depends on 1)

The method of claim 1 wherein:
said ML model is a PCA;
the method further comprises repeatedly reconfiguring said PCA to compute an additional principal component until at least 99% of variance in said plurality of feature vectors is explained by principal components of said PCA.

### Claim 12

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
storing a plurality of signaling system 7 (SS7) messages that are not labeled as anomalous, wherein each SS7 message of said plurality of SS7 messages contains an operation code;
storing, for each SS7 message of said plurality of SS7 messages, said operation code of said SS7 message into a respective feature vector of a plurality of feature vectors that are based on said plurality of SS7 messages that are not labeled as anomalous, wherein said plurality of feature vectors contain a plurality of distinct operation codes;
unsupervised training, based on said plurality of feature vectors that contain said plurality of distinct operation codes and that are based on said plurality of SS7 messages that are not labeled as anomalous, a machine learning (ML) model to detect an anomalous SS7 message.

### Claim 13 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein said detect said anomalous SS7 message comprises said ML model detecting:
said anomalous SS7 message is addressed to a particular user equipment (UE) in a first public land mobile network (PLMN) that is not a home PLMN of the UE;
said anomalous SS7 message originated from a second PLMN that is not said home PLMN.

### Claim 14 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein said detect said anomalous SS7 message comprises said ML model detecting:
said anomalous SS7 message is addressed to a particular user equipment (UE) in a first public land mobile network (PLMN) that is not a home PLMN of the UE;
said anomalous SS7 message originated from said home PLMN.

### Claim 15 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein said unsupervised training comprises measuring a respective reconstruction error for each feature vector of said plurality of feature vectors.

### Claim 16 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein:
said plurality of SS7 messages contains a first SS7 message, a second SS7 message, and a third SS7 message;
the instructions further cause:
a service switching point (SSP) originating said first SS7 message;
a signal transfer point (STP) originating said second SS7 message;
a service control point (SCP) originating said third SS7 message.

### Claim 17 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein the instructions further cause into said plurality of feature vectors, storing at least two distinct values of an SS7 field from said plurality of SS7 messages, wherein said SS7 field is selected from the group consisting of: origin point code (OPC), destination point code (DPC), called transaction type (CDTT), called numbering plan (CDNP), called nature of address indicator (CDNAI), called address (CDADDR), called country name (CDCN), called geolocation (CDLOC), calling transaction type (CGTT), calling numbering plan (CGNP), calling nature of address indicator (CGNAI), calling address (CGADDR), calling country name (CGCN), calling geolocation (CGLOC), calling transaction type (CGTT), link set (LSET), and connectionless service function (CLSF).

### Claim 18 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein said ML model is an autoencoder that contains at least three layers of a kind of layer selected from the group consisting of: hidden, batch normalization, activation, and dropout.

### Claim 19 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein said ML model is a principal component analysis (PCA) that is configured to compute at least 900 principal components.

### Claim 20 (depends on 12)

The one or more non-transitory computer-readable media of claim 12 wherein:
said ML model is a PCA;
the instructions further cause repeatedly reconfiguring said PCA to compute an additional principal component until at least 99% of variance in said plurality of feature vectors is explained by principal components of said PCA.
