# US 10,958,683 B2 · Method and device for classifying uniform resource locators based on content in corresponding websites

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

- Number: US 10,958,683 B2
- Document ID: US10958683B2
- Status: Granted
- Kind: B2
- Application number: 16/008,065
- Filed: 2018-06-14
- Published: 2019-10-31
- Granted: 2021-03-23
- Earliest claimed: 2018-04-26
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Sridhar Govardhan; Sunil Varkey
- Web page: https://patentgrep.com/patent/US10958683B2

## CPC

- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 16/285: {Clustering or classification}
- G06F 16/951: Indexing; Web crawling techniques
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06N 20/00: Machine learning
- G06V 30/153: {using recognition of characters or words}
- G06V 30/19173: {Classification techniques}
- G06V 30/40: Document-oriented image-based pattern recognition
- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/1483: {service impersonation, e.g. phishing, pharming or web spoofing (detection of rogue wireless access points H04W12/12)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06V 30/10: Character recognition
- G06V 2201/10: Recognition assisted with metadata
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and device for classifying uniform resource locators based on content in corresponding websites includes extracting, by a network device, a plurality of website contents from a website associated with a URL based on Optical Character Recognition (OCR). Each of the plurality of website contents are classified into a plurality of webpage categories based on machine learning. User actions for the plurality of website contents are simulated based on a webpage category associated with each of the plurality of website contents. An access classification is determined for the URL based on results of simulating the user actions and machine learning.

## Claims

### Claim 1

A method of classifying Uniform Resource Locators (URLs) based on content in corresponding websites, the method comprising:
extracting, by a network device, a plurality of website contents from a website associated with a URL based on Optical Character Recognition (OCR);
classifying, by the network device, each of the plurality of website contents into a plurality of webpage categories based on machine learning;
simulating, by the network device, user actions, as expected by the website, for the plurality of website contents, based on a webpage category associated with each of the plurality of website contents, wherein the user actions are simulated by generating data feeds and parameters as per the webpage category for use as inputs to the website; and
determining, by the network device, an access classification for the URL based on results of simulating the user actions and machine learning.

### Claim 2 (depends on 1)

The method of claim 1, further comprising identifying at least one URL attribute associated with the URL, wherein the at least one URL attribute comprises registration date of an associated domain, age of the associated domain, replica of the associated domain, or ownership of the associated domain.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the access classification for the URL further comprises:
evaluating the URL based on the at least one URL attribute to determine the access classification; and
assigning risk and threat scores to the URL for each of the at least one URL attribute and each of the results of simulating the user actions.

### Claim 4 (depends on 1)

The method of claim 1, wherein extracting the plurality of website contents comprises:
capturing at least one image associated with each webpage in the website; and
performing OCR on each of the at least one image associated with each webpage in the website.

### Claim 5 (depends on 4)

The method of claim 4, wherein classifying each of the plurality of website contents into the plurality of webpage categories comprises:
identifying, based on machine learning, each of the plurality of website contents from the at least one image associated with each webpage; and
determining, based on machine learning, a webpage category from plurality of webpage categories for each of the plurality of website contents, in response to identifying.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of webpage categories comprises at least one of a login page, download instruction page, financial information collecting page, and personal information gathering page.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of website contents comprises at least one of images, textual description, inputs fields, buttons, audio, video, embedded documents, paragraphs, links, file paths, forms, Hyper Text Markup Language (HTML) geolocations, or HTML references.

### Claim 8 (depends on 1)

The method of claim 1, further comprising performing at least one action corresponding to the URL based on the determined access classification.

### Claim 9 (depends on 8)

The method of claim 8, wherein the at least one action comprises blocking the URL, granting access to the URL based on user role in an organization, reporting the URL as harmful, or sending a recommendation to downstream network devices to allow or block the URL.

### Claim 10 (depends on 1)

The method of claim 1, wherein the access classification comprises at least one of phishing classification, adult classification, organization specific restriction classification, malware classification, ransomware classification, brokerage or trading classification, business or economy classification, file storage or sharing classification, financial services classification, malicious botnet Command and Control (CnC) classification, malicious malware sources classification, piracy/copyright violation classification, proxy avoidance classification, or software download classification.

### Claim 11

A network device for classifying Uniform Resource Locators (URLs) based on content in corresponding websites, the device comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
extract a plurality of website contents from a website associated with a URL based on Optical Character Recognition (OCR);
classify each of the plurality of website contents into a plurality of webpage categories based on machine learning;
simulate user actions, as expected by the website, for the plurality of website contents, based on a webpage category associated with each of the plurality of website contents, wherein the user actions are simulated by generating data feeds and parameters as per the webpage category for use as inputs to the website; and
determine an access classification for the URL based on results of simulating the user actions and machine learning.

### Claim 12 (depends on 11)

The network device of claim 11, wherein the processor instructions further cause the processor to identify at least one URL attribute associated with the URL, wherein the at least one URL attribute comprises registration date of an associated domain, age of the associated domain, replica of the associated domain, or ownership of the associated domain.

### Claim 13 (depends on 12)

The network device of claim 12, wherein to determine the access classification for the URL, the processor instructions further cause the processor to:
evaluate the URL based on the at least one URL attribute to determine the access classification; and
assign risk and threat scores to the URL for each of the at least one URL attribute and each of the results of simulating the user actions.

### Claim 14 (depends on 11)

The network device of claim 11, wherein to extract the plurality of website contents, the processor instructions further cause the processor to:
capture at least one image associated with each webpage in the website; and
perform OCR on each of the at least one image associated with each webpage in the website.

### Claim 15 (depends on 14)

The network device of claim 14, wherein to classify each of the plurality of website contents into the plurality of webpage categories, the processor instructions further cause the processor to:
identify, based on machine learning, each of the plurality of website contents from the at least one image associated with each webpage; and
determine, based on machine learning, a webpage category from plurality of webpage categories for each of the plurality of website contents, in response to identifying.

### Claim 16 (depends on 11)

The network device of claim 11, wherein the plurality of website contents comprises at least one of images, textual description, inputs fields, buttons, audio, video, embedded documents, paragraphs, links, file paths, forms, Hyper Text Markup Language (HTML) geolocations, or HTML references.

### Claim 17 (depends on 11)

The network device of claim 11, wherein the processor instructions further cause the processor to perform at least one action corresponding to the URL based on the assigned access classification.

### Claim 18 (depends on 17)

The network device of claim 17, wherein the at least one action comprises blocking the URL, granting access to the URL based on user role in an organization, reporting the URL as harmful, or sending a recommendation to downstream network devices to allow or block the URL.

### Claim 19 (depends on 11)

The network device of claim 11, wherein the access classification comprises at least one of phishing classification, adult classification, organization specific restriction classification, malware classification, ransomware classification, brokerage or trading classification, business or economy classification, file storage or sharing classification, financial services classification, malicious botnet Command and Control (CnC) classification, malicious malware sources classification, piracy/copyright violation classification, proxy avoidance classification, or software download classification.

### Claim 20

A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions causing a computer comprising one or more processors to perform steps comprising:
extracting a plurality of website contents from a website associated with a URL based on Optical Character Recognition (OCR);
classifying each of the plurality of website contents into a plurality of webpage categories based on machine learning;
simulating user actions, as expected by the website, for the plurality of website contents, based on a webpage category associated with each of the plurality of website contents, wherein the user actions are simulated by generating data feeds and parameters as per the webpage category for use as inputs to the website; and
determining an access classification for the URL based on results of simulating the user actions and machine learning.
