# US 2019/0163925 A1 · System and method for monitoring and verifying software behavior

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

- Number: US 2019/0163925 A1
- Document ID: US20190163925A1
- Status: Published application
- Kind: A1
- Application number: 16/245,212
- Filed: 2019-01-10
- Published: 2019-05-30
- Earliest claimed: 2014-01-06
- Assignees: Tongji University
- Applicants: Tongji University
- Inventors: Changjun JIANG; Hongzhong CHEN; Chungang YAN; Zhijun DING; Wangyang YU; Junzhu ZHONG
- Web page: https://patentgrep.com/patent/US20190163925A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06Q 20/3829: {involving key management}
- G06Q 20/40: Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q 20/405: {Establishing or using transaction specific rules}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention discloses a method and system configured for monitoring and verifying software behavior, comprising: receiving, by a software behavior verification system based on a physical hardware system, legal user behavior data containing user activities performed during legal electronic transactions and storing the legal user behavior data as a software behavior model; monitoring, by a software behavior monitor, data packets transmitted in a transaction, and sending data packets to the software behavior verification system; retrieving, by the behavior verification system, expected key sequences and information in the data packets; comparing the key sequences and information retrieved from the data packets with that of the software behavior model; if the key sequences and information retrieved from the data packets does not consistence with the software behavior model, it is determined that the transaction is an illegal electronic transactions, and the transaction is closed.

## Claims

### Claim 1

A method for monitoring and verifying software behavior, comprising:
receiving, by a software behavior verification system based on a physical hardware system, legal user behavior data containing user activities performed during legal electronic transactions and storing the legal user behavior data as a software behavior model;
monitoring, by a software behavior monitor, data packets transmitted in a transaction, and sending data packets to the software behavior verification system;
retrieving, by the behavior verification system, expected key sequences and information in the data packets;
comparing, by the behavior verification system, the key sequences and information retrieved from the data packets with that of the software behavior model;
if the key sequences and information retrieved from the data packets does not consistence with the software behavior model, it is determined that the transaction is an illegal electronic transactions, and the transaction is closed.

### Claim 2 (depends on 1)

The method for monitoring and verifying software behavior according to claim 1, the software behavior model comprises behaviors of an E-Commerce website, a third-party payment platform, and a user client, and interaction modes between two of the above three terms.

### Claim 3 (depends on 1)

The method for monitoring and verifying software behavior according to claim 1, the data packets comprises URL address, a serial number of the E-Commerce website and a serial number of the third-party payment platform.

### Claim 4 (depends on 1)

The method for monitoring and verifying software behavior according to claim 1, the software behavior in the software behavior model has behavior logic.

### Claim 5 (depends on 4)

The method for monitoring and verifying software behavior according to claim 4, the user receiving message prior to sending message.

### Claim 6 (depends on 4)

The method for monitoring and verifying software behavior according to claim 4, the software behavior in the software behavior model has behavior nodes, wherein the behavior nodes are arranged according to a transaction sequence.

### Claim 7 (depends on 3)

The method for monitoring and verifying software behavior according to claim 3, the data packets further comprises a subject name.

### Claim 8 (depends on 1)

The method for monitoring and verifying software behavior according to claim 1, the software behavior monitor is based on jpcap.

### Claim 9 (depends on 1)

The method for monitoring and verifying software behavior according to claim 1, the software behavior monitor has a socket connection with the behavior verification system.

### Claim 10

A system for monitoring and verifying software behavior, the system comprises:
a software behavior monitor, configured for monitoring data packets transmitted in a transaction, and sending data packets to the software behavior verification system;
a software behavior verification module, wherein the software behavior verification module comprises a software behavior model module, configured for receiving legal user behavior data containing user activities performed during legal electronic transactions based, and storing the legal user behavior data as a software behavior model, an information extracting module, configured for retrieving expected key sequences and information in the data packets, a comparing module, configure for comparing the key sequences and information retrieved from the data packets with that of the software behavior model, a warning module, configured for closing the transaction when the key sequences and information retrieved from the data packets does not consistence with the software behavior model.

### Claim 11 (depends on 10)

The system for monitoring and verifying software behavior according to claim 10, the software behavior model comprises behaviors of an E-Commerce website, a third-party payment platform, and a user client, and interaction modes between two of the above three terms.

### Claim 12 (depends on 10)

The system for monitoring and verifying software behavior according to claim 10, the data packets comprises URL address, a serial number of the E-Commerce website and a serial number of the third-party payment platform.

### Claim 13 (depends on 10)

The system for monitoring and verifying software behavior according to claim 10, the software behavior in the software behavior model has behavior logic.

### Claim 14 (depends on 13)

The system for monitoring and verifying software behavior according to claim 13, the user receiving message prior to sending message.

### Claim 15 (depends on 13)

The system for monitoring and verifying software behavior according to claim 13, the software behavior in the software behavior model has behavior nodes, wherein the behavior nodes are arranged according to a transaction sequence.

### Claim 16 (depends on 12)

The system for monitoring and verifying software behavior according to claim 12, the data packets further comprises a subject name.

### Claim 17 (depends on 10)

The system for monitoring and verifying software behavior according to claim 10, the software behavior monitor is based on jpcap.

### Claim 18 (depends on 12)

The system for monitoring and verifying software behavior according to claim 12, the software behavior monitor has a socket connection with the behavior verification system.

### Claim 19

A non-transitory computer-readable storage medium, containing a set of instructions which, when executed by a processor, cause the processor to perform a method for monitoring and verifying software behavior, the method comprising:
receiving, by a software behavior verification system based on a physical hardware system, legal user behavior data containing user activities performed during legal electronic transactions and storing the legal user behavior data as a software behavior model;
monitoring, by a software behavior monitor, data packets transmitted in a transaction, and sending data packets to the software behavior verification system;
retrieving, by the behavior verification system, expected key sequences and information in the data packets;
comparing, by the behavior verification system, the key sequences and information retrieved from the data packets with that of the software behavior model;
if the key sequences and information retrieved from the data packets does not consistence with the software behavior model, it is determined that the transaction is an illegal electronic transactions, and the transaction is closed.
