DIFFERENTIATED CONTAINERIZATION AND EXECUTION OF WEB CONTENT BASED ON TRUST LEVEL AND OTHER ATTRIBUTES
Systems and methods may provide for receiving web content and determining a trust level associated with the web content. Additionally, the web content may be mapped to an execution environment based at least in part on the trust level. In one example, the web content is stored to a trust level specific data container.
This patent arises from a continuation of U.S. patent application Ser. No. 13/830,634, filed on Mar. 14, 2013, entitled “ DIFFERENTIATED CONTAINERIZATION AND EXECUTION OF WEB CONTENT BASED ON TRUST LEVEL AND OTHER ATTRIBUTES ”, which is incorporated herein by reference in its entirety.
BACKGROUNDEmbodiments generally relate to access controls for web-based applications. More particularly, embodiments relate to differentiated containerization and execution of web content based on trust level and other attributes.
Emerging markup languages such as HTML5 (Hypertext Markup Language 5, e.g., HTML5 Editor's Draft 8 May 2012, World Wide Web Consortium/W3C, www*w3*org). LLVM (e.g., LLVM 3.1, May 22, 2012, llvm.org), and other runtime or just in time (JIT) environment languages may support more robust multimedia related web platform development. The use of these languages by a web application developer, however, may also expose client device hardware that would otherwise be inaccessible by traditional web content. While recently developed “sandboxing” solutions may provide some level of protection by preventing certain functions when code is sent as part of a web page, there remains considerable room for improvement. For example, conventional sandboxing solutions may not adequately distinguish between trustworthy sources of web content and untrustworthy sources of web content. As a result, client devices may be vulnerable to attack by malware (malicious software) and other sources of web content.
The various advantages of the embodiments of the present invention will become apparent to one skilled in the art by reading the following specification and appended claims, and by referencing the following drawings, in which:
Turning now to
The container designation module 18 may access a trust level database 20, which is populated with data from other devices 22 (e.g., machines and/or users), wherein the information in the trust level database 20 may in turn be used to determine the trust level. For example, the trust level database 20 might include information regarding “whitelist” sites, “greylist” sites, “blacklist” sites, etc., as well as other origin data such as, for example, provider information, application developer information, mash-up origin and/or behavior information, etc. The container designation module 18 may also use a real-time trust assessment 26 to determine the trust level of the web content 12, wherein the real-time trust assessment 26 may be generated internally by the containerization architecture 10 (e.g., as part of a security tool plug-in) or obtained from another security module 28 (e.g., third party security software). More particularly, c.
The illustrated architecture 10 also includes a plurality of trust level specific data containers 30 (30a-30d) to organize and/or store the web content 12 according to one or more trust levels corresponding to the web content 12. For example, a high trust container 30a may be used to store content associated with whitelist sites, wherein content in the high (e.g., “native”) trust container 30a may be considered very trustworthy and treated similarly as native code from the perspective of the execution environment. A medium trust container 30h, on the other hand, may be used to store content associated with greylist sites, wherein content in the medium (e.g., “browser application”) trust container 30b may be considered moderately trustworthy and treated similarly as browser applications from the perspective of the execution environment. Additionally, a low trust container 30c may be used to store content associated with unknown sites, wherein content in the low (e.g., “testing”) trust container 30c may be considered potentially untrustworthy and treated similarly as content from new web sites. The illustrated architecture 10 also includes a trash container 30d that may be used to store content associated with blacklist sites, wherein content in the trash container 30d may be blocked from execution and/or deleted.
An environment module 32 may map the web content 12 to an execution environment based at least in part on the trust level associated with the web content 12. Thus, the environment module 32 may use a work scheduler 34 to allocate resources in the platform hardware 24 such as processors (e.g., central processing unit/CPU, graphics processing unit/GPU), input output (I/O) controllers (e.g., display, audio, video, network), etc., for execution of one or more workloads associated with the web content 12. Similarly, the environment module 32 may use a memory map module 36 (e.g., input output memory management unit/IOMMU) to conduct one or more memory transactions associated with the web content 12. Of particular note is that the scheduling of workloads, allocation of resources, and conduct of memory transactions may all be a function of the trust level associated with the web content 12,
More particularly, the type of container 30 holding the underlying web content 12 may determine how the workload scheduler 34 allocates resources and schedules workloads, as well as how the memory map module 36 executes memory transactions with respect to the memory 26. For example, all platform resources may be available to workloads associated with content in the high trust container 30a, whereas only a subset of the platform resources might be available to workloads associated with content in the medium trust container 30b. Workloads associated with content in the low trust container 30c, on the other hand, may have only limited access to platform resources and workloads associated with content in the trash container 30d may be prevented from any access to the platform hardware whatsoever. Additionally, certain restricted areas of the memory 26 may be prevented from access by web content in the trash container 30d, the low trust container 30c and/or the medium trust container 30b. As will be discussed in greater detail, other context attributes such as, fbr example, stack composition (e.g., code logic, data presentation, data consumption), latency of one or more web transactions, content objective (e.g., correlation between type of web site and data consumed), service/site type, etc., associated with the web content 12, may also be used to containerize the web content 12 and select an execution environment for the web content 12.
Turning now to
Illustrated processing block 42 provides for receiving web content such as, for example, web applications, web code, services, etc., wherein at least a portion of the web content may incorporate a runtime or JIT environment language such as, for example, HTML5, LLVM, and so forth. Block 44 may determine a trust level associated with the web content. As already noted, the determination at block 44 may take into consideration information in a trust level database, one or more real-time trust level assessments, etc., or any combination thereof. Illustrated block 46 maps the web content to an execution environment based on the trust level, wherein using the trust level to select an execution environment for the web content may provide significantly improved runtime protection.
More particularly, the container designation module 52 may detect situations in which the trust level is relatively low (e.g., trust level is below a threshold) and execution latency is tolerated (e.g., a latency tolerance condition is satisfied), wherein in such situations, the portion 12a of the web content 12 directed to the offload container 56 may represent unverified, latency insensitive web content. In such a case, a result associated with the offload container 56 may be received from the entity and/or processor corresponding to the offload container 56. If, on the other hand, the illustrated container designation module 52 determines that either the trust level is relatively high or execution latency is not tolerated, the content may be processed locally as the trusted, latency sensitive portion 12b of the web content 12. The environment module 32 may use the workload scheduler 34 and/or memory map module 36 to map the portion 12b of the web content 12 to an execution environment based on the trust level of the portion 12h, as already discussed.
Block 66 may determine whether the trust level is below a particular threshold. If so, illustrated block 68 determines whether a latency tolerance condition is satisfied. The latency tolerance condition may take into consideration historical information, quality of service (QoS) information, service level agreement (SLA) information, and so forth, wherein the determination at block 68 may involve conducting a comparison between, for example, the latency determined at block 64 and a maximum execution latency. If the latency tolerance condition is satisfied (e.g., latency is below the maximum execution latency), illustrated block 70 maps the corresponding portion of the web content to an offload container. If, on the other hand, either the trust level is not below the particular threshold or the latency tolerance condition is not satisfied, block 72 may map the corresponding portion of the web content to a local execution environment. Block 72 may take the trust level into consideration when deciding which platform resources to expose to the web content.
As already noted, other context attributes such as, for example, stack composition, content objective, service type, and so forth, may also be used to determine a trust level for the web content. For example, if the code logic as reflected in the stack composition of the web content indicates that the web content involves one type of activity (e.g., login cookie retrieval), but the data presented to the user involves another type of activity (e.g., social networking, instant messaging/IM), it might be inferred that the trust level of the web content is relatively low. Other trust level inferences may also be made, even if the origin of the web content is not documented in the trust level database.
The processor 200 is shown including execution logic 250 having a set of execution units 255-1 through 255-N. Some embodiments may include a number of execution units dedicated to specific functions or sets of functions. Other embodiments may include only one execution unit or one execution unit that can perform a particular function. The illustrated execution logic 250 performs the operations specified by code instructions.
After completion of execution of the operations specified by the code instructions, back end logic 260 retires the instructions of the code 213. In one embodiment, the processor 200 allows out of order execution but requires in order retirement of instructions. Retirement logic 265 may take a variety of forms as known to those of skill in the art (e.g., re-order buffers or the like). In this manner, the processor core 200 is transformed during execution of the code 213, at least in terms of the output generated by the decoder, the hardware registers and tables utilized by the register renaming logic 225, and any registers (not shown) modified by the execution logic 250.
Although not illustrated in
Referring now to
The system 1000 is illustrated as a point-to-point interconnect system, wherein the first processing element 1070 and the second processing element 1080 are coupled via a point-to-point interconnect 1050. It should be understood that any or all of the interconnects illustrated in
As shown in
Each processing element 1070, 1080 may include at least one shared cache 1896. The shared cache 1896a, 1896b may store data (e.g., instructions) that are utilized by one or more components of the processor, such as the cores 1074a, 1074b and 1084a, 1084b, respectively. For example, the shared cache may locally cache data stored in a memory 1032, 1034 for faster access by components of the processor. In one or more embodiments, the shared cache may include one or more mid-level caches, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, a last level cache (LLC), and/or combinations thereof.
While shown. with only two processing elements 1070, 1080, it is to be understood that the scope of the present invention is not so limited. In other embodiments, one or more additional processing elements may be present in a given processor. Alternatively, one or more of processing elements 1070, 1080 may be an element other than a processor, such as an accelerator or a field programmable gate array. For example, additional processing element(s) may include additional processors(s) that are the same as a first processor 1070, additional processor(s) that are heterogeneous or asymmetric to processor a first processor 1070, accelerators (such as, e.g., graphics accelerators or digital signal processing (DSP) units), field programmable gate arrays, or any other processing element. There can be a variety of differences between the processing elements 1070, 1080 in terms of a spectrum of metrics of merit including architectural, micro architectural, thermal, power consumption characteristics, and the like. These differences may effectively manifest themselves as asymmetry and heterogeneity amongst the processing elements 1070, 1080. For at least one embodiment, the various processing elements 1070, 1080 may reside in the same die package.
The first processing element 1070 may further include memory controller logic (MC) 1072 and point-to-point (P-P) interfaces 1076 and 1078. Similarly, the second processing element 1080 may include a MC 1082 and P-P interfaces 1086 and 1088. As shown in
The first processing element 1070 and the second processing element 1080 may be coupled to an I/O subsystem 1090 via P-P interconnects 1076 1086, respectively. As shown in
In turn, I/O subsystem 1090 may be coupled to a first bus 1016 via an interface 1096. In one embodiment, the first bus 1016 may be a Peripheral Component Interconnect (PCI) bus, or a bus such as a PCI Express bus or another third generation I/O interconnect bus, although the scope of the present invention is not so limited.
As shown in
Note that other embodiments are contemplated. For example, instead of the point-to-point architecture of
Additional Notes and Examples:
Example one may therefore include a method of differentiating web content in which web content is received and a trust level associated with the web content is determined. The method may also provide for mapping the web content to an execution environment based at least in part on the trust level.
Additionally, the method of example one may further include storing the web content to a trust level specific data container.
Additionally, the web content of the example one method may be mapped to the execution environment further based on a context attribute including one or more of a stack composition associated with the web content, a latency of one or more web transactions associated with the web content, an objective of the web content and a service type associated with the web content.
Moreover, mapping the web content to the execution environment in the method of example one may further include sending at least a portion of the web content to an offload container associated with one or more of a provider of the web content, an emulation module of a local computing device, an enterprise data center, a private cloud and a third party service provider, and receiving a result associated with the offload container.
In addition, at least a portion of the web content in the method of example one may be sent to the offload container if the trust level is below a threshold and a latency tolerance condition is satisfied,
In addition method of example one may further include accessing a trust level database, wherein the trust level is determined based at least in part on the trust level database.
Moreover, the method of example one may further include obtaining a real-time trust level assessment, wherein the trust level is determined based at least in part on the real-time trust level assessment.
Additionally, obtaining the real-time trust level assessmentn the example one method may include generating the real-time trust level assessment.
Additionally, mapping the web content to the execution environment in the example one method may include scheduling one or more workloads associated with the web content based at least in part on the trust level, provisioning one or more resources for the one or more workloads, and conducting one or more memory transactions associated with the web content based at least in part on the trust level.
Example two may include at least one computer readable storage medium comprising a set of instructions which, if executed by a processor, cause a computing device to perform the method of example one.
Example three may include a web content differentiation apparatus having a browser interface to receive web content and a container designation module to determine a trust level associated with the web content. The apparatus may also have an environment module to map the web content to an execution environment based at least in part on the trust level.
Additionally, the apparatus of example three may further include a plurality of trust level specific data containers, wherein the container designation module is to store the web content to one or more of the plurality of trust level specific data containers.
Additionally, the web content of the example three apparatus may be mapped to the execution environment further based on a context attribute including one or more of a stack composition associated with the web content, a latency of one or more web transactions associated with the web content, an objective of the web content and a service type associated with the web content.
Moreover, the apparatus of example three may further including a content offload module to send at least a portion of the web content to an offload container associated with one or more of a provider of the web content, an emulation module of a local computing device, an enterprise data center, a private cloud and a third party service provider to map the web content to the execution environment, and to receive a result associated with the offload container.
In addition, at least a portion of the web container in the example three method may be sent to the offload container if the trust level is below a threshold and a latency tolerance condition is satisfied.
In addition, the apparatus of example three may further include a trust level database, wherein the trust level is to be determined based at least in part on the trust level database.
Moreover, the container designation module in the example three apparatus may obtain a real-time trust level assessment, wherein the trust level is to be determined based at least in part on the real-time trust level assessment.
Additionally, the apparatus of example three may further include a security module to generate the real-time trust level assessment.
Additionally, the security module of example three may be one or more of a built-in assessment tool, a separate security tool, an enterprise information technology module and a cloud module.
Moreover, the apparatus of example three may further include a workload scheduler to schedule one or more workloads associated with the web content based at least in part on the trust level and to provision one or more resources for the one or more workloads, wherein the environment module is to conduct one or more memory transactions associated with the web content based at least in part on the trust level.
Techniques described herein may therefore enable differentiated containerization that provides different client execution environments (e.g., memory, CPU, graphics, network, operating system/OS) for web content based on the trust level of the originator of the web content. Moreover, improved runtime protection of client devices from maiware (malicious software and other web content from unknown sources. Other context attributes such as stack composition (code logic, data presented, data consumed), latency of web transactions, purpose of the content, service type, and so forth, may also be used to differentiate web content and configure execution environments. In addition, web content may be split between the client device, cloud computing resources (e.g., content provider, enterprise data center, private cloud, third party service provider), based on trust level, latency, etc. The containerization modules may be implemented as an independent security application, an add-on to security tool (e.g., Secure Enclave, McAfee® DeepSafe), in firmware, etc., or any combination thereof. Techniques may also provide for correlating real-time assessment data from other security applications and/or resources.
Various embodiments may be implemented using hardware elements, software elements, or a combination of both. Examples of hardware elements may include processors, microprocessors, circuits, circuit elements (e.g., transistors, resistors, capacitors, inductors, and so forth), integrated circuits, application specific integrated circuits (ASIC), programmable logic devices (PLD), digital signal processors (DSP), field programmable gate array (FPGA), logic gates, registers, semiconductor device, chips, microchips, chip sets, and so forth. Examples of software may include software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, procedures, software interfaces, application program interfaces (API), instruction sets, computing code, computer code, code segments, computer code segments, words, values, symbols, or any combination thereof. Determining whether an embodiment is implemented using hardware elements and/or software elements may vary in accordance with any number of factors, such as desired computational rate, power levels, heat tolerances, processing cycle budget, input data rates, output data rates, memory resources, data bus speeds and other design or performance constraints.
One or more aspects of at least one embodiment may be implemented by representative instructions stored on a machine-readable medium which represents various logic within the processor, which when read by a machine causes the machine to fabricate logic to perform the techniques described herein. Such representations, known as “IP cores” may be stored on a tangible, machine readable medium and supplied to various customers or manufacturing facilities to load into the fabrication machines that actually make the logic or processor.
Embodiments of the present invention are applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chipset components, programmable logic arrays (PLAs), memory chips, network chips, and the like. In addition, in some of the drawings, signal conductor lines are represented with lines. Some may be different, to indicate more constituent signal paths, have a number label, to indicate a number of constituent signal paths, and/or have arrows at one or more ends, to indicate primary information flow direction. This, however, should not be construed in a limiting manner. Rather, such added detail may be used in connection with one or more exemplary embodiments to facilitate easier understanding of a circuit. Any represented signal lines, whether or not having additional information, may actually comprise one or more signals that may travel in multiple directions and may be implemented with any suitable type of signal scheme, e.g., digital or analog lines implemented with differential pairs, optical fiber lines, and/or single-ended lines.
Example sizes/models/values/ranges may have been given, although embodiments of the present invention are not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size may be manufactured. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the figures, for simplicity of illustration and discussion, and so as not to obscure certain aspects of the embodiments of the invention. Further, arrangements may be shown in block diagram form in order to avoid obscuring embodiments of the invention, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the platform within which the embodiment is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that embodiments of the invention can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.
Some embodiments may be implemented, for example, using a machine or tangible computer-readable medium or article which may store an instruction or a set of instructions that, if executed by a machine, may cause the machine to perform a method and/or operations in accordance with the embodiments. Such a machine may include, for example, any suitable processing platform, computing platform, computing device, processing device, computing system, processing system, computer, processor, or the like, and may be implemented using any suitable combination of hardware and/or software. The machine-readable medium or article may include, for example, any suitable type of memory unit, memory device, memory article, memory medium, storage device, storage article, storage medium and/or storage unit, for example, memory, removable or non-removable media, erasable or non-erasable media, writeable or re-writeable media, digital or analog media, hard disk, floppy disk, Compact Disk Read Only Memory (CD-ROM), Compact Disk Recordable (CD-R), Compact Disk Rewriteable (CD-RW), optical disk, magnetic media, magneto-optical media, removable memory cards or disks, various types of Digital Versatile Disk (DVD), a tape, a cassette, or the like. The instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, encrypted code, and the like, implemented using any suitable high-level, low-level, object-oriented, visual, compiled and/or interpreted programming language.
Unless specifically stated otherwise, it may be appreciated that terms such as “processing,” “computing,” “calculating,” “determining,” or the like, refer to the action and/or processes of a computer or computing system, or similar electronic computing device, that manipulates and/or transforms data represented as physical quantities (e.g., electronic) within the computing system's registers and/or memories into other data similarly represented as physical quantities within the computing system's memories, registers or other such information storage, transmission or display devices. The embodiments are not limited in this context.
The term “coupled” may be used herein to refer to any type of relationship, direct or indirect, between the components in question, and may apply to electrical, mechanical, fluid, optical, electromagnetic, electromechanical or other connections. In addition, the terms “first”, “second”, etc. may be used herein only to facilitate discussion, and carry no particular temporal or chronological significance unless otherwise indicated.
Those skilled in the art will appreciate from the foregoing description that the broad techniques of the embodiments of the present invention can be implemented in a variety of forms. Therefore, while the embodiments of this invention have been described in connection with particular examples thereof, the true scope of the embodiments of the invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims.
Claims
1. An apparatus to differentiate web content, comprising:
- a browser interface to receive web content;
- a container designation module to determine a trust level associated with the web content; and
- an environment module to map the web content to an execution environment based at least in part on the trust level.
Type: Application
Filed: Oct 2, 2017
Publication Date: May 3, 2018
Inventors: Hong C. Li (EI Dorado Hills, CA), John B. Vicente (Roseville, CA), Prashant Dewan (Hillsboro, OR)
Application Number: 15/722,336