SQL Statement Security Evaluation via Association Rules

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing security measures cannot effectively evaluate the potential risk of multiple Structured Query Language (SQL) statements combined in a session, which can pose serious security hazards to database systems, despite individual SQL statements being low-risk.

Innovation Solution

A method and apparatus that evaluate the criticality of multiple SQL statements in sessions, generate a critical item set, extract association rules, calculate criticality, rank these rules, and specify security policies to process future sessions based on historical data, thereby predicting and mitigating security risks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple SQL statements are combined in a session to meet complex query demands, then the query capability is improved, but the security risk increases

Engineering Contradiction:
Improvequery capabilityVSAvoidsecurity risk
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The system performs preliminary security evaluation on individual SQL statements before they are executed in combination. By pre-assessing each statement's security characteristics and storing them in a database, the system can predict potential risks of combined statements before actual execution, enabling proactive security intervention rather than reactive response

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system establishes a feedback mechanism where security evaluation results of individual SQL statements are stored and reused when evaluating combined statements. The security evaluation module queries historical evaluation data and combines it with current session context to provide continuous security assessment, creating a closed-loop security monitoring system

Inventive Principle:
Principle #23Feedback

2Device complexity

If existing security measures evaluate only individual SQL statements, then the evaluation process is simple, but the security assessment is insufficient

Engineering Contradiction:
Improveevaluation process complexityVSAvoidsecurity assessment accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The system merges individual SQL statement security evaluations with session-level context analysis. By combining the security characteristics of multiple individual statements with the session's overall behavior pattern, the system achieves comprehensive security assessment that is more accurate than evaluating statements in isolation

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system transitions from one-dimensional individual statement evaluation to multi-dimensional combined statement evaluation. It incorporates additional dimensions such as session context, statement sequences, and historical security data, transforming the security assessment from a simple binary check to a comprehensive multi-factor analysis

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

Data Source

PatentUS10693877B2Evaluating security of data access statements
Publication Date: 2020.06.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10693877B2 patent drawing
  • US10693877B2 patent drawing
  • US10693877B2 patent drawing

AI summary

Techniques are provided for evaluating the security of data access statements. Specifically, in one embodiment of the claimed subject matter there is provided a technique for evaluating the security of data access statements, comprising: evaluating the criticality of multiple SQL statements contained in multiple sessions accessing a database; generating a critical item set from the multiple sessions, each element in the critical item set indicating one or more SQL statements contained in a session; extracting at least one association rule from the critical item set, each of the at least association rule indicating a sequence of SQL statements contained in a session; and calculating the criticality of each of the at least one association rule.