WEB security encryption page insertion technology
By intercepting requests and generating encrypted inserts on client devices, and collecting telemetry data for threat analysis, we solve the problem of unwanted automated attacks in web and mobile applications, achieve effective blocking of unwanted traffic and improve legitimate user experience. Reduced risk of delays.
Patent Information
- Application Number
- CN202410521504.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-28
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technologies are difficult to effectively prevent unintentional or malicious automated attacks in web and mobile applications, leading to fraudulent behaviors and degraded user experience. Traditional CAPTCHA challenges are bypassed by crawlers, and existing interstitial technologies may cause resource loading delays.
Using encrypted interstitial technology, it intercepts requests for protected resources on the client device, generates encrypted web pages, and provides interstitials containing encrypted and unencrypted parts. It collects telemetry data for threat analysis and decides whether to grant access permissions based on the analysis results. , and transmit the decryption key to decrypt the encrypted page.
It effectively blocks unsolicited automatic traffic, reduces the delay experience of legitimate users, improves the utilization rate and transaction integrity of web content providers, while providing network security protection and reducing user conflicts and delay risks.
Smart Images

Figure CN118869233A_ABST
Abstract
Description
[0001] Priority Document
[0002] This application claims priority to U.S. Provisional Application No. US63 / 462,903, filed on April 28, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present invention generally relates to security technology applicable to client and server systems, and more specifically to Web security encryption insert technology. Background Art
[0004] Web and mobile applications and Application Programming Interface (API) endpoints are being increasingly targeted by sophisticated automated attacks that are leading to large-scale fraud. For example, this unsolicited or malicious automated web and mobile application traffic may be conducted by: (a) criminals who want to steal money or other property; or (b) businesses who want to steal data from other companies to promote their own business. Specifically, businesses that steal data from corporate websites often "crawl" inventory, pricing, and catalog data from public websites, hence the name "scrapers." In this way, scrapers have the potential to disrupt the user experience of legitimate human user traffic and significantly increase website operating costs. Website owners generally do not understand the scale of the scraping problem and the tools to manage and block or limit scraping when necessary. However, the scope of the scale of the criminal and scraping problem is shocking. Approximately 50% to 90% of website traffic is malicious or unsolicited automated traffic.
[0005] Unfortunately, blocking fraudulent or unsolicited automated traffic while allowing legitimate human sessions to proceed without user interference is extremely challenging. For websites and mobile applications, attackers can appear nearly identical to real users, for example by hijacking user devices, simulating human behavior, and leveraging stolen identities. In addition, such attackers are rapidly evolving their tools and methods to commit fraud, making it increasingly difficult for applications and even humans to distinguish between real and fake users. One approach is to put all sensitive resources behind an authentication process, for example, requiring users to log in to a website with a username and password corresponding to their user account before they can access resources, but this approach does not work for applications that do not involve user accounts.
[0006] Historically, the typical approach to managing crawling attacks has been to implement challenges to prevent crawlers from gaining access to valuable resources. CAPTCHA is an example of a challenge that is often used to prevent unwanted crawling. CAPTCHAs worked for a time, but crawlers have learned how to technically bypass them, making them ineffective in limiting unwanted or invasive crawling. In other words, the industry's response to managing crawler traffic has been both ineffective (for example, crawlers can easily bypass challenges such as CAPTCHAs) and tormenting legitimate human traffic (for example, trying to solve the challenges provided by CAPTCHAs).
[0007] One technique to address the above issues is to use an interstitial page, which loads a basically blank page while a script collects information about the browser environment to determine whether the browser should be allowed to access the requested resource (e.g., by determining whether the browser is operated by an automated web crawler or a human user), and then loads the requested resource based on the determination that access should be granted. However, while using interstitial pages can effectively prevent undesirable web crawler attacks, this technique can also cause undesirable delays in the loading of requested resources because the user must wait for multiple additional network requests to complete before accessing the resource.
[0008] As a result, attempts to address such issues have been made, but have had limited success and often result in undesirable inconsistencies or delays for end users, resulting in reduced usage and / or incomplete transactions for Web content providers. Summary of the invention
[0009] A method implemented by a secure server system (e.g., including one or more secure server devices, server devices, or client devices) includes intercepting a request for a web page containing a protected resource. The request can be sent from a client device to a server device. One or more link tags or other mechanisms corresponding to one or more sub-resources contained in the web page are generated. The web page is encrypted. An insert is provided to a client, the insert including an encrypted portion, an unencrypted portion, and an insert code, which collects telemetry data when executed on the client device. The encrypted portion includes an encrypted web page, and the unencrypted portion includes one or more link tags or other mechanisms. Telemetry data is received from a client device, and a threat analysis is performed on the telemetry data collected in association with the request. In response to determining to allow the request based on the threat analysis performed, a decryption key is transmitted to the client device. The decryption key is configured to allow the client device to decrypt the encrypted web page.
[0010] In any example of the present disclosure, generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in a web page includes: scanning the HTML code of the web page to identify one or more sub-resource tags; and generating a link tag associated with a preload attribute for each identified sub-resource tag.
[0011] In any example of the present disclosure, the unencrypted portion including one or more link tags or other mechanisms is configured to allow the client device to download one or more corresponding sub-resources to the cache of the client device when collecting telemetry data and performing threat analysis.
[0012] In any example of the present disclosure, the method further includes: in response to determining to deny the request based on the threat analysis performed, performing a mitigation action on the request.
[0013] In any example of the present disclosure, a symmetric key encryption method is used to encrypt the Web page.
[0014] A secure server device includes a memory storing programming instructions and one or more processors coupled to the memory and configured to execute the stored programming instructions to intercept a request for a web page containing protected resources, the request being sent from a client device to a server device; generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page; encrypting the web page, thereby generating an encrypted web page; providing an insert to a client device; receiving telemetry data from the client device; performing threat analysis on the telemetry data collected in association with the request; and in response to determining to allow the request based on the threat analysis performed, transmitting a decryption key to the client device, the decryption key being configured to allow the client device to decrypt the encrypted web page. The insert includes: an encrypted portion containing the encrypted web page; an unencrypted portion containing one or more link tags or other mechanisms; and stub code that collects telemetry data when executed on the client device.
[0015] In any instance of the present disclosure, with respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in a web page, one or more processors are further configured to execute stored programming instructions to scan the HTML code of the web page to identify one or more sub-resource tags; and for each identified sub-resource tag, generate a link tag associated with a preload attribute.
[0016] In any example of the present disclosure, the unencrypted portion including one or more link tags or other mechanisms is configured to allow the client device to download one or more corresponding sub-resources to the cache of the client device when collecting telemetry data and performing threat analysis.
[0017] In any example of the present disclosure, the one or more processors are further configured to execute stored programming instructions to perform mitigation actions for the request in response to determining to deny the request based on the threat analysis performed.
[0018] In any example of the present disclosure, a symmetric key encryption method is used to encrypt the Web page.
[0019] A non-transitory computer-readable medium stores instructions including executable code, which when executed by one or more processors causes the one or more processors to: intercept a request for a web page containing a protected resource, the request being sent from a client device to a server device; generate one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page; encrypt the web page, thereby generating an encrypted web page; provide an insert to the client device; receive telemetry data from the client device; perform threat analysis on the telemetry data collected in association with the request; in response to determining to allow the request based on the threat analysis performed, transmit a decryption key to the client device, the decryption key being configured to allow the client device to decrypt the encrypted web page. The insert includes: an encrypted portion containing the encrypted web page; an unencrypted portion containing one or more link tags or other mechanisms; and stub code, which collects telemetry data when executed on the client device.
[0020] In any example of the present disclosure, with respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in a web page, the executable code, when executed by one or more processors, also causes the one or more processors to: scan the HTML code of the web page to identify one or more sub-resource tags; and generate, for each identified sub-resource tag, a link tag associated with a preload attribute.
[0021] In any example of the present disclosure, the unencrypted portion including one or more link tags or other mechanisms is configured to allow the client device to download one or more corresponding sub-resources to the cache of the client device when collecting telemetry data and performing threat analysis.
[0022] In any example of the present disclosure, when the executable code is executed by one or more processors, it further causes the one or more processors to: in response to determining that the request is denied based on the threat analysis performed, perform a mitigation action on the request.
[0023] In any example of the present disclosure, a symmetric key encryption method is used to encrypt the Web page.
[0024] A security system includes one or more secure server devices, server devices or client devices, which include a memory and one or more processors, the memory storing programming instructions, the one or more processors coupled to the memory and configured to execute the stored programming instructions to intercept a request for a web page containing a protected resource, the request being sent from a client device to a server device; generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page; encrypting the web page, thereby generating an encrypted web page; providing an insert to the client device; receiving telemetry data from the client device; performing threat analysis on the telemetry data collected in association with the request; in response to determining to allow the request based on the threat analysis performed, transmitting a decryption key to the client device, the decryption key being configured to allow the client device to decrypt the encrypted web page. The insert includes: an encrypted portion containing the encrypted web page; an unencrypted portion containing one or more link tags or other mechanisms; and stub code, which collects telemetry data when executed on the client device.
[0025] In any instance of the present disclosure, with respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in a web page, one or more processors are further configured to execute stored programming instructions to scan the HTML code of the web page to identify one or more sub-resource tags; and for each identified sub-resource tag, generate a link tag associated with a preload attribute.
[0026] In any example of the present disclosure, the unencrypted portion including one or more link tags or other mechanisms is configured to allow the client device to download one or more corresponding sub-resources to the cache of the client device when collecting telemetry data and performing threat analysis.
[0027] In any example of the present disclosure, the one or more processors are further configured to execute stored programming instructions to perform mitigation actions on the request in response to determining to deny the request based on the threat analysis performed.
[0028] In any example of the present disclosure, a symmetric key encryption method is used to encrypt the Web page.
[0029] The disclosed technology provides many advantages, including a method, non-transient computer-readable medium, device and system for implementing effective Web security by providing encrypted insert technology. By using insert technology, Web content providers can effectively ensure network security while reducing user conflicts for legitimate users. When the conflicts in the Web system are too large, negative effects may be caused, such as decreased usage and / or incomplete transactions. Compared with existing insert technology, the use of the encrypted insert technology disclosed in this article can eliminate or reduce conflicts, enabling the client device to start downloading sub-resources into its cache and downloading encrypted copies of the requested Web pages, while the system collects telemetry data and performs threat analysis on the telemetry data to determine whether to allow the client to access the requested Web page. In other words, when the threat analysis is completed and the system determines that the client device should be granted access to the Web page, the client device will have completed downloading some or all of the encrypted Web page HTML and sub-resources so that it can load and present the Web page immediately after obtaining authorization (for example, after the client device receives the decryption key). As a result, the process of collecting telemetry data, performing threat analysis, and decrypting the encrypted HTML page takes less time than a traditional website loads, and the user does not experience any additional delays when loading the web page, as would be experienced by an unprotected system. In other words, utilizing the encrypted interstitial techniques described herein can significantly reduce, if not completely eliminate, any excessive delays incurred by rendering protected resources (e.g., web pages) on client devices using a web security system, while still providing the security benefits of blocking unwanted automated traffic.
[0030] In addition, through the technical examples disclosed in the present invention, Web content providers can better protect their users and themselves from fraudsters, and these security features can also be relatively simple to provide to Web content providers, who only need to make minimal modifications to the hardware or software on their own server systems. In addition, through the technical examples disclosed in the present invention, organizations specializing in Web security can not only flexibly provide security codes and / or systems, but also continuously update security codes to respond to ever-changing security threats. Through these examples, such security organizations can also aggregate data received from many entities operating multiple domains, including telemetry data and / or analyzed telemetry data, and countermeasures generated using aggregated data are more efficient than countermeasures developed using only data from a single domain. It is easier to understand more features and advantages through the technical examples illustrated and described in this article. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The detailed description of the specific examples disclosed below will be more clearly understood when read in conjunction with the accompanying drawings. In order to illustrate the technical purpose of the present disclosure, some specific examples are shown in the accompanying drawings. However, it should be understood that the present disclosure is not limited to the precise arrangement and means of the examples shown in the accompanying drawings.
[0032] Figure 1 is a block diagram of an example security system including a secure server system.
[0033] Figure 2 The present invention is a flowchart of an example of a method for implementing Web security by using encrypted page insert technology.
[0034] Figure 3 A block diagram of another example of a security system including a security server system.
[0035] Figure 4 is a block diagram of an example computer system that may implement one or more examples of the disclosed technology. DETAILED DESCRIPTION
[0036] In the following exemplary content, many specific details are set forth for the purpose of explanation to provide a comprehensive understanding of the disclosed technology. However, it is obvious that the disclosed technology examples can be implemented without these specific details. In other cases, block diagrams of well-known structures and devices are illustrated to avoid unnecessary confusion of the disclosed technology examples.
[0037] It should also be understood that the term "or" can be both inclusive and exclusive; the term "set" can include zero, one, or two or more elements; the terms "first", "second", "some" and "particular" are used as naming conventions to distinguish different elements and do not imply the order, time or any other characteristics of the items referred to, unless otherwise expressly specified; the terms "such as", "for example", "for example" and the like describe one or more instances, but are not limited to the instances; the terms "include" and / or "comprise" specify the presence of the stated features, but do not exclude the presence or addition of one or more other features.
[0038] "Computer system" refers to one or more computers, such as one or more physical computers, virtual computers, and / or computing devices. For example, a computer system may be or may include one or more server computers, cloud-based computers, cloud-based computer clusters, virtual machine instances, or virtual machine computing elements (such as virtual processors, storage and memory, data centers, storage devices, desktop computers, laptop computers, mobile devices, or any other special computing devices). References to "computer system" herein may refer to one or more computers, unless otherwise expressly specified. When a computer system performs an action, the action is performed by one or more computers of the computer system.
[0039] "Client" (also known as "client device") refers to the combination of integrated software components and an allocation of computing resources, such as memory, computing devices, and processes on the computing devices that execute the integrated software components. The combination of software and computing resources is configured to interact with one or more servers over a network, such as the Internet. A client can refer to a combination of components on one or more computers, or it can refer to one or more computers.
[0040] "Server" (also known as "server system", "server computer system", "server device" or "server apparatus") refers to a combination of integrated software components and an allocation of computing resources, such as memory, computing devices, and processes on the computing devices that execute the integrated software components. The combination of software and computing resources provides a specific type of functionality to the server's clients. A server can refer to a combination of components on one or more computers, and can also refer to one or more computers. A server can include multiple servers; that is, a server can include a first server computing device and a second server computing device, and can provide the same or different functionality to the same or different set of clients.
[0041] The term "Website" as used herein may refer to a collection of Web pages, Web resources, and other Web content provided via the Internet. For example, a first Web site may include Web content hosted by a Web server system (such as a first server device), and a second Web site may include Web content hosted by a second Web server system (such as a second Web server device). Typically, the Web content of a Web site shares a single domain name or a set of related domain names that are owned or controlled by a common entity. A Web site may include Web page content that can be accessed via the Internet through a browser and / or Web content that can be accessed via the Internet by another client application. These applications may include Web applications executed in a browser and / or local applications installed on a client computing device (also referred to as a "client device").
[0042] General Overview
[0043] The present invention generally describes systems, methods, devices and other exemplary embodiments of web security encrypted insert technology. In response to transmitting a request for a web page containing protected resources to a server device, the insert is provided to a client device. The insert includes: an encrypted portion, which contains an encrypted copy of the web page; an unencrypted portion, which contains one or more link tags or other mechanisms corresponding to one or more sub-resources contained in the web page; and an insert code, which collects telemetry data on the client device. The telemetry data is subjected to threat analysis to determine whether the request comes from a potential attacker. While collecting telemetry data and performing threat analysis, the client device can download one or more sub-resources and the encrypted web page to its cache. Based on the threat analysis performed, it is determined whether the client device should be allowed to access the requested web page. In the case where it is determined that the client device should be allowed to access the requested web page, a decryption key is sent to the client device, which allows the client device to decrypt the previously downloaded encrypted web page so that the client device presents the web page in the insert.
[0044] Threat analysis can be tailored to specific types of potential attackers. For example, threat analysis can be configured to determine whether a request on a client computing device is initiated by a human user or automated software. In some instances, threat analysis is configured to detect whether the request constitutes part of one or more types of attacks. For example, threat analysis can detect whether the request may be used to crawl protected content. In some instances, the encrypted interstitial technology described herein is used to implement invisible challenges to protect protected resources from automated access without causing undesirable user conflicts for legitimate users.
[0045] The insert may be provided in a manner that does not require redirection in the browser application of the client computing device. For example, after using the insert to collect telemetry data through threat analysis, protected content may be written to the insert. When the protected content is written to the insert, the browsing history of the client computing device will include a single visit to the protected resource. In some instances, the web server system will also reflect a single visit from the client computing device to the protected resource.
[0046] Various exemplary techniques described herein can, for example, achieve one or more of the following advantages: Web content providers can reduce user friction for legitimate users; in particular, Web content providers can reduce the negative impact of increased user friction (e.g., reduced usage and / or incomplete transactions); Web content providers can better protect their users and themselves from fraudsters; in certain embodiments, such features can be provided to Web content providers relatively simply; in specific embodiments, Web content providers can add such features with minimal hardware or software modifications on their own server systems; organizations specializing in Web security can flexibly provide security code and / or systems while continuously updating security code to address changing security threats; such security organizations can also aggregate data received from many entities operating multiple domains, including telemetry data and / or analyzed telemetry data; countermeasures generated by such security organizations using such aggregated data are more effective than countermeasures developed using data from only a single domain; the use of encrypted inserts can further reduce user friction by reducing or eliminating delays associated with collecting telemetry data and performing threat analysis, allowing client devices to download most or all of the requested Web page content before determining that the client device is authorized to access the content, thereby enhancing the user experience. Further features and advantages will be more readily apparent from the technical examples illustrated and described herein.
[0047] System Overview
[0048] Reference Figure 1 , a block diagram of an example of a computer system 100 including an example of a secure server system 140 is shown. The computer system 100 includes at least one client computing device 102, at least one Web server system 112, and a secure server system 140, although the system may include other types and / or numbers of other systems, devices, components, and / or other elements of other configurations. The client computing device 102, the Web server system 112, and the secure server system 140 communicate via one or more networks 150. The network 150 may include one or more local area networks (LANs) and / or one or more wide area networks (such as the Internet). The network arrangements and connections between the client computing devices 102, the Web server systems 112, and the secure server systems 140 in this example and other examples may be different.
[0049] In this example, Web server system 112 hosts Web content 122 and makes Web content 122 available to client computing devices 102. For example, Web content 122 may include one or more Web pages, images, audio, video, messages, files, data, scripts, services, application content, and other content available via network 150, but may also store other types of content or other data and / or instructions. In some examples, Web content 122 includes any data, instructions, or other content provided by Web server system 112 over a network, such as in response to a request from a client computing device 102.
[0050] The secure server system 140 may implement one or more web security encrypted insert technologies as illustrated and described in the examples herein. In some examples, the secure server system 140 includes an insert code component 132, a telemetry processing component 134, a telemetry database component 138, and an insert creation component 136, but the secure server system 140 may include other types and / or quantities of components and / or other elements.
[0051] For ease of explanation, the secure server system 140 and / or its components (e.g., the plug-in code component 132, the telemetry processing component 134, the insert creation component 136, and / or the telemetry database component 138) described herein are presented as separate components. In these instances, any action performed by one or more components of the secure server system 140 or any action performed on it can be regarded as an action performed by the secure server system 140 or an action performed on it. The secure server system 140 and / or its components may be implemented as one or more subordinate or independent processes and may be implemented on one or more computers. For example, a component may be implemented as a distributed system. Alternatively and / or in addition, multiple instances of one or more components may be implemented. In addition, a component shown may be implemented in whole and / or in part in one or more programs and / or processes, and more than two components shown may be implemented in whole and / or in part in the same program and / or process.
[0052] Protected resources
[0053] The secure server system 140 can use the interleaving technique to secure the protected resources in the web content 122 hosted by the web server system 112. In some examples, when the client computing device 102 requests the protected resource, the secure server system 140 uses one or more of the encryption interleaving techniques described by way of example herein to protect the web resource referenced by a specific uniform resource locator (URL).
[0054] For example, a request for a protected resource may be initiated by a browser application 106 executing on a client computing device 102. As used herein, the term "browser application" refers to any client application that interacts with a Web server over the Internet or other network, such as by sending requests and receiving responses using HTTP or other protocols. Browser applications may include standalone browsers executing on a computing device, mobile browsers executing on a mobile computing device, local applications on a computing device (such as but not limited to a mobile computing device), in-application browsers integrated into other applications, Web crawler applications, headless browsers, other automated robots and / or other automated software, and any other software applications that interact with a Web server over the Internet or other network.
[0055] Instrumentation Code
[0056] In this example, the instrumentation code component 132 provides instrumentation code to collect telemetry data about specific signals at the client computing device 102. As used herein, the term "instrumentation code" refers to source code, bytecode, binary software, or other code executed on a computer to collect computer data. For example, the instrumentation code can be JavaScript that collects and / or otherwise generates data on the computing device 102 and sends the data (referred to as telemetry data) to a server (such as the secure server system 140).
[0057] In some examples, the instrumentation code may include instructions to send the collected telemetry data to a server, such as secure server system 140, via one or more requests or transactions. For example, the instrumentation code, when executed on the client computing device 102, may perform an XML HTTP request (XHR) to provide the telemetry data to the secure server system 140. The secure server system 140 may receive the telemetry data directly from the client computing device 102 or indirectly via one or more other computers or other systems.
[0058] In some examples, the instrumentation code component 132 provides the instrumentation code to the client computing device 102 when the client computing device 102 interacts with the Web server system 112. For example, when the client computing device 102 requests Web content 122 (such as, but not limited to, protected content) from the Web server system 112, the instrumentation code component 132 can provide the instrumentation code for execution at the client computing device 102.
[0059] In some examples, the secure server system 140 provides instrumentation code to collect telemetry data during one or more specific interaction types. For example, when the client computing device 102 requests to log in to the Web server system 112, the instrumentation code component 132 can provide the instrumentation code to the client computing device 102.
[0060] The plug-in code may be provided in different formats. For example, the plug-in code may include JavaScript code and / or other web code executed in a browser or other JavaScript engine at the client computing device 102. In some instances, the plug-in code may include bytecode, such as JavaScript bytecode.
[0061] In some instances, the plug-in code component 132 provides different plug-in codes in different situations. For example, the plug-in code component 132 can provide different plug-in codes to clients of different Web server systems. In some instances, the plug-in code component 132 provides different plug-in codes for different client computing devices. For example, when the client computing devices run different browsers, operating systems, or other software (including different versions thereof), or when the secure server system 140 determines that one or more client computing devices incur different amounts or types of security risks, different plug-in codes can be provided.
[0062] Telemetry data
[0063] The telemetry processing component 134 can receive and process telemetry data collected at the client computing device 102. In some examples, the telemetry processing component 134 maintains a telemetry data set that includes telemetry data collected for multiple interactions between the client computing device 102 and the web server system 112. For example, the telemetry processing component 134 can store the telemetry data set in a telemetry database component 138 that can be accessed by other components of the secure server system 140 to implement the encryption interleaving technique, but the telemetry data can also be stored in other locations.
[0064] The instrumentation code may collect telemetry data at the client computing device 102. As used herein, the term "signal" refers to an object used to convey telemetry data, such as specific attributes and / or aspects of the computing environment at one or more client computing devices 102, one or more operating states of the client computing device 102, one or more operations performed at the client computing device 102, and user interactions at the client computing device 102, although other types of signals and / or other attributes and / or aspects at the client computing device 102 may also be collected. As used herein, the term "signal value" refers to a signal value (e.g., a specific type of data) detected by the instrumentation code at the client computing device 102. For example, a signal may be an IP address, and the signal value collected at the client computing device 102 is the IP address of the client computing device 102 (e.g., 123.456.78.9). Other signals may include network properties, operating system properties, browser properties, installed software properties, display size, other hardware properties, device configuration properties, information about executing web code or other web content, information about processing web content, information about human or software interaction with web content, information about user input at client computing device 102, and other signals that may be collected when instrumentation code is executed at client computing device 102. In some examples, different numbers of signals may be collected for different transactions.
[0065] Threat Analysis
[0066] In this instance, a threat analysis may be performed on the telemetry data to determine whether the request is from a potential attacker. Based on the threat analysis results, an interstitial cookie may be set at the client computing device 102, thereby allowing future requests without performing a threat analysis. A valid interstitial cookie at the client computing device 102 may allow subsequent requests from the client computing device 102 to be processed without collecting additional telemetry data associated with the subsequent requests and / or without performing a threat analysis on the additional telemetry data. For example, a request may be automatically forwarded to the exemplary web server system 112 without using an interstitial to collect telemetry data. Additionally, in some instances, subsequent responses (with interstitials) and requests (telemetry data) may contain sufficient information about the original client request for the server to fully reconstruct the original client request, thereby providing transparency.
[0067] In this example, the threat analysis can be customized for a specific type of potential attacker. For example, the threat analysis can be configured to determine whether a request on the client computing device 102 is initiated by a human user or automated software. In some examples, the threat analysis is configured to detect whether the request constitutes part of one or more types of attacks. For example, the threat analysis can detect whether the request may be used to crawl protected content. In some examples, the encrypted interstitial technology described herein is used to implement invisible challenges to protect protected resources from automated access without causing undesirable user conflicts for legitimate users.
[0068] Threat analysis can evaluate telemetry data collected on one or more signals. For example, threat analysis can determine whether an IP address is associated with a higher security risk, such as a blacklisted Autonomous System Number (ASN) associated with automated browser activity. In some instances, threat analysis can be configured to detect traffic generated by automated software so that requests generated by automated software do not pass threat analysis.
[0069] Encrypted Insert
[0070] The insert page creation component 136 can create an insert page in response to receiving a web page request sent from the client computing device 102 to the web server system 112 and provide it to the client computing device 102. The insert page creation component 136 can obtain a Hypertext Markup Language (HTML) document representing the requested web page from the web server system 112, and generate an insert page based on the obtained HTML, the insert page including an encrypted part that the client computing device 102 can download but cannot read, an unencrypted part that the client computing device 102 can download and read, and an insert code that the client computing device 102 can download and execute to collect telemetry data.
[0071] The encrypted portion of the insert may include an encrypted copy of the HTML code representing the requested Web page. In some instances, the insert creation component may employ symmetric key encryption to encrypt the HTML copy of the requested Web site received from the Web server system 112. Those skilled in the art will appreciate that the encrypted Web page may then be decrypted by a device having a copy of the encryption key used to encrypt the Web page.
[0072] The unencrypted portion of the insert may include one or more link tags or other mechanisms generated by the insert creation component 136. Link tags may be generated by scanning the acquired HTML code of the requested Web page, identifying one or more sub-resource links present in the acquired HTML. Those skilled in the art will appreciate that the HTML code of a Web page typically contains links to sub-resources, which are resources (e.g., images, videos, style sheets, JavaScript, etc.) that can be obtained from other storage locations. According to some embodiments, sub-resources may be hosted by one or more third parties and may consist of information that does not require protection. For example, a Web site owned by an airline provides valuable information such as flight availability, time, location, and price, and may wish to prevent Web crawlers from automatically obtaining this valuable commercial information, but may not intend to protect other elements in the Web page that may be provided as sub-resource links within the HTML code, such as general aircraft or airport images, flight safety videos, local weather information provided by third parties, etc. Thus, the insert creation component 136 may search the HTML code of the web page to identify links to sub-resources, and generate a link tag for each identified sub-resource by copying each link to the sub-resource to an unencrypted portion of the insert and associating each copied link with a preload attribute (e.g., rel="preload"). It will be appreciated by those skilled in the art that when the client computing device 102 reads the preload attribute, it will cause the client computing device 102 to automatically begin loading or downloading the linked content. Thus, when the insert is provided to the client computing device 102, the client computing device 102 will read the link tag, which will cause the client computing device 102 to automatically begin downloading the linked resource to the cache of the client computing device 102. While the link tag is described as a mechanism for causing the client computing device 102 to automatically load or download a sub-resource linked in the HTML code of a requested web page, it will be appreciated that in other instances, other mechanisms known in the art may be used to perform this function, such as a link HTTP response header or other such mechanism to reference one or more sub-resources contained in a web page. Thus, while some examples describe that the unencrypted portion of the insert includes a link tag, in other examples, the unencrypted portion of the insert may include a link HTTP response header. More generally, the unencrypted portion of the insert may include any type of link element that provides a link to a sub-resource and causes the client computing device 102 to automatically begin downloading and caching the linked sub-resource.
[0073] Example Method
[0074] Reference Figure 2, showing a flow chart of an example method for implementing Web security using encrypted page insert technology. In this example, method 200 can be performed by one or more computing devices and / or their processes. For example, one or more steps of method 200 can be performed by a computer system, such as but not limited to computer system 400. In some examples, one or more steps of method 200 are performed by a secure server system, which may include one or more defense server systems, supporting server systems, and / or analysis server systems. Method 200 will be described with respect to secure server system 140, but is not limited to such execution, and can be used in conjunction with other types of secure server systems.
[0075] In step 202, the secure server system 140 intercepts (or otherwise receives) a request for a web page containing a protected resource. The request may be a request sent from a client computing device (e.g., client computing device 102, also referred to as a "client device") to a web server system (e.g., web server system 112, also referred to as a "server device"). In some instances, the request is a GET request to obtain web content (e.g., web content 122) from the web server system 112. The web content may contain one or more protected resources, but other types of content may also be requested. In some instances, the secure server system 140 may intercept the request before it reaches the web server system 112. For example, the secure server system 140 may act as a reverse proxy server for the web server system and intercept the request. In some instances, the web server system 112 may receive the request and forward it to the secure server system 140, and wait for instructions from the secure server system 140 before responding to the request.
[0076] At step 204, the secure server system 140 may generate one or more link tags or other mechanisms for one or more corresponding sub-resources contained in the web page. A link tag is a feature of the Hypertext Markup Language (HTML) that can provide a link to a sub-resource and can be used to access and download the sub-resource. A link tag may have an associated preload attribute that, when read by a device, causes the device to automatically begin downloading the linked sub-resource into its cache.
[0077] In some examples, the secure server system 140 may generate one or more link tags or other mechanisms by scanning the HTML code of the requested web page to identify one or more sub-resource tags and generating a link tag associated with the preload attribute for each identified sub-resource tag. The secure server system 140 may access the HTML code of the requested web page on the web server system 112 and / or receive a copy of the HTML code of the requested web page and scan the received HTML code to find the link tags.
[0078] In step 206, the secure server system 140 may generate an encrypted web page by encrypting the web page. In some examples, the secure server system 140 may encrypt the web page (ie, the HTML copy of the requested web page) using symmetric key encryption.
[0079] At step 208, the secure server system 140 may provide an insert to the client computing device. The insert includes an encrypted portion, an unencrypted portion, and an insert code that collects telemetry data when executed on the requesting client computing device 102. The encrypted portion of the insert includes an encrypted web page. The unencrypted portion of the insert includes one or more link tags or other mechanisms.
[0080] The unencrypted portion including one or more link tags or other mechanisms may be configured to allow the client computing device 102 to download one or more corresponding sub-resources into a cache of the client computing device 102 while collecting telemetry data and performing threat analysis. Thus, the client computing device 102 may begin downloading sub-resources based on the provided link tags and the encrypted copy of the web page (i.e., an encrypted copy of the HTML code representing the web page) while the instrumented code is executed to collect telemetry data and the secure server system 140 operates to make threat determinations.
[0081] At step 210 , the secure server system 140 receives telemetry data from the requesting client computing device 102 .
[0082] At step 212, the secure server system 140 performs threat analysis on the telemetry data collected in association with the request. For example, the threat analysis may be configured to detect traffic generated by automated software ("bots") so that requests generated by automated software do not pass the threat analysis.
[0083] At step 214, in this example, the secure server system 140 transmits a decryption key to the client computing device 102 in response to determining that the request is allowed based on the threat analysis performed. The decryption key is configured to allow the client computing device 102 to decrypt the encrypted web page. Therefore, after receiving the decryption key, the client computing device 102 can quickly decrypt the previously downloaded encrypted copy of the HTML code of the requested web page and render the web page. It should be understood by those skilled in the art that before the secure server system 140 determines that the client computing device 102 is allowed to access the requested content, the client computing device 102 has already begun and may have completed the process of downloading the sub-resources and the encrypted copy of the HTML, so when the secure server system 140 makes this determination and authorizes the client computing device 102 to access the web page, the client computing device 102 is able to render the web page very quickly because the client computing device 102 has pre-downloaded most or all of the necessary data required to load the web page.
[0084] In some examples, method 200 may also include, in response to determining that the request is denied (or should be denied) based on the threat analysis performed, performing a mitigation action on the request. For example, secure server system 140 may deny client computing device 102 access to the requested web page and / or add client computing device 102 to a blacklist.
[0085] Example system architecture
[0086] A secure server system (eg, secure server system 140 ) may include one or more server systems that provide instrumentation code to a client computing device (eg, client computing device 102 ) that, when executed on the client computing device, processes telemetry data received from the client computing device.
[0087] Reference Figure 3 , a block diagram of an example computer system including a secure server system 340 is shown. In this example, the secure server system 340 implements interstitial technology to protect one or more Web server systems 312-314 when one or more client computing devices 302 interact with Web content hosted by the Web server systems 312-314. In some examples, such as Figure 1 The secure server system 140 shown and described in the example can be structurally and operationally similar to Figure 3 The same as the secure server system 340 in.
[0088] The secure server system 340 may include one or more defense server systems 332-334. In this example, the defense server systems 332-334 are associated with one or more Web server systems 312-314. The defense server systems 332-334 may perform actions related to transactions and / or other interactions between the client computing device 302 and the associated Web server systems 312-314. The defense server system 332 associated with a particular Web server system 312 may perform one or more actions during an interaction between the client computing device 302 and the particular Web server system 312.
[0089] For example, when a client computing device 302 interacts with a particular web server system 312 associated with a particular defense server system 332, the defense server system 332 provides instrumentation code to the client computing device 302, and the corresponding instrumentation code, when executed on the client computing device 302, processes telemetry data collected from the client computing device 302. The defense server system 332 can store telemetry data corresponding to the interaction in a telemetry database component 338 of the secure server system 340. The data stored in the telemetry database component 338 can be used by the entire secure server system 340. For example, another defense server system 334 can use the telemetry database component 338 collected based on the interaction with one web server system 312 to protect a second web server system 314.
[0090] The defense server systems 332-334 can be located in different network configurations relative to the client computing device 302 and the associated Web server systems 312-314. For example, the defense server systems 332-334 can be deployed in an in-line configuration, an out-of-band configuration, or other configurations that allow the defense server systems 332-334 to perform actions related to transactions and / or other interactions occurring between the client computing device 302 and one or more Web server systems 312-314.
[0091] In the online configuration, the defense server system 332-334 can act as a reverse proxy server for the associated Web server system 312-314 by intercepting one or more communications between the client computing device 302 and the associated Web server system 312-314. As a reverse proxy server, the defense server system 332-334 retrieves resources, such as Web content, on behalf of the client computing device 302 of the associated Web server system 312-314. For the client computing device 302, these resources seem to originate from the associated Web server system 312-314. The defense server system 332-334 can be deployed locally on the Web server system 312-314 or deployed for the Web server system 312-314 via the Internet, such as deployed in a cloud computing system managed by a security company and / or deployed in a computer system operated by a security company. For example, the defense server system 332-334 can intercept messages sent to the client computing device 302 and add plug-in code for execution at the client computing device 302. As another example, the defense server systems 332-334 may intercept requests to the associated Web server systems 312-314, including collecting telemetry data from the client computing device 302, processing the telemetry data, and forwarding the requests to the associated Web server systems 312-314.
[0092] In an out-of-band configuration, defense server systems 332-334 can participate in transactions and / or other interactions without intercepting communications between client computing devices 302 and associated web server systems 312-314. For example, web server systems 312-314 can obtain instrumentation code from corresponding defense server systems 332-334, provide the instrumentation code to client computing devices 302, receive telemetry data generated at client computing devices 302, and / or provide telemetry data received from client computing devices 302 to corresponding defense server systems 332-334.
[0093] Implementing safety measures
[0094] In some instances, the secure server system 340 is operated by a security company or other entity that provides Web security services. One or more Web server systems 312-314 may be operated by a security service customer or an entity that provides security services by a security company. The secure server system 340 may protect the Web server systems 312-314 of the security service customer from attacks, such as attacks from malicious automated software executed on one or more client computing devices 302.
[0095] In some examples, the defense server systems 332-334 can analyze transactions and / or other interactions between the client computing device 302 and the associated web server systems 312-314 to detect and mitigate attacks on the associated web server systems 312-314. For example, the defense server systems 332-334 can collect and evaluate telemetry data corresponding to a transaction to determine whether the transaction involves an attack, such as whether the client computing device 302 participating in the transaction is controlled by automated malware. The defense server systems 332-334 can analyze the telemetry data of the interaction to prevent attacks in real time, such as by blocking, redirecting, or marking communications corresponding to the interaction.
[0096] When analyzing telemetry data to provide security services, defense server systems 332-334 can store telemetry data in telemetry database component 338. Telemetry data stored in telemetry database component 338 (including any telemetry data collected to implement security services) can be used to implement encryption interleaving techniques. In some examples, telemetry data stored in telemetry database component 338 (including any telemetry data collected to implement encryption interleaving techniques) can be used for security analysis, such as security analysis performed by security analysis server system 338.
[0097] The security server system 340 may include a security analysis server system 338 that evaluates telemetry data collected at the client computing device 302 to detect signatures or other properties of transactions initiated by malware executing on the client computing device 302. The security analysis server system 338 may use the telemetry data sets to learn about new attacks and / or deploy new countermeasures for real-time attack detection and prevention. For example, the security analysis server system 338 may update the defense server systems 332-334 with the new countermeasures so that the defense server systems 332-334 may use the new security countermeasures to process transactions between the associated web server systems 312-314 and the client computing device 302 in real time.
[0098] Set interstitial cookies at other times
[0099] In some instances, an insert cookie is set in the client browser application 106 based on telemetry data collected at another point in time. For example, the defense server systems 332-334 can add or otherwise integrate insert code to web content provided by the associated web server systems 312-314 (such as for other security purposes). For example, the defense server systems 332-334 can provide insert code for one or more specific transaction types, such as login transactions, other authentication transactions, purchase transactions, financial transactions, data submissions, account creation, and / or other transaction types.
[0100] In some instances, instrumentation code provided for other security purposes can collect a more comprehensive set of telemetry data. For example, the defense server systems 332-334 can add instrumentation code to a login page. When the user is expected to enter their credentials on the login page, the instrumentation code can be executed in the background to collect a more comprehensive set of telemetry data. When the user submits a login request, the telemetry data collected by the instrumentation code can be submitted along with the login request so that the telemetry data can be used to evaluate and / or protect the login request.
[0101] In some instances, the secure server system 340 may perform threat analysis on the telemetry data collected in the background for other security purposes. Based on the threat analysis, the secure server system 340 may determine whether to set an interstitial cookie on the client computing device 302 for use later when the client computing device 302 requests a protected resource, but this approach may be applicable to other types of content requested.
[0102] Implementation Mechanisms—Hardware Overview
[0103] According to a certain example, the technology described herein is implemented by one or more special-purpose computing devices. Special-purpose computing devices can be hard-wired to perform one or more technologies described herein, including technology combinations. Alternatively and / or in addition, one or more special-purpose computing devices may include digital electronic devices, such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs), which are programmed for a long time to perform the disclosed technology. Alternatively and / or in addition, one or more special-purpose computing devices may include one or more general-purpose hardware processors, which are programmed to perform the technology described herein according to program instructions in firmware, memory, other memories, or combinations. Such special-purpose computing devices may also combine customized hard-wired logic, ASICs, or FPGAs with customized programming to implement the above-mentioned technology. Special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices, and / or any other devices that use hard-wired or program logic to implement the disclosed technology.
[0104] Reference Figure 4 , a block diagram of a computer system that can implement the disclosed technology is shown by way of example. The computer system 400 may include a bus 402 or other communication mechanism for communicating information and one or more hardware processors 404 coupled to the bus 402 for processing information (such as basic computer instructions and data). The hardware processor 404 may include, for example, one or more general-purpose microprocessors, graphics processing units (GPUs), coprocessors, central processing units (CPUs), and / or other hardware processing units.
[0105] The computer system 400 may also include one or more main memory 406 units coupled to the bus 402, such as random access memory (RAM) or other dynamic storage for storing information and instructions to be executed by the processor 404. The main memory 406 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by the processor 404. These instructions, when stored in a non-transitory storage medium accessible to the processor 404, transform the computer system 400 into a special-purpose machine customized to perform the operations specified in the instructions. In some examples, the main memory 406 may include dynamic random access memory (DRAM) (including but not limited to double data rate synchronous dynamic random access memory (DDR-SDRAM), thyristor random access memory (T-RAM), zero capacitor (Z-RAM) and other memory elements. TM )) and / or non-volatile random access memory (NVRAM).
[0106] The computer system 400 may also include one or more read-only memory (ROM) 408 units or other static storage coupled to the bus 402 for storing information and instructions for the processor 404 that are either always static or static during normal operation but reprogrammable. For example, the ROM 408 may store firmware for the computer system 400. The ROM 408 may include a mask ROM (MROM) or other hardwired ROM that stores purely static information, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), other hardware memory chips or cartridges, or any other read-only memory unit.
[0107] One or more storage devices 410 (e.g., magnetic or optical disks) are provided and coupled to bus 402 for storing information and / or instructions. Storage device 410 may include non-volatile storage media such as read-only memory, optical disks (such as, but not limited to, compact disks (CDs), digital video disks (DVDs), Blu-ray disks (BDs)), magnetic disks, other magnetic media (e.g., floppy disks and tapes), solid-state drives, flash memory, optical disks, one or more forms of non-volatile random access memory (NVRAM), and / or other non-volatile storage media.
[0108] Computer system 400 may be coupled to one or more input / output (I / O) devices 412 via bus 402. For example, I / O devices 412 may include one or more displays for displaying information to a computer user, such as a cathode ray tube (CRT) display, a liquid crystal display (LCD), a light emitting diode (LED) display, a projector, and / or any other type of display.
[0109] The I / O device 412 may also include one or more input devices, such as an alphanumeric keyboard and / or any other keyboard device. The one or more input devices may also include one or more cursor control devices, such as a mouse, a trackball, a touch input device, or a cursor direction key, for conveying direction information and command selection to the processor 404 and for controlling the movement of a cursor on other I / O devices (e.g., a display). The input device typically has degrees of freedom in two or more axes (e.g., a first axis x, a second axis y, and optional one or more additional axes z, etc.), thereby allowing the device to specify a position in a plane. In some instances, the one or more I / O devices 412 may include a device with a combined I / O function, such as a touch display.
[0110] Other I / O devices 412 may include a fingerprint reader, a scanner, an infrared (IR) device, an imaging device (such as a camera or video recording device), a microphone, a speaker, an ambient light sensor, a pressure sensor, an accelerometer, a gyroscope, a magnetometer, other motion sensor, or any other device capable of communicating signals, commands, and / or other information with processor 404 via bus 402.
[0111] The computer system 400 may implement the techniques described herein using custom hardwired logic, one or more ASICs or FPGAs, firmware or program logic in combination with a computer system object or program to make the computer system 400 a special purpose machine. According to one example, the disclosed techniques are performed by the computer system 400 in response to the processor 404 executing one or more sequences of one or more instructions contained in the main memory 406. These instructions may be read into the main memory 406 from other storage media (such as one or more storage devices 410). Executing the sequences of instructions contained in the main memory 406 causes the processor 404 to perform the method steps described herein. In alternative examples, hardwired circuits may be used in place of or in combination with software instructions.
[0112] The computer system 400 may also include one or more communication interfaces 402 coupled to the bus 402. The communication interface 418 provides two-way data communication via one or more physical or wireless network links 420 connected to a local area network 422 and / or a wide area network (WAN) (such as the Internet). For example, the communication interface 418 may include an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing a data communication connection with a corresponding type of telephone line. Alternatively and / or in addition, the communication interface 418 may include one or more of the following: a local area network (LAN) device that provides a data communication connection with a compatible local area network 422; a wireless local area network (WLAN) device that sends / receives wireless signals (such as electrical signals, electromagnetic signals, optical signals, or other wireless signals representing various types of information) to / from a compatible LAN; a wireless wide area network (WWAN) device that sends / receives such signals by accessing a wide area network (WAN, such as the Internet 428) through a cellular network; and other networking devices that establish communication channels between the computer system 400 and one or more LANs 422 and / or WANs.
[0113] Typically, network link 420 provides data communication to other data devices through one or more networks. For example, network link 420 can provide connection to one or more host computers 424 or data devices operated by Internet service provider (ISP) 426 through one or more local area networks 422 (LAN). ISP 426 in turn provides connection to one or more wide area networks 428 (such as the Internet). LAN 422 and WAN 428 both use electrical, electromagnetic, or optical signals that carry digital data streams. The signals through the various networks, the signals on network link 420, and the signals through communication interface 418 are all example forms of transmission media or transient media.
[0114] The term "storage medium" as used herein refers to any non-transient medium that stores data and / or instructions that cause a machine to operate in a specific manner. Such storage media may include volatile media and / or non-volatile media. Storage media are distinct from transmission media but may be used in conjunction with transmission media. Transmission media participate in the transmission of information between storage media. For example, transmission media include coaxial cables, copper wires, and optical fibers, including traces and / or other physical conductive components that make up bus 402. Transmission media may also take the form of acoustic or optical waves, such as those generated during radio wave and infrared data communications.
[0115] Various forms of media may be involved in carrying one or more sequences of one or more instructions to the processor 432 for execution. For example, the instructions may initially be carried on a disk or solid state drive of a remote computer. The remote computer can load the instructions into its main memory 406 and send the instructions over a telecommunications line using a modem. A modem local to the computer system 400 can receive the data on the telephone line and convert the data into an infrared signal using an infrared transmitter. An infrared detector can receive the data carried in the infrared signal, and appropriate circuitry can place the data on the bus 402. The bus 402 transfers the data to the main memory 406, from which the processor 404 retrieves and executes the instructions. Optionally, the instructions received by the main memory 406 can be stored on the storage device 410 before or after execution by the processor 404.
[0116] Computer system 400 may send messages and receive data, including program code, through the network, network link 420, and communication interface 418. In the Internet example, one or more servers 430 may transmit signals corresponding to data or instructions requested by an application program executed by computer system 400 through Internet 428, ISP 426, local area network 422, and communication interface 418. The received signals may include instructions and / or information executed and / or processed by processor 404. Processor 404 may execute and / or process the instructions and / or information by accessing main memory 406 when the signal is received, or execute and / or process the instructions and / or information at a later time by storing and then accessing the instructions and / or information from storage device 410.
[0117] Other aspects of the present disclosure
[0118] In the above description, examples of the present invention have been described in many specific details that may vary depending on the implementation. Therefore, the description and drawings should be regarded as illustrative rather than restrictive. The only exclusive indicator of the scope of protection of the present invention and the scope of protection of the present invention intended by the applicant is the literal equivalent scope of the set of claims in the present application in their specific form, including any subsequent corrections.
Claims
1. A method for using an encrypted insert implemented by a secure server system, comprising: intercepting a request for a web page containing a protected resource, wherein the request is sent from a client device to a server device; Generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the Web page; Encrypting the web page to generate an encrypted web page; Providing an insert page to the client device, the insert page comprising: The encrypted part includes the encrypted web page; an unencrypted portion comprising the one or more link tags or other mechanisms; and instrumented code that collects telemetry data when executed on the client device; receiving the telemetry data from the client device; performing threat analysis on telemetry data collected in association with the request; and In response to determining that the request is allowed based on the performed threat analysis, a decryption key is transmitted to the client device, wherein the decryption key is configured to allow the client device to decrypt the encrypted Web page.
2. The method according to claim 1, wherein: Generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page includes: Scanning the HTML code of the Web page to identify one or more sub-resource tags; and For each identified subresource tag, a link tag associated with a preload attribute is generated.
3. The method according to claim 2, wherein: The unencrypted portion including the one or more link tags or other mechanisms is configured to allow the client device to download the one or more corresponding sub-resources to a cache of the client device when collecting the telemetry data and performing the threat analysis.
4. The method according to claim 1, further comprising: In response to determining to deny the request based on the performed threat analysis, a mitigation action is performed with respect to the request.
5. The method according to claim 1, wherein: The web page is encrypted using a symmetric key encryption method.
6. A security server device, comprising: A memory storing programming instructions; as well as one or more processors coupled to the memory and configured to execute stored programming instructions to: intercepting a request for a web page containing a protected resource, wherein the request is sent from a client device to a server device; Generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the Web page; Encrypting the web page to generate an encrypted web page; Providing an insert page to the client device, the insert page comprising: The encrypted part includes the encrypted web page; an unencrypted portion comprising the one or more link tags or other mechanisms; and instrumented code that collects telemetry data when executed on the client device; receiving the telemetry data from the client device; performing threat analysis on telemetry data collected in association with the request; and In response to determining that the request is allowed based on the performed threat analysis, a decryption key is transmitted to the client device, wherein the decryption key is configured to allow the client device to decrypt the encrypted Web page.
7. The device according to claim 6, wherein: With respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page, the one or more processors are further configured to execute the stored programming instructions to: Scanning the HTML code of the Web page to identify one or more sub-resource tags; and For each identified subresource tag, a link tag associated with a preload attribute is generated.
8. The device according to claim 7, wherein: The unencrypted portion including the one or more link tags or other mechanisms is configured to allow the client device to download the one or more corresponding sub-resources to a cache of the client device when collecting the telemetry data and performing the threat analysis.
9. The device according to claim 6, wherein: The one or more processors are further configured to execute stored programming instructions to: In response to determining to deny the request based on the performed threat analysis, a mitigation action is performed with respect to the request.
10. The device according to claim 6, wherein: The web page is encrypted using a symmetric key encryption method.
11. A non-transitory computer readable medium storing instructions comprising executable code, which when executed by one or more processors causes the one or more processors to: Intercept requests for web pages containing protected resources, where: The request is sent from the client device to the server device; Generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the Web page; Encrypting the web page to generate an encrypted web page; Providing an insert page to the client device, the insert page comprising: The encrypted part includes the encrypted web page; an unencrypted portion comprising the one or more link tags or other mechanisms; and instrumented code that collects telemetry data when executed on the client device; receiving the telemetry data from the client device; performing threat analysis on telemetry data collected in association with the request; and In response to determining that the request is allowed based on the performed threat analysis, a decryption key is transmitted to the client device, wherein the decryption key is configured to allow the client device to decrypt the encrypted Web page.
12. The device according to claim 11, wherein With respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page, the executable code, when executed by the one or more processors, further causes the one or more processors to: Scanning the HTML code of the Web page to identify one or more sub-resource tags; and For each identified subresource tag, a link tag associated with a preload attribute is generated.
13. The non-transitory computer-readable storage medium of claim 12, wherein: The unencrypted portion including the one or more link tags or other mechanisms is configured to allow the client device to download the one or more corresponding sub-resources to a cache of the client device when collecting the telemetry data and performing the threat analysis.
14. The non-transitory computer-readable storage medium of claim 11, wherein: The executable code, when executed by the one or more processors, further causes the one or more processors to: In response to determining to deny the request based on the performed threat analysis, a mitigation action is performed with respect to the request.
15. The non-transitory computer-readable storage medium of claim 11, wherein: The web page is encrypted using a symmetric key encryption method.
16. A security system comprising one or more secure server devices, server equipment or client equipment, comprising a memory having programming instructions stored therein and one or more processors coupled to the memory and configured to execute the stored programming instructions to: Intercept requests for web pages containing protected resources, where: The request is sent from the client device to the server device; Generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the Web page; Encrypting the web page to generate an encrypted web page; Providing an insert page to the client device, the insert page comprising: The encrypted part includes the encrypted web page; an unencrypted portion comprising the one or more link tags or other mechanisms; and instrumented code that collects telemetry data when executed on the client device; receiving the telemetry data from the client device; performing threat analysis on telemetry data collected in association with the request; and In response to determining that the request is allowed based on the performed threat analysis, a decryption key is transmitted to the client device, wherein the decryption key is configured to allow the client device to decrypt the encrypted Web page.
17. The system of claim 16, wherein: With respect to generating one or more link tags or other mechanisms to reference one or more corresponding sub-resources contained in the web page, the one or more processors are further configured to execute the stored programming instructions to: Scanning the HTML code of the Web page to identify one or more sub-resource tags; and For each identified subresource tag, a link tag associated with a preload attribute is generated.
18. The system of claim 17, wherein: The unencrypted portion including the one or more link tags or other mechanisms is configured to allow the client device to download the one or more corresponding sub-resources to a cache of the client device when collecting the telemetry data and performing the threat analysis.
19. The system of claim 16, wherein: The one or more processors are further configured to execute stored programming instructions to: In response to determining to deny the request based on the performed threat analysis, a mitigation action is performed with respect to the request.
20. The system of claim 16, wherein: The web page is encrypted using a symmetric key encryption method.
