# US 2018/0191764 A1 · Automatic webpage change detection

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

- Number: US 2018/0191764 A1
- Document ID: US20180191764A1
- Status: Published application
- Kind: A1
- Application number: 15/398,557
- Filed: 2017-01-04
- Published: 2018-07-05
- Earliest claimed: 2017-01-04
- Assignees: Synack, Inc.
- Applicants: Synack, Inc.
- Inventors: KIRTI CHAWLA; VIKTOR TOTH; MIKHAIL SOSONKIN; MARK G. KUHR
- Web page: https://patentgrep.com/patent/US20180191764A1

## CPC

- H04L 63/1433: {Vulnerability analysis}
- G06F 16/951: Indexing; Web crawling techniques
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An improved web crawler, associated method of crawling the Internet, and automatically detection of crawled webpage changes are provided. The method comprises obtaining a first version and a second version of the webpage; generating a first simhash of the first version of the webpage and a second simhash of the second version of the webpage; calculating, using a similarity hashing function having small output perturbations for small input perturbations, a probability that there are no differences between the first version of the webpage and the second version of the webpage; providing, to one or more researcher computers, the first version of the webpage and the second version of the webpage; based on input identifying a change in the webpage, updating a count of changes associated with the webpage; providing information about the change in the webpage in the second version of the webpage relative to the first version of the webpage as feedback to the crawler.

## Claims

### Claim 1

A method providing an improvement in detection of changes to a webpage comprising:
using a crawler, obtaining a first version of a webpage at a first time and a second version of the webpage at a second time wherein the first version of the webpage has a same Uniform Resource Locator (URL) as the second version of the webpage;
generating a first simhash of the first version of the webpage and a second simhash of the second version of the webpage;
calculating, from the first simhash and the second simhash using a similarity hashing function having small output perturbations for small input perturbations, a probability that there are no differences between the first version of the webpage and the second version of the webpage;
based on the probability, providing, to one or more researcher computers, the first version of the webpage and the second version of the webpage;
based on input identifying a change in the webpage received from the one or more researcher computers, updating a count of changes associated with the webpage;
providing information about the change in the webpage in the second version of the webpage relative to the first version of the webpage as feedback to the crawler.

### Claim 2 (depends on 1)

The method of claim 1, further comprising providing information about an identified vulnerability associated with the change in the webpage in the second version of the webpage relative to the first version of the webpage as feedback to the crawler.

### Claim 3 (depends on 1)

The method of claim 1, wherein the feedback is at a bit and source code level and comprises an indication that the change is associated with a security vulnerability and further comprising causing the crawler to crawl the webpage more frequently.

### Claim 4 (depends on 1)

The method of claim 1, wherein the feedback is at a bit and source code level and comprises an indication that the change is not associated with a security vulnerability and further comprising causing the crawler to crawl the webpage less frequently.

### Claim 5 (depends on 1)

The method in claim 1, wherein the feedback is at a bit and source code level and the method further comprises:
using the feedback, tracking variable change thresholds;
using the feedback, managing the variable change thresholds;
using the feedback, enforcing the variable change thresholds.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from a first Document Object Model (DOM) of the first version of the webpage and a second DOM of the second version of the web page, both of which are modeled as tree data structure, and wherein the change is located in the second DOM.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from first embedded JavaScript source code of the first version of the webpage and a second embedded JavaScript source code of the second version of the webpage and wherein the change is located in the second embedded JavaScript source code.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from first external JavaScript source code of the first version of the webpage and a second external JavaScript source code of the second version of the webpage and wherein the change is located in the second external JavaScript source code.

### Claim 9 (depends on 1)

The method of claim 1, wherein the webpage comprises a form having attributes, wherein the first simhash of the first version of the webpage is generated from the form of the first version of the webpage and the attribute-level source code associated with the form of the first version of the webpage, wherein the second simhash of the second version of the webpage is generated from the form of the second version of the webpage and the attribute-level source code associated with the form of the second version of the webpage.

### Claim 10 (depends on 1)

The method of claim 1, wherein the similarity hashing function is part of a pluggable architecture comprising a plurality of pluggable metrics, each of the plurality of pluggable metrics being associated with detecting changes within a particular data type.

### Claim 11 (depends on 1)

The method of claim 1, wherein the plurality of pluggable metrics are arranged in a hierarchical manner and used to determine a variable change threshold associated with the webpage.

### Claim 12 (depends on 11)

The method of claim 11, wherein the data type is raw HTML, HTML DOM elements, aggregate of HTML element “style” attribute values, aggregate of text content wrapped in “<script>” tags, each value held by HTML element “data” attributes, aggregate of text content wrapped in “<form>” tags, embedded JavaScript source code or external JavaScript source code.

### Claim 13 (depends on 1)

The method of claim 1, wherein the similarity hashing function comprises a Hamming distance metric.

### Claim 14 (depends on 1)

The method of claim 1, wherein the similarity hashing function comprises a ratio of sums metric.

### Claim 15 (depends on 1)

The method of claim 1, further comprising measuring a bit-difference between the first simhash of the first version of the webpage and a second simhash of the second version of the webpage.

### Claim 16

An improved crawler for detection of changes in a webpage comprising:
one or more processors;
a non-transitory computer-readable medium having instructions embodied thereon that, when executed by the one or more processors, cause performance of:
obtaining a first version of a webpage at a first time and a second version of the webpage at a second time wherein the first version of the webpage has a same Uniform Resource Locator (URL) as the second version of the webpage;
generating a first simhash of the first version of the webpage and a second simhash of the second version of the webpage;
calculating, from the first simhash and the second simhash using a similarity hashing function having small output perturbations for small input perturbations, a probability that there are no differences between the first version of the webpage and the second version of the webpage;
based on the probability, providing, to one or more researcher computers, the first version of the webpage and the second version of the webpage;
based on input identifying a change in the webpage received from the one or more researcher computers, updating a count of changes associated with the webpage;
providing information about the change in the webpage in the second version of the webpage relative to the first version of the webpage as feedback to the crawler.

### Claim 17 (depends on 16)

The improved crawler of claim 16, wherein the instructions, when executed, further cause providing information about an identified vulnerability associated with the change in the webpage in the second version of the webpage relative to the first version of the webpage as feedback to the crawler.

### Claim 18 (depends on 16)

The improved crawler of claim 16, wherein the feedback is at a bit and source code level and comprises an indication that the change is associated with a security vulnerability and further comprising causing the crawler to crawl the webpage more frequently.

### Claim 19 (depends on 16)

The improved crawler of claim 16, wherein the feedback is at a bit and source code level and comprises an indication that the change is not associated with a security vulnerability and further comprising causing the crawler to crawl the webpage less frequently.

### Claim 20 (depends on 16)

The improved crawler of claim 16, wherein the feedback is at a bit and source code level and the instructions further cause:
using the feedback, tracking variable change thresholds;
using the feedback, managing the variable change thresholds;
using the feedback, enforcing the variable change thresholds.

### Claim 21 (depends on 16)

The improved crawler of claim 16, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from a first Document Object Model (DOM) of the first version of the webpage and a second DOM of the second version of the web page, both of which are modeled as tree data structure, and wherein the change is located in the second DOM.

### Claim 22 (depends on 16)

The improved crawler of claim 16, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from first embedded JavaScript source code of the first version of the webpage and a second embedded JavaScript source code of the second version of the webpage and wherein the change is located in the second embedded JavaScript source code.

### Claim 23 (depends on 16)

The improved crawler of claim 16, wherein the first simhash of the first version of the webpage and the second simhash of the second version of the webpage are generated from first external JavaScript source code of the first version of the webpage and a second external JavaScript source code of the second version of the webpage and wherein the change is located in the second external JavaScript source code.

### Claim 24 (depends on 16)

The improved crawler of claim 16, wherein the webpage comprises a form having attributes, wherein the first simhash of the first version of the webpage is generated from the form of the first version of the webpage and the attribute-level source code associated with the form of the first version of the webpage, wherein the second simhash of the second version of the webpage is generated from the form of the second version of the webpage and the attribute-level source code associated with the form of the second version of the webpage.

### Claim 25 (depends on 16)

The improved crawler of claim 16, wherein the similarity hashing function is part of a pluggable architecture comprising a plurality of pluggable metrics, each of the plurality of pluggable metrics being associated with detecting changes within a particular data type.

### Claim 26 (depends on 16)

The improved crawler of claim 16, wherein the plurality of pluggable metrics are arranged in a hierarchical manner and used to determine a variable change threshold associated with the webpage.

### Claim 27 (depends on 26)

The improved crawler of claim 26, wherein the data type is raw HTML, HTML DOM elements, aggregate of HTML element “style” attribute values, aggregate of text content wrapped in “<script>” tags, each value held by HTML element “data” attributes, aggregate of text content wrapped in “<form>” tags, embedded JavaScript source code or external JavaScript source code.

### Claim 28 (depends on 16)

The improved crawler of claim 16, wherein the similarity hashing function comprises a Hamming distance metric.

### Claim 29 (depends on 16)

The improved crawler of claim 16, wherein the similarity hashing function comprises a ratio of sums metric.

### Claim 30 (depends on 16)

The improved crawler of claim 16, further comprising measuring a bit-difference between the first simhash of the first version of the webpage and a second simhash of the second version of the webpage.
