# US 7,805,419 B2 · System for tracking and analyzing the integrity of an application

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

- Number: US 7,805,419 B2
- Document ID: US7805419B2
- Status: Granted
- Kind: B2
- Application number: 11/483,505
- Filed: 2006-07-10
- Published: 2007-01-25
- Granted: 2010-09-28
- Earliest claimed: 2005-07-11
- Assignees: Application Security, Inc.
- Inventors: Aaron Charles Newman
- Web page: https://patentgrep.com/patent/US7805419B2

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention is a method for tracking and analyzing an application for modifications and changes. The method is used to ensure the integrity of the application remains intact. The application is inventoried upon setup. The application is then subsequently re-inventoried on a regular basis. Each new inventory is examined against the original inventory to determine if any changes have taken place. When a change is detected, the change is highlighted to be approved or examined to determine the specifics of the change in order that corrective action can be taken if deemed necessary.

## Claims

### Claim 1

A method for detecting modifications in an application executing on a computer system comprising:
connecting to the application on the computer system;
inventorying the application in order to discover a baseline inventory of existing items in the application, wherein the baseline inventory of existing items in the application includes a set of stored procedures, the set of stored procedures including user-defined stored procedures and system stored procedures, the step of inventorying comprising the step of running commands or requests in order to enumerate the items in the application;
storing the baseline inventory to persistent storage;
collecting a second inventory list of items in the application by running commands or requests in order to enumerate a second set of items in the application;
comparing the second inventory list of items with the baseline inventory of the application to determine a set of differences between them by enumerating each item in the second inventory with items in the baseline inventory, determining if any item exists in the baseline inventory but not in the second inventory, determining if any item exists in the second inventory but not in the baseline inventory, determining if any item in both the baseline inventory and the second inventory has been changed;
reporting out the set of differences between the baseline inventory and the second inventory to enable a determination of whether unauthorized activity has occurred at the application level;
determining from the set of differences between the baseline inventory and the second inventory an instance of unauthorized activity; and
authorizing or rejecting the instance of unauthorized activity.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising the steps of:
updating the baseline inventory with an item from the second inventory;
removing the item from the baseline inventory if it no longer exists in the second inventory;
adding the item to the baseline inventory if it is not in the baseline inventory and it exists in the second inventory.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising the step of recording the set of differences in persistent storage.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the item is a set of objects including tables, views, stored procedures and triggers.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the item is a group of settings including configuration options, permission settings and system parameters.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the item is a set of values including a string value, a numeric data value stored in a table and a binary data value stored in the table.

### Claim 7

A method for detecting unauthorized modifications in a database application executing on a computer system comprising:
connecting to a database;
inventorying the database in order to discover a baseline inventory of existing items in the database, wherein the baseline inventory of existing items in the application includes a set of stored procedures, the set of stored procedures including user-defined stored procedures and system stored procedures, the step of inventorying comprising the step of running commands or requests in order to enumerate the items in the database;
storing the baseline inventory to persistent storage;
collecting a second inventory list of items in the database by running commands or requests in order to enumerate a second set of items in the database;
comparing the second inventory list of items with the baseline inventory of the database to determine a set of differences between them by enumerating each item in the second inventory with items in the baseline inventory, determining if an item exists in the baseline inventory but not in the second inventory, determining if an item exists in the second inventory but not in the baseline inventory, determining if an item in both the baseline inventory and the second inventory has been changed;
reporting out the set of differences between the baseline inventory and the second inventory to enable a determination of whether unauthorized activity has occurred at the application level;
determining from the set of differences between the baseline inventory and the second inventory an instance of unauthorized activity; and
authorizing or rejecting the instance of unauthorized activity.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising the steps of:
updating the baseline inventory with an item from the second inventory;
removing the item from the baseline inventory if it no longer exists in the second inventory;
adding the item to the baseline inventory if it is not in the baseline inventory and it exists in the second inventory.

### Claim 9 (depends on 7)

The method according to claim 7, further comprising the step of recording the set of differences in persistent storage.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the command is a SQL statement.

### Claim 11 (depends on 7)

The method according to claim 7, wherein collecting the list of items includes examining a data dictionary for the database.

### Claim 12 (depends on 7)

The method according to claim 7, wherein collecting the list of items includes calling functions within the database to enumerate a list of configuration settings or options.

### Claim 13

A method for detecting unauthorized modifications in a web application executing on a server comprising:
connecting to the web application on the server;
inventorying the web application in order to discover a baseline inventory of existing items in the web application, wherein the baseline inventory of existing items in the application includes a set of stored procedures, the set of stored procedures including user-defined stored procedures and system stored procedures, the step of inventorying comprising the steps of crawling the web application and running commands in order to enumerate the items in the web application;
storing the baseline inventory to persistent storage;
collecting a second inventory list of items in the web application by crawling the web application and running commands in order to enumerate a second set of items in the web application;
comparing the second inventory list of items with the baseline inventory of the web application to determine a set of differences between them by enumerating each item in the second inventory with items in the baseline inventory, determining if an item exists in the baseline inventory but not in the second inventory, determining if an item exist in the second inventory but not in the baseline inventory, determining if an item in both the baseline inventory and the second inventory has been changed;
reporting out the set of differences between the baseline inventory and the second inventory to enable a determination of whether unauthorized activity has occurred;
determining from the set of differences between the baseline inventory and the second inventory an instance of unauthorized activity; and
authorizing or rejecting the instance of unauthorized activity.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising the steps of:
updating the baseline inventory with an item from the second inventory;
removing the item from the baseline inventory if it no longer exists in the second inventory;
adding the item to the baseline inventory if it is not in the baseline inventory and it exists in the second inventory.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the step of crawling the web application includes the step of actuating a web interface.

### Claim 16 (depends on 13)

The method according to claim 13, further comprising the step of recording the set of differences in persistent storage.
