RNN Log Analysis for Malicious Activity Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current network security solutions, such as rule- or signature-based techniques, are inadequate for detecting malicious activities in network flows as they can only identify known threats, miss slightly modified malicious patterns, and require significant human expertise, while manual log analysis is inefficient due to the large volumes of unstructured log data and lack of contextual understanding.

Innovation Solution

The implementation of a predictive recurrent neural network (RNN) that contextualizes sparse feature vectors from network logs into dense, predictive feature vectors, enabling the detection of anomalous network flows by analyzing sequence patterns and relationships within log messages, thereby improving the detection of both known and unknown threats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If rule- or signature-based techniques are used for malicious activity detection, then known threats can be identified, but the system cannot detect unknown or slightly modified malicious patterns and requires significant human expertise

Engineering Contradiction:
Improvedetection accuracyVSAvoidability to detect new threats
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system uses unsupervised autoencoders that automatically learn normal network traffic patterns without human intervention or manual rule creation. The model self-adapts to new traffic patterns and automatically detects anomalies, eliminating the need for continuous human expert involvement to update detection rules for new threats.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system transforms the detection approach from static rule-based parameters to dynamic learned representations. By using autoencoders to learn optimal feature representations automatically from data, the system adapts its detection parameters continuously without manual intervention, enabling detection of both known and unknown threats.

Inventive Principle:
Principle #35Parameter changes

2Loss of information

If manual log analysis is performed, then contextual understanding can be achieved, but the large volumes of unstructured log data make the process inefficient and futile

Engineering Contradiction:
Improvecontextual understandingVSAvoidanalysis efficiency
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The system replaces manual mechanical log analysis with an automated neural network-based analysis system. The autoencoder model automatically processes large volumes of unstructured log data at machine speed, extracting contextual information and detecting anomalies without human intervention, thus maintaining contextual understanding while dramatically improving efficiency.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The log analysis system performs multiple functions simultaneously: it parses unstructured logs, extracts relevant features, identifies contextual relationships, and detects anomalies all in one automated process. This multi-functional approach replaces multiple manual analysis steps while preserving contextual understanding.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Device complexity

If features are extracted from individual log messages, then simple processing can be achieved, but inter-relationships between log messages and contextual information are lost

Engineering Contradiction:
Improveprocessing complexityVSAvoidcontextual information
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The system merges multiple individual log message features into unified contextual representations using autoencoders. By combining features from sequences of log messages and capturing their inter-relationships, the system creates enriched feature vectors that preserve contextual information while maintaining manageable processing complexity through the neural network architecture.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11082438B2Malicious activity detection by cross-trace analysis and deep learning
Publication Date: 2021.08.03 ORACLE INT CORP
  • US11082438B2 patent drawing
  • US11082438B2 patent drawing
  • US11082438B2 patent drawing

AI summary

Techniques are provided herein for contextual embedding of features of operational logs or network traffic for anomaly detection based on sequence prediction. In an embodiment, a computer has a predictive recurrent neural network (RNN) that detects an anomalous network flow. In an embodiment, an RNN contextually transcodes sparse feature vectors that represent log messages into dense feature vectors that may be predictive or used to generate predictive vectors. In an embodiment, graph embedding improves feature embedding of log traces. In an embodiment, a computer detects and feature-encodes independent traces from related log messages. These techniques may detect malicious activity by anomaly analysis of context-aware feature embeddings of network packet flows, log messages, and/or log traces.