Webpage Code-Pattern Indexing for Low-Latency Malware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing malware detection techniques face challenges in achieving thoroughness and minimizing latency during in-line scanning of network traffic, especially with growing numbers of malware signatures exceeding hundreds of thousands, which complicates efficient detection.

Innovation Solution

Adaptive position-based indexing is employed to create a lookup infrastructure using alignment relative positional indexing schemes, allowing for highly efficient detection of malicious webpages by analyzing and determining the least number of indexes that cover most or all code patterns, with experiments showing over 99% match coverage and a search time of approximately 0.03 milliseconds per webpage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If signature detection is used with growing numbers of malware signatures, then detection thoroughness is improved, but scanning latency increases

Engineering Contradiction:
Improvedetection thoroughnessVSAvoidscanning latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the malware signature database into multiple tables based on code pattern characteristics. Each table stores signatures with specific properties (e.g., table1 for patterns with certain characteristics, table2 for others), allowing the system to scan only relevant tables rather than searching through all signatures sequentially. This segmentation reduces scanning time while maintaining comprehensive detection coverage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension to signature storage by organizing signatures according to code pattern alignment characteristics. Instead of a single flat database, the system creates a multi-dimensional structure where signatures are categorized by their positional relationships with code patterns, enabling faster retrieval and reducing the search space during scanning operations.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Measurement precision

If comprehensive malware signature scanning is performed, then detection accuracy is improved, but processing speed decreases

Engineering Contradiction:
Improvedetection accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies local quality by creating different table structures tailored to specific code pattern characteristics. Each table is optimized for its specific purpose, storing and indexing signatures with particular properties, which allows the system to process and compare signatures efficiently for each local category while maintaining overall detection accuracy.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs preliminary organization of malware signatures into categorized tables during the indexing phase. This pre-processing action arranges signatures in advance according to their characteristics and positional relationships, so that during actual scanning operations, the system can directly access relevant tables without performing comprehensive searches, thereby improving processing speed while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260030354A1Highly efficient webpage code-patterns matching for malicious websites detection
Publication Date: 2026.01.29 PALO ALTO NETWORKS INC
  • US20260030354A1 patent drawing
  • US20260030354A1 patent drawing
  • US20260030354A1 patent drawing

AI summary

Building a highly efficient lookup infrastructure for malicious webpage detection is approached as a set covering problem. A malicious code patterns list is analyzed to determine which alignment relative positional indexing covers the most patterns with the least indexes. After determining which alignment relative positional indexes cover most, if not all, of the code patterns, the indexes are built. The alignment relative positional indexing schemes are stored to be applied to code patterns extracted from webpages when performing a lookup on the list of malicious code patterns for malicious webpage detection.