IP Library Granted Patent US 9,589,146
Granted Patent B2
US 9,589,146 · App. 14/258,294 · Granted Mar 7, 2017

Method and system for hiding sensitive data in log files

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,589,146
App. No.
14/258,294
Granted
Mar 7, 2017
Kind
B2
Abstract

An approach for hiding sensitive data in log files is provided. The approach uses a background program embedded within an operating system. The background program intercepts a write operation of an application and, in response to determining that the write operation is for a log file, gets content of the write operation. The background program checks a knowledge base that comprises information for the sensitive data and identifies the sensitive data in the content of the write operation. The background program masks the sensitive data in the content of the write operation, in response to determining that the content of the write operation has the sensitive data to be masked. In the log file, the background program writes modified content in which the sensitive data is masked.

Claims (40)

1. A computer-implemented method for hiding sensitive data in log files, the method comprising:

intercepting, by a log interceptor for hiding the sensitive data in the log files, a write operation of an application, wherein the log interceptor is embedded within an operating system and runs as a daemon in background, wherein the log interceptor comprises an analytics engine and the analytics engine provides a confidence index that determines whether patterns and information in message content of the write operation are sensitive;

getting, by the log interceptor, content of the write operation, in response to determining that the write operation is for a log file;

checking, by the log interceptor, a knowledge base, the knowledge base comprising information for the sensitive data, the information for the sensitive data including names of log files that applications write and customer sensitive information;

identifying, by the log interceptor, the sensitive data in the content of the write operation, by using the confidence index;

masking, by the log interceptor, the sensitive data in the content of the write operation, in response to determining that the content of the write operation has the sensitive data to be masked;

writing, by the log interceptor, in the log file, modified content in which the sensitive data is masked; and

updating, by the log interceptor, the knowledge base, by storing information of masking the sensitive data in the write operation.

2. The computer-implemented method of claim 1 , further comprising:

processing, by the log interceptor, the write operation without writing the log file, in response to determining that the write operation is not for the log file.

3. The computer-implemented method of claim 1 , further comprising:

writing the content, by the log interceptor, without masking in the log file, in response to determining that the content of the write operation does not have the sensitive data to be masked.

4. The computer-implemented method of claim 1 , wherein the log interceptor intercepts a write API (Application Programming Interface) of the operating system.

5. A computer program product for hiding sensitive data in log files, the computer program product comprising a computer readable storage medium having program code, the program code executable to:

intercept, by a log interceptor for hiding the sensitive data in the log files, a write operation of an application, wherein the log interceptor is embedded within an operating system and runs as a daemon in background, wherein the log interceptor comprises an analytics engine and the analytics engine provides a confidence index that determines whether patterns and information in message content of the write operation are sensitive;

get, by the log interceptor, content of the write operation, in response to determining that the write operation is for a log file;

check, by the log interceptor, a knowledge base, the knowledge base comprising information for the sensitive data, the information for the sensitive data including names of log files that applications write and customer sensitive information;

identify, by the log interceptor, the sensitive data in the content of the write operation, by using the confidence index;

mask, by the log interceptor, the sensitive data in the content of the write operation, in response to determining that the content of the write operation has the sensitive data to be masked;

write, by the log interceptor, in the log file, modified content in which the sensitive data is masked; and

update, by the log interceptor, the knowledge base, by storing information of masking the sensitive data in the write operation.

6. The computer program product of claim 5 , further comprising the program code executable to:

process, by the log interceptor, the write operation without writing the log file, in response to determining that the write operation is not for the log file.

7. The computer program product of claim 5 , further comprising the program code executable to:

write the content, by the log interceptor, without masking in the log file, in response to determining that the content of the write operation does not have the sensitive data to be masked.

8. The computer program product of claim 5 , wherein the log interceptor intercepts a write API (Application Programming Interface) of the operating system.

9. A computer system for hiding sensitive data in log files, the computer system comprising:

one or more processors, one or more computer-readable tangible storage devices, and program instructions, the program instructions stored on at least one of the one or more computer-readable tangible storage devices for execution by at least one of the one or more processors, the program instructions executable to:

intercept, by a log interceptor for hiding the sensitive data in the log files, a write operation of an application, wherein the log interceptor is embedded within an operating system and runs as a daemon in background, wherein the log interceptor comprises an analytics engine and the analytics engine provides a confidence index that determines whether patterns and information in message content of the write operation are sensitive;

get, by the log interceptor, content of the write operation, in response to determining that the write operation is for a log file;

check, by the log interceptor, a knowledge base, the knowledge base comprising information for the sensitive data, the information for the sensitive data including names of log files that applications write and customer sensitive information;

identify, by the log interceptor, the sensitive data in the content of the write operation, by using the confidence index;

mask, by the log interceptor, the sensitive data in the content of the write operation, in response to determining that the content of the write operation has the sensitive data to be masked;

write, by the log interceptor, in the log file, modified content in which the sensitive data is masked; and

update, by the log interceptor, the knowledge base, by storing information of masking the sensitive data in the write operation.

10. The computer system of claim 9 , further comprising the program instructions executable to:

process, by the log interceptor, the write operation without writing the log file, in response to determining that the write operation is not for the log file.

11. The computer system of claim 9 , further comprising the program instructions executable to:

write the content, by the log interceptor, without masking in the log file, in response to determining that the content of the write operation does not have the sensitive data to be masked.

12. The computer system of claim 9 , wherein the log interceptor intercepts a write API (Application Programming Interface) of the operating system.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AIRBNB, INC.
Reel/Frame 056427/0193 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2014
From: AVERDUNK, INGO J.; DELLA CORTE, GIANLUCA; PROIETTI, STEFANO; SGRO, ANTONIO M.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 032726/0746 →