User interface for web server risk awareness
By analyzing the characteristics and risk assessment of web servers, potential threats are identified and alerted to users, solving the problem that users have difficulty identifying web server risks, improving access security, incentivizing operators to maintain security, and reducing overall risk.
Patent Information
- Application Number
- CN202180037926.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-26
- Filing Date
- 2021-05-06
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-05-06
AI Technical Summary
In existing technologies, web servers are vulnerable to malicious attacks, users have difficulty identifying access risks, poorly maintained web servers increase the security risks of client devices, and web server operators lack the motivation to maintain them.
By analyzing the information provided by the web server, utilizing vulnerability data storage and risk assessment systems, we can identify the characteristics and potential risks of the web server, alert users to the risks and take protective measures, and share risk information to improve security.
It improves users' ability to identify access risks, incentivizes web server operators to perform more frequent maintenance, reduces security risks on client devices, and reduces the overhead of repetitive analysis.
Smart Images

Figure CN115917541B_ABST
Abstract
Description
Background Technology
[0001] Malicious website attacks on consumers and businesses are becoming increasingly common. According to a 2017 report, some organizations experienced cybercrime costs related to malware, web-based attacks, phishing, social engineering attacks, and stolen devices. Additionally, some organizations experienced costs related to denial-of-service attacks, malicious insider attacks, and malicious code. In some cases, these costs result from reputable web servers being infected with malware or other malicious code. Web server infections can be caused by poor web server maintenance, such as running relatively old versions of software with known vulnerabilities. Infections can also be due to the use of specific software languages, frameworks, or libraries that are inherently less secure due to their basic design. Therefore, it is necessary to improve methods to reduce the risks associated with accessing web servers. Attached Figure Description
[0002] Figure 1 This is an overview diagram of a system that implements one or more of the disclosed embodiments.
[0003] Figure 2 yes Figure 1 An extended view of the system.
[0004] Figure 3A This is a block diagram illustrating an extended example structure.
[0005] Figure 3B Example data structures included in vulnerable data storage are shown in at least some embodiments.
[0006] Figure 3C Example data structures included in vulnerable data storage are shown in at least some embodiments.
[0007] Figure 4A An example user interface implemented in one or more of the disclosed embodiments is shown.
[0008] Figure 4B An example user interface implemented in one or more of the disclosed embodiments is shown.
[0009] Figure 5 This is a diagram showing an example portion of a network message, such as regarding... Figure 1 Any one or more network messages discussed.
[0010] Figure 6 Example data structures implemented in one or more of the disclosed embodiments are shown.
[0011] Figure 7 This is a flowchart of a method used to determine the risks of accessing a website.
[0012] Figure 8 This is a flowchart of an example method for determining risk scores.
[0013] Figure 9 This is a block diagram of an example machine on which any one or more of the techniques (e.g., methods) discussed in this article can be executed. Detailed Implementation
[0014] What is disclosed are embodiments for determining the risks associated with accessing resources over a network. Accessing resources over a network is typically accomplished using the Hypertext Transfer Protocol (HTTP). HTTP provides an interface based on Representational State Transfer (REST). This interface defines a method for a client device to establish a connection with a second device over a network. In some embodiments, the second device is a server, or commonly referred to as a web server. The connection is established based on communication parameters specified by a Uniform Resource Locator (URL). Once the connection is established, the client device requests a resource from the second device by name. The second device then responds via one or more network messages, which include information about the requested resource.
[0015] By receiving and manipulating data provided by a second device, several risks are imposed on the client device. For example, data received from the second device may include malicious code, which, once executed by the client device, can control the client device and perform actions detrimental to it. For instance, if the client device is compromised based on the data it receives from the second device, resources accessible to the client device (such as confidential documents or other information) may be compromised and / or destroyed. Furthermore, compromised websites can be used to host phishing attacks, impersonate legitimate services, or infect legitimate services with malware. These infections can steal sensitive customer information, such as, but not limited to, usernames, passwords, banking and credit card information, or critical identity information.
[0016] Therefore, in order to ensure a secure environment, not only should the client devices use good security practices, but the second devices that receive data from the client devices should also follow industry-standard security guidelines.
[0017] Unfortunately, many web servers or other devices that provide resources over the internet are poorly maintained or at least contain one or more vulnerabilities, making them more susceptible to compromise by malicious actors. This exposes client devices accessing these resources to undue risks. Furthermore, users accessing web servers are not necessarily aware that this risk is imposed upon them by using their client devices to access these resources. Because users are not necessarily aware of these risks, they may be more likely to access these resources and less cautious in choosing different web servers if they cannot distinguish the risks associated with each option. Moreover, if the risks to users from poorly maintained web servers are not apparent, web server providers have no incentive to provide proper maintenance and mitigate these risks. Therefore, the current state of technology presents a technical problem: the diligence in maintaining web servers introduces a degree of risk to users, which the users, or in some cases the organizations maintaining the web servers themselves, are unaware of.
[0018] The disclosed embodiments provide methods and systems for detecting these risks, then alerting users to these risks, and / or taking action to prevent such risks from being imposed. By detecting risks and alerting users, the disclosed embodiments provide technical solutions to the aforementioned technical problems. In particular, the disclosed embodiments operate at least in part by analyzing information provided by a second device to a client device. By providing information to the client device, the second device indicates one or more characteristics of itself, including its software configuration, security practices, and other information related to determining the risks associated with accessing the second device. Some embodiments provide a database of vulnerabilities discovered on a web server. Parties responsible for maintaining these web servers may subscribe to this data (e.g., via a portal application) or subscribe to push notifications (e.g., email, text messages) when problems are discovered on their websites.
[0019] In some embodiments, the characteristics of the second device include, for example, the type of web server software being used by the web server, the type of web application providing data via the web server, the type of interpreted language used by the web server (e.g., PHP, Perl, Python, Ruby, Go, Node, ASP, etc.), the frameworks and / or libraries used by the web server, or other characteristics. Some embodiments employ a signature-based approach to identify specific web server software, web application types and / or versions, frameworks, or libraries. For example, some web applications can be identified based on the patterns of URLs retrieved by the web application. Some disclosed embodiments employ client extensions of web browsers to monitor these URL retrievals and compare the monitored URL retrievals with known URL retrieval patterns stored in a data storage. If the detected retrieval matches a known web application's retrieval pattern, then some disclosed embodiments conclude that the web server is running that known web application. In some cases, URL retrieval patterns can be used not only to identify a specific type of web application but also a specific version of the web application, because different versions of the same web application often differ in their URL retrieval patterns. Similar distinctions can sometimes be made when detecting the frameworks or libraries used by the web server.
[0020] Once the characteristics of a specific web application, web server, library, framework, scripting language, and other web server features are known, each of these features can be mapped to an associated risk level. For example, some embodiments maintain a vulnerability data store that provides a mapping from specific types or versions of web server software, web applications, frameworks, libraries, and other features to risk levels.
[0021] These risk scores are then aggregated into an overall assessment of the risks associated with interaction with the second computer.
[0022] The disclosed embodiments then determine the actions to be taken based on risk assessments, according to security policies. In at least some embodiments, no specific action is taken if the risk is relatively low. Under certain security policies, a moderate risk outcome is displaying a warning to the user before facilitating further interaction with the second device. If the user acknowledges the risk and still wishes to continue, a dialog box is provided allowing such input. In cases of specific severe risk, at least some security policies can completely block access, regardless of whether any user wishes to continue.
[0023] Therefore, by reminding users of the risks associated with accessing web servers, the disclosed embodiments provide a technical solution to the technical problems discussed above. Because users are more aware of the risks associated with web servers, they are better able to make different choices about which web servers they access and which they should avoid. This may result in a reduced risk level for users compared to today's solutions. Furthermore, by making these risks more apparent to users, web server operators are also given additional incentives to maintain their web servers more diligently. For example, without feedback from the user community, web server operators might allow their web server software to age without recent updates, but if the user community is frequently warned of the risks associated with their relatively old web server software, they may decide to upgrade the software more quickly. This improved level of maintenance reduces the general risk imposed on the community.
[0024] Furthermore, some embodiments share network service risk information via a web server risk data storage system. Client devices that analyze communications with the web server and determine its risk score store information related to the analysis in a data storage system accessible to other client devices. In these embodiments, before connecting to the web server, these other client devices first check to determine if a risk analysis has already been performed on the web server, and if so, determine the result of that analysis. These other client devices are then informed of the risks of connecting to a particular web server without necessarily needing to connect or exchange any data with it. This improves the security of these devices and reduces the processing overhead associated with developing the web server's risk score.
[0025] Figure 1This is an overview diagram of a system 100 implementing one or more of the disclosed embodiments. The system 100 includes a client device 102a, a client device 102b, and a web server computer 104. Client device 102a and web server computer 104 communicate via network messages 106a-d over network 108. For example, in some embodiments, client device 102a requests data from web server computer 104 via Hypertext Transfer Protocol (HTTP). Web server computer 104 then provides a response to client device 102a (e.g., via network messages 106c-d). Note that while the term "client device" is used in this disclosure to refer to a device accessing a web server, this term is not intended to limit the consideration of a client device to a specific type of device, such as a mobile phone, laptop, or other conventional client device. Rather, in the context of this application, the term "client device" is used to describe the relationship between a "client" device and a web server computer (such as web server computer 104). For example, by becoming a client device relative to a web server, a client device requests data from a web server. For example, in an embodiment facilitating communication between a client device and a web server via the Hypertext Transfer Protocol (HTTP), the client device requests data via an HTTP "fetch" request, and the web server responds to the HTTP "fetch" request with an HTTP response message. Other methods for transferring data via HTTP (e.g., "Post") are also contemplated in the disclosed embodiments.
[0026] The disclosed embodiments determine a risk assessment of the web server computer 104 based on network messages 106a-d exchanged between the client device 102a and the web server computer 104. In some embodiments, the client device 102a also relies on vulnerability information included in the vulnerability data store 120. For example, in some embodiments, the vulnerability data store 120 defines a mapping between specific attributes or types of web servers, web applications, HTTP header field values, and other indications provided by the web server computer 104, and the relative risk associated with accessing a computer that includes these attributes or types. In some exemplary embodiments, the vulnerability data store 120 indicates that versions of the Apache web server prior to version 2.2 include specific vulnerabilities that pose a particular risk to client devices accessing these Apache versions. Based on this information, the client device 102a scores the web server computer 104 in some embodiments to indicate the level of risk associated with accessing it.
[0027] Although Figure 1The vulnerability data storage 120 is remotely located from client devices 102a and 102b, but in some embodiments, at least a portion of the vulnerability data storage 120 is downloaded (e.g., periodically) to reside locally on client devices 102a and / or 102b.
[0028] In some embodiments, a risk assessment determined based on the interaction between client device 102a and web server computer 104 is prospectively applied to the exchange of messages 106-f between client device 102b and web server computer 104. For example, if client device 102a determines that web server computer 104 represents a Level 1 risk, then client device 102a writes information related to its determination to the vulnerability data store 120. In these embodiments, prior to connecting to web server computer 104, client device 102b, based on the information written to the vulnerability data store 120 by client device 102a, in some embodiments, determines whether to exchange data with web server computer 104 based on the assessed Level 1 risk and the security policy in effect at client device 102b.
[0029] Some embodiments further implement web server risk data storage. In these embodiments, web server risk data storage 122 stores the results of analysis of data provided by web server computer 104 by client devices 102a and / or 102b. For example, when it is determined that web server computer 104 represents a specific risk level, client device 102a stores this information, along with information identifying web server computer 104, in web server risk data storage 122. In some embodiments, web server risk data storage 122 is a cloud-based data storage system accessible to client device 102a via the Internet. In some other embodiments, web server risk data storage 122 is implemented as a backend database accessible to a specific group of client devices.
[0030] In these embodiments, before connecting to a specific web server computer, such as web server computer 104, a client device (e.g., client device 102a and / or client device 102b) queries the web server risk data storage 122 to determine whether the risk of accessing the web server is already known. Then, in some embodiments, this information is used to warn / notify the user of potential risks and / or block access to the web server if required by the user's security policy.
[0031] Figure 2 yes Figure 1 An extended view of System 100. (e.g.) Figure 1As shown, system 100 includes client device 102a and web server computer 104. Figure 2 The client device includes a browser application 202. The browser application 202 communicates with a web application 204 running on the web server computer 104. In at least some embodiments, the browser application 202 communicates with the web application 204 via the HTTP protocol. The browser application 202 can be any application, but in various embodiments, it is a Microsoft application. Browser Browser Computer company produced A browser, or any other commercial browser. Client device 102a also includes extension 206. Extension 206 integrates with browser application 202. In some embodiments, browser application 202 provides an application programming interface (API) 207 that facilitates integration between browser application 202 and extension 206. Via API 207, in some embodiments, the extension intercepts communication between browser application 202 and web application 204. This interception allows for decoding and analysis of the web application and other components of web server computer 104. In some embodiments, one or more functions attributable to extension 206 in this disclosure are performed by browser application 202 instead.
[0032] In some embodiments, extension 206 derives one or more characteristics of the web server application 208 running on web server computer 104. For example, in some embodiments, an HTTP response message (e.g., 106c) includes an indicator of the type and / or version of web server application 208. Several components of web server computer 104 work together to generate network messages that are provided back to client device 102a. For example, in some embodiments, some messages are initially generated by web application 204. For example, in some embodiments, web application 204 generates a response message to a request message received from browser application 202. Web application 204 passes this message to web server application 208. Web server application 208 then sends the message over network 108 to client device 102a via network protocols.
[0033] In some embodiments, extension 206 also determines one or more characteristics of the operating system 210 running on the web server computer 104. For example, in various embodiments, extension 206 determines the type of the operating system (e.g., the publisher of the operating system, such as...). or The name of the operating system (such as "Windows" or "Linux"), or the version of the operating system. In some embodiments, extension 206 determines the type of interpreted language used by web application 204 by analyzing one or more network messages 106a-d. For example, in some embodiments, the extension determines whether web application 204 is implemented using PHP, C#, or ASP / .NET, Java, Phyton, Ruby, or other interpreted languages.
[0034] In some embodiments, extension 206 derives information relating to one or more plugins, themes, or extensions used by web application 204. For example, as discussed further below, at least some of the disclosed embodiments employ one or more of a URL sequence-based signature, a Document Object Model (DOM) object identifier signature, or a content signature to identify the plugins, themes, or extensions used by web application 204.
[0035] In some embodiments, extension 206 analyzes one or more network messages 106a-d to determine any client-executable frameworks referenced by network messages for execution on client device 102a. For example, some network messages reference client-side JavaScript frameworks or libraries that, when the webpage defined by the network message is displayed or otherwise rendered, cause the execution of said framework / library on client device 102a. Some embodiments analyze the one or more network messages to identify code injection or insertion.
[0036] Then, extension 206 determines the relative risk level associated with web server computer 104. Extension 206 can map the information obtained from network messages 106a-d to one or more risk levels based on information included in vulnerability data storage 120.
[0037] As described above, in some embodiments, extension 206 assesses the risk of accessing web server computer 104 by analyzing data received from web server computer 104. In some embodiments, client device 102a and / or extension 206 queries web server risk data storage 122 before communicating with web server computer 104. For example, another client device (e.g., client device 102b or other client devices) may have previously interacted with web server computer 104 and performed a risk assessment. This other client device also writes or transmits its analysis results to web server risk data storage 122 in some embodiments, which facilitates sharing this information with other client devices (e.g., client devices 102a and / or 102b). This allows these client devices to obtain a risk assessment even before attempting to access web server computer 104, improving the security of the client devices by potentially preventing any access to the risky web server computer. By sharing risk information among multiple client devices, the overhead imposed on the client computers is also reduced, because if a security analysis of the web server computer has been performed previously (and in some embodiments, recently), it is not necessarily required for each client computer to repeat that analysis.
[0038] If client device 102a and / or extension 206 cannot locate the risk information of a specific web server computer 104 (e.g., via the following information about...) Figure 6 If the URL and / or address information discussed is used, then the client device 102a analyzes the network messages as described above to determine the risks associated with the web server computer 104 itself. After determining the risks, then, in at least some embodiments, the information is written to the web server risk data storage 122 so that the information can be used by other client computers as described above.
[0039] After client device 102a determines a risk associated with web server computer 104 (e.g., by analyzing data exchanged with web server computer 104, or by obtaining risk information from web server risk data storage 122), as discussed further below, client device 102a takes action based on security policies applied to client device 102a and / or computer accounts that have operating sessions on client device 102a.
[0040] Figure 3A This is a block diagram showing an extended example architecture. In some embodiments, architecture 300 is based on the above description... Figure 2 The discussion extends to implementation 206. Figure 3AThe background.js file 302 is shown, which includes a method registered as a central notification point for page loads within the browser application 202. For example, in some embodiments, this method is registered via API 207. The code within the background.js file 302 includes notification methods that are invoked when the browser application 202 loads one or more new pages defined by network messages 106a-d. One or more methods defined by the background.js file call one or more other code modules 308a-g to parse one or more different portions of the HTTP response message included in network message 106c.
[0041] In some embodiments, methods defined by the background.js module determine a web server's risk score and its compatibility with security policies. In some embodiments, the risk score is based on information provided by one or more modules 308a-g. For example, in some embodiments, one or more modules 308a-g are invoked by methods included in background.js. In some embodiments, if a method included in background.js detects a specific type of HTTP header, the corresponding module included in modules 308a-g is invoked to parse it and return a score to the method in background.js. Once the HTTP response is parsed, the code included in background.js generates a security score for the website, at least in part, based on one or more scores returned from modules 308a-g.
[0042] In response to a security score meeting one or more criteria, a method defined by the background.js module displays a window defined by a method included in the popup.js module (304). This method generates an HTML file (306), which can be used in browser applications (such as those mentioned above). Figure 2 The browser application being discussed (202) is displayed below. Figure 4A Let's discuss a sample window.
[0043] Figure 3B Example data structures included in the vulnerability data store 120 in at least some embodiments are shown. While the example data structures are discussed below as relational database structures, those skilled in the art will understand that the disclosed embodiments are not limited to using relational database structures and that various other data structure architectures may be utilized. For example, unstructured data storage or conventional memory data structures such as arrays, linked lists, trees, or other data structures may be used in some disclosed embodiments.
[0044] Figure 3BThe URL signature table 351, the Document Object Model (DOM) signature table 361, the URL sequence table 371, the DOM sequence table 381, and the content signature table 391 are displayed.
[0045] URL signature table 351 includes a URL signature ID field 354, a URL sequence identifier field 356, a web server computer component type field 358, and a web server computer component ID field 359. The URL signature ID field 354 uniquely identifies the signature of a web server component. The URL sequence identifier field 356 determines the URL sequence used by the signature. The web server computer component type field 358 determines the type of web server computer component identified by the signature. For example, the web server computer component type field 358 indicates whether the signature (identified by the URL signature ID field 354) identifies a web application, a specific version of a web application, a framework used by the web server computer, a library used by the web server computer, an interpreted language used by the web server computer, an HTTP web server type used by the web server computer, or another web server computer component type. The web server computer component ID field 359 determines the specific type of the web server computer component. For example, if field 358 indicates that the signature identifies the scripting language type used by the web server computer, then the web server computer component ID field 359 indicates that the scripting language is PHP, Node, Go, Ruby, Perl, Python, or another web server scripting or interpreted language type.
[0046] DOM signature table 361 includes a DOM signature ID field 362, a DOM sequence identifier field 364, a web server computer component type field 366, and a web server computer component identifier field 368. The DOM signature ID field 362 uniquely identifies a DOM signature. The DOM sequence identifier field 364 uniquely identifies the DOM sequence described by DOM sequence table 381, which will be discussed below. The web server computer component type field 366 operates similarly to the web server computer component type field 358, but identifies the component type determined by the DOM signature (which itself is identified by field 362). The web server computer component identifier field 368 operates similarly to field 359 discussed above, but identifies the component identified by the DOM signature (identified by field 362).
[0047] URL sequence table 371 includes a URL sequence identifier field 372, a URL field 374, an order field 376, a rank field 378, and a delay field 379. The URL sequence identifier field 372 uniquely identifies the URL sequence (e.g., via a unique number). The URL field defines the URLs included in the URL sequence. The order field 376 indicates the order in which the URL (defined by field 374) appears in the sequence relative to other URLs in the sequence. The rank field 378 determines the nesting level of the URL (defined by field 374). Thus, for example, if the URL is referenced by content identified by a second URL, and the second URL is referenced at the top level or first level, then the rank field 378 would indicate the rank of the second (2). The delay field 379 indicates a typical time period between obtaining or retrieving the URL specified by the URL field 374 and the preceding URL in the order specified by field 376. Some embodiments match not only the order of the retrieved URLs but also the time delay between these retrievals to obtain a “fingerprint” of a particular web server computer component.
[0048] The DOM sequence table 381 includes a DOM sequence identifier field 382, an xpath pattern field 384, and a sequence field 386. The DOM sequence identifier field 382 uniquely identifies the DOM xpath pattern sequence. The xpath pattern field 384 defines a pattern (e.g., defining one or more element types and attributes of said elements, and / or the types and / or attributes of one or more element parent or ancestor elements) that matches the xpath information included in the DOM sequence (identified by field 382). The sequence field 386 determines the order in which the DOM xpath patterns appear in the sequence, relative to other DOM xpath patterns included in it.
[0049] Content signature table 391 includes a content signature identifier field 392, a regular expression (REG EX) field 393, a web server computer component type field 394, and a web server computer component id field 395. The content signature identifier field 392 uniquely identifies a content-based signature. The regular expression field 393 defines a regular expression that is evaluated against the content to determine if the content matches the signature. The web server computer component type field 394 operates similarly to fields 358 and / or 366 discussed above, but refers to the component type identified by the content signature. The web server computer component id field 395 operates similarly to fields 359 and 368 discussed above, except that it identifies the web server component identified by the content signature.
[0050] Risk scoring table 396 includes a web server computer component type field 397, a web server component identifier field 398, and a risk field 399. Risk scoring table 396 associates a specific risk value with a specific web server computer component and versions of those components. For example, in some embodiments, risk scoring table 396 defines a Level 1 risk associated with a first version of a particular web application and a Level 2 risk associated with a second version of that particular web application. The web server computer component type field 397 and the web server component identifier field work individually or in combination to identify a specific web server computer component. Risk field 399 determines the risk level associated with the identified component.
[0051] Figure 3C Additional example data structures included in the vulnerability data store 120 are shown, at least in some embodiments. Figure 3B Similarly, although the example data structures are discussed below as relational database structures, those skilled in the art will understand that the disclosed embodiments are not limited to using relational database structures and various other data structure architectures can be utilized. For example, unstructured data storage, or traditional memory data structures such as arrays and links.
[0052] Figure 3C JavaScript object table 421 and main signature table 431 are displayed. JavaScript object table 421 includes a JavaScript object signature id field 422, an expression field 423, a component id field 424, and a component regular expression field 425. The object signature id field 422 uniquely identifies the signature defined by a row in the JavaScript object table. The expression field 423 defines the expression (e.g., in JavaScript code form) to be injected into the page. When the page is executed, the injected code operates and returns a value to the disclosed embodiment for evaluation. In some embodiments, the injected code determines whether a particular framework, library, or plugin exists in a web message or a page provided by a web server computer. The component id field 424 identifies a component of the web server computer that exists if the expression field 423 evaluates to true. The component version regular expression field 425 defines a regular expression that can extract the version number of the identified component (identified via field 424).
[0053] The main signature table 431 includes the main signature id field 432, the search signature id field 434, the parent signature id field 435, the component type field 436, the component identifier field 437, the component name field 438, and the component version field 439.
[0054] The primary signature ID field 432 uniquely identifies the primary signature. The search signature ID field 434 defines a list of one or more signatures that must all match for the primary signature to identify a component or component property. The parent signature ID field 435 determines the parent signature of this signature. Embodiments using the primary signature table 431 can implement data-driven conditional logic via multi-level signatures. In these embodiments, if a parent signature matches, then the child signatures of the parent signature are evaluated to determine if they match. If their parent signature does not evaluate to true, the child signatures are not evaluated. The component type field 436 defines a component type that identifies the component type if the primary signature matches. In some embodiments, one or more parent signatures do not identify the component via the component type field 436. Instead, these one or more parent signatures rely on child signatures to uniquely identify the component. This is also the case for the component identifier, name, and version identified by each of the component identifier field 437, component name field 438, and component version field 439, respectively.
[0055] Figure 4A An example user interface implemented in one or more of the disclosed embodiments is shown. The example user interface 400 is displayed via a browser application. Figure 4A The error code is displayed as 402. Figure 4A The browser application 402 is equivalent to at least in some embodiments the same as Figure 2 The browser application 202. The user interface 400 includes a window 404. This window lists one or more (in this case, two) security indicators 406a and 406b for a website requested by the browser application 402. For example, when the browser application 402 requests access to the website, in at least some embodiments, it references the website in response to receiving input defining a Uniform Resource Locator (URL). Window 404 also includes a risk score indicator 408 for the website. In at least some embodiments, the risk score indicator 408 is based on the number of security indicators displayed in window 404.
[0056] Figure 4B An example user interface implemented in one or more of the disclosed embodiments is shown. Figure 4B User interface 450 displays an address suggestion box 454, which provides suggestions for URLs when the user types in the address bar 456. Address suggestion box 454 includes suggestions, displayed as suggestion 460A, suggestion 460B, and suggestion 460C. Associated with some of the displayed suggestions are risk indicators. For example, user interface 450 displays risk indicators 462A, 462B, and 462C. Each risk indicator 462A-C corresponds to one of suggestions 460A-C. Some embodiments retrieve risk data from a web server's risk data store (e.g., as mentioned above). Figure 1 and Figure 2The web server risk data store 122 discussed obtains risk information from recommendations 460A-C displayed in the address suggestion box 454. From this obtained risk information, some disclosed embodiments display risk indicators associated with a particular recommendation, as shown in the user interface 450. For example, recommendations associated with relatively high risk are marked with an indicator, such as a stop sign, indicating that accessing the recommended website is not recommended. (Some embodiments do not display such recommendations at all). Recommendations associated with moderate risk may display an indicator consistent with this moderate risk, such as a warning sign as shown in risk indicator 462A. The disclosed embodiments are not limited to... Figure 4B The examples show specific risk indicators. Embodiments utilizing web server risk data storage (e.g., web server risk data storage 122 discussed above) can display security risk indicators, such as any risk indicator 462A-C, without necessarily accessing the website itself (e.g., connecting to and / or downloading any data from the website). These embodiments can also provide advice to users before they actually request information from the website. In some embodiments, the above regarding... Figure 2 As discussed, risk indicators 462A-C are displayed via extension 206.
[0057] Figure 5 This is a diagram showing an example portion of a network message, such as any one or more network messages 106a-d discussed above. Example message portion 500 includes an HTTP Strict Transport Security (HSTS) header 502, a Content Security Policy (CSP) header 504, a Cross-Origin Resource Sharing (CORS) header 506, a Set Cache File (cookie) header 508, an X-Frame-Options header 510, an X-XSS Protection header 512, an X Content Type Options header 514, a Server header 516, an X-Powered-By header 518, and an X-AspNet Version header 520. The HSTS header 502 indicates whether the web server providing message portion 500 only supports connections using HTTPS. In some embodiments, the HSTS header 502 includes one or more additional fields indicating whether the maximum connection age includes subdomains and preloading. Some embodiments provide a minimum allowed time period of 6 months for the maximum connection age indication. In at least some embodiments, one or more of these indications are considered when determining the intermediate risk score assigned to the HSTS header 502. If a web server does not utilize HTTP Strict Transport Security (marked via the HTTP Strict Transport Security (HSTS) header), it cannot prevent attackers from carrying out man-in-the-middle attacks, as these attacks can intercept HTTP requests.
[0058] A CSP header 504 indicates whether content can only be loaded within a policy. If a content security policy is enabled, cross-site scripting (XSS) and HTML injection attacks are prevented. A CSP header 504 provides a URL whitelisting capability. Some evidence suggests that 84% of security vulnerabilities are exploited via cross-site scripting. In some embodiments, if the CSP header 504 is set to "default-src 'self'", it indicates that content is only loaded from the current domain.
[0059] The Cross-Origin Resource Sharing (CORS) header 506 indicates whether third-party access to a given resource is permitted. CORS header 506 provides an exclusion from the same-origin policy in the Document Object Model (DOM) and the Global JavaScript Object. In some embodiments, settings in CORS header 506 restrict the ability of other web servers or websites to access content on different pages.
[0060] Setting the 508 cache header defines how to protect cache files. The 508 cache header defines two attributes. If the "Secure" attribute is set, cache files are only allowed to be transmitted via HTTPS. The "HTTP Only" attribute prevents JavaScript from accessing cache file data. Cache files with high security implications (such as session cache files) should have both the "Secure" and "HTTP Only" attributes set.
[0061] The X-Frame Options Header 510 defines whether loading iFrames is allowed. Disallowing iFrame loading prevents "Clickjacking" attempts. Clickjacking occurs when a malicious application loads a target application into an invisible iFrame, typically hidden beneath a legitimate control such as a button or other interactive surface. The malicious application captures the selection of the legitimate control and forwards it to the iFrame. This can lead to users performing potentially unwanted actions on the affected website (e.g., unintentionally following / liking / or subscribing). Loading hidden iFrames can also be maliciously abused to artificially increase traffic to web pages / videos / ads or to launch DDoS attacks against embedded websites. Therefore, some embodiments determine the risk score of a web server based on the information provided in the X-Frame Options Header 510.
[0062] The X-Frame Options Header 510 includes three attributes. The DENY attribute defines whether a website can be loaded into any iFrame. The Same Origin attribute defines whether a page can be loaded into an iFrame if the iFrame's site domain is the same as the page's site domain. The ALLOW-FROM attribute defines whether a page can be loaded into an iFrame from a specified site's Uniform Resource Identifier (URI).
[0063] The X-XSS protection header 512 defines the operating mode. When the value of header 512 is 0, the cross-site scripting filter is disabled (e.g., cross-site scripting is allowed). When the value of header 512 is 1, the filter is enabled, indicating that the browser should remove JavaScript and other runtime scripts from the page. When the value is two (2), the page rendering is blocked if a cross-site scripting attack is detected.
[0064] The X-Content-Type-Options header 514 defines two attributes. If the Content-Layout attribute is set, the browser is forced to prompt the user before downloading the file. The X-Download-Options attribute, if set, forces the file to be saved locally before opening. The X-Content-Type-Options header provides some protection against MIME sniffing. MIME sniffing vulnerabilities arise when a website allows users to upload content. The ability to upload content can be abused by malicious users. For example, a malicious user could disguise a specific file type as another. This provides an opportunity to execute cross-site scripts, which could compromise the website. The X-Content-Type-Options prevent these types of attacks by disabling MIME sniffing functionality in popular browser applications. This requires the browser to use the MIME type sent via the origin server.
[0065] Server header 516 provides information about the server hosting the website (e.g., web server computer 104). Providing this information could potentially expose the website to hackers, as information about the server could be used to exploit known vulnerabilities in specific types of servers. In some publicly disclosed embodiments, including a detailed description of the server hosting the website in server header 516 increases the risk assessment of the web server. Furthermore, the risk assessment is adjusted based on version information included in server header 516. For example, if server header 516 indicates that the server version includes known vulnerabilities, this increases the relative risk at least in some embodiments. Server headers indicating the latest version information reflecting a version without known vulnerabilities provide a relative reduction in the relative risk of accessing the web server.
[0066] The X-Powered-By header 518 indicates the web framework used by the website and a version of that framework. Information included in the X-Powered-By header 518 provides information that a malicious actor might use to exploit one or more known vulnerabilities in the indicated framework / version.
[0067] X-AspNet Version Header 520 indicates whether the ASP.NET framework is serving the website. This information can be used by malicious actors to exploit any known vulnerabilities in the framework / version identified by X-AspNet Version Header 520.
[0068] The Encryption Information section 521 includes the Transport Layer Security (TLS) / Secure Sockets Layer (SSL) header 522. Once a connection is established, the encryption standard being used can be obtained from the data stream. The TLS / SSL header 522 indicates which version of TLS is being used. Possible values include 1.0, 1.1, 1.2, or 1.3, etc. Each version comes with a different level of cryptographic vulnerability.
[0069] Certificate signature information 525 includes various information about the certificate used by the website. In some embodiments, a client device (e.g., client device 102a) requests the certificate from the server computer. Then, in at least some embodiments, the certificate signature information 525 is derived by the client device based on the retrieved certificate. In some embodiments, a browser extension (e.g., Figure 2 Extension 206) issues a certificate request and obtains a certificate from the web server.
[0070] Certificate feature information includes validity period information 526, issuing certificate authority information 528, IS Extended Validation Certificate information 530, subject organization information 532, issuer information 534, and subject geographic information 536. Validity period information 526 indicates the expiration date of a site certificate. Expired or soon-to-expire certificates are indicators of website management and maintenance status. In some embodiments, this information is considered when determining the risk score of a website server.
[0071] The certificate issuing authority information 528 refers to the entity that issues the certificate. Some entities have a better reputation than others. Some disclosed embodiments determine a website's risk score based at least in part on the entity that issues its certificate.
[0072] Extended verification certificates indicate whether the legal entity controlling a website has been verified by a certificate authority. This verification increases trust in the legal entity controlling the website. Some implementations consider this information when determining a website's risk score.
[0073] The main organization information 532 can be compared with the indications of the organization managing the website. If the two organizations match, some embodiments use this match to determine a reduction in the website's risk. If the two organizations do not match, some embodiments generate a risk score indicating a relative increase in risk due to the lack of a match.
[0074] The issuing authority information (534) indicates the Certificate Authority that issued the certificate. Some Certificate Authorities (CAs) thoroughly vet their clients, while others have less sophisticated processes. Some publicly available implementations adjust a website's risk score based on the information published.
[0075] The subject location information 536 indicates the location of the certificate. Fraudulent activities occur at relatively high rates in some areas. Therefore, some publicly available embodiments adjust a website's risk score based on the subject location information 536.
[0076] Figure 6 Example data structures implemented in one or more of the disclosed embodiments are shown. Although Figure 6 The data structures described and discussed are as relational database tables, but the disclosed embodiments utilize any data structures known in the art. For example, various embodiments utilize unstructured data storage, linked lists, arrays, or any other data structures to implement the features discussed herein.
[0077] Figure 6 Examples of account table 602, group table 612, policy table 622, group policy table 632, account policy table 642, web server risk table 672, and web server characteristic table 682 are shown. Account table 602 includes an account identifier field 604, an account name field 606, and an account permissions field 608. The account identifier field 604 uniquely identifies a specific computer account, such as an account logged in on a client device, such as client device 102a or client device 102b. The account name field 606 defines the name of the account. In at least some embodiments, the name defined by the account name field 606 is specified when logging into the account to establish a session under that account. The account permissions field 608 defines the access level or permissions granted to the session logged into the account. The fields shown in account table 602 are merely examples, and implementations satisfying the disclosed embodiments may include more fields, which are not provided as examples here.
[0078] Group table 612 includes a group identifier field 614 and an account identifier field 616. The group identifier field 614 uniquely identifies the group. The account identifier field 616 indicates that the identified account is included in the group identified by the group identifier field 614. A group that includes multiple accounts will have multiple "rows" in group table 612, each "row" identifying a different account included in that group.
[0079] Policy table 622 includes a policy identifier field 624, a command field 626, a criterion field 628, and an action field 630. The policy identifier field 624 uniquely identifies the security policy. The sequence field 626 determines the order in which multiple "rows" of the same policy in policy table 622 will be evaluated. The criterion field 628 defines one or more criteria associated with the policy (as determined by the policy identifier field 624). The one or more criteria defined by the criterion field 628 can be related to the aforementioned... Figure 5 The following specifies conditions for any one or more headings or information. Figure 7The discussion further specifies the conditions for the risk score determined by method 700, including one or more criteria defined by criterion field 628. Additionally, in at least some embodiments, one or more criteria defined by criterion field 628 also specify one or more conditions for the type of server operating system (e.g., name and / or version), the type of HTTP server application (e.g., name and / or version), the type of web application (e.g., name and / or version), the type of interpreted language implementing the web application (e.g., name and / or version), the type of plugins / themes and / or extensions used by the web application (e.g., name and / or version of each), and the type of client-side frameworks / libraries used (e.g., name and / or version of each framework and / or library). Action field 630 defines the action to be taken when a criterion defined by criterion field 628 is evaluated as true. Action field 630 may define actions such as unconditionally blocking access to the web server, generating a prompt indicating the risk score and requesting input on whether to continue or stop access to the web server, or other actions.
[0080] Group policy table 632 includes a policy identifier field 634 and a group identifier field 636. The policy identifier field 634 uniquely identifies a specific policy, for example, via a cross-reference with policy identifier field 624. The group identifier field 636 identifies the group to which the policy (identified via policy identifier field 634) applies. Some embodiments consult group policy table 632 after consulting account policy table 642 (if no account-specific policy is found).
[0081] Account policy table 642 includes a policy identifier field 644 and an account identifier field 646. The policy identifier field 644 uniquely identifies a policy, for example, by cross-referencing it with the policy identifier field 624. The account identifier field 646 identifies the account to which the identified policy (e.g., via the policy identifier field 644) is applied. In some embodiments, the account identifier field 646 may be cross-referenced with the account identifier field 604.
[0082] Web server risk table 672 includes a URL field 674, a risk score field 676, and a date / time field 678. The URL field 674 identifies a URL. This URL includes address information identifying the web server. For example, in various embodiments, the URL may identify the web server via an IP address or hostname. The risk score field 676 defines a risk score previously determined by a client computer. As described above, in some embodiments, after a client device determines the risk score of a web server computer (e.g., web server computer 104), the client device writes the determined risk score to a web server risk data store (e.g., web server risk data store 122) and shares this information with other client computers as needed. Some embodiments of the web server risk data store include web server risk table 672, or a similar data structure. Web server risk table 672 also includes a date / time field 678 indicating the date / time when the risk score field 676 was last updated. In at least some embodiments, the client computer evaluates the up-to-dateness of any information stored in web server risk table 672 and then decides whether to rely on it to assess web server risk, or, after exchanging some data with the web server, generates a new risk score itself as described above.
[0083] Web server characteristic table 682 includes a URL field 684, a characteristic ID field 686, a value field 688, and a date / time field 690. The URL field 684 defines the URL that identifies the web server, for example, via address information such as an IP address or hostname discussed above. The characteristic ID field 686 identifies a specific characteristic of the web server that is related to the security of the web server and / or determining the risk score of the web server. The value field 688 defines the value of the specific characteristic identified by the characteristic ID field 686. The date / time field 690 defines the date the characteristic value was last updated. In some embodiments, web server characteristic table 682 is included in the web server risk data storage 122 discussed above.
[0084] Figure 7 This is a flowchart illustrating methods used to determine the risks of accessing a website. The website is hosted by a web server computer, as described above. Figure 1 and Figure 2 The web server computer 104 is being discussed.
[0085] In some embodiments, the following about Figure 7One or more functions discussed are performed by a hardware processing circuitry system (e.g., processor 902, discussed below). In some embodiments, instructions (e.g., instruction 924 discussed below) stored in electronic memory (e.g., 904 and / or 906 discussed below) configure the hardware processing circuitry system to perform one or more functions discussed below. In some embodiments, the following... Figure 7 One or more functions discussed are provided by a client device (e.g., client device 102a or client device 102b), and / or by extensions (e.g., as described below). Figure 2 (Extension of discussion 206) Execution. The device for executing method 700 is referred to in some cases below as the "execution device".
[0086] After initiating operation 702, method 700 moves to operation 704, which receives a network message. As described above, in some embodiments, the network message is a message transmitted by a web server computer and received by a client device (e.g., client device 102a or client device 102b). In some embodiments, the network message is an HTTP response message. Therefore, in some embodiments, operation 704 includes generating and transmitting an HTTP request message that requests one or more resources included in the network message from the web server computer. Alternatively, the network message may be an error message indicating that the resource is unavailable or other error conditions.
[0087] Note that in some embodiments, the performance of operation 704 is conditioned on whether existing risk assessments for the web server computer are already available. For example, as described above, some embodiments check the web server risk data store (e.g., web server risk data store 122) to determine whether a risk assessment has been performed for the web server. Therefore, in these embodiments, upon receiving input requesting data from the web server (e.g., entering a URL in the browser's address window), some embodiments query the web server risk data store to determine if a recent risk assessment is available (e.g., querying the web server risk table 672, and if the web server is identified via the URL field 674, checking the date / time field 678 to confirm that the risk assessment is sufficiently recent (e.g., within a predetermined threshold time). In embodiments that determine the web server's recent risk information, method 700 moves to operation 710, discussed below, and avoids performing operations 704, 706, and 708.
[0088] In some embodiments of operation 704, HTTP requests are intercepted. For example, in some embodiments, an extension (e.g., extension 206) is configured via an API (e.g., API 207) to intercept HTTP requests generated by a browser application (e.g., browser application 202) or another application performing network communication. Based on the intercepted HTTP request, operation 704 detects cached file information included in the HTTP request. In some embodiments, operation 704 evaluates whether the cached file information represents a security flag, an http_only flag, a session flag, or a same-site flag.
[0089] In operation 706, the network message is parsed or otherwise decoded to determine one or more of the following: the type of HTTP server application indicated by the network message, the type of web application indicated by the network message, and the type of interpreted language indicated by the network message. The type of the HTTP server application represents the HTTP server application that transmitted the received network message. In some embodiments, this type identifies the name of the HTTP server application (e.g., Apache, Internet Information Server (IIS), Sun Java System Web Server, Nginx, Google Web Server (GWS), etc.) and / or the version of the HTTP server application (e.g., 1.0, 1.3, etc.). The type of the interpreted language represents the language used to implement the web server. For example, in some embodiments, the type of the interpreted language identifies that the interpreted language is PHP, C#, Ruby, Python, etc. The type of the web application identifies the web application that generated the network message. For example, the type of the web application identifies, for example, the type of the interpreted language mentioned above. Figure 2 The web application discussed has a 204 error. The type of web application may include the name of the web application and / or the version of the web application. Figure 8 An embodiment of operation 706 is provided. Generally, the disclosed embodiments rely on parsing individual HTTP headers and / or signature-based matching of content provided by web server computer components to identify specific web server computer components, such as HTTP servers, web applications, scripting or interpreted languages, frameworks, libraries, and other properties of the web server. As described above, some embodiments maintain one or more signature types, such as a master signature (e.g., defined by master signature table 431 in some example embodiments), a URL sequence signature (e.g., defined by URL signature table 351 in some examples embodiments), a DOM signature (e.g., defined by DOM signature table 361 in some example embodiments), a content-based signature (e.g., defined by content signature table 391 in some example embodiments), or a JavaScript object signature (e.g., defined by JavaScript object table 421 in some example embodiments).
[0090] In some embodiments, JavaScript object table 421 defines JavaScript expressions injected into documents retrieved from a web server computer (e.g., defined by one or more network messages received from the web server computer). When the injected JavaScript expression is executed, it queries one or more properties or parameters of its runtime environment and feeds this information back to the disclosed embodiments. For example, in some embodiments, the injected JavaScript determines the existence of a framework or library, and / or the version of the framework or library (if it exists).
[0091] If these one or more signatures match content obtained from a web server computer via one or more network messages, they identify the specific component used by the web server computer. As described above regarding the main signature table 431, some signatures implement conditional logic by being structured into multiple levels. In these embodiments, the multi-level signatures are first evaluated at their root signature (e.g., in some embodiments, the root signature is set via the parent signature field 435 to a predefined value representing the root, such as zero (0)). If the root signature evaluates to true, then any child signatures are evaluated. If any child signature evaluates to true, then their child signatures are also evaluated. This process is repeated until a signature evaluates to false, or a signature without child signatures evaluates to true. Such signatures define the component, as well as any properties of the component further identified by the signature. In some cases, the parent signature determines a broader category of components (such as a specific frame type), while the child signatures determine a specific version of the determined component (such as version 2.1 of a specific frame type).
[0092] Some embodiments of operation 708 decode network messages (and / or additional network messages) to identify the above-mentioned... Figure 5 Any one or more features discussed.
[0093] In operation 708, a risk score is generated based on the determination in operation 706. Some embodiments of operation 708 assign component scores to each data point determined in operation 706. A risk score is then determined based on the component scores. In some embodiments, each component score is based on a similar principle to that described above. Figure 3B The structure of the risk score table 396 discussed is determined by this. In other words, these embodiments maintain a mapping between specific web server computer components and the risk levels introduced by those specific components. Various embodiments may aggregate component scores, for example, via addition or multiplication, to determine the risk score. In some embodiments, some embodiments assign different weights to different component scores, and the risk score discounts each component score according to its assigned weight. The following will combine... Figure 7An embodiment of operation 708 is discussed. Some embodiments of operation 708 determine or adjust the risk score based on the cache file information detected by operation 704 as discussed above.
[0094] In operation 710, a security policy is identified. In some embodiments, the security policy is identified based on one or more of the accounts, groups, or devices performing method 700. For example, as per [reference to...] Figure 6 The discussed options allow for defining policies for specific accounts (e.g., via account policy table 642) and / or specific groups (e.g., via group policy table 632). Some embodiments first check whether a policy has been defined for an account. In some embodiments, a session is established under an account, and method 700 is executed in that session. If a policy has been defined for the account (e.g., via account policy table 642), that policy is determined in operation 710. If no policy has been determined for the account, some embodiments then check group policies (e.g., via group policy table 632 and / or group table 612) to determine which group or groups the account belongs to.
[0095] The identified security policy indicates one or more criteria that are applied to risk scores and / or component scores to determine the actions described below.
[0096] In Operation 712, actions are determined based on risk scores and identified security policies. For example, as mentioned above... Figure 6 In the discussion, some embodiments associate an action with one or more criteria of a policy (e.g., via criterion field 628 associated with a policy defined by policy identifier field 624). If one or more criteria are satisfied, the determined action is performed via operation 714 (e.g., in some embodiments, the action is identified by action field 630 for criteria that evaluate to true (defined by field 628)).
[0097] Actions may include, in various embodiments, blocking access to resources located on a website, generating a prompt or display control confirming that access should be attempted, wherein the prompt displays one or more risk indicators related to the access, or other actions. In some embodiments, the action includes displaying or causing the display of the aforementioned information regarding... Figure 4A and / or Figure 4B Any one or more user interfaces. In some embodiments, the display of the user interface is conditional on criteria defined by a security policy and a risk score, which in some embodiments is evaluated by the criteria.
[0098] In some embodiments, this action is simply submitting or otherwise allowing the client device or any device performing method 700 to further process the data from the web server. Some embodiments only block a portion of the page provided by the HTTP response. For example, some embodiments detect risks associated with a specific HTTP frame (such as an iframe) defined by one of the network messages (e.g., 106a-d). Some embodiments prevent data included in the identified frame from being further processed by the performing device, but allow other parts of the page to be further processed and / or displayed.
[0099] After operation 714 is completed, method 700 moves to end operation 716.
[0100] Some embodiments of method 700 write the determined risk score into a web server risk data store. As described above, the web server risk data store is accessible via a network (such as the Internet in some embodiments) and provides the ability to share web server risk information with other devices. In some embodiments, not only is the risk score determined in operation 708 written into the web server risk data store, but intermediate information used to generate the risk score is also written. For example, in various embodiments, the above description regarding... Figure 5 One or more web server characteristics discussed are written to the web server risk data store. In some embodiments, intermediate scores on which the risk score of operation 708 is based are also written to the web server risk data store. For example, in some embodiments, any intermediate scores calculated by modules 308a-g discussed above are written to the web server risk data store. Similarly, as discussed below, the following... Figure 8 Any one or more of the first, second, or third scores discussed are written to the web server's risk data store.
[0101] Figure 8 This is a flowchart of an example method for determining a risk score. In some embodiments, the following describes... Figure 7 One or more functions discussed are performed by a hardware processing circuitry system (e.g., processor 902 discussed below). In some embodiments, instructions stored in electronic memory (e.g., instruction 924 discussed below) configure the hardware processing circuitry system to perform one or more functions discussed below. In some embodiments, the following refers to... Figure 7 One or more functions discussed are provided by a client device (e.g., client device 102a or client device 102b) and / or by extensions (e.g., as described below). Figure 2 The discussion extends to point 206. (See above regarding...) Figure 7 Some embodiments of operation 708 discussed include the following regarding Figure 8 And one or more functions discussed in Method 800.
[0102] After initiating operation 802, method 800 moves to operation 804, where a first score is determined for the type of HTTP server application. For example, as mentioned above... Figure 1 , Figure 2 , Figure 3B , Figure 3C and / or Figure 5 Some embodiments parse or otherwise decode one or more network messages received from a web server computer to determine the type of HTTP server application communicating with the device performing method 800. Certain types of HTTP servers (e.g., the name of the HTTP server (such as Apache or IIS) and / or the version of the HTTP server) are more vulnerable than other types of HTTP servers.
[0103] For example, as mentioned above... Figure 3B and / or Figure 3C In some embodiments, one or more URLs, DOMxpath patterns, JavaScript objects, or content-based signatures are employed by at least some of the disclosed embodiments to identify the type of web server computer component, such as an HTTP server application. For example, in some embodiments, a content signature defined by a content signature table (e.g., content signature table 391) is used to identify the type of web server application. Some embodiments evaluate one or more regular expressions against one or more network messages received from the web server to determine the type of web server serving web pages and running on the web server computer.
[0104] Some embodiments of operation 804 consult a vulnerability data store (e.g., vulnerability data store 120) to determine a relative vulnerability of the type of HTTP server application and assign a first score to a value based on the relative vulnerability.
[0105] In operation 806, a second score is determined to identify the type of the web application. As described above, some embodiments parse or otherwise decode network messages received from a web server (e.g., web server application 208 and / or web server computer 104) to determine the type of the web application that generated the network message. Some embodiments utilize URL signatures to determine the type of the web application. As described above, in some embodiments, a vulnerability data store defines a URL signature that defines a sequence of URLs retrieved by a particular web application. Some disclosed embodiments monitor URL sequences acquired or otherwise received by a web application and compare the monitored or observed sequences with URL sequences of known web application types (e.g., defined by URL signature table 351 and URL sequence table 371). In some embodiments, the URL sequences are specific enough to define not only the type of the web application but also a specific version of the web application or a range of application versions. For example, one or more versions of a particular web application exhibit specific URL ordering behavior, while one or more other versions of that particular web application exhibit somewhat different URL ordering behavior. These differences in the type, order, and even time of URL retrieval by a web application are used by at least some disclosed embodiments to identify the type of web application and / or its version.
[0106] Some embodiments maintain a vulnerability data store (e.g., vulnerability data store 120) that maps different types of web applications to different relative security risk levels (e.g., via risk scoring table 396 in some embodiments). Then, some embodiments assign a second score to the type of web application associated with a particular HTTP request and / or response, based on the determined relative risk level associated with the web application of that type (e.g., name and / or version).
[0107] In operation 808, a third score is determined to indicate the type of the interpreted language used by the web application (of operation 806). In some embodiments, the type of the interpreted language is determined by decoding the X-Powered-By HTTP header field and / or the X-Aspnet Version HTTP header field. Some embodiments determine the type of the interpreted language by examining the file extension type of the URLs retrieved by the web application. For example, if one or more URLs reference a file with a .php extension, some disclosed embodiments conclude that the type of the interpreted language is php. As described above, some embodiments consult a vulnerability data store to determine a security risk level associated with the determined type of interpreted language (e.g., via a reference risk scoring table 396 in some embodiments). A third score is then determined in operation 808 based on this security risk level.
[0108] Operation 812 determines the weight associated with each of the first, second, and third scores discussed above. In some embodiments, this weight is dynamically updated based on information received from the configuration data store.
[0109] Operation 814 determines a risk score based on one or more security indicators. For example, each of the first, second, and third scores discussed above is considered a security indicator. Therefore, some embodiments determine a risk score based on one or more of the first, second, and third scores, and their associated weights. Some embodiments reduce each score according to its associated weight and then sum the reduced scores. Other embodiments utilize alternative methods for summarizing the first, second, and third scores.
[0110] Other security indicators are also considered in at least some embodiments. For example, some embodiments are based on the above regarding Figure 5 One or more titles and / or features and / or attributes are discussed to determine the risk score.
[0111] Some embodiments analyze one or more network messages received from a web server computer to identify one or more DOM xPath patterns. Some embodiments compare the DOM xPath pattern of the network message with a sequence of DOM xPath patterns. If the pattern of the network message matches a pattern of other known features of a framework, library, web application, or web server computer, a risk score associated with the identified feature is generated.
[0112] Some embodiments examine the referrer policy and / or feature policy indications included in the HTTP response. In these respects, the risk score is based on whether the referrer policy is set to an insecure URL. In some embodiments, operation 814 also adjusts the risk score based on whether the HTTP response headers or the page defined by the HTTP response and analyzed by method 800 indicate a request for access to the microphone and / or camera of the executing device (e.g., a client device). Some embodiments adjust the risk score based on whether the HSTS header included in the HTTP response message specifies the use of encrypted connections. Some embodiments adjust the risk score based on whether the XSS protection header included in the HTTP response message enables XSS filtering.
[0113] Some embodiments analyze the Document Object Model (DOM) content included in the HTTP response from the web server and adjust the risk score based on the DOM content. As mentioned above, some embodiments are based on the characteristics of the digital certificate provided by the web server (e.g., as described above). Figure 5 Any certificate attributes and certificate characteristic information discussed (525) adjust the risk score.
[0114] After operation 814 is completed, method 800 moves to end operation 816.
[0115] Figure 9 A block diagram of an example machine 900 is shown, on which any one or more of the techniques (e.g., methods) discussed herein can be performed. In alternative embodiments, machine 900 can operate as a standalone device or connected to other machines (e.g., networked). In a networked deployment, machine 900 can operate as a server machine, a client machine, or both in a server-client network environment. In one example, machine 900 can act as a peer-to-peer (P2P) (or other distributed) network environment. Machine 900 is a personal computer (PC), tablet computer, set-top box (STB), personal digital assistant (PDA), mobile phone, smartphone, network device, network router, switch or bridge, server computer, database, conference room equipment, or any machine capable of executing instructions (sequence or other) specifying actions to be taken by that machine. In various embodiments, machine 900 can perform the above-described... Figures 1-8 One or more processes. Furthermore, while only one machine is described, the term "machine" should also be considered as a collection of any machines, individually or in combination, that execute a set (or more) of instructions to perform any one or more methods discussed herein, such as cloud computing, Software as a Service (SaaS), and other computer cluster configurations.
[0116] As described herein, examples may include or be operable on logic or components, modules, or mechanisms (hereinafter referred to as "modules"). A module is a tangible entity (e.g., hardware) capable of performing a specified operation and configured or arranged in a particular manner. In the examples, circuitry is arranged in a particular manner (e.g., internally or relative to external entities (such as other circuitry)) as a module. In the examples, all or part of one or more computer systems (e.g., standalone, client, or server computer systems) or one or more hardware processors are configured as a module by firmware or software (e.g., instructions, application portions, or applications) that operates to perform a specific operation. In the examples, the software may reside on a non-transitory computer-readable storage medium or other machine-readable medium. In the examples, when executed by the underlying hardware of the module, the software causes the hardware to perform the specified operation.
[0117] Therefore, the term "module" is understood to include tangible entities, whether physically constructed, specifically configured (e.g., hardwired), or temporarily (e.g., transitionally) configured (e.g., programmed), to operate or perform part or all of any of the operations described herein in a particular manner. Considering the example of modules being temporarily configured, each module does not need to be instantiated at any one point in time. For example, in the case where modules include general-purpose hardware processors configured using software, the general-purpose hardware processors are configured as distinct modules at different times. The software can configure the hardware processor accordingly, for example, constituting a specific module in one time instance and a different module in another time instance.
[0118] Machine (e.g., computer system) 900 may include a hardware processor 902 (e.g., a central processing unit (CPU), graphics processing unit (GPU), hardware processor core, or any combination thereof), main memory 904, and static memory 906, some or all of which may communicate with each other via an interconnect (e.g., bus) 908. Machine 900 may further include a display unit 910, an alphanumeric input device 912 (e.g., a keyboard), and a user interface (UI) navigation device 914 (e.g., a mouse). In the example, the display unit 910, input device 912, and UI navigation device 914 are touchscreen displays. Machine 900 may additionally include a storage device (e.g., a drive unit) 916, a signal generating device 918 (e.g., a speaker), a network interface device 920, and one or more sensors 921, such as a global positioning system (GPS) sensor, a compass, an accelerometer, or another sensor. Machine 900 may include output controller 928, such as serial (e.g., Universal Serial Bus (USB), parallel, or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connections, to communicate with or control one or more peripheral devices (e.g., printers, card readers, etc.).
[0119] Storage device 916 may include machine-readable medium 922 thereon storing one or more sets of data structures or instructions 924 (e.g., software) embodying or utilized by any one or more technologies or functions described herein. Instructions 924 may also reside wholly or at least partially in main memory 904, static memory 906, or, when executed by machine 900, in hardware processor 902. In the example, one or any combination of hardware processor 902, main memory 904, static memory 906, or storage device 916 may constitute a machine-readable medium.
[0120] Although machine-readable medium 922 is described as a single medium, the term "machine-readable medium" can include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) configured to store one or more instructions 924.
[0121] The term "machine-readable medium" can include any medium capable of storing, encoding, or carrying instructions for execution by machine 900 and causing machine 900 to perform any one or more of the techniques of this disclosure, or any medium capable of storing, encoding, or carrying data structures used by or associated with such instructions. Examples of non-limiting machine-readable media can include solid-state memory, as well as optical and magnetic media. Specific examples of machine-readable media can include: non-volatile memory, such as semiconductor memory devices (e.g., electronically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; random access memory (RAM); solid-state drives (SSDs); and CD-ROM and DVD-ROM disks. In some examples, machine-readable media can include non-transitory machine-readable media. In some examples, machine-readable media can include machine-readable media that are not transiently propagating signals.
[0122] Instruction 924 can also be transmitted or received on communication network 926 via network interface device 920 using a transmission medium. Machine 900 can communicate with one or more other machines using several transmission protocols (e.g., Frame Relay, Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), etc.). Example communication networks may include local area networks (LANs), wide area networks (WANs), packet data networks (e.g., the Internet), mobile phone networks (e.g., cellular networks), common telephone (POTS) networks, and wireless data networks (e.g., the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, referred to as... The IEEE 802.16 series of standards are called This includes standards such as IEEE 802.15.4 series standards, Long Term Evolution (LTE) series standards, Universal Mobile Telecommunications System (UMTS) series standards, and peer-to-peer (P2P) networks. In the example, network interface device 920 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to communication network 926. In one example, network interface device 920 may include multiple antennas to perform wireless communication using at least one of Single-Input Multiple-Output (SIMO), Multiple-Input Multiple-Output (MIMO), or Multiple-Input Single-Output (MISO) technologies. In some instances, network interface device 920 may use multi-user MIMO technology for wireless communication.
[0123] As described herein, examples may include or be operable logic or components, modules, or mechanisms. A module is a tangible entity (e.g., hardware) capable of performing a specified operation and configured or arranged in a certain way. In the examples, circuitry is arranged in a particular manner (e.g., internally or relative to external entities (such as other circuitry)) as a module. In the examples, all or part of one or more computer systems (e.g., standalone, client, or server computer systems) or one or more hardware processors are configured as a module by firmware or software (e.g., instructions, application portions, or applications) that runs to perform a specific operation. In the examples, the software may reside on a machine-readable medium. In one example, when the software is executed by the underlying hardware of the module, it causes the hardware to perform the specified operation.
[0124] Example 1 is a method performed by a client device, including: receiving a network message from a web server; determining, based on the network message, the type of Hypertext Transfer Protocol (HTTP) server application, the type of web application, and the type of interpreted language of the web server; generating a risk score for the web server based on the determination; identifying a security policy; determining an action based on the identified security policy and the risk score; and performing the determined action.
[0125] In Example 2, the subject of Example 1 may optionally include determining the type of a web application by: identifying a sequence of Uniform Resource Locators (URLs), comparing the URL sequence with the URL signatures of known web applications; determining a matching URL signature based on the comparison; and determining the type of the web application based on the matching URL signature.
[0126] In Example 3, the topics of any one or more of Examples 1-2 may optionally include determining a client-side executable framework or library based on network messages, wherein the generation of risk scores is further based on the determined client-side executable framework or library.
[0127] In Example 4, any one or more of the themes in Examples 1-3 may optionally include a sequence of Document Object Model (DOM) xpath patterns identified based on one or more network messages including network messages; the sequence of DOM xpath patterns is compared with the DOM signatures of known plugins, themes, or extensions, and based on the comparison, a matching DOM signature is determined; and based on the matching DOM signature, a plugin or theme is determined.
[0128] In Example 5, any one or more of the topics in Examples 1-4 may optionally include injecting an expression into a document defined by a network message; having the expression evaluated; and, based on the evaluation, determining the existence or version of a plugin, topic, or library.
[0129] In Example 6, any one or more of the topics in Examples 1-5 may optionally include the server header of the decoded network message; based on the decoded server header, the operating system of the web server is determined a second time, wherein the generation of the risk score is further based on the second determination.
[0130] In Example 7, the subject of any one or more of Examples 1-6 may optionally include performing a determined action which includes displaying a user interface on a client device configured to display information derived from the risk score.
[0131] In Example 8, the subject of Example 7 may optionally include a user interface configured to display a control that is configured to submit network messages for further processing by a client device.
[0132] In Example 9, the theme of Example 8 may optionally include configuring the user interface to display controls based on a security policy.
[0133] In Example 10, any one or more of the topics in Examples 1-9 may optionally include performing a determined action, which includes blocking further processing of network messages by the client device.
[0134] In Example 11, the subject of Example 10 may optionally include blocking HTTP frames associated with network messages.
[0135] In Example 12, the subject of any one or more of Examples 1-11 may optionally include determining the version of the web application; and comparing the version of the web application with a vulnerability data store, wherein a risk score is further based on the comparison.
[0136] In Example 13, the subject of any one or more of Examples 1-12 may optionally include a network message that is an HTTP response message and a risk score based on a security indicator of the HTTP response message, the security indicator including one or more of the following: content security policy header, X-frame-options header, X-XSS protection header, server header, HTTP strict transport security (HSTS) header, X-content-type-options header, referrer policy, or feature policy.
[0137] In Example 14, the subject of Example 13 may optionally include a security indicator indicating whether MIME sniffing is disabled in the HTTP response, a security indicator indicating whether the referrer policy is set to an insecure URL, an HTTP response header indicating a request to access the microphone or camera, an HSTS header specifying the use of an encrypted connection, and an X-XSS protection header indicating whether an XSS filter is enabled.
[0138] In Example 15, any one or more of the topics in Examples 13-14 may optionally include a security indicator that is also based on the Document Object Model (DOM) content included in the HTTP response message.
[0139] In Example 16, any one or more of the topics in Examples 13-15 may optionally include a security indicator that is also based on a digital certificate identified by an HTTP response message.
[0140] In Example 17, the subject of any one or more of Examples 1-16 may optionally include intercepting an HTTP request by a client device; and determining a second security indicator by the client device based on a cached file included in the HTTP request, wherein an action is further determined based on the second security indicator.
[0141] In Example 18, the subject of Example 17 may optionally include a second security indicator determined based on one or more of the following: a security flag for a cached file, an http_only flag, a session flag, or a same-site flag.
[0142] Example 19 is a system comprising: a hardware processing circuitry; one or more hardware memories storing instructions that, when executed, configure the hardware processing circuitry to perform operations including: receiving a network message from a web server; determining, based on the network message, the type of Hypertext Transfer Protocol (HTTP) server application of the web server, the type of web application, and the type of interpreted language; generating a risk score for the web server based on the determination; identifying a security policy; determining an action based on the identified security policy and the risk score; and performing the determined action.
[0143] In Example 20, the subject of Example 19 may optionally include determining the type of a web application by: identifying a sequence of Uniform Resource Locators (URLs), comparing the sequence of URLs with URL signatures of known web applications; determining a matching URL signature based on the comparison; and determining the type of the web application based on the matching URL signature.
[0144] In Example 21, the topics of any one or more of Examples 19-20 may optionally include operations that further include: determining a client-side executable framework or library based on network messages, wherein the generation of a risk score is also based on the determined client-side executable framework or library.
[0145] In Example 22, the topics of any one or more of Examples 19-21 may optionally include operations that further include: determining a sequence of Document Object Model (DOM) xpath patterns based on one or more network messages including network messages; comparing the sequence of DOM xpath patterns with the DOM signatures of known plugins, themes, or extensions, and determining a matching DOM signature based on the comparison; and determining the plugin or theme based on the matching DOM signature.
[0146] In Example 23, the topics of any one or more of Examples 19-22 may optionally include operations that also include: injecting an expression into a document defined by a network message; having the expression evaluated; and, based on the evaluation, determining the existence or version of a plugin, topic, or library.
[0147] In Example 24, the topics of any one or more of Examples 19-23 may optionally include operations that further include: decoding the server header of the network message; and, based on the decoded server header, determining the operating system of the web server for the second time, wherein the generation of the risk score is also based on the second determination.
[0148] In Example 25, the subject of any one or more of Examples 19-24 may optionally include performing a determined action which includes displaying a user interface on a client device configured to display information derived from a risk score.
[0149] In Example 26, the subject of Example 25 may optionally include a user interface configured to display a control that is configured to submit network messages for further processing by a client device.
[0150] In Example 27, the subject of Example 26 may optionally include operations that also configure the user interface to display controls based on a security policy.
[0151] In Example 28, any one or more of the topics in Examples 19-27 may optionally include performing a determined operation, which includes preventing further processing of network messages by the client device.
[0152] In Example 29, the subject of Example 28 may optionally include operations that also include blocking HTTP frames associated with network messages.
[0153] In Example 30, the topics of any one or more of Examples 19-29 may optionally include operations that further include: determining the version of the web application; and comparing the version of the web application with a vulnerability data store, wherein a risk score is also based on the comparison.
[0154] In Example 31, the subject of any one or more of Examples 19-30 may optionally include a network message that is an HTTP response message and a risk score that is based on a security indicator of the HTTP response message, which includes one or more of the following: Content Security Policy header, X-Frame Options header, X-XSS Protection header, Server header, HTTP Strict Transport Security (HSTS) header, X-Content Type Options header, Referrer Policy, or Feature Policy.
[0155] In Example 32, the subject of Example 31 may optionally include one or more of the following: a security indicator indicating whether the HTTP response disables MIME sniffing, whether the referrer policy is set to an insecure URL, whether the HTTP response header indicates a request to access the microphone or camera, whether the HSTS header specifies the use of an encrypted connection, or whether the X-XSS protection header enables an XSS filter.
[0156] In Example 33, any one or more of the topics in Examples 31-32 may optionally include a security indicator that is also based on the Document Object Model (DOM) content included in the HTTP response message.
[0157] In Example 34, any one or more of the topics in Examples 31-33 may optionally include a security indicator that is also based on a digital certificate identified by an HTTP response message.
[0158] In Example 35, the subject of any one or more of Examples 19-34 may optionally include the operation further comprising: intercepting an HTTP request by a client device; and determining a second security indicator by the client device based on a cached file included in the HTTP request, wherein the action is also determined based on the second security indicator.
[0159] In Example 36, the subject of Example 35 may optionally include in which the second security indicator is determined based on one or more of the following: a security flag for a cached file, an http_only flag, a session flag, or a same-site flag.
[0160] Example 37 is a non-transitory computer-readable storage medium comprising instructions that, when executed, configure a hardware processing circuitry system to perform operations including: receiving network messages from a web server; determining, based on the network messages, the type of Hypertext Transfer Protocol (HTTP) server application, the type of web application, and the type of interpreted language; generating a risk score for the web server based on the determined information; identifying a security policy; determining an action based on the identified security policy and risk score; and performing the determined action.
[0161] In Example 38, the subject of Example 37 may optionally include determining the type of a web application by: identifying a sequence of Uniform Resource Locators (URLs), comparing the sequence of URLs with URL signatures of known web applications; determining a matching URL signature based on the comparison; and determining the type of the web application based on the matching URL signature.
[0162] In Example 39, the topics of any one or more of Examples 37-38 may optionally include operations that further include: determining a client-side executable framework or library based on network messages, wherein the generation of a risk score is also based on the determined client-side executable framework or library.
[0163] In Example 40, the topics of any one or more of Examples 37-39 may optionally include operations that further include: determining a sequence of Document Object Model (DOM) xpath patterns based on one or more network messages including network messages; comparing the sequence of DOM xpath patterns with the DOM signatures of known plugins, themes, or extensions, and determining a matching DOM signature based on the comparison; and determining the plugin or theme based on the matching DOM signature.
[0164] In Example 41, the topics of any one or more of Examples 37-40 may optionally include operations that further include: injecting an expression into a document defined by a network message; having the expression evaluated; and, based on the evaluation, determining the existence or version of a plugin, topic, or library.
[0165] In Example 42, the subject matter of any one or more of Examples 37-41 may optionally include operations that further include: decoding the server header of the network message; and, based on the decoded server header, determining the operating system of the web server for the second time, wherein the generation of the risk score is also based on the second determination.
[0166] In Example 43, the subject of any one or more of Examples 37-42 may optionally include performing a determined action which includes displaying a user interface on a client device configured to display information derived from a risk score.
[0167] In Example 44, a topic not defined in the example may optionally include a user interface configured to display a control that is configured to submit network messages for further processing by a client device.
[0168] In Example 45, the subject of Example 44 may optionally include operations that also include configuring the user interface to display controls based on a security policy.
[0169] In Example 46, any one or more of the topics in Examples 37-45 may optionally include performing a determined operation that includes blocking further processing of network messages by the client device.
[0170] In Example 47, the subject of Example 46 may optionally include operations that also include blocking HTTP frames associated with network messages.
[0171] In Example 48, the topics of any one or more of Examples 37-47 may optionally include operations that further include: determining the version of the web application; and comparing the version of the web application with a vulnerability data store, wherein a risk score is also based on the comparison.
[0172] In Example 49, the subject of any one or more of Examples 37-48 may optionally include a network message that is an HTTP response message and a risk score based on a security indicator of the HTTP response message, which includes one or more of the following: Content Security Policy header, X-Frame-Options header, X-XSS Protection header, Server header, HTTP Strict Transport Security (HSTS) header, X-Content Type-Options header, Referrer Policy, or Feature Policy.
[0173] In Example 50, the subject of Example 49 may optionally include one or more of the following: a security indicator indicating whether MIME sniffing is disabled in the HTTP response; a security indicator indicating whether the referrer policy is set to an insecure URL; an HTTP response header indicating a request to access the microphone or camera; an HSTS header specifying the use of an encrypted connection; and an X-XSS protection header indicating whether an XSS filter is enabled.
[0174] In Example 51, the subject of Example 50 may optionally include that the security indicator is also based on the Document Object Model (DOM) content included in the HTTP response message.
[0175] In Example 52, any one or more of the topics in Examples 50-51 may optionally include a security indicator that is also based on a digital certificate identified by an HTTP response message.
[0176] In Example 53, the topics of any one or more of Examples 37-52 may optionally include the following operations: intercepting the HTTP request by the client device; and determining a second security indicator by the client device based on a cached file included in the HTTP request, wherein the action is also determined based on the second security indicator.
[0177] In Example 54, the subject of Example 53 may optionally include in which the second security indicator is determined based on one or more of the following: a security flag for a cached file, an http_only flag, a session flag, or a same-site flag.
[0178] Therefore, the term "module" is understood to include tangible entities, whether physically constructed, specifically configured (e.g., hardwired), or temporarily (e.g., transitionally) configured (e.g., programmed), to operate or perform part or all of any of the operations described herein in a specified manner. Considering the example of modules being temporarily configured, each module does not need to be instantiated at any one point in time. For example, in the case where modules include general-purpose hardware processors configured using software, the general-purpose hardware processors are configured as distinct modules at different times. The software can configure the hardware processors accordingly, for example, constituting a specific module in one time instance and a different module in another time instance.
[0179] Various embodiments are implemented wholly or partially in software and / or firmware. This software and / or firmware may take the form of instructions contained in or on a non-transitory computer-readable storage medium. These instructions can then be read and executed by one or more processors to achieve the performance of the operations described herein. These instructions exist in any suitable form, such as, but not limited to, source code, compiled code, interpreted code, executable code, static code, dynamic code, etc. Such computer-readable medium may include any tangible non-transitory medium for storing information in one or more computer-readable forms, such as, but not limited to, read-only memory (ROM); random access memory (RAM); disk storage media; optical storage media; flash memory, etc.
Claims
1. A method executed by a client device, comprising: Receive one or more network messages from the web server; Based on the one or more network messages, determine: The type of the Hypertext Transfer Protocol (HTTP) server application used by the web server includes the name and version of the HTTP server application. The type of the web application that generates the one or more network messages, including the name of the web application, is determined by: A sequence of Uniform Resource Locator (URLs) identifying URLs from the one or more network messages, the sequence of URLs representing URLs retrieved by the web application. The sequence of URLs is compared with the corresponding sequence of URLs for known web application types. Based on the comparison, a sequence of matching URLs is determined, and The type of the web application is determined based on the matching URL sequence. The type of the interpreted language used to implement the web server, including the name of the interpreted language; A risk score for the web server is generated based on the type of the HTTP server application, the type of the web application, and the type of the interpreted language. Identify security policies; Based on the identified security policy and the risk score, determine the action; as well as Perform the determined actions.
2. The method according to claim 1, further comprising: The client executable framework or library is determined based on the one or more network messages, wherein the generation of the risk score is also based on the determined client executable framework or library.
3. The method according to claim 1, further comprising: Based on one or more of the network messages, identify a sequence of Document Object Model (DOM) XPath patterns; Compare the sequence of DOM identifiers with the DOM signatures of known plugins, themes, or extensions; Based on the comparison, the matching DOM signature is determined; as well as Based on the matched DOM signature, the plugin and theme are determined.
4. The method according to claim 1, further comprising: Decode the server header of the network message in the one or more network messages; Based on the decoded server header, the operating system of the web server is determined a second time, and the generation of the risk score is also based on the second determination.
5. The method of claim 1, wherein performing the determined action comprises: A user interface is displayed on the client device, and the user interface is configured to display information derived from the risk score.
6. The method of claim 5, wherein the user interface is configured to display a control, the control being configured to submit a network message from the one or more network messages for further processing by the client device.
7. The method of claim 1, wherein performing the determined action comprises: Prevent further processing of the one or more network message series by the client device.
8. A non-transitory computer-readable storage medium, comprising instructions that, when executed, configure a hardware processing circuitry system to perform an operation, the operation comprising: Receive one or more network messages from the web server; Based on the one or more network messages, determine: The type of the Hypertext Transfer Protocol (HTTP) server application used by the web server includes the name and version of the HTTP server application. The type of the web application that generates the one or more network messages, including the name of the web application, is determined by: A sequence of Uniform Resource Locator (URLs) identifying URLs from the one or more network messages, the sequence of URLs representing URLs retrieved by the web application. The sequence of URLs is compared with the corresponding sequence of URLs for known web application types. Based on the comparison, a sequence of matching URLs is determined, and The type of the web application is determined based on the matching URL sequence. The type of the interpreted language used to implement the web server, including the name of the interpreted language; A risk score for the web server is generated based on the type of the HTTP server application, the type of the web application, and the type of the interpreted language. Identify security policies; Based on the identified security policy and the risk score, determine the action; as well as Perform the determined actions.
9. A system comprising: Hardware processing circuit system; One or more hardware memories store instructions that, when executed, configure a hardware processing circuitry system to perform operations, including: Receive one or more network messages from the web server; Based on the one or more network messages, determine: The type of the Hypertext Transfer Protocol (HTTP) server application used by the web server includes the name and version of the HTTP server application. The type of the web application that generates the one or more network messages, including the name of the web application, is determined by: A sequence of Uniform Resource Locator (URLs) identifying URLs from the one or more network messages, the sequence of URLs representing URLs retrieved by the web application. The sequence of URLs is compared with the corresponding sequence of URLs known by a known web application. Based on the comparison, a sequence of matching URLs is determined, and The type of the web application is determined based on the matching URL sequence. The type of the interpreted language used to implement the web server, including the name of the interpreted language; A risk score for the web server is generated based on the type of the HTTP server application, the type of the web application, and the type of the interpreted language. Identify security policies; Based on the identified security policy and the risk score, determine the action; and Perform the determined actions.
10. The system according to claim 9, wherein the operation further comprises: Based on the one or more network messages, a client executable framework or library is determined, wherein the generation of the risk score is also based on the determined client executable framework or library.
11. The system according to claim 9, wherein the operation further comprises: Based on one or more of the network messages, identify a sequence of Document Object Model (DOMxPath) patterns; Compare the sequence of DOM identifiers with the DOM signatures of known plugins, themes, or extensions; Based on the comparison, the matching DOM signature is determined; as well as Based on the matched DOM signature, the plugin, theme, or library is determined.
12. The system according to claim 9, wherein the operation further comprises: Inject the expression into the document defined by the network message in the one or more network messages; Make the expression be evaluated; Based on the assessment, the existence or version of the plugin, theme, or library is determined.
13. The system according to claim 9, wherein the operation further comprises: Decode the server header of the network message in the one or more network messages; Based on the decoded server header, the operating system of the web server is determined a second time, and the generation of the risk score is also based on the second determination.
14. The system of claim 9, wherein performing the determined action comprises: This enables the display of a user interface, which is configured to display information derived from the risk score.
15. The system according to claim 9, wherein the operation further comprises: Determine the version of the web application; as well as The version of the web application is compared with the vulnerability data storage. The risk score mentioned therein is also based on the comparison.
16. The system of claim 9, wherein the network message in one or more network messages is an HTTP response message, and the risk score is based on a security indicator of the HTTP response message, the security indicator including one or more of the following: a content security policy header, an X-frame options header, an X-XSS protection header, a server header, an HTTP strict transport security (HSTS) header, an X content type options header, a referrer policy, or a feature policy.
17. The system of claim 16, wherein the security indicator indicates one or more of the following: whether the HTTP response is disabled by MIME sniffing, whether the referrer policy is set to an insecure URL, whether the HTTP response header indicates a request to access the microphone or camera, whether the HSTS header specifies the use of an encrypted connection, or whether the X-XSS protection header enables an XSS filter.
Citation Information
Patent Citations
Web server for multi-version web documents
CN101006441A
In-line filtering of insecure or unwanted mobile device software components or communications
US10482260B1
