N-gram Based Anomaly Detection for Communication Protocols

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current anomaly detection systems in mission-critical environments, such as communication networks, face challenges in minimizing false alarms and missed anomalies, particularly in real-time scenarios, and are inefficient in securing APIs due to manual patching requirements and potential disruptions from API updates.

Innovation Solution

The system employs statistical language modeling to generate anomaly-detection rules by constructing N-grams from communication data, analyzing them to identify conditional probabilities, and applying these analyses to detect anomalies in real-time, thereby improving the detection rate and reducing false alarms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual patching of bugs and backdoors is used to secure APIs, then security vulnerabilities are addressed, but significant time and effort are required and client application availability may be disrupted

Engineering Contradiction:
ImproveAPI securityVSAvoidtime and effort for patching
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary analysis of API communications to identify security vulnerabilities and generate patches before they are deployed. By analyzing communication patterns and detecting anomalies in advance, the system prepares security patches proactively, reducing the time required for actual patching operations and minimizing disruption to client applications.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The anomaly detection system enables APIs to self-diagnose security issues by analyzing their own communication patterns. The system automatically detects vulnerabilities, generates anomaly-detection rules, and identifies potential attacks without requiring manual intervention, thereby reducing the time and effort needed for security maintenance while maintaining continuous availability.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If anomaly detection systems increase detection sensitivity to reduce missed anomalies, then more anomalies are detected, but false alarm rate increases

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoidfalse alarm rate
Core Design Contradiction:
Measurement precisionVSObject-generated harmful factors

Solution Approach 1:

The system implements feedback mechanisms where detected anomalies and false alarms are continuously analyzed to refine anomaly-detection rules. By feeding back information from both true anomalies and false alarms, the system dynamically adjusts its detection thresholds and rules, improving detection accuracy while progressively reducing false alarm rates through iterative optimization.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts detection parameters and thresholds based on learned communication patterns and anomaly characteristics. By changing parameters such as detection sensitivity thresholds and rule weighting based on accumulated data, the system optimizes the balance between detecting true anomalies and minimizing false alarms, achieving high detection accuracy without excessive false positives.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If statistical language modeling is used to generate anomaly-detection rules, then detection rate improves and false alarms reduce, but real-time processing complexity increases

Engineering Contradiction:
Improvedetection rateVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the statistical language modeling process into distinct phases: offline training phase where N-gram models are built from historical data, and online detection phase where pre-computed models are applied to real-time communications. This segmentation allows complex statistical analysis to be performed in advance, reducing real-time processing complexity while maintaining high detection accuracy through the use of pre-computed anomaly-detection rules.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12153890B2Generating anomaly-detection rules for communication protocols
Publication Date: 2024.11.26 INTUIT INC
  • US12153890B2 patent drawing
  • US12153890B2 patent drawing
  • US12153890B2 patent drawing

AI summary

A method and system for generating anomaly-detection rules for communication protocols are provided. The method includes receiving communication data; constructing at least one N-gram from the received communication data; analyzing the at least one N-gram by comparing the constructed at least one N-gram with a repository of N-gram analyses to identify conditional probabilities of certain characteristics; and generating anomaly-detection rules based on the N-gram analysis.