# US 2025/0378166 A1 · Device and method for controlling database inference attack

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

- Number: US 2025/0378166 A1
- Document ID: US20250378166A1
- Status: Published application
- Kind: A1
- Application number: 19/290,410
- Filed: 2025-08-05
- Published: 2025-12-11
- Earliest claimed: 2023-02-06
- Assignees: Ki Yoong HONG; YoongNet Inc.
- Applicants: Yoongnet Inc.
- Inventors: Ki Yoong HONG; Paul HONG; Seung Eun HONG; Pyeong Kang HONG
- Web page: https://patentgrep.com/patent/US20250378166A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06N 5/04: Inference or reasoning models
- G06F 21/55: Detecting local intrusion or implementing counter-measures
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments relate to an apparatus and a method for controlling database (DB) inference attacks and, more specifically, to an apparatus and a method for controlling DB inference attacks, in which result data output from multiple database management systems (DBMSs) managing one or more DBs is received to detect inference attacks, which are difficult to detect using access control and query control methods, based on pre-established inference knowledge. The embodiments provide an apparatus and a method for analyzing inference attacks based on multi-level risk, restricting one or more data attributes corresponding to inference attack elements associated with the inference attack, and providing the restricted result data to an inquirer, thereby preventing sensitive information from being inferred and leaked.

## Claims

### Claim 1

An apparatus for controlling database (DB) inference attacks, the apparatus comprising:
an input/output unit configured to receive queries from a plurality of inquirer terminal units and output the queries, receive result data in response to the received queries, and provide the result data to the corresponding inquirer terminal unit;
one or more database management systems (DBMSs) configured to access at least one database (DB) including a plurality of data attributes, wherein at least one DB includes sensitive data attributes designated as sensitive information to be protected, the one or more DBMSs being configured to search the DBs in response to the queries input from the input/output unit, and generate and output the corresponding result data; and
an inference control unit configured to establish inference knowledge including one or more inference logics, each of which comprises logical operations and inference attack elements corresponding to data attributes that can be used to infer sensitive information, detect inference attacks capable of inferring the sensitive information from result data received from the DBMS by referencing the inference logic, restrict at least one data attribute information corresponding to at least one inference attack element among the elements included in the result data in which an inference attack is detected, and transmit the restricted result data to the corresponding inquirer terminal unit via the input/output unit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the inference control unit comprises:
an inference knowledge storage unit configured to store inference knowledge including one or more inference logics and inference attack elements corresponding to data attributes provided to an inquirer terminal unit;
an inference setting unit configured to receive, from a security manager via a security administrator terminal, at least one data attribute that can be used to infer sensitive information configured in the DB, generate an inference logic including the at least one data attribute, store the inference logic as inference knowledge in the inference knowledge storage unit, set the data attributes included in the inference logic as inference attack elements, and output inference attack element information including the set inference attack elements;
an inference attack element extraction unit configured to set the inference attack element information by receiving it from the inference setting unit, extract inference attack elements corresponding to the inference attack element information from result data received from the DBMSs, generate an inference attack transaction composed of the extracted inference attack elements, and output the generated inference attack transaction;
an inference attack detection unit configured to receive the inference attack transaction, detect an inference attack by examining whether inference attack elements included in the inference attack transaction and inference attack elements stored in the inference knowledge storage unit and previously provided to the inquirer terminal unit satisfy any one of the inference logics stored in the inference knowledge storage unit, and, upon detection of the inference attack, output restriction request information for at least one of the inference attack elements included in the corresponding inference attack transaction; and
an inference attack control unit configured to, when restriction request information is received from the inference attack detection unit, restrict at least one data attribute corresponding to at least one inference attack element included in the received restriction request information, among data attributes included in result data corresponding to an inference attack transaction in which the inference attack is detected, and provide the restricted result data to the corresponding inquirer terminal unit via the input/output unit.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the inference control unit further comprises an inference attack serialization unit configured to serialize a plurality of inference attack transactions received from the inference attack element extraction unit and output the serialized inference attack transactions, and
the inference attack detection unit is configured to detect an inference attack by the serialized inference attack transactions.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the inference setting unit comprises:
an inference logic generation unit configured to receive, from a security administrator via a security administrator terminal, at least one data attribute that can be used to infer the sensitive information configured in the DB, generate an inference logic including the received data attribute, and store the generated inference logic as inference knowledge in the inference knowledge storage unit; and
an inference attack element generation unit configured to set the data attributes included in the inference logic as inference attack elements and output the set inference attack elements.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the inference logic generation unit comprises:
an inference attack logic generation unit configured to receive, from a security manager via a security administrator terminal, at least one data attribute that is directly associated with the sensitive information configured in the DB and can be used to infer the sensitive information, generate an inference attack logic including the at least one data attribute as one of the inference logics, and store the generated inference attack logic in the inference knowledge storage unit; and
an inferable logic generation unit configured to receive at least one data attribute that can be used to increase the accuracy of inference attacks on the sensitive information, generate an inferable logic including the at least one data attribute, combine the inferable logic with the inference attack logic to generate an expanded inference attack logic, and store the expanded inference attack logic as inference knowledge in the inference knowledge storage unit.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the inference setting unit further comprises a multi-level risk setting unit configured to, upon receiving a multi-level risk setting request from a security administrator via a security administrator terminal unit, generate inference attack subsets by selecting one or more inference attack elements without duplication within each subset, provide the generated inference attack subsets to the security administrator, receive a risk level for each inference attack subset from the security administrator, set a risk level for each inference attack subset, and store the set risk levels as inference knowledge in the inference knowledge storage unit.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the inference setting unit further comprises a threshold setting unit configured to, upon receiving a threshold setting request from a security administrator terminal unit, receive an inference attack element threshold representing the number of inference attack elements to be restricted among the inference attack elements constituting the inference attack subset, and store the inference attack element threshold in the inference knowledge storage unit.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the threshold setting unit is further configured to, upon receiving the threshold setting request from a security administrator terminal unit, receive a risk level threshold representing a risk level at which the inference attack subset is to be restricted and set the received risk level threshold.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the threshold setting unit is further configured to, upon receiving the threshold setting request, set an inferable logic threshold representing the number of inference attack elements to be restricted among the inference attack elements included in the inferable logic.

### Claim 10 (depends on 2)

The apparatus of claim 2, wherein the inference attack control unit is configured to restrict the data attribute information corresponding to at least one inference attack element to be restricted in the result data by performing masking or anonymization of the data attribute information, or by removing the data attribute information from the result data.

### Claim 11

A method of controlling database (DB) inference attacks, the method comprising:
a DB search process in which one or more database management systems (DBMSs), each managing at least one database (DB) including a plurality of data attributes, wherein at least one DB includes sensitive data attributes designated as sensitive information to be protected, perform a search in response to a query input to the DB, and generate and output result data; and
an inference control process in which an inference control unit establishes inference knowledge including one or more inference logics, each of which comprises logical operations and inference attack elements corresponding to data attributes that can be used to infer sensitive information, detects inference attacks capable of inferring the sensitive information from result data received from the DBMS by referencing the inference logic, restricts at least one data attribute information corresponding to at least one inference attack element among the elements included in the result data in which an inference attack is detected, and transmits the restricted result data to the corresponding inquirer terminal unit via an input/output unit.

### Claim 12 (depends on 11)

The method of claim 11, wherein the inference control process comprises:
an inference setting step in which the inference control unit, through an inference setting unit, receives, from a security administrator, at least one data attribute that can be used to infer sensitive information configured in the DB, generates an inference logic including the at least one data attribute, stores the inference logic as inference knowledge in an inference knowledge storage unit, sets the data attributes included in the inference logic as inference attack elements, and outputs inference attack element information including the set inference attack elements;
an inference attack element extraction step in which the inference control unit sets the inference attack element information by receiving it from the inference setting unit, extracts inference attack elements corresponding to the inference attack element information from result data received from the DBMSs, generates an inference attack transaction composed of the extracted inference attack elements, and outputs the generated inference attack transaction;
an inference attack detection step in which the inference control unit, through an inference attack detection unit, receives the inference attack transaction, detects an inference attack by examining whether inference attack elements included in the inference attack transaction and inference attack elements stored in the inference knowledge storage unit and previously provided to the inquirer terminal unit satisfy any one of inference attack logics, inferable logics, or inference attack subsets stored in the inference knowledge storage unit, and, upon detection of the inference attack, outputs restriction request information for at least one of the inference attack elements included in the corresponding inference attack transaction; and
an inference attack control step in which, when the restriction request information is received from the inference attack detection unit, the inference control unit, through an inference attack control unit, restricts at least one data attribute corresponding to at least one inference attack element included in the received restriction request information, among data attributes included in result data corresponding to an inference attack transaction in which the inference attack is detected, and provides the restricted result data to the corresponding inquirer terminal unit via the input/output unit.

### Claim 13 (depends on 12)

The method of claim 12, wherein the inference control process comprises an inference attack serialization step in which the inference control unit, through an inference attack serialization unit, serializes a plurality of inference attack transactions received from an inference attack element extraction unit and outputs the serialized inference attack transactions, and
in the inference attack control step, when the restriction request information is received from the inference attack detection unit, the inference attack control unit restricts a data attribute corresponding to an inference attack element included in the received restriction request information, among the data attributes included in the result data corresponding to the inference attack transaction for which an inference attack is detected, and provides the restricted result data to the corresponding inquirer terminal unit via the input/output unit.

### Claim 14 (depends on 12)

The method of claim 12, wherein the inference setting step comprises an inference logic generation step in which the inference setting unit, through an inference logic generation unit, receives at least one data attribute that can be used to infer sensitive information configured in the DB from a security administrator, generates an inference logic including the at least one data attribute, and stores the generated inference logic as inference knowledge in the inference knowledge storage unit; and
an inference attack element generation step in which the inference setting unit, through an inference attack element generation unit, sets the data attributes included in the inference logic as inference attack elements, and outputs the inference attack elements.

### Claim 15 (depends on 14)

The method of claim 14, wherein the inference logic generation comprises:
an inference attack logic generation step in which the inference logic generation unit, through an inference attack logic generation unit, receives at least one data attribute that is directly associated with the sensitive information configured in the DB and can be used to infer the sensitive information from the security administrator, generates an inference attack logic including the at least one data attribute as one of the inference logics, and stores the generated inference attack logic in the inference knowledge storage unit; and
an inferable logic generation step in which the inference logic generation unit, through an inferable logic generation unit, receives at least one data attribute that can be used to increase the accuracy of inference attacks on the sensitive information, generates an inferable logic including the at least one data attribute, combines the inferable logic with the inference attack logic to generate an expanded inference attack logic, and stores the expanded inference attack logic as the inference knowledge in the inference knowledge storage unit.

### Claim 16 (depends on 15)

The method of claim 15, wherein the inference setting step further comprises a multi-level risk setting step in which, upon receiving a multi-level risk setting request from a security administrator via the security administrator terminal unit, the inference setting unit, through a multi-level risk setting unit, generates inference attack subsets by selecting one or more inference attack elements without duplication within each subset, provides the generated inference attack subsets to the security administrator, receives a risk level for each inference attack subset from the security administrator, sets the risk level for each inference attack subset, and stores the set risk levels as the inference knowledge in the inference knowledge storage unit.

### Claim 17 (depends on 16)

The method of claim 16, wherein the inference setting step further comprises a threshold setting step in which, upon receiving a threshold setting request from the security administrator terminal unit, the inference setting unit, through a threshold setting unit, receives an inference attack element threshold representing the number of inference attack elements to be restricted among the inference attack elements constituting the inference attack subset, sets the received threshold, and stores the set threshold.

### Claim 18 (depends on 17)

The method of claim 17, wherein, in the threshold setting step, upon receiving the threshold setting request from the security administrator terminal unit, the inference setting unit, through the threshold setting unit, further receives a risk level threshold representing a risk level at which the inference attack subset is to be restricted and sets the received risk level threshold.

### Claim 19 (depends on 17)

The method of claim 17, wherein, in the threshold setting step, upon receiving the threshold setting request, the inference setting unit, through the threshold setting unit, further sets an inferable logic threshold representing the number of inference attack elements to be restricted among the inference attack elements included in the inferable logic.

### Claim 20 (depends on 12)

The method of claim 12, wherein, in the inference attack control step, the inference attack control unit restricts the data attribute information corresponding to at least one inference attack element to be restricted in the result data by performing masking or anonymization of the data attribute information, or by removing the data attribute information from the result data.
