# US 2023/0056018 A1 · Anamoly detection system for peripheral component interconnect express

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

- Number: US 2023/0056018 A1
- Document ID: US20230056018A1
- Status: Published application
- Kind: A1
- Application number: 17/408,942
- Filed: 2021-08-23
- Published: 2023-02-23
- Earliest claimed: 2021-08-23
- Assignees: Infineon Technologies AG
- Applicants: Infineon Technologies AG
- Inventors: Lin Li; Varun Kumar; Harald Zweck
- Web page: https://patentgrep.com/patent/US20230056018A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L 63/166: {at the transport layer}
- G06F 2213/0026: PCI express
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A traffic anomaly detector of a Peripheral Component Interconnect express (PCIe) system, including filters configured to filter headers of PCIe transaction layer packets (TLPs) based on respective filter criterion; a classifier configured to trigger an event based on one of the filter criterion or a logical combination of a plurality of the filter criteria; an event counter configured to count a number of the events; and a processor configured to detect, based on a value of the event counter, an anomaly in the PCIe TLP traffic.

## Claims

### Claim 1

A traffic anomaly detector of a Peripheral Component Interconnect express (PCIe) system, comprising:
filters configured to filter headers of PCIe transaction layer packets (TLPs) based on respective filter criterion;
a classifier configured to trigger an event based on one of the filter criterion or a logical combination of a plurality of the filter criteria;
an event counter configured to count a number of the events; and
a processor configured to detect, based on a value of the event counter, an anomaly in the PCIe TLP traffic.

### Claim 2 (depends on 1)

The traffic anomaly detector of claim 1, further comprising:
a read counter;
a push controller; and
a trigger controller configured to trigger the push controller to push the value of the event counter from the event counter to the read counter.

### Claim 3 (depends on 2)

The traffic anomaly detector of claim 2, wherein the trigger controller is configured to trigger the push controller to push the value of the event counter from the event counter to the read counter based on time, software control, and/or when the value of the event counter exceeds a threshold.

### Claim 4 (depends on 1)

The traffic anomaly detector of claim 1,
wherein the classifier is configured to trigger the event based a logical combination the plurality of filter criteria.

### Claim 5 (depends on 1)

The traffic anomaly detector of claim 1,
wherein the classifier is configured to trigger a plurality of events, each of the events based on one of the filter criterion or a logical combination of a plurality of the filter criteria.

### Claim 6 (depends on 5)

The traffic anomaly detector of claim 5, further comprising:
a plurality of event counters corresponding with the plurality of events;
a plurality of read counters corresponding with the respective plurality of event counters; and
a trigger controller configured to trigger a push controller to push values of the plurality of event counters from the plurality of event counters to the respective plurality of read counters simultaneously.

### Claim 7 (depends on 1)

The traffic anomaly detector of claim 1, further comprising:
a trigger controller configured to read the value of the event counter.

### Claim 8 (depends on 7)

The traffic anomaly detector of claim 7, wherein the trigger controller is further configured to notify a monitor when the value of the event counter exceeds a threshold.

### Claim 9 (depends on 7)

The traffic anomaly detector of claim 7, wherein the trigger controller is further configured to trigger a reset controller to reset the event counter.

### Claim 10 (depends on 8)

The traffic anomaly detector of claim 8, wherein the trigger controller is further configured to trigger the reset controller to reset the event counter based on time, software control, or if the value of the event counter exceeds a threshold.

### Claim 11 (depends on 7)

The traffic anomaly detector of claim 7, wherein the trigger controller comprises a timer, and the trigger controller is further configured to notify a monitor of the value of the event counter periodically.

### Claim 12 (depends on 1)

The traffic anomaly detector of claim 1, wherein one of the filters is configured to filter a type field or a format field such that only memory TLPs result in a trigger.

### Claim 13 (depends on 1)

The traffic anomaly detector of claim 1, wherein the respective filter criterion are selected from the group of fields consisting of type, address, length, and format.

### Claim 14 (depends on 1)

The traffic anomaly detector of claim 1, wherein if a traffic anomaly is detected, the processor is further configured to initiate a countermeasure.

### Claim 15 (depends on 1)

A PCIe controller, comprising:
the traffic anomaly detector of claim 1.

### Claim 16

A method of detecting a traffic anomaly in a Peripheral Component Interconnect express (PCIe) system, comprising:
filtering, by filters, headers of PCIe transaction layer packets (TLPs) based on respective filter criterion;
triggering, by a classifier, an event based on one of the filter criterion or a logical combination of a plurality of the filter criteria;
counting, by an event counter, a number of the events; and
detecting, by a processor based on a value of the event counter, an anomaly in the PCIe TLP traffic.

### Claim 17 (depends on 16)

The method of claim 16,
triggering, by the classifier, the event based a logical combination the plurality of filter criteria.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
periodically notifying, by the trigger controller, a monitor of the value of the event counter.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
reading, by a trigger controller, the value of the event counter; and
notifying a monitor if the value of the event counter exceeds a threshold.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
initiating, by the processor, a countermeasure if a traffic anomaly is detected.
