US20120331550A1 - Trusted language runtime on a mobile platform - Google Patents

Trusted language runtime on a mobile platform Download PDF

Info

Publication number
US20120331550A1
US20120331550A1 US13/167,699 US201113167699A US2012331550A1 US 20120331550 A1 US20120331550 A1 US 20120331550A1 US 201113167699 A US201113167699 A US 201113167699A US 2012331550 A1 US2012331550 A1 US 2012331550A1
Authority
US
United States
Prior art keywords
trusted
execution environment
untrusted
code
secure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US13/167,699
Other versions
US10496824B2 (en
Inventor
Himanshu Raj
Nuno Santos
Paul England
Stefan Saroiu
Alastair Wolman
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corp filed Critical Microsoft Corp
Priority to US13/167,699 priority Critical patent/US10496824B2/en
Assigned to MICROSOFT CORPORATION reassignment MICROSOFT CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ENGLAND, PAUL, RAJ, HIMANSHU, WOLMAN, ALASTAIR, SANTOS, NUNO, SAROIU, STEFAN
Publication of US20120331550A1 publication Critical patent/US20120331550A1/en
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC reassignment MICROSOFT TECHNOLOGY LICENSING, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MICROSOFT CORPORATION
Application granted granted Critical
Publication of US10496824B2 publication Critical patent/US10496824B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/575Secure boot
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Definitions

  • Mobile systems such as smartphones, lack support for building and running secure and trusted applications without including a large amount of code in the application's trusted computing base, such as a complete operating system and a managed language runtime.
  • Solutions designed for traditional desktop or server machines using virtualization technology are excessively heavyweight for mobile systems.
  • hardware-based solutions provide a low-level interface that makes the solutions inordinately difficult to program.
  • TLR trusted language runtime
  • a trusted execution environment is created in the mobile device using hardware processor-based isolation extensions.
  • TLR offers at least two abstractions to mobile developers: a trustbox and a trustlet.
  • the trustbox is a runtime environment that offers code and data integrity, and confidentiality. Code and data running inside trustbox cannot be read or modified by any code running outside the trustbox.
  • a trustlet is the portion of an application that runs inside a trustbox.
  • a trustlet can be a .NET-based class whose interface defines the data that can flow in or out of the trustbox.
  • TLR programmers can write applications in .NET and specify which parts of the application handle sensitive data, and thus, run inside the trustbox.
  • the developer places these parts in a trustlet class, and the TLR provides all support needed to run the parts in a trustbox.
  • the TLR can utilize the ARM TrustZoneTM memory protection and interrupt delivery control mechanisms, thus reducing the size of its trusted computing base (TCB). TLR also uses the ARM TrustZone hardware support that provides underlying trusted computing primitives with a small TCB, and that yet does not include the operating system.
  • TLR can utilize a .NET MicroFrameworkTM (by Microsoft Corporation) (or other suitable development and execution environment), which is a language runtime for embedded and resource-constrained device that offers the productivity benefits of modern high-level languages to application developers.
  • .NET MicroFrameworkTM by Microsoft Corporation
  • Microsoft Corporation or other suitable development and execution environment
  • FIG. 1 illustrates an execution system in accordance with the disclosed architecture.
  • FIG. 2 illustrates a high-level architecture of the trusted language runtime.
  • FIG. 3 illustrates a detailed view of trusted language runtime components.
  • FIG. 4 illustrates a schematic block diagram of an exemplary smart mobile device that a host the trusted language runtime architecture in accordance with the disclosed architecture.
  • FIG. 5 illustrates a computer-implemented execution method in accordance with the disclosed architecture.
  • FIG. 6 illustrates further aspects of the method of FIG. 5 .
  • FIG. 7 illustrates further aspects of the method of FIG. 5 .
  • FIG. 8 illustrates an alternative execution method in accordance with the disclosed architecture.
  • FIG. 9 illustrates further aspects of the method of FIG. 8 .
  • FIG. 10 illustrates a block diagram of a computing system that executes the trusted language runtime architecture.
  • the disclosed trusted language runtime (TLR) architecture provides abstractions for developing a runtime for running secure and trusted applications on a platform, such as a smartphone.
  • the TLR can utilize ARM TrustZone hardware support, for example, that provides underlying trusted computing primitives with a small trusted computing base (TCB) that does not include the device operating system (OS).
  • TLR can utilize a language runtime for embedded and resource-constrained device that offers the productivity benefits of modern high-level languages to application developers (e.g., the .NET Micro Framework).
  • the .NET Micro Framework is a much smaller version of the standard .NET framework, and is specifically designed for resource constrained devices. In addition to its smaller codebase, the .NET Micro Framework implements the minimal system support code needed to run directly on the hardware inside the trusted environment without including the OS as part of the TCB.
  • the TCB of the trusted environment is further reduced by eliminating all support for I/O (input-output).
  • I/O input-output
  • the GUI graphical user interface
  • FIG. 1 illustrates an execution system 100 in accordance with the disclosed architecture.
  • the system 100 includes an untrusted execution environment 102 (e.g., of a mobile device) where an operating system 104 and untrusted code 106 of an application 108 execute.
  • the system 100 also includes a trusted execution environment 110 (e.g., of the mobile device) where trusted code 112 of the application 108 executes.
  • the trusted code 112 is isolated from inspection and modification by the untrusted code 106 .
  • a secure communications component 114 (e.g., of the mobile device) provides a secure communications (denoted SEC-COM) channel 116 between the trusted execution environment 110 and untrusted execution environment 102 .
  • the secure communications component 114 encrypts data and binds the encrypted data to a specific set of trusted code in the trusted execution environment 110 , which environment 110 can include multiples sets of trusted code.
  • the secure communications component 114 switches between a secure mode and an unsecure mode.
  • the secure communications component 114 saves and restores processor state of the trusted and untrusted execution environments ( 110 and 102 ) based on mode.
  • the secure communications component 114 establishes the secure communications channel 116 in response to a call, the channel 116 based on kernel-mode drivers, one of which initiates a secure mode.
  • the secure communications component 114 establishes the secure communications channel 116 based on libraries at a language runtime level of the trusted and untrusted execution environments ( 110 and 102 ), and communications drivers at a system support level of the trusted and untrusted execution environments ( 110 and 102 ).
  • the trusted code 112 is identified in the application 108 according to a class that defines data which flows between the trusted execution environment 110 and the untrusted execution environment 102 .
  • the trusted execution environment 110 is absent of input-output interfaces and device drivers.
  • the trusted execution environment 110 can utilize input-output interfaces and device drivers.
  • the trusted execution environment 110 executes according to a language runtime environment that runs using hardware-based isolation protection extensions.
  • the system 100 further comprises a bootstrap component 118 that first boots the mobile device into a secure mode and runs a secure bootloader to establish the trusted execution environment 110 , and thereafter, invokes an untrusted bootloader to execute a standard boot sequence for the operating system 104 .
  • the developer To build a trusted mobile application with the TLR, the developer typically determines which part of an application handles sensitive data, seals the sensitive data by binding it to the trustlet, and deploys trustlet and sealed data to the platform (e.g., smartphone) and runs the trustlet and data inside of a trustbox.
  • the platform e.g., smartphone
  • a trustlet To define a trustlet, the developer identifies the application's sensitive data, and separates the program logic that needs to operate on this data, into the trustlet.
  • the public interface to the trustlet's main class is defined, as this interface controls the data that crosses the boundary between the trusted and untrusted environments.
  • a trustlet may use many helper classes, and may even comprise multiple assemblies, yet there is only one class that defines the trustlet's boundary.
  • the TLR provides special encryption primitives called seal and unseal. These operations allow a developer to encrypt (seal) an object such that it can only be decrypted (unsealed) on a specific platform, by a specific trustlet.
  • Both the platform and trustlet identities can be specified at seal time: a unique public/private key pair for the platform, and a secure hash (e.g., SHA-1) of the trustlet assemblies.
  • a secure hash e.g., SHA-1
  • the TLR decrypts the sealed data using the platform key, and checks that the hash of the trustlet requesting to unseal the data matches the hash of the trustlet that originally sealed the data.
  • This mechanism enables the application to store trustlet data across multiple sessions in persistent storage, and it allows external parties (e.g., a trusted service) to ensure that sealed data can only be accessed on platforms it trusts.
  • the developer instantiates a trustbox by providing the trustlet's manifest.
  • the TLR loads the trustlet's assemblies and creates an instance of the trustlet main class.
  • the resulting object constitutes the runtime state of the trustlet until the application destroys the trustbox.
  • the application requests that the TLR create an entrypoint object, which is a transparent proxy to the trustlet interface. Whenever the application invokes methods on the entrypoint, the TLR transparently forwards these calls to the trustlet main object.
  • remote attestation the ability of a computer to attest its own software configuration to a remote party.
  • a remote attestation mechanism is employed.
  • remote attestation is omitted to reduce the overall system complexity.
  • TLR finds particular applicability to smartphones.
  • smartphone manufacturers initialize and ship devices with a trusted (uncompromised) TLR implementation. The manufacturer signs this TLR configuration, and the boot process performs signature verification. As long as the TLR implementation is not compromised, it then protects the integrity and confidentiality of data and code running in a trustbox. With this model, the TLR offers adequate trust properties even without remote attestation.
  • FIG. 2 illustrates a high-level architecture 200 of the trusted language runtime 202 .
  • the architecture 200 provides two execution environments: the untrusted execution environment 102 (where the mobile device OS and most application software runs) and the trusted execution environment 110 .
  • the code running in the trusted environment 110 is isolated from any code running in the untrusted environment 102 .
  • Untrusted code e.g., in application 108
  • cannot inspect or modify the trusted code e.g., in a first trustlet 204 of a first trustbox 206 ).
  • the TLR 202 provides a secure communication channel between the two environments ( 102 and 110 ).
  • the TLR 202 ensures both integrity and confidentiality for code and data inside the trusted environment 110 .
  • the trusted environment 110 offers a language runtime with minimal library support (e.g., .NET Micro FrameworkTM by Microsoft Corporation).
  • a resource-constrained runtime environment offers flexibility to accommodate the trusted computing needs of mobile applications while keeping the TCB of the TLR 202 small.
  • a developer partitions a mobile application (e.g., application 108 ) into components (e.g., two): a small-sized trusted component (e.g., the first trustlet 204 ) that can run on the resource-constrained runtime 202 of the trusted environment 110 , and a large-sized untrusted component (e.g., untrusted code 106 ) that implements most of the application's functionality.
  • a mobile application e.g., application 108
  • components e.g., two
  • a small-sized trusted component e.g., the first trustlet 204
  • a large-sized untrusted component e.g., untrusted code 106
  • the trustbox 206 is an isolation environment that protects the integrity and confidentiality of any code running inside, as well as its state.
  • the OS 104 (and/or any untrusted application code) can neither tamper with the trusted code running in the trustbox 206 nor inspect state of the trusted code.
  • the trustlet 204 is a class within an application that runs inside a trustbox.
  • the trustlet 204 specifies an interface that defines the data that can cross a boundary 208 between the trustbox 206 and the untrusted environment 102 .
  • the runtime's use of strong types ensures that the data crossing the boundary 208 is clearly defined.
  • each device that supports the TLR 202 provides a cryptographic platform identity (e.g., unique). This identity is used to authenticate the platform and to protect (using encryption) any trusted application and data deployed to the platform.
  • a public/private key pair is employed. Access to the private key is provided solely to the TLR 202 , which never reveals the private key.
  • the seal and unseal of data are abstractions that serve two roles: a trustlet can persist state across reboots, and a remote trusted party (e.g., a trusted server) can communicate with a trustlet securely.
  • Sealing data is defined as data that is encrypted and bound to a particular trustlet and platform before being released to the untrusted environment 102 .
  • the TLR 202 unseals data only to the same trustlet (e.g., trustlet 204 ) on the same platform that originally sealed it.
  • the trustlet's identity can be based on a secure hash of its code. As depicted in FIG. 2 , the TLR 202 operates directly from the hardware 210 of the platform (e.g., mobile device).
  • FIG. 3 illustrates a detailed view 300 of TLR components.
  • the darkest shade shows the TLR components
  • the light shading shows the device standard system components
  • the application components are in white.
  • a secure procedure call (SPC) mechanism e.g., secure communications component 114 of FIG. 1
  • Four components implement this capability: an untrusted environment library (denoted the UWLib) and a trusted environment library (denoted TWLib), both at the language runtime (or managed code) level, and an untrusted environment communication driver (denoted UWDrv) and a trusted environment communication driver (denoted TWDrv), both at the system support (native code) level.
  • the drivers implement context switching in and out of secure mode, and the library components hand off the appropriate input and output data to the drivers.
  • the TLR implements the trustlet and trustbox classes.
  • the trustlet defines the self-contained application code which is to be run inside the isolated trustbox.
  • the programmer implements 1) the main trustlet class that defines the public interface between the trusted and untrusted environments ( 110 and 102 ), and 2) the code that manages the lifetime of the trustbox.
  • a new class is defined that inherits from the Trustlet class and that implements an IEntrypoint interface. Any public method defined in this class enables data to cross the barrier (boundary 208 ) between the trusted and untrusted environments ( 110 and 102 ). All Trustlet objects also provide two methods, Init and Finish, which are called when the trustbox is created and destroyed, respectively. These methods can be overridden to perform any application specific operations during these events. The use of a strongly typed runtime ensures that it is simple to reason about the kinds of data crossing this barrier, so that the sensitive data protected by the trustbox does not leak into the untrusted environment 102 .
  • the TLR provides three methods implemented by the Trustbox class.
  • an application invokes a Create method, which takes as input the trustlet manifest, and creates a new trustbox dedicated to hosting the trustlet.
  • the trustbox reference returned by Create can then be used by the application to obtain a transparent proxy 302 to the trustlet entrypoint, by calling the Entrypoint method.
  • the transparent proxy 302 is used to ensure that all calls into the trustlet are routed through the SPC mechanism.
  • the application wishes to terminate, it invokes a Destroy method to clean up the runtime state of the trustlet.
  • the TLR provides Seal and Unseal operations.
  • Sealing is a form of encryption that binds the encrypted data to a specific trustlet running on a specific system.
  • each unique device e.g., smartphone
  • the platform ID is used in combination with a secure hash of the trustlet codebase to identify a particular instance of a trustlet.
  • Seal takes three inputs: 1) the object to be sealed, 2) the public key of the target platform ID, and 3) a secure hash of the target trustlet. Seal returns an envelope which comprises of the serialized object concatenated with the trusted hash value, encrypted using the platform ID public key.
  • Unseal decrypts the envelope (which can only be done using with the platform ID private key), and then returns the original data only if the currently running trustlet hash value matches the envelope hash value. As a result, unseal ensures the trustlet identity and integrity.
  • TANs Transaction Authentication Numbers
  • the bank sends a list of TANs to each customer, and whenever the customer performs an online transfer, the bank specifies an index into the TAN list and asks for the TAN associated with that index.
  • banks usually record the TAN list on a plastic card, and send that card to the customer over an out-of-band channel (e.g., physical mail).
  • Banks can take advantage of the TLR to build an application that can protect the confidentiality of the TAN list when stored on a customer's smartphone.
  • the bank create a trustlet (code that is trusted by the bank), and seals the TAN list on a per-customer basis so that the list can only be unsealed by the bank's trustlet running on that specific customer's phone.
  • the code running within the trustlet can access the TAN list, retrieve the appropriate TAN number, and pass it to the untrusted environment to be sent to the remote bank server.
  • the trustlet and the remote server communicate using SSL (secure socket layer) to protect the confidentiality of the data while in flight.
  • the following code illustrates the calling services on a trustbox.
  • the following code illustrates the trusted service sending confidential data to a trustlet.
  • the hardware processor e.g., an ARM processor
  • security extensions e.g., TrustZone
  • the processor starts in secure mode and runs the secure bootloader.
  • a secure bootloader loads the TLR image into memory and checks the image integrity. Based on hardware support for memory isolation, the TLR runtime lives in the address space of the trusted environment, and therefore, cannot be accessed from the untrusted environment.
  • the secure bootloader hands off to the initialization code within the TLR runtime. After the TLR initialization code finishes, a mode switch instruction is used to exit secure mode, at which point the untrusted environment bootloader is invoked. The standard OS boot sequence is then executed.
  • the TLR provides the SPC, which enables a secure communication channel between the trusted and untrusted environments.
  • the UWDry and TWDry drivers use the processor secure extension instructions that enable switching in and out of secure mode.
  • the driver executes the smc instruction, which raises a processor exception.
  • This exception causes the processor to enter a privileged mode called monitor mode, and then jumps to the appropriate exception handler which is implemented by the TWDry driver.
  • This handler implements the context switch by storing the processor state from the untrusted world, and restoring the trusted world processor state.
  • the processor then leaves monitor mode, and the TWDry forwards the request up to the trusted environment library (TWLib), which calls a managed code handler to service the SPC request.
  • TWLib trusted environment library
  • the drivers are also responsible for marshaling the arguments and return values.
  • the TLR performs the following steps: 1) computes the hash of the trustlet assemblies specified by the manifest, 2) creates a new sandboxed environment inside the trusted environment (e.g., using a .NET AppDomain container, which is how multiple trustlets that live in the trusted environment can be isolated from each other), 3) loads the trustlet assemblies into the container, and 4) creates an instance of the trustlet's main class.
  • the TLR provides a reference to the trustbox as the return value of the SPC. This reference can be used for future interactions with the trustbox.
  • the untrusted world library creates the transparent proxy and returns it to the untrusted part of the application.
  • the UWLib forwards this invocation to the appropriate trustlet inside the trustbox, using the SPC mechanism described herein. This invocation is fully transparent to the application, and the object state is preserved across these calls.
  • the TLR runtime deletes the container of the trustbox, thereby freeing all its resources and discarding its internal state. If the developer wants to save any state persistently across instances, a trustlet method can be implemented to seal the relevant state, and have the application store the sealed relevant state persistently.
  • FIG. 4 illustrates a schematic block diagram of an exemplary smart mobile device 400 that a host the trusted language runtime architecture in accordance with the disclosed architecture.
  • FIG. 4 and the following discussion are intended to provide a brief, general description of a suitable environment in which the various aspects of the innovation can be implemented. While the description includes a general context of computer-executable instructions, those skilled in the art will recognize that the innovation also can be implemented in combination with other program modules and/or as a combination of hardware and software.
  • applications can include routines, programs, components, data structures, etc., that perform particular tasks or implement particular abstract data types.
  • inventive methods can be practiced with other system configurations, including single-processor or multiprocessor systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which can be operatively coupled to one or more associated devices.
  • the smart device 400 can typically include a variety of computer-readable media.
  • Computer-readable media can be any available media accessed by the handset systems and includes volatile and non-volatile media, removable and non-removable media.
  • Computer-readable media can comprise device storage media and communication media.
  • Storage media includes volatile and/or non-volatile, removable and/or non-removable media implemented in any method or technology for the storage of information such as computer-readable instructions, data structures, program modules or other data.
  • Storage media can include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disc (DVD) or other optical disk storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the mobile device systems.
  • the smart device 400 includes a processor 402 (e.g., ARM) for controlling and processing onboard operations and functions.
  • a memory 404 interfaces to the processor 402 for the storage of data and one or more applications 406 (e.g., a video player software, user feedback component software, etc.).
  • the applications 406 can include an untrusted application having portions thereof designated as trustlets for secure execution in the trusted execution environment(s).
  • the applications 406 can also include a user interface (UI) application 408 that operates with a client 410 (e.g., operating system) to facilitate user interaction with handset functionality and data, for example, answering/initiating calls, entering/deleting data, configuring settings, address book manipulation, multimode interaction, etc.
  • client 410 e.g., operating system
  • the applications 406 can include other applications 412 that came installed with the device 400 and/or can be installed as add-ons or plug-ins to the client 410 and/or UI 408 , for example, or for other purposes (e.g., processor, firmware, etc.).
  • FIG. 5 illustrates a computer-implemented execution method in accordance with the disclosed architecture.
  • a trusted execution environment is created in a mobile device using processor-based isolation extensions.
  • a secure communications channel is establish between the trusted execution environment and an untrusted execution environment.
  • a portion of trusted code of an untrusted application is run in the trusted execution environment.
  • a call to the portion of trusted code in the trusted execution environment is communicated over the secure communications channel. The call can be generated in response to an invoked method of the untrusted application.
  • arguments and values are returned to the untrusted execution environment over the secure communications channel, based on the call.
  • FIG. 6 illustrates further aspects of the method of FIG. 5 .
  • the portion of trusted code is isolated from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment.
  • an interface is defined in the portion of trusted code that identifies data communicated between the trusted execution environment and untrusted execution environment.
  • the mobile device is authenticated based on a cryptographic device identifier of the mobile device.
  • data is encrypted and bound to the mobile device and a specific portion of trusted code in the trusted execution environment of the mobile device.
  • the trusted execution environment is destroyed by destroying an associated container of the code and data.
  • FIG. 7 illustrates further aspects of the method of FIG. 5 .
  • a secure bootloader is executed to load a trusted language runtime image into memory and perform an integrity check on the image.
  • trusted language runtime initialization code is initialized to create the trusted execution environment.
  • a bootloader is thereafter executed in the untrusted execution environment to further execute an operating system boot sequence to create the untrusted execution environment.
  • FIG. 8 illustrates an alternative execution method in accordance with the disclosed architecture.
  • a trusted execution environment is created in a mobile device using processor-based isolation extensions.
  • an interface is defined in a portion of trusted code of an untrusted application, the interface identifies data communicated between the trusted execution environment and an untrusted execution environment.
  • the portion of trusted code is isolated from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment.
  • a secure communications channel is established between the trusted execution environment and the untrusted execution environment using kernel mode device drivers.
  • the portion of trusted code is run in the trusted execution environment.
  • a call is communicated over the secure communications channel to the portion of trusted code and data returned over the secure communications channel to the untrusted execution environment.
  • FIG. 9 illustrates further aspects of the method of FIG. 8 .
  • a secure bootloader is executed to create the trusted execution environment and thereafter a bootloader is executed to create the untrusted execution environment.
  • the trusted execution environment is created absent utilization input-output interfaces and input-output device drivers. As previously described, however, input-output interfaces and input-output device drivers can be utilized in the trusted execution environment.
  • processor state is stored and restored when switching between a secure mode and an unsecure mode.
  • a component can be, but is not limited to, tangible components such as a processor, chip memory, mass storage devices (e.g., optical drives, solid state drives, and/or magnetic storage media drives), and computers, and software components such as a process running on a processor, an object, an executable, a data structure (stored in volatile or non-volatile storage media), a module, a thread of execution, and/or a program.
  • tangible components such as a processor, chip memory, mass storage devices (e.g., optical drives, solid state drives, and/or magnetic storage media drives), and computers
  • software components such as a process running on a processor, an object, an executable, a data structure (stored in volatile or non-volatile storage media), a module, a thread of execution, and/or a program.
  • an application running on a server and the server can be a component.
  • One or more components can reside within a process and/or thread of execution, and a component can be localized on one computer and/or distributed between two or more computers.
  • the word “exemplary” may be used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs.
  • FIG. 10 there is illustrated a block diagram of a computing system 1000 that executes the trusted language runtime architecture.
  • the some or all aspects of the disclosed methods and/or systems can be implemented as a system-on-a-chip, where analog, digital, mixed signals, and other functions are fabricated on a single chip substrate.
  • FIG. 10 and the following description are intended to provide a brief, general description of the suitable computing system 1000 in which the various aspects can be implemented. While the description above is in the general context of computer-executable instructions that can run on one or more computers, those skilled in the art will recognize that a novel embodiment also can be implemented in combination with other program modules and/or as a combination of hardware and software.
  • the computing system 1000 for implementing various aspects includes the computer 1002 having processing unit(s) 1004 , a computer-readable storage such as a system memory 1006 , and a system bus 1008 .
  • the processing unit(s) 1004 can be any of various commercially available processors such as single-processor, multi-processor, single-core units and multi-core units.
  • processors such as single-processor, multi-processor, single-core units and multi-core units.
  • those skilled in the art will appreciate that the novel methods can be practiced with other computer system configurations, including minicomputers, mainframe computers, as well as personal computers (e.g., desktop, laptop, etc.), hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which can be operatively coupled to one or more associated devices.
  • the system memory 1006 can include computer-readable storage (physical storage media) such as a volatile (VOL) memory 1010 (e.g., random access memory (RAM)) and non-volatile memory (NON-VOL) 1012 (e.g., ROM, EPROM, EEPROM, etc.).
  • VOL volatile
  • NON-VOL non-volatile memory
  • a basic input/output system (BIOS) can be stored in the non-volatile memory 1012 , and includes the basic routines that facilitate the communication of data and signals between components within the computer 1002 , such as during startup.
  • the volatile memory 1010 can also include a high-speed RAM such as static RAM for caching data.
  • the system bus 1008 provides an interface for system components including, but not limited to, the system memory 1006 to the processing unit(s) 1004 .
  • the system bus 1008 can be any of several types of bus structure that can further interconnect to a memory bus (with or without a memory controller), and a peripheral bus (e.g., PCI, PCIe, AGP, LPC, etc.), using any of a variety of commercially available bus architectures.
  • the computer 1002 further includes machine readable storage subsystem(s) 1014 and storage interface(s) 1016 for interfacing the storage subsystem(s) 1014 to the system bus 1008 and other desired computer components.
  • the storage subsystem(s) 1014 (physical storage media) can include one or more of a hard disk drive (HDD), a magnetic floppy disk drive (FDD), and/or optical disk storage drive (e.g., a CD-ROM drive DVD drive), for example.
  • the storage interface(s) 1016 can include interface technologies such as EIDE, ATA, SATA, and IEEE 1394, for example.
  • One or more programs and data can be stored in the memory subsystem 1006 , a machine readable and removable memory subsystem 1018 (e.g., flash drive form factor technology), and/or the storage subsystem(s) 1014 (e.g., optical, magnetic, solid state), including an operating system 1020 , one or more application programs 1022 , other program modules 1024 , and program data 1026 .
  • a machine readable and removable memory subsystem 1018 e.g., flash drive form factor technology
  • the storage subsystem(s) 1014 e.g., optical, magnetic, solid state
  • the operating system 1020 , one or more application programs 1022 , other program modules 1024 , and/or program data 1026 can include entities and components of the system 100 of FIG. 1 , entities and components of the architecture 200 of FIG. 2 , entities and components of the view 300 of FIG. 3 , and the methods represented by the flowcharts of FIGS. 5-9 , for example.
  • programs include routines, methods, data structures, other software components, etc., that perform particular tasks or implement particular abstract data types. All or portions of the operating system 1020 , applications 1022 , modules 1024 , and/or data 1026 can also be cached in memory such as the volatile memory 1010 , for example. It is to be appreciated that the disclosed architecture can be implemented with various commercially available operating systems or combinations of operating systems (e.g., as virtual machines).
  • the storage subsystem(s) 1014 and memory subsystems ( 1006 and 1018 ) serve as computer readable media for volatile and non-volatile storage of data, data structures, computer-executable instructions, and so forth.
  • Such instructions when executed by a computer or other machine, can cause the computer or other machine to perform one or more acts of a method.
  • the instructions to perform the acts can be stored on one medium, or could be stored across multiple media, so that the instructions appear collectively on the one or more computer-readable storage media, regardless of whether all of the instructions are on the same media.
  • Computer readable media can be any available media that can be accessed by the computer 1002 and includes volatile and non-volatile internal and/or external media that is removable or non-removable.
  • the media accommodate the storage of data in any suitable digital format. It should be appreciated by those skilled in the art that other types of computer readable media can be employed such as zip drives, magnetic tape, flash memory cards, flash drives, cartridges, and the like, for storing computer executable instructions for performing the novel methods of the disclosed architecture.
  • a user can interact with the computer 1002 , programs, and data using external user input devices 1028 such as a keyboard and a mouse.
  • Other external user input devices 1028 can include a microphone, an IR (infrared) remote control, a joystick, a game pad, camera recognition systems, a stylus pen, touch screen, gesture systems (e.g., eye movement, head movement, etc.), and/or the like.
  • the user can interact with the computer 1002 , programs, and data using onboard user input devices 1030 such a touchpad, microphone, keyboard, etc., where the computer 1002 is a portable computer, for example.
  • I/O device interface(s) 1032 are connected to the processing unit(s) 1004 through input/output (I/O) device interface(s) 1032 via the system bus 1008 , but can be connected by other interfaces such as a parallel port, IEEE 1394 serial port, a game port, a USB port, an IR interface, short-range wireless (e.g., Bluetooth) and other personal area network (PAN) technologies, etc.
  • the I/O device interface(s) 1032 also facilitate the use of output peripherals 1034 such as printers, audio devices, camera devices, and so on, such as a sound card and/or onboard audio processing capability.
  • One or more graphics interface(s) 1036 (also commonly referred to as a graphics processing unit (GPU)) provide graphics and video signals between the computer 1002 and external display(s) 1038 (e.g., LCD, plasma) and/or onboard displays 1040 (e.g., for portable computer).
  • graphics interface(s) 1036 can also be manufactured as part of the computer system board.
  • the computer 1002 can operate in a networked environment (e.g., IP-based) using logical connections via a wired/wireless communications subsystem 1042 to one or more networks and/or other computers.
  • the other computers can include workstations, servers, routers, personal computers, microprocessor-based entertainment appliances, peer devices or other common network nodes, and typically include many or all of the elements described relative to the computer 1002 .
  • the logical connections can include wired/wireless connectivity to a local area network (LAN), a wide area network (WAN), hotspot, and so on.
  • LAN and WAN networking environments are commonplace in offices and companies and facilitate enterprise-wide computer networks, such as intranets, all of which may connect to a global communications network such as the Internet.
  • the computer 1002 When used in a networking environment the computer 1002 connects to the network via a wired/wireless communication subsystem 1042 (e.g., a network interface adapter, onboard transceiver subsystem, etc.) to communicate with wired/wireless networks, wired/wireless printers, wired/wireless input devices 1044 , and so on.
  • the computer 1002 can include a modem or other means for establishing communications over the network.
  • programs and data relative to the computer 1002 can be stored in the remote memory/storage device, as is associated with a distributed system. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers can be used.
  • the computer 1002 is operable to communicate with wired/wireless devices or entities using the radio technologies such as the IEEE 802.xx family of standards, such as wireless devices operatively disposed in wireless communication (e.g., IEEE 802.11 over-the-air modulation techniques) with, for example, a printer, scanner, desktop and/or portable computer, personal digital assistant (PDA), communications satellite, any piece of equipment or location associated with a wirelessly detectable tag (e.g., a kiosk, news stand, restroom), and telephone.
  • PDA personal digital assistant
  • the communications can be a predefined structure as with a conventional network or simply an ad hoc communication between at least two devices.
  • Wi-Fi networks use radio technologies called IEEE 802.11x (a, b, g, etc.) to provide secure, reliable, fast wireless connectivity.
  • IEEE 802.11x a, b, g, etc.
  • a Wi-Fi network can be used to connect computers to each other, to the Internet, and to wire networks (which use IEEE 802.3-related media and functions).

Abstract

Disclosed is a trusted language runtime (TLR) architecture that provides abstractions for developing a runtime for executing trusted applications or portions thereof securely on a mobile device (e.g., a smartphone). TLR offers at least two abstractions to mobile developers: a trustbox and a trustlet. The trustbox is a runtime environment that offers code and data integrity, and confidentiality. Code and data running inside a trustbox cannot be read or modified by any code running outside the trustbox. A trustlet is the code portion of an application that runs inside a trustbox. With TLR, programmers can write applications in .NET and specify which parts of the application handle sensitive data, and thus, run inside the trustbox. With the TLR, the developer places these parts in a trustlet class, and the TLR provides all support needed to run the parts in the trustbox.

Description

    BACKGROUND
  • Mobile systems, such as smartphones, lack support for building and running secure and trusted applications without including a large amount of code in the application's trusted computing base, such as a complete operating system and a managed language runtime. Solutions designed for traditional desktop or server machines using virtualization technology are excessively heavyweight for mobile systems. Moreover, hardware-based solutions provide a low-level interface that makes the solutions inordinately difficult to program.
  • Existing approaches to providing secure and trusted runtime environments do not meet the needs of today's mobile landscape for multiple reasons. In one example, the majority of mobile handhelds are ARM-based (a processor dedicated for security), and hence, cannot directly utilize x86-based solutions. Additionally, unlike desktops, mobile devices are oftentimes resource constrained. A system for running trusted applications on a smartphone needs to be lightweight. While previous hypervisor-based solutions offer isolation from malicious code, such solutions are too heavyweight for a smartphone when considering the impact on memory use, performance, and energy consumption. Finally, the popularity of smartphones has resulted in a large number of developers developing a highly diverse set of mobile applications. Any system that offers trusted computing primitives to such a large number of third-party developers with varying skills and backgrounds needs to offer easy-to-use, rich programming abstractions.
  • SUMMARY
  • The following presents a simplified summary in order to provide a basic understanding of some novel embodiments described herein. This summary is not an extensive overview, and it is not intended to identify key/critical elements or to delineate the scope thereof. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
  • Disclosed is a trusted language runtime (TLR) architecture that provides abstractions for developing a runtime for executing trusted applications or portions thereof securely on a mobile device (e.g., a smartphone). A trusted execution environment is created in the mobile device using hardware processor-based isolation extensions. TLR offers at least two abstractions to mobile developers: a trustbox and a trustlet. The trustbox is a runtime environment that offers code and data integrity, and confidentiality. Code and data running inside trustbox cannot be read or modified by any code running outside the trustbox. A trustlet is the portion of an application that runs inside a trustbox. A trustlet can be a .NET-based class whose interface defines the data that can flow in or out of the trustbox.
  • With TLR, programmers can write applications in .NET and specify which parts of the application handle sensitive data, and thus, run inside the trustbox. With the TLR, the developer places these parts in a trustlet class, and the TLR provides all support needed to run the parts in a trustbox. By splitting an application into a small trusted component (a trustlet) and a large untrusted component, the application's attack surface is reduced. Any exploitable bug in the untrusted component does not affect the trusted component's integrity and confidentiality.
  • The TLR can utilize the ARM TrustZone™ memory protection and interrupt delivery control mechanisms, thus reducing the size of its trusted computing base (TCB). TLR also uses the ARM TrustZone hardware support that provides underlying trusted computing primitives with a small TCB, and that yet does not include the operating system.
  • Additionally, TLR can utilize a .NET MicroFramework™ (by Microsoft Corporation) (or other suitable development and execution environment), which is a language runtime for embedded and resource-constrained device that offers the productivity benefits of modern high-level languages to application developers.
  • To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings. These aspects are indicative of the various ways in which the principles disclosed herein can be practiced and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. Other advantages and novel features will become apparent from the following detailed description when considered in conjunction with the drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 illustrates an execution system in accordance with the disclosed architecture.
  • FIG. 2 illustrates a high-level architecture of the trusted language runtime.
  • FIG. 3 illustrates a detailed view of trusted language runtime components.
  • FIG. 4 illustrates a schematic block diagram of an exemplary smart mobile device that a host the trusted language runtime architecture in accordance with the disclosed architecture.
  • FIG. 5 illustrates a computer-implemented execution method in accordance with the disclosed architecture.
  • FIG. 6 illustrates further aspects of the method of FIG. 5.
  • FIG. 7 illustrates further aspects of the method of FIG. 5.
  • FIG. 8 illustrates an alternative execution method in accordance with the disclosed architecture.
  • FIG. 9 illustrates further aspects of the method of FIG. 8.
  • FIG. 10 illustrates a block diagram of a computing system that executes the trusted language runtime architecture.
  • DETAILED DESCRIPTION
  • The disclosed trusted language runtime (TLR) architecture provides abstractions for developing a runtime for running secure and trusted applications on a platform, such as a smartphone. The TLR can utilize ARM TrustZone hardware support, for example, that provides underlying trusted computing primitives with a small trusted computing base (TCB) that does not include the device operating system (OS). Further, TLR can utilize a language runtime for embedded and resource-constrained device that offers the productivity benefits of modern high-level languages to application developers (e.g., the .NET Micro Framework).
  • This allows applications to be built with modern programming languages, such as C#, that improve programmer productivity through features such as strong type checking and garbage collection. Where the .NET Micro Framework is employed, the .NET Framework is a much smaller version of the standard .NET framework, and is specifically designed for resource constrained devices. In addition to its smaller codebase, the .NET Micro Framework implements the minimal system support code needed to run directly on the hardware inside the trusted environment without including the OS as part of the TCB.
  • The TCB of the trusted environment is further reduced by eliminating all support for I/O (input-output). This greatly reduces the size of the class libraries. For example, the GUI (graphical user interface) libraries which typically compose a large portion of the class libraries needed by applications are no longer needed. Moreover, eliminating support for I/O also eliminates the need for I/O device drivers, which drivers typically constitute the largest fraction of the TCB in modern operating systems.
  • Reference is now made to the drawings, wherein like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding thereof. It may be evident, however, that the novel embodiments can be practiced without these specific details. In other instances, well known structures and devices are shown in block diagram form in order to facilitate a description thereof. The intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the claimed subject matter.
  • FIG. 1 illustrates an execution system 100 in accordance with the disclosed architecture. The system 100 includes an untrusted execution environment 102 (e.g., of a mobile device) where an operating system 104 and untrusted code 106 of an application 108 execute. The system 100 also includes a trusted execution environment 110 (e.g., of the mobile device) where trusted code 112 of the application 108 executes. The trusted code 112 is isolated from inspection and modification by the untrusted code 106.
  • A secure communications component 114 (e.g., of the mobile device) provides a secure communications (denoted SEC-COM) channel 116 between the trusted execution environment 110 and untrusted execution environment 102. The secure communications component 114 encrypts data and binds the encrypted data to a specific set of trusted code in the trusted execution environment 110, which environment 110 can include multiples sets of trusted code. The secure communications component 114 switches between a secure mode and an unsecure mode. The secure communications component 114 saves and restores processor state of the trusted and untrusted execution environments (110 and 102) based on mode.
  • The secure communications component 114 establishes the secure communications channel 116 in response to a call, the channel 116 based on kernel-mode drivers, one of which initiates a secure mode. The secure communications component 114 establishes the secure communications channel 116 based on libraries at a language runtime level of the trusted and untrusted execution environments (110 and 102), and communications drivers at a system support level of the trusted and untrusted execution environments (110 and 102).
  • The trusted code 112 is identified in the application 108 according to a class that defines data which flows between the trusted execution environment 110 and the untrusted execution environment 102. In one embodiment, the trusted execution environment 110 is absent of input-output interfaces and device drivers. In another embodiment, the trusted execution environment 110 can utilize input-output interfaces and device drivers. The trusted execution environment 110 executes according to a language runtime environment that runs using hardware-based isolation protection extensions.
  • The system 100 further comprises a bootstrap component 118 that first boots the mobile device into a secure mode and runs a secure bootloader to establish the trusted execution environment 110, and thereafter, invokes an untrusted bootloader to execute a standard boot sequence for the operating system 104.
  • To build a trusted mobile application with the TLR, the developer typically determines which part of an application handles sensitive data, seals the sensitive data by binding it to the trustlet, and deploys trustlet and sealed data to the platform (e.g., smartphone) and runs the trustlet and data inside of a trustbox.
  • To define a trustlet, the developer identifies the application's sensitive data, and separates the program logic that needs to operate on this data, into the trustlet. The public interface to the trustlet's main class is defined, as this interface controls the data that crosses the boundary between the trusted and untrusted environments. A trustlet may use many helper classes, and may even comprise multiple assemblies, yet there is only one class that defines the trustlet's boundary. Once all classes are compiled into assemblies, the developer runs a TLR post-compilation tool for creating a package that contains the closure of the assemblies, and a manifest.
  • With respect to sealing the sensitive data by binding the data to the trustlet, although any application developer can encrypt data without the help of the TLR, the TLR provides special encryption primitives called seal and unseal. These operations allow a developer to encrypt (seal) an object such that it can only be decrypted (unsealed) on a specific platform, by a specific trustlet.
  • Both the platform and trustlet identities can be specified at seal time: a unique public/private key pair for the platform, and a secure hash (e.g., SHA-1) of the trustlet assemblies. To recover sealed data, the TLR decrypts the sealed data using the platform key, and checks that the hash of the trustlet requesting to unseal the data matches the hash of the trustlet that originally sealed the data. This mechanism enables the application to store trustlet data across multiple sessions in persistent storage, and it allows external parties (e.g., a trusted service) to ensure that sealed data can only be accessed on platforms it trusts.
  • To ensure that the trustlet state is protected at runtime, the developer instantiates a trustbox by providing the trustlet's manifest. At this point, the TLR loads the trustlet's assemblies and creates an instance of the trustlet main class. The resulting object constitutes the runtime state of the trustlet until the application destroys the trustbox. To allow the application to interact with the trustlet, the application requests that the TLR create an entrypoint object, which is a transparent proxy to the trustlet interface. Whenever the application invokes methods on the entrypoint, the TLR transparently forwards these calls to the trustlet main object.
  • One common primitive used to build trusted applications is “remote attestation”: the ability of a computer to attest its own software configuration to a remote party. In one implementation, a remote attestation mechanism is employed. In an alternative implementation, remote attestation is omitted to reduce the overall system complexity. TLR finds particular applicability to smartphones. In one usage model, smartphone manufacturers initialize and ship devices with a trusted (uncompromised) TLR implementation. The manufacturer signs this TLR configuration, and the boot process performs signature verification. As long as the TLR implementation is not compromised, it then protects the integrity and confidentiality of data and code running in a trustbox. With this model, the TLR offers adequate trust properties even without remote attestation.
  • FIG. 2 illustrates a high-level architecture 200 of the trusted language runtime 202. The architecture 200 provides two execution environments: the untrusted execution environment 102 (where the mobile device OS and most application software runs) and the trusted execution environment 110. The code running in the trusted environment 110 is isolated from any code running in the untrusted environment 102. Untrusted code (e.g., in application 108) cannot inspect or modify the trusted code (e.g., in a first trustlet 204 of a first trustbox 206). To enable interaction, the TLR 202 provides a secure communication channel between the two environments (102 and 110). The TLR 202 ensures both integrity and confidentiality for code and data inside the trusted environment 110.
  • The trusted environment 110 offers a language runtime with minimal library support (e.g., .NET Micro Framework™ by Microsoft Corporation). A resource-constrained runtime environment offers flexibility to accommodate the trusted computing needs of mobile applications while keeping the TCB of the TLR 202 small. With the TLR 202, a developer partitions a mobile application (e.g., application 108) into components (e.g., two): a small-sized trusted component (e.g., the first trustlet 204) that can run on the resource-constrained runtime 202 of the trusted environment 110, and a large-sized untrusted component (e.g., untrusted code 106) that implements most of the application's functionality.
  • Four primitives are described in the design of the TLR 202. The trustbox 206 is an isolation environment that protects the integrity and confidentiality of any code running inside, as well as its state. The OS 104 (and/or any untrusted application code) can neither tamper with the trusted code running in the trustbox 206 nor inspect state of the trusted code.
  • The trustlet 204 is a class within an application that runs inside a trustbox. The trustlet 204 specifies an interface that defines the data that can cross a boundary 208 between the trustbox 206 and the untrusted environment 102. The runtime's use of strong types ensures that the data crossing the boundary 208 is clearly defined.
  • With respect to platform (device) identity, each device that supports the TLR 202 provides a cryptographic platform identity (e.g., unique). This identity is used to authenticate the platform and to protect (using encryption) any trusted application and data deployed to the platform. In one implementation, a public/private key pair is employed. Access to the private key is provided solely to the TLR 202, which never reveals the private key.
  • The seal and unseal of data are abstractions that serve two roles: a trustlet can persist state across reboots, and a remote trusted party (e.g., a trusted server) can communicate with a trustlet securely. Sealing data is defined as data that is encrypted and bound to a particular trustlet and platform before being released to the untrusted environment 102. The TLR 202 unseals data only to the same trustlet (e.g., trustlet 204) on the same platform that originally sealed it. The trustlet's identity can be based on a secure hash of its code. As depicted in FIG. 2, the TLR 202 operates directly from the hardware 210 of the platform (e.g., mobile device).
  • FIG. 3 illustrates a detailed view 300 of TLR components. The darkest shade shows the TLR components, the light shading shows the device standard system components, and the application components are in white. As previously described, to enable communication between the untrusted and trusted worlds, a secure procedure call (SPC) mechanism (e.g., secure communications component 114 of FIG. 1) is provided. Four components implement this capability: an untrusted environment library (denoted the UWLib) and a trusted environment library (denoted TWLib), both at the language runtime (or managed code) level, and an untrusted environment communication driver (denoted UWDrv) and a trusted environment communication driver (denoted TWDrv), both at the system support (native code) level. The drivers implement context switching in and out of secure mode, and the library components hand off the appropriate input and output data to the drivers.
  • To enable application partitioning, the TLR implements the trustlet and trustbox classes. The trustlet defines the self-contained application code which is to be run inside the isolated trustbox. To build an application that uses the TLR, at a minimum the programmer implements 1) the main trustlet class that defines the public interface between the trusted and untrusted environments (110 and 102), and 2) the code that manages the lifetime of the trustbox.
  • To implement the trustlet main class, a new class is defined that inherits from the Trustlet class and that implements an IEntrypoint interface. Any public method defined in this class enables data to cross the barrier (boundary 208) between the trusted and untrusted environments (110 and 102). All Trustlet objects also provide two methods, Init and Finish, which are called when the trustbox is created and destroyed, respectively. These methods can be overridden to perform any application specific operations during these events. The use of a strongly typed runtime ensures that it is simple to reason about the kinds of data crossing this barrier, so that the sensitive data protected by the trustbox does not leak into the untrusted environment 102.
  • To manage the lifetime of a trustbox, the TLR provides three methods implemented by the Trustbox class. To create a trustbox, an application invokes a Create method, which takes as input the trustlet manifest, and creates a new trustbox dedicated to hosting the trustlet. The trustbox reference returned by Create can then be used by the application to obtain a transparent proxy 302 to the trustlet entrypoint, by calling the Entrypoint method. The transparent proxy 302 is used to ensure that all calls into the trustlet are routed through the SPC mechanism. Finally, when the application wishes to terminate, it invokes a Destroy method to clean up the runtime state of the trustlet.
  • Finally, the TLR provides Seal and Unseal operations. Sealing is a form of encryption that binds the encrypted data to a specific trustlet running on a specific system. To accomplish this, each unique device (e.g., smartphone) has a public/private key pair referred to as the platform ID. The platform ID is used in combination with a secure hash of the trustlet codebase to identify a particular instance of a trustlet. Seal takes three inputs: 1) the object to be sealed, 2) the public key of the target platform ID, and 3) a secure hash of the target trustlet. Seal returns an envelope which comprises of the serialized object concatenated with the trusted hash value, encrypted using the platform ID public key. Unseal decrypts the envelope (which can only be done using with the platform ID private key), and then returns the original data only if the currently running trustlet hash value matches the envelope hash value. As a result, unseal ensures the trustlet identity and integrity.
  • Following is a sample application to illustrate how these constructs work together. To improve security, banking services typically rely on multiple mechanisms for authenticating customers during online transactions. In addition to the customer password, banks normally issue a list of Transaction Authentication Numbers (TANs), each of which constitutes a one-time password for authorizing a bank transfer. The bank sends a list of TANs to each customer, and whenever the customer performs an online transfer, the bank specifies an index into the TAN list and asks for the TAN associated with that index. Today, banks usually record the TAN list on a plastic card, and send that card to the customer over an out-of-band channel (e.g., physical mail).
  • Banks can take advantage of the TLR to build an application that can protect the confidentiality of the TAN list when stored on a customer's smartphone. To accomplish this, the bank create a trustlet (code that is trusted by the bank), and seals the TAN list on a per-customer basis so that the list can only be unsealed by the bank's trustlet running on that specific customer's phone. The code running within the trustlet can access the TAN list, retrieve the appropriate TAN number, and pass it to the untrusted environment to be sent to the remote bank server. The trustlet and the remote server communicate using SSL (secure socket layer) to protect the confidentiality of the data while in flight.
  • Following is an implementation of a trustlet for the above example.
  • public interface ITanWallet : IEntrypoint
    {
      public void Load(Envelope tanLst);
      public Tan GetTan(long id);
    }
    public class TanWallet: ITanWallet, Trustlet
    {
      private TanList _tanLst = null;
      public override void Init( ) { }
      public void Load(Envelope tanLst) {
        try {
         _tanLst = (TanList) this.Unseal(tanLst);
        } catch(Exception e) {
         throw new Exception(“Cannot recover TAN list.”);
        }
      }
      public Tan GetTan(long id) {
        Tan tan = _tanLst.Search(id);
        if (tan == null) {
         throw new Exception(“TAN id invalid.”);
        } else {
         return tan;
        }
      }
      public override void Finish( ) { }
    }
  • The following code illustrates the calling services on a trustbox.
  • // setup the TAN wallet trustlet in a trustbox
    Trustbox tbox = Trustbox.Create(“TanWallet.manifest”);
    // obtain a reference to the trustbox entrypoint
    ITanWallet twallet = (ITanWallet) tbox.Entrypoint( );
    // load the TAN list issued and sealed by the bank
    twallet.Load(myTanLst);
    // run online transaction with the bank
    // obtain a TAN with id requested by the bank
    Tan tan = twallet.GetTan(id);
  • The following code illustrates the trusted service sending confidential data to a trustlet.
  • // the bank generates a TAN list for the customer
    TanList newLst = customer.GenTanLst( );
    // seal the list
    Envelope sealedLst = Trustlet.Seal(customer.PlatformID( ),
    Trustlet.Hash(“TanWallet.manifest”), newLst);
    // send the sealed list to the customer
  • Following is a description of the runtime operation. When the hardware processor (e.g., an ARM processor) supports security extensions (e.g., TrustZone), at boot time, the processor starts in secure mode and runs the secure bootloader. A secure bootloader loads the TLR image into memory and checks the image integrity. Based on hardware support for memory isolation, the TLR runtime lives in the address space of the trusted environment, and therefore, cannot be accessed from the untrusted environment. Next, the secure bootloader hands off to the initialization code within the TLR runtime. After the TLR initialization code finishes, a mode switch instruction is used to exit secure mode, at which point the untrusted environment bootloader is invoked. The standard OS boot sequence is then executed.
  • The TLR provides the SPC, which enables a secure communication channel between the trusted and untrusted environments. To enable switching between the trusted and untrusted environments, the UWDry and TWDry drivers use the processor secure extension instructions that enable switching in and out of secure mode.
  • When the UWDry receives an SPC request, the driver executes the smc instruction, which raises a processor exception. This exception causes the processor to enter a privileged mode called monitor mode, and then jumps to the appropriate exception handler which is implemented by the TWDry driver. This handler implements the context switch by storing the processor state from the untrusted world, and restoring the trusted world processor state. The processor then leaves monitor mode, and the TWDry forwards the request up to the trusted environment library (TWLib), which calls a managed code handler to service the SPC request. When this handler finishes, the system returns to the untrusted environment using the same mechanism. The drivers are also responsible for marshaling the arguments and return values.
  • With respect to trustbox creation and termination, when the application requests the creation of a trustbox, the TLR performs the following steps: 1) computes the hash of the trustlet assemblies specified by the manifest, 2) creates a new sandboxed environment inside the trusted environment (e.g., using a .NET AppDomain container, which is how multiple trustlets that live in the trusted environment can be isolated from each other), 3) loads the trustlet assemblies into the container, and 4) creates an instance of the trustlet's main class. After these operations succeed, the TLR provides a reference to the trustbox as the return value of the SPC. This reference can be used for future interactions with the trustbox.
  • When the application calls the Entrypoint method on the trustbox reference, the untrusted world library (UWLib) creates the transparent proxy and returns it to the untrusted part of the application. After this step, whenever the untrusted application invokes a method on the proxy, the UWLib forwards this invocation to the appropriate trustlet inside the trustbox, using the SPC mechanism described herein. This invocation is fully transparent to the application, and the object state is preserved across these calls. To destroy a trustbox, the TLR runtime deletes the container of the trustbox, thereby freeing all its resources and discarding its internal state. If the developer wants to save any state persistently across instances, a trustlet method can be implemented to seal the relevant state, and have the application store the sealed relevant state persistently.
  • FIG. 4 illustrates a schematic block diagram of an exemplary smart mobile device 400 that a host the trusted language runtime architecture in accordance with the disclosed architecture. In order to provide additional context for various aspects thereof, FIG. 4 and the following discussion are intended to provide a brief, general description of a suitable environment in which the various aspects of the innovation can be implemented. While the description includes a general context of computer-executable instructions, those skilled in the art will recognize that the innovation also can be implemented in combination with other program modules and/or as a combination of hardware and software.
  • Generally, applications (e.g., program modules) can include routines, programs, components, data structures, etc., that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the inventive methods can be practiced with other system configurations, including single-processor or multiprocessor systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which can be operatively coupled to one or more associated devices.
  • The smart device 400 (e.g., a cell phone, PDA) can typically include a variety of computer-readable media. Computer-readable media can be any available media accessed by the handset systems and includes volatile and non-volatile media, removable and non-removable media. By way of example, and not limitation, computer-readable media can comprise device storage media and communication media. Storage media includes volatile and/or non-volatile, removable and/or non-removable media implemented in any method or technology for the storage of information such as computer-readable instructions, data structures, program modules or other data. Storage media can include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disc (DVD) or other optical disk storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the mobile device systems.
  • The smart device 400 includes a processor 402 (e.g., ARM) for controlling and processing onboard operations and functions. A memory 404 interfaces to the processor 402 for the storage of data and one or more applications 406 (e.g., a video player software, user feedback component software, etc.).
  • The applications 406 can include an untrusted application having portions thereof designated as trustlets for secure execution in the trusted execution environment(s).
  • The applications 406 can also include a user interface (UI) application 408 that operates with a client 410 (e.g., operating system) to facilitate user interaction with handset functionality and data, for example, answering/initiating calls, entering/deleting data, configuring settings, address book manipulation, multimode interaction, etc. The applications 406 can include other applications 412 that came installed with the device 400 and/or can be installed as add-ons or plug-ins to the client 410 and/or UI 408, for example, or for other purposes (e.g., processor, firmware, etc.).
  • Included herein is a set of flow charts representative of exemplary methodologies for performing novel aspects of the disclosed architecture. While, for purposes of simplicity of explanation, the one or more methodologies shown herein, for example, in the form of a flow chart or flow diagram, are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance therewith, occur in a different order and/or concurrently with other acts from that shown and described herein. For example, those skilled in the art will understand and appreciate that a methodology could alternatively be represented as a series of interrelated states or events, such as in a state diagram. Moreover, not all acts illustrated in a methodology may be required for a novel implementation.
  • FIG. 5 illustrates a computer-implemented execution method in accordance with the disclosed architecture. At 500 a trusted execution environment is created in a mobile device using processor-based isolation extensions. At 502, a secure communications channel is establish between the trusted execution environment and an untrusted execution environment. At 504, a portion of trusted code of an untrusted application is run in the trusted execution environment. At 506, a call to the portion of trusted code in the trusted execution environment is communicated over the secure communications channel. The call can be generated in response to an invoked method of the untrusted application. At 508, arguments and values are returned to the untrusted execution environment over the secure communications channel, based on the call.
  • FIG. 6 illustrates further aspects of the method of FIG. 5. Note that the flow indicates that each block can represent a step that can be included, separately or in combination with other blocks, as additional aspects of the method represented by the flow chart of FIG. 5. At 600, the portion of trusted code is isolated from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment. At 602, an interface is defined in the portion of trusted code that identifies data communicated between the trusted execution environment and untrusted execution environment. At 604, the mobile device is authenticated based on a cryptographic device identifier of the mobile device. At 606, data is encrypted and bound to the mobile device and a specific portion of trusted code in the trusted execution environment of the mobile device. At 608, the trusted execution environment is destroyed by destroying an associated container of the code and data.
  • FIG. 7 illustrates further aspects of the method of FIG. 5. Note that the flow indicates that each block can represent a step that can be included, separately or in combination with other blocks, as additional aspects of the method represented by the flow chart of FIG. 5. At 700, a secure bootloader is executed to load a trusted language runtime image into memory and perform an integrity check on the image. At 702, trusted language runtime initialization code is initialized to create the trusted execution environment. At 704, a bootloader is thereafter executed in the untrusted execution environment to further execute an operating system boot sequence to create the untrusted execution environment.
  • FIG. 8 illustrates an alternative execution method in accordance with the disclosed architecture. At 800, a trusted execution environment is created in a mobile device using processor-based isolation extensions. At 802, an interface is defined in a portion of trusted code of an untrusted application, the interface identifies data communicated between the trusted execution environment and an untrusted execution environment. At 804, the portion of trusted code is isolated from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment. At 806, a secure communications channel is established between the trusted execution environment and the untrusted execution environment using kernel mode device drivers. At 808, the portion of trusted code is run in the trusted execution environment. At 810, a call is communicated over the secure communications channel to the portion of trusted code and data returned over the secure communications channel to the untrusted execution environment.
  • FIG. 9 illustrates further aspects of the method of FIG. 8. Note that the flow indicates that each block can represent a step that can be included, separately or in combination with other blocks, as additional aspects of the method represented by the flow chart of FIG. 8. At 900, a secure bootloader is executed to create the trusted execution environment and thereafter a bootloader is executed to create the untrusted execution environment. At 902, the trusted execution environment is created absent utilization input-output interfaces and input-output device drivers. As previously described, however, input-output interfaces and input-output device drivers can be utilized in the trusted execution environment. At 904, processor state is stored and restored when switching between a secure mode and an unsecure mode.
  • As used in this application, the terms “component” and “system” are intended to refer to a computer-related entity, either hardware, a combination of software and tangible hardware, software, or software in execution. For example, a component can be, but is not limited to, tangible components such as a processor, chip memory, mass storage devices (e.g., optical drives, solid state drives, and/or magnetic storage media drives), and computers, and software components such as a process running on a processor, an object, an executable, a data structure (stored in volatile or non-volatile storage media), a module, a thread of execution, and/or a program. By way of illustration, both an application running on a server and the server can be a component. One or more components can reside within a process and/or thread of execution, and a component can be localized on one computer and/or distributed between two or more computers. The word “exemplary” may be used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs.
  • Referring now to FIG. 10, there is illustrated a block diagram of a computing system 1000 that executes the trusted language runtime architecture. However, it is appreciated that the some or all aspects of the disclosed methods and/or systems can be implemented as a system-on-a-chip, where analog, digital, mixed signals, and other functions are fabricated on a single chip substrate. In order to provide additional context for various aspects thereof, FIG. 10 and the following description are intended to provide a brief, general description of the suitable computing system 1000 in which the various aspects can be implemented. While the description above is in the general context of computer-executable instructions that can run on one or more computers, those skilled in the art will recognize that a novel embodiment also can be implemented in combination with other program modules and/or as a combination of hardware and software.
  • The computing system 1000 for implementing various aspects includes the computer 1002 having processing unit(s) 1004, a computer-readable storage such as a system memory 1006, and a system bus 1008. The processing unit(s) 1004 can be any of various commercially available processors such as single-processor, multi-processor, single-core units and multi-core units. Moreover, those skilled in the art will appreciate that the novel methods can be practiced with other computer system configurations, including minicomputers, mainframe computers, as well as personal computers (e.g., desktop, laptop, etc.), hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which can be operatively coupled to one or more associated devices.
  • The system memory 1006 can include computer-readable storage (physical storage media) such as a volatile (VOL) memory 1010 (e.g., random access memory (RAM)) and non-volatile memory (NON-VOL) 1012 (e.g., ROM, EPROM, EEPROM, etc.). A basic input/output system (BIOS) can be stored in the non-volatile memory 1012, and includes the basic routines that facilitate the communication of data and signals between components within the computer 1002, such as during startup. The volatile memory 1010 can also include a high-speed RAM such as static RAM for caching data.
  • The system bus 1008 provides an interface for system components including, but not limited to, the system memory 1006 to the processing unit(s) 1004. The system bus 1008 can be any of several types of bus structure that can further interconnect to a memory bus (with or without a memory controller), and a peripheral bus (e.g., PCI, PCIe, AGP, LPC, etc.), using any of a variety of commercially available bus architectures.
  • The computer 1002 further includes machine readable storage subsystem(s) 1014 and storage interface(s) 1016 for interfacing the storage subsystem(s) 1014 to the system bus 1008 and other desired computer components. The storage subsystem(s) 1014 (physical storage media) can include one or more of a hard disk drive (HDD), a magnetic floppy disk drive (FDD), and/or optical disk storage drive (e.g., a CD-ROM drive DVD drive), for example. The storage interface(s) 1016 can include interface technologies such as EIDE, ATA, SATA, and IEEE 1394, for example.
  • One or more programs and data can be stored in the memory subsystem 1006, a machine readable and removable memory subsystem 1018 (e.g., flash drive form factor technology), and/or the storage subsystem(s) 1014 (e.g., optical, magnetic, solid state), including an operating system 1020, one or more application programs 1022, other program modules 1024, and program data 1026.
  • The operating system 1020, one or more application programs 1022, other program modules 1024, and/or program data 1026 can include entities and components of the system 100 of FIG. 1, entities and components of the architecture 200 of FIG. 2, entities and components of the view 300 of FIG. 3, and the methods represented by the flowcharts of FIGS. 5-9, for example.
  • Generally, programs include routines, methods, data structures, other software components, etc., that perform particular tasks or implement particular abstract data types. All or portions of the operating system 1020, applications 1022, modules 1024, and/or data 1026 can also be cached in memory such as the volatile memory 1010, for example. It is to be appreciated that the disclosed architecture can be implemented with various commercially available operating systems or combinations of operating systems (e.g., as virtual machines).
  • The storage subsystem(s) 1014 and memory subsystems (1006 and 1018) serve as computer readable media for volatile and non-volatile storage of data, data structures, computer-executable instructions, and so forth. Such instructions, when executed by a computer or other machine, can cause the computer or other machine to perform one or more acts of a method. The instructions to perform the acts can be stored on one medium, or could be stored across multiple media, so that the instructions appear collectively on the one or more computer-readable storage media, regardless of whether all of the instructions are on the same media.
  • Computer readable media can be any available media that can be accessed by the computer 1002 and includes volatile and non-volatile internal and/or external media that is removable or non-removable. For the computer 1002, the media accommodate the storage of data in any suitable digital format. It should be appreciated by those skilled in the art that other types of computer readable media can be employed such as zip drives, magnetic tape, flash memory cards, flash drives, cartridges, and the like, for storing computer executable instructions for performing the novel methods of the disclosed architecture.
  • A user can interact with the computer 1002, programs, and data using external user input devices 1028 such as a keyboard and a mouse. Other external user input devices 1028 can include a microphone, an IR (infrared) remote control, a joystick, a game pad, camera recognition systems, a stylus pen, touch screen, gesture systems (e.g., eye movement, head movement, etc.), and/or the like. The user can interact with the computer 1002, programs, and data using onboard user input devices 1030 such a touchpad, microphone, keyboard, etc., where the computer 1002 is a portable computer, for example. These and other input devices are connected to the processing unit(s) 1004 through input/output (I/O) device interface(s) 1032 via the system bus 1008, but can be connected by other interfaces such as a parallel port, IEEE 1394 serial port, a game port, a USB port, an IR interface, short-range wireless (e.g., Bluetooth) and other personal area network (PAN) technologies, etc. The I/O device interface(s) 1032 also facilitate the use of output peripherals 1034 such as printers, audio devices, camera devices, and so on, such as a sound card and/or onboard audio processing capability.
  • One or more graphics interface(s) 1036 (also commonly referred to as a graphics processing unit (GPU)) provide graphics and video signals between the computer 1002 and external display(s) 1038 (e.g., LCD, plasma) and/or onboard displays 1040 (e.g., for portable computer). The graphics interface(s) 1036 can also be manufactured as part of the computer system board.
  • The computer 1002 can operate in a networked environment (e.g., IP-based) using logical connections via a wired/wireless communications subsystem 1042 to one or more networks and/or other computers. The other computers can include workstations, servers, routers, personal computers, microprocessor-based entertainment appliances, peer devices or other common network nodes, and typically include many or all of the elements described relative to the computer 1002. The logical connections can include wired/wireless connectivity to a local area network (LAN), a wide area network (WAN), hotspot, and so on. LAN and WAN networking environments are commonplace in offices and companies and facilitate enterprise-wide computer networks, such as intranets, all of which may connect to a global communications network such as the Internet.
  • When used in a networking environment the computer 1002 connects to the network via a wired/wireless communication subsystem 1042 (e.g., a network interface adapter, onboard transceiver subsystem, etc.) to communicate with wired/wireless networks, wired/wireless printers, wired/wireless input devices 1044, and so on. The computer 1002 can include a modem or other means for establishing communications over the network. In a networked environment, programs and data relative to the computer 1002 can be stored in the remote memory/storage device, as is associated with a distributed system. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers can be used.
  • The computer 1002 is operable to communicate with wired/wireless devices or entities using the radio technologies such as the IEEE 802.xx family of standards, such as wireless devices operatively disposed in wireless communication (e.g., IEEE 802.11 over-the-air modulation techniques) with, for example, a printer, scanner, desktop and/or portable computer, personal digital assistant (PDA), communications satellite, any piece of equipment or location associated with a wirelessly detectable tag (e.g., a kiosk, news stand, restroom), and telephone. This includes at least Wi-Fi (or Wireless Fidelity) for hotspots, WiMax, and Bluetooth™ wireless technologies. Thus, the communications can be a predefined structure as with a conventional network or simply an ad hoc communication between at least two devices. Wi-Fi networks use radio technologies called IEEE 802.11x (a, b, g, etc.) to provide secure, reliable, fast wireless connectivity. A Wi-Fi network can be used to connect computers to each other, to the Internet, and to wire networks (which use IEEE 802.3-related media and functions).
  • What has been described above includes examples of the disclosed architecture. It is, of course, not possible to describe every conceivable combination of components and/or methodologies, but one of ordinary skill in the art may recognize that many further combinations and permutations are possible. Accordingly, the novel architecture is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term “includes” is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.

Claims (20)

1. A computer-implemented execution system, comprising:
an untrusted execution environment of a mobile device where an operating system and untrusted code of an application execute;
a trusted execution environment of the mobile device where trusted code of the application executes, the trusted code isolated from inspection and modification by the untrusted code;
a secure communications component of the mobile device that provides a secure communications channel between the trusted and untrusted execution environments; and
a processor that executes computer-executable instructions associated with at least one of the untrusted execution environment, trusted execution environment, or secure communications component.
2. The system of claim 1, wherein the trusted code is identified in the application according to a class that defines data which flows between the trusted and untrusted execution environments.
3. The system of claim 1, wherein the trusted execution environment is absent of input-output interfaces and device drivers.
4. The system of claim 1, wherein the trusted execution environment executes according to a language runtime environment that runs using hardware-based isolation protection extensions.
5. The system of claim 1, wherein the secure communications component encrypts data and binds the encrypted data to a specific set of trusted code in the trusted execution environment, which environment includes one or more sets of trusted code.
6. The system of claim 1, wherein the secure communications component switches between a secure mode and an unsecure mode, the secure communications component saves and restores processor state of the trusted and untrusted execution environments based on mode.
7. The system of claim 1, wherein the secure communications component establishes the secure communications channel in response to a call, the channel based on kernel-mode drivers one of which initiates a secure mode.
8. The system of claim 1, wherein the secure communications component establishes the secure communications channel based on libraries at a language runtime level of the trusted and untrusted execution environments, and communications drivers at a system support level of the trusted and untrusted execution environments.
9. The system of claim 1, further comprising a bootstrap component that first boots the mobile device into a secure mode and runs a secure bootloader to establish the trusted execution environment, and thereafter, invokes an untrusted bootloader to execute a standard boot sequence for the operating system.
10. A computer-implemented execution method, comprising acts of:
creating a trusted execution environment in a mobile device using processor-based isolation extensions;
establishing a secure communications channel between the trusted execution environment and an untrusted execution environment;
running a portion of trusted code of an untrusted application in the trusted execution environment;
communicating a call to the portion of trusted code in the trusted execution environment over the secure communications channel, the call generated in response to an invoked method of the untrusted application;
returning arguments and values to the untrusted execution environment over the secure communications channel, based on the call; and
utilizing a processor that executes instructions stored in memory to perform at least one of the acts of creating, establishing, running, communicating, or returning.
11. The method of claim 10, further comprising isolating the portion of trusted code from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment.
12. The method of claim 10, further comprising defining an interface in the portion of trusted code that identifies data communicated between the trusted execution environment and untrusted execution environment.
13. The method of claim 10, further comprising authenticating the mobile device based on a cryptographic device identifier of the mobile device.
14. The method of claim 10, further comprising encrypting and binding data to the mobile device and a specific portion of trusted code in the trusted execution environment of the mobile device.
15. The method of claim 10, further comprising destroying the trusted execution environment by destroying an associated container of the code and data.
16. The method of claim 10, further comprising:
executing a secure bootloader to load a trusted language runtime image into memory and perform an integrity check on the image;
initiating trusted language runtime initialization code to create the trusted execution environment; and
thereafter executing a bootloader in the untrusted execution environment to further execute an operating system boot sequence to create the untrusted execution environment.
17. A computer-implemented execution method, comprising acts of:
creating a trusted execution environment in a mobile device using processor-based isolation extensions;
defining an interface in a portion of trusted code of an untrusted application, the interface identifies data communicated between the trusted execution environment and an untrusted execution environment;
isolating the portion of trusted code from inspection by untrusted application code and operating system of the mobile device using the trusted execution environment;
establishing a secure communications channel between the trusted execution environment and the untrusted execution environment using kernel mode device drivers;
running the portion of trusted code in the trusted execution environment;
communicating a call over the secure communications channel to the portion of trusted code and returning data over the secure communications channel to the untrusted execution environment; and
utilizing a processor that executes instructions stored in memory to perform at least one of the acts of creating, defining, isolating, establishing, running, or communicating.
18. The method of claim 17, further comprising executing a secure bootloader to create the trusted execution environment and thereafter executing a bootloader to create the untrusted execution environment.
19. The method of claim 17, further comprising creating the trusted execution environment absent utilization input-output interfaces and input-output device drivers in the trusted execution environment.
20. The method of claim 17, further comprising storing and restoring processor state when switching between a secure mode and an unsecure mode.
US13/167,699 2011-06-24 2011-06-24 Trusted language runtime on a mobile platform Active 2033-06-16 US10496824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/167,699 US10496824B2 (en) 2011-06-24 2011-06-24 Trusted language runtime on a mobile platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/167,699 US10496824B2 (en) 2011-06-24 2011-06-24 Trusted language runtime on a mobile platform

Publications (2)

Publication Number Publication Date
US20120331550A1 true US20120331550A1 (en) 2012-12-27
US10496824B2 US10496824B2 (en) 2019-12-03

Family

ID=47363114

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/167,699 Active 2033-06-16 US10496824B2 (en) 2011-06-24 2011-06-24 Trusted language runtime on a mobile platform

Country Status (1)

Country Link
US (1) US10496824B2 (en)

Cited By (66)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120304310A1 (en) * 2011-03-21 2012-11-29 Mocana Corporation Secure execution of unsecured apps on a device
US20130159729A1 (en) * 2011-07-29 2013-06-20 Microsoft Corporation Software-based trusted platform module
US20130347064A1 (en) * 2012-06-15 2013-12-26 Visa International Services Association Method and apparatus for secure application execution
US20140058583A1 (en) * 2011-12-30 2014-02-27 Vijay Sarathi Kesavan Event Data Recording for Vehicles
US20140165216A1 (en) * 2012-12-07 2014-06-12 Samsung Electronics Co., Ltd. Priority-based application execution method and apparatus of data processing device
US8812868B2 (en) 2011-03-21 2014-08-19 Mocana Corporation Secure execution of unsecured apps on a device
US20140245013A1 (en) * 2011-11-04 2014-08-28 Sk Planet Co., Ltd. Method for interworking with trustzone between normal domain and secure domain, and management method of trusted application download, management server, device and system using it
WO2014151038A1 (en) * 2013-03-15 2014-09-25 Intel Corporation Mutually assured data sharing between distrusting parties in a network environment
WO2014204363A1 (en) * 2013-06-19 2014-12-24 Telefonaktiebolaget L M Ericsson (Publ) Method and an integrated circuit for executing a trusted application within a trusted runtime environment
US8955142B2 (en) 2011-03-21 2015-02-10 Mocana Corporation Secure execution of unsecured apps on a device
US20150121536A1 (en) * 2013-10-24 2015-04-30 Bin Xing Methods and apparatus for protecting software from unauthorized copying
US20150256556A1 (en) * 2013-03-05 2015-09-10 Bot Or Not, Llc Method and system for web integrity validator
US20150348026A1 (en) * 2014-05-14 2015-12-03 Mastercard International Incorporated Security for mobile applications
US9208319B2 (en) 2011-12-15 2015-12-08 Microsoft Technology Licensing, Llc Code base partitioning system
WO2016070810A1 (en) * 2014-11-05 2016-05-12 中国银联股份有限公司 Method for a dual access application between two execution environments
US9342688B2 (en) 2013-03-07 2016-05-17 Qualcomm Incorporated Apparatus and method for inheriting a non-secure thread context
WO2016105861A1 (en) * 2014-12-23 2016-06-30 Mcafee, Inc. Input verification
US20160188873A1 (en) * 2014-12-27 2016-06-30 Ned M. Smith Binary translation of a trusted binary with input tagging
US9396325B2 (en) 2011-03-21 2016-07-19 Mocana Corporation Provisioning an app on a device and implementing a keystore
WO2016116278A1 (en) * 2015-01-22 2016-07-28 Giesecke & Devrient Gmbh Method for operating a computer unit with a secure runtime environment, and such a computer unit
US9430664B2 (en) 2013-05-20 2016-08-30 Microsoft Technology Licensing, Llc Data protection for organizations on computing devices
WO2016122751A3 (en) * 2014-12-16 2016-10-13 Intel Corporation Using trusted execution environments for security of code and data
US9473485B2 (en) 2011-03-21 2016-10-18 Blue Cedar Networks, Inc. Secure single sign-on for a group of wrapped applications on a computing device and runtime credential sharing
US9477614B2 (en) 2011-08-30 2016-10-25 Microsoft Technology Licensing, Llc Sector map-based rapid data encryption policy compliance
US9565168B1 (en) 2015-05-05 2017-02-07 Sprint Communications Company L.P. System and method of a trusted computing operation mode
US9569638B2 (en) * 2014-12-31 2017-02-14 Google Inc. Trusted computing
US9578664B1 (en) * 2013-02-07 2017-02-21 Sprint Communications Company L.P. Trusted signaling in 3GPP interfaces in a network function virtualization wireless communication system
GB2542355A (en) * 2015-09-15 2017-03-22 Samsung Electronics Co Ltd Methods and apparatus for distributing and installing trusted applications
US9609000B2 (en) * 2012-06-06 2017-03-28 Nec Corporation Method and system for executing a secure application on an untrusted user equipment
US20170094518A1 (en) * 2012-07-02 2017-03-30 At&T Intellectual Property I, Lp. Method and apparatus for providing provably secure user input/output
US9686240B1 (en) 2015-07-07 2017-06-20 Sprint Communications Company L.P. IPv6 to IPv4 data packet migration in a trusted security zone
US20170235955A1 (en) * 2012-10-02 2017-08-17 Mordecai Barkan Access Management and Credential Protection
US9749294B1 (en) 2015-09-08 2017-08-29 Sprint Communications Company L.P. System and method of establishing trusted operability between networks in a network functions virtualization environment
US9781016B1 (en) 2015-11-02 2017-10-03 Sprint Communications Company L.P. Dynamic addition of network function services
WO2017172665A1 (en) * 2016-03-31 2017-10-05 Microsoft Technology Licensing, Llc Secure driver platform
US9798559B2 (en) 2014-12-27 2017-10-24 Mcafee, Inc. Trusted binary translation
US9811686B1 (en) 2015-10-09 2017-11-07 Sprint Communications Company L.P. Support systems interactions with virtual network functions in a trusted security zone
US9825945B2 (en) 2014-09-09 2017-11-21 Microsoft Technology Licensing, Llc Preserving data protection with policy
US9853820B2 (en) 2015-06-30 2017-12-26 Microsoft Technology Licensing, Llc Intelligent deletion of revoked data
US9853812B2 (en) 2014-09-17 2017-12-26 Microsoft Technology Licensing, Llc Secure key management for roaming protected content
US9860063B2 (en) 2015-02-27 2018-01-02 Microsoft Technology Licensing, Llc Code analysis tool for recommending encryption of data without affecting program semantics
CN107567629A (en) * 2015-03-19 2018-01-09 英特尔公司 Dynamic firmware module loader in credible performing environment container
US9900325B2 (en) 2015-10-09 2018-02-20 Microsoft Technology Licensing, Llc Passive encryption of organization data
US9900295B2 (en) 2014-11-05 2018-02-20 Microsoft Technology Licensing, Llc Roaming content wipe actions across devices
KR101922798B1 (en) 2017-03-07 2018-11-27 한국과학기술원 Method and Apparatus for providing a private execution environment using ARM TrustZone
US10182040B2 (en) * 2015-06-10 2019-01-15 Massachusetts Institute Of Technology Systems and methods for single device authentication
US10235515B2 (en) * 2014-05-15 2019-03-19 Carnegie Mellon University Method and apparatus for on-demand isolated I/O channels for secure applications
WO2019059671A1 (en) * 2017-09-20 2019-03-28 Samsung Electronics Co., Ltd. Electronic device and control method thereof
US10250498B1 (en) 2016-10-03 2019-04-02 Sprint Communications Company L.P. Session aggregator brokering of data stream communication
US10348488B1 (en) 2017-08-25 2019-07-09 Sprint Communications Company L.P. Tiered distributed ledger technology (DLT) in a network function virtualization (NFV) core network
US10395028B2 (en) * 2014-03-28 2019-08-27 Intel Corporation Virtualization based intra-block workload isolation
CN110622164A (en) * 2017-04-30 2019-12-27 微软技术许可有限责任公司 Execution of driver code subsets in separate protection domains
US10542115B1 (en) 2015-10-01 2020-01-21 Sprint Communications Company L.P. Securing communications in a network function virtualization (NFV) core network
US10615967B2 (en) 2014-03-20 2020-04-07 Microsoft Technology Licensing, Llc Rapid data protection for storage devices
US10719567B2 (en) 2016-05-25 2020-07-21 Microsoft Technology Licensing, Llc Database query processing on encrypted data
US10810327B2 (en) * 2018-01-05 2020-10-20 Intel Corporation Enforcing secure display view for trusted transactions
US10897360B2 (en) 2017-01-26 2021-01-19 Microsoft Technology Licensing, Llc Addressing a trusted execution environment using clean room provisioning
US10897459B2 (en) * 2017-01-26 2021-01-19 Microsoft Technology Licensing, Llc Addressing a trusted execution environment using encryption key
US10972265B2 (en) * 2017-01-26 2021-04-06 Microsoft Technology Licensing, Llc Addressing a trusted execution environment
US11086997B1 (en) * 2018-02-26 2021-08-10 United States Of America As Represented By The Secretary Of The Air Force Active attestation of embedded systems
US11163859B2 (en) * 2011-09-09 2021-11-02 Nvidia Corporation Content protection via online servers and code execution in a secure operating system
US11223634B2 (en) 2012-10-02 2022-01-11 Mordecai Barkan Secured automated or semi-automated systems
US20220360445A1 (en) * 2020-09-11 2022-11-10 TEEware Co., Ltd. Biosensor structure for measuring specimen and method for measuring specimen by using the same
US20220374512A1 (en) * 2021-05-21 2022-11-24 Vmware, Inc. Software-based hardware security module (hsm) for a virtualized computing environment
US20220414212A1 (en) * 2021-06-28 2022-12-29 R3 Ltd. Counteracting fraudulent clock readings and side-channel attacks
US11847205B1 (en) 2020-10-26 2023-12-19 T-Mobile Innovations Llc Trusted 5G network function virtualization of virtual network function elements embedded on a system-on-chip

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11251942B2 (en) 2019-01-09 2022-02-15 Alibaba Group Holding Limited Secure communication channel between encryption/decryption component and trusted execution environment
CN109922056B (en) 2019-02-26 2021-09-10 创新先进技术有限公司 Data security processing method, terminal and server thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289311A1 (en) * 2004-06-29 2005-12-29 David Durham System and method for secure inter-platform and intra-platform communications
US20060090084A1 (en) * 2004-10-22 2006-04-27 Mark Buer Secure processing environment
US7203833B1 (en) * 2002-12-23 2007-04-10 Microsoft Corporation History based rights computation for managed code
US20070199046A1 (en) * 2006-02-22 2007-08-23 Harris Corporation Computer architecture for a handheld electronic device
US20080005794A1 (en) * 2004-08-25 2008-01-03 Nec Corporation Information Communication Device and Program Execution Environment Control Method
US7380276B2 (en) * 2004-05-20 2008-05-27 Intel Corporation Processor extensions and software verification to support type-safe language environments running with untrusted code
US20090282477A1 (en) * 2008-05-08 2009-11-12 Google Inc. Method for validating an untrusted native code module
US7624111B2 (en) * 2005-06-27 2009-11-24 Microsoft Corporation Active content trust model
US20100011446A1 (en) * 2008-07-11 2010-01-14 Microsoft Corporation Verification of un-trusted code for consumption on an insecure device
US20100153693A1 (en) * 2008-12-17 2010-06-17 Microsoft Corporation Code execution with automated domain switching

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184520A1 (en) * 2001-05-30 2002-12-05 Bush William R. Method and apparatus for a secure virtual machine
WO2003036470A2 (en) 2001-10-22 2003-05-01 Intuwave Limited Method of developing software programs for resource constrained mobile computing devices
US7069442B2 (en) 2002-03-29 2006-06-27 Intel Corporation System and method for execution of a secured environment initialization instruction
AU2003231070A1 (en) 2002-04-18 2003-11-03 Advanced Micro Devices Inc. A computer system including a secure execution mode - capable cpu and a security services processor connected via a secure communication path
EP1692614A2 (en) 2003-11-06 2006-08-23 intuwave Limited A method of rapid software application development for a wireless mobile device
US8117642B2 (en) 2008-03-21 2012-02-14 Freescale Semiconductor, Inc. Computing device with entry authentication into trusted execution environment and method therefor
US8099472B2 (en) 2008-10-21 2012-01-17 Lookout, Inc. System and method for a mobile cross-platform software system
US20100106926A1 (en) * 2008-10-25 2010-04-29 International Business Machines Corporation Second failure data capture problem determination using user selective memory protection to trace application failures

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203833B1 (en) * 2002-12-23 2007-04-10 Microsoft Corporation History based rights computation for managed code
US7380276B2 (en) * 2004-05-20 2008-05-27 Intel Corporation Processor extensions and software verification to support type-safe language environments running with untrusted code
US20050289311A1 (en) * 2004-06-29 2005-12-29 David Durham System and method for secure inter-platform and intra-platform communications
US20080005794A1 (en) * 2004-08-25 2008-01-03 Nec Corporation Information Communication Device and Program Execution Environment Control Method
US20060090084A1 (en) * 2004-10-22 2006-04-27 Mark Buer Secure processing environment
US7624111B2 (en) * 2005-06-27 2009-11-24 Microsoft Corporation Active content trust model
US20070199046A1 (en) * 2006-02-22 2007-08-23 Harris Corporation Computer architecture for a handheld electronic device
US20090282477A1 (en) * 2008-05-08 2009-11-12 Google Inc. Method for validating an untrusted native code module
US20100011446A1 (en) * 2008-07-11 2010-01-14 Microsoft Corporation Verification of un-trusted code for consumption on an insecure device
US20100153693A1 (en) * 2008-12-17 2010-06-17 Microsoft Corporation Code execution with automated domain switching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Nuno Santos, Himanshu Raj, Stefan Saroiu, Alec Wolman "Trusted Language Runtime (TLR): Enabling Trusted Applications on Smartphones," HotMobile 2011, March 1-2, 2011. *

Cited By (112)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8955142B2 (en) 2011-03-21 2015-02-10 Mocana Corporation Secure execution of unsecured apps on a device
US8812868B2 (en) 2011-03-21 2014-08-19 Mocana Corporation Secure execution of unsecured apps on a device
US9473485B2 (en) 2011-03-21 2016-10-18 Blue Cedar Networks, Inc. Secure single sign-on for a group of wrapped applications on a computing device and runtime credential sharing
US9396325B2 (en) 2011-03-21 2016-07-19 Mocana Corporation Provisioning an app on a device and implementing a keystore
US20120304310A1 (en) * 2011-03-21 2012-11-29 Mocana Corporation Secure execution of unsecured apps on a device
US8769305B2 (en) * 2011-03-21 2014-07-01 Moncana Corporation Secure execution of unsecured apps on a device
US9189653B2 (en) * 2011-07-29 2015-11-17 Microsoft Technology Licensing, Llc Software-based trusted platform module
US20160048678A1 (en) * 2011-07-29 2016-02-18 Microsoft Technology Licensing, Llc Trustzone-based integrity measurements and verification using a software-based trusted platform module
US9489512B2 (en) * 2011-07-29 2016-11-08 Microsoft Technology Licensing, Llc Trustzone-based integrity measurements and verification using a software-based trusted platform module
US20130159729A1 (en) * 2011-07-29 2013-06-20 Microsoft Corporation Software-based trusted platform module
US9740639B2 (en) 2011-08-30 2017-08-22 Microsoft Technology Licensing, Llc Map-based rapid data encryption policy compliance
US9477614B2 (en) 2011-08-30 2016-10-25 Microsoft Technology Licensing, Llc Sector map-based rapid data encryption policy compliance
US11163859B2 (en) * 2011-09-09 2021-11-02 Nvidia Corporation Content protection via online servers and code execution in a secure operating system
US9100172B2 (en) * 2011-11-04 2015-08-04 Sk Planet Co., Ltd. Method for interworking with trustzone between normal domain and secure domain, and management method of trusted application download, management server, device and system using it
US20140245013A1 (en) * 2011-11-04 2014-08-28 Sk Planet Co., Ltd. Method for interworking with trustzone between normal domain and secure domain, and management method of trusted application download, management server, device and system using it
US9208319B2 (en) 2011-12-15 2015-12-08 Microsoft Technology Licensing, Llc Code base partitioning system
US20140058583A1 (en) * 2011-12-30 2014-02-27 Vijay Sarathi Kesavan Event Data Recording for Vehicles
US8965626B2 (en) * 2011-12-30 2015-02-24 Intel Corporation Event data recording for vehicles
US9609000B2 (en) * 2012-06-06 2017-03-28 Nec Corporation Method and system for executing a secure application on an untrusted user equipment
US20130347064A1 (en) * 2012-06-15 2013-12-26 Visa International Services Association Method and apparatus for secure application execution
US9317689B2 (en) * 2012-06-15 2016-04-19 Visa International Service Association Method and apparatus for secure application execution
US10045212B2 (en) * 2012-07-02 2018-08-07 At&T Intellectual Property I, L.P. Method and apparatus for providing provably secure user input/output
US20170094518A1 (en) * 2012-07-02 2017-03-30 At&T Intellectual Property I, Lp. Method and apparatus for providing provably secure user input/output
US20170235955A1 (en) * 2012-10-02 2017-08-17 Mordecai Barkan Access Management and Credential Protection
US11223634B2 (en) 2012-10-02 2022-01-11 Mordecai Barkan Secured automated or semi-automated systems
US11188652B2 (en) * 2012-10-02 2021-11-30 Mordecai Barkan Access management and credential protection
US9886595B2 (en) * 2012-12-07 2018-02-06 Samsung Electronics Co., Ltd. Priority-based application execution method and apparatus of data processing device
US20140165216A1 (en) * 2012-12-07 2014-06-12 Samsung Electronics Co., Ltd. Priority-based application execution method and apparatus of data processing device
US9578664B1 (en) * 2013-02-07 2017-02-21 Sprint Communications Company L.P. Trusted signaling in 3GPP interfaces in a network function virtualization wireless communication system
US9769854B1 (en) * 2013-02-07 2017-09-19 Sprint Communications Company L.P. Trusted signaling in 3GPP interfaces in a network function virtualization wireless communication system
US20150256556A1 (en) * 2013-03-05 2015-09-10 Bot Or Not, Llc Method and system for web integrity validator
US9584543B2 (en) * 2013-03-05 2017-02-28 White Ops, Inc. Method and system for web integrity validator
US9342688B2 (en) 2013-03-07 2016-05-17 Qualcomm Incorporated Apparatus and method for inheriting a non-secure thread context
US9769129B2 (en) 2013-03-15 2017-09-19 Intel Corporation Mutually assured data sharing between distrusting parties in a network environment
KR101728698B1 (en) 2013-03-15 2017-04-20 인텔 코포레이션 Mutually assured data sharing between distrusting parties in a network environment
US9171163B2 (en) 2013-03-15 2015-10-27 Intel Corporation Mutually assured data sharing between distrusting parties in a network environment
WO2014151038A1 (en) * 2013-03-15 2014-09-25 Intel Corporation Mutually assured data sharing between distrusting parties in a network environment
US9430664B2 (en) 2013-05-20 2016-08-30 Microsoft Technology Licensing, Llc Data protection for organizations on computing devices
WO2014204363A1 (en) * 2013-06-19 2014-12-24 Telefonaktiebolaget L M Ericsson (Publ) Method and an integrated circuit for executing a trusted application within a trusted runtime environment
US9927995B2 (en) * 2013-06-19 2018-03-27 Telefonaktiebolaget Lm Ericsson (Publ) Method and an integrated circuit for executing a trusted application within a trusted runtime environment
US20160139846A1 (en) * 2013-06-19 2016-05-19 Telefonaktiebolaget L M Ericsson (Publ) Method and an integrated circuit for executing a trusted application within a trusted runtime environment
US9536063B2 (en) * 2013-10-24 2017-01-03 Intel Corporation Methods and apparatus for protecting software from unauthorized copying
US20150121536A1 (en) * 2013-10-24 2015-04-30 Bin Xing Methods and apparatus for protecting software from unauthorized copying
US10615967B2 (en) 2014-03-20 2020-04-07 Microsoft Technology Licensing, Llc Rapid data protection for storage devices
US10395028B2 (en) * 2014-03-28 2019-08-27 Intel Corporation Virtualization based intra-block workload isolation
US20150348026A1 (en) * 2014-05-14 2015-12-03 Mastercard International Incorporated Security for mobile applications
US10909531B2 (en) * 2014-05-14 2021-02-02 Mastercard International Incorporated Security for mobile applications
US10235515B2 (en) * 2014-05-15 2019-03-19 Carnegie Mellon University Method and apparatus for on-demand isolated I/O channels for secure applications
US9825945B2 (en) 2014-09-09 2017-11-21 Microsoft Technology Licensing, Llc Preserving data protection with policy
US9853812B2 (en) 2014-09-17 2017-12-26 Microsoft Technology Licensing, Llc Secure key management for roaming protected content
WO2016070810A1 (en) * 2014-11-05 2016-05-12 中国银联股份有限公司 Method for a dual access application between two execution environments
CN105592019A (en) * 2014-11-05 2016-05-18 中国银联股份有限公司 Method for bidirectional access to application between dual execution environments
US9900295B2 (en) 2014-11-05 2018-02-20 Microsoft Technology Licensing, Llc Roaming content wipe actions across devices
CN107111715A (en) * 2014-12-16 2017-08-29 英特尔公司 Credible performing environment is used for the security of code and data
WO2016122751A3 (en) * 2014-12-16 2016-10-13 Intel Corporation Using trusted execution environments for security of code and data
US9940456B2 (en) * 2014-12-16 2018-04-10 Intel Corporation Using trusted execution environments for security of code and data
US10169574B2 (en) 2014-12-16 2019-01-01 Intel Corporation Using trusted execution environments for security of code and data
US9832207B2 (en) 2014-12-23 2017-11-28 Mcafee, Inc. Input verification
WO2016105861A1 (en) * 2014-12-23 2016-06-30 Mcafee, Inc. Input verification
US9996690B2 (en) * 2014-12-27 2018-06-12 Mcafee, Llc Binary translation of a trusted binary with input tagging
US20160188873A1 (en) * 2014-12-27 2016-06-30 Ned M. Smith Binary translation of a trusted binary with input tagging
US9798559B2 (en) 2014-12-27 2017-10-24 Mcafee, Inc. Trusted binary translation
US20170103234A1 (en) * 2014-12-31 2017-04-13 Google Inc. Trusted computing
US9569638B2 (en) * 2014-12-31 2017-02-14 Google Inc. Trusted computing
US10650167B2 (en) 2014-12-31 2020-05-12 Google Llc Trusted computing
US9965653B2 (en) * 2014-12-31 2018-05-08 Google Llc Trusted computing
WO2016116278A1 (en) * 2015-01-22 2016-07-28 Giesecke & Devrient Gmbh Method for operating a computer unit with a secure runtime environment, and such a computer unit
US9860063B2 (en) 2015-02-27 2018-01-02 Microsoft Technology Licensing, Llc Code analysis tool for recommending encryption of data without affecting program semantics
EP3271818A4 (en) * 2015-03-19 2018-11-14 Intel Corporation Dynamic firmware module loader in a trusted execution environment container
CN107567629A (en) * 2015-03-19 2018-01-09 英特尔公司 Dynamic firmware module loader in credible performing environment container
US10430589B2 (en) 2015-03-19 2019-10-01 Intel Corporation Dynamic firmware module loader in a trusted execution environment container
US9565168B1 (en) 2015-05-05 2017-02-07 Sprint Communications Company L.P. System and method of a trusted computing operation mode
US10182040B2 (en) * 2015-06-10 2019-01-15 Massachusetts Institute Of Technology Systems and methods for single device authentication
US9853820B2 (en) 2015-06-30 2017-12-26 Microsoft Technology Licensing, Llc Intelligent deletion of revoked data
US9871768B1 (en) 2015-07-07 2018-01-16 Spring Communications Company L.P. IPv6 to IPv4 data packet migration in a trusted security zone
US9686240B1 (en) 2015-07-07 2017-06-20 Sprint Communications Company L.P. IPv6 to IPv4 data packet migration in a trusted security zone
US9979699B1 (en) 2015-09-08 2018-05-22 Sprint Communications Company L.P. System and method of establishing trusted operability between networks in a network functions virtualization environment
US9749294B1 (en) 2015-09-08 2017-08-29 Sprint Communications Company L.P. System and method of establishing trusted operability between networks in a network functions virtualization environment
US10379833B2 (en) 2015-09-15 2019-08-13 Samsung Electronics Co., Ltd. Method and apparatus for installation of trusted application in electronic device
EP3321802A4 (en) * 2015-09-15 2018-07-11 Samsung Electronics Co., Ltd. Method and apparatus for installation of trusted application in electronic device
GB2542355A (en) * 2015-09-15 2017-03-22 Samsung Electronics Co Ltd Methods and apparatus for distributing and installing trusted applications
GB2542355B (en) * 2015-09-15 2019-07-17 Samsung Electronics Co Ltd Methods and apparatus for distributing and installing trusted applications
US10542115B1 (en) 2015-10-01 2020-01-21 Sprint Communications Company L.P. Securing communications in a network function virtualization (NFV) core network
US11363114B1 (en) 2015-10-01 2022-06-14 Sprint Communications Company L.P. Securing communications in a network function virtualization (NFV) core network
US9900325B2 (en) 2015-10-09 2018-02-20 Microsoft Technology Licensing, Llc Passive encryption of organization data
US9811686B1 (en) 2015-10-09 2017-11-07 Sprint Communications Company L.P. Support systems interactions with virtual network functions in a trusted security zone
US9781016B1 (en) 2015-11-02 2017-10-03 Sprint Communications Company L.P. Dynamic addition of network function services
US10044572B1 (en) 2015-11-02 2018-08-07 Sprint Communications Company L.P. Dynamic addition of network function services
CN108885572A (en) * 2016-03-31 2018-11-23 微软技术许可有限责任公司 Safe driver platform
US10289853B2 (en) 2016-03-31 2019-05-14 Microsoft Technology Licensing, Llc Secure driver platform
WO2017172665A1 (en) * 2016-03-31 2017-10-05 Microsoft Technology Licensing, Llc Secure driver platform
US10719567B2 (en) 2016-05-25 2020-07-21 Microsoft Technology Licensing, Llc Database query processing on encrypted data
US10536373B1 (en) 2016-10-03 2020-01-14 Sprint Communications Company L.P. Session aggregator brokering of data stream communication
US10250498B1 (en) 2016-10-03 2019-04-02 Sprint Communications Company L.P. Session aggregator brokering of data stream communication
US10972265B2 (en) * 2017-01-26 2021-04-06 Microsoft Technology Licensing, Llc Addressing a trusted execution environment
US10897360B2 (en) 2017-01-26 2021-01-19 Microsoft Technology Licensing, Llc Addressing a trusted execution environment using clean room provisioning
US10897459B2 (en) * 2017-01-26 2021-01-19 Microsoft Technology Licensing, Llc Addressing a trusted execution environment using encryption key
KR101922798B1 (en) 2017-03-07 2018-11-27 한국과학기술원 Method and Apparatus for providing a private execution environment using ARM TrustZone
CN110622164A (en) * 2017-04-30 2019-12-27 微软技术许可有限责任公司 Execution of driver code subsets in separate protection domains
US10790965B1 (en) 2017-08-25 2020-09-29 Sprint Communications Company L.P. Tiered distributed ledger technology (DLT) in a network function virtualization (NFV) core network
US10348488B1 (en) 2017-08-25 2019-07-09 Sprint Communications Company L.P. Tiered distributed ledger technology (DLT) in a network function virtualization (NFV) core network
WO2019059671A1 (en) * 2017-09-20 2019-03-28 Samsung Electronics Co., Ltd. Electronic device and control method thereof
US10885229B2 (en) 2017-09-20 2021-01-05 Samsung Electronics Co., Ltd. Electronic device for code integrity checking and control method thereof
US10810327B2 (en) * 2018-01-05 2020-10-20 Intel Corporation Enforcing secure display view for trusted transactions
US20210294897A1 (en) * 2018-02-26 2021-09-23 Govemment of the United States, as represented by the Secretary of the Air Force Active attestation of embedded systems
US11086997B1 (en) * 2018-02-26 2021-08-10 United States Of America As Represented By The Secretary Of The Air Force Active attestation of embedded systems
US11514168B2 (en) * 2018-02-26 2022-11-29 United States Of America As Represented By The Secretary Of The Air Force Active attestation of embedded systems
US20220360445A1 (en) * 2020-09-11 2022-11-10 TEEware Co., Ltd. Biosensor structure for measuring specimen and method for measuring specimen by using the same
US11847205B1 (en) 2020-10-26 2023-12-19 T-Mobile Innovations Llc Trusted 5G network function virtualization of virtual network function elements embedded on a system-on-chip
US20220374512A1 (en) * 2021-05-21 2022-11-24 Vmware, Inc. Software-based hardware security module (hsm) for a virtualized computing environment
US20220414212A1 (en) * 2021-06-28 2022-12-29 R3 Ltd. Counteracting fraudulent clock readings and side-channel attacks
US11645385B2 (en) * 2021-06-28 2023-05-09 R3 Ltd. Counteracting fraudulent clock readings and side-channel attacks

Also Published As

Publication number Publication date
US10496824B2 (en) 2019-12-03

Similar Documents

Publication Publication Date Title
US10496824B2 (en) Trusted language runtime on a mobile platform
US9524400B2 (en) Method and apparatus for remotely provisioning software-based security coprocessors
JP4732513B2 (en) Method and apparatus for providing a software-based security coprocessor
KR102102090B1 (en) Firmware-based trusted platform module for arm® trustzone™ implementations
US9319380B2 (en) Below-OS security solution for distributed network endpoints
US8074262B2 (en) Method and apparatus for migrating virtual trusted platform modules
US7636442B2 (en) Method and apparatus for migrating software-based security coprocessors
US20060256107A1 (en) Methods and apparatus for generating endorsement credentials for software-based security coprocessors
Santos et al. Trusted language runtime (tlr) enabling trusted applications on smartphones
US20220374512A1 (en) Software-based hardware security module (hsm) for a virtualized computing environment
Dalton et al. Trusted virtual platforms: a key enabler for converged client devices
US11645101B2 (en) Providing trusted virtual secure cryptoprocessors for guests
Kohlbrenner et al. Building open trusted execution environments
Zobaed et al. Confidential computing across edge-to-cloud for machine learning: A survey study
aw Ideler Cryptography as a service in a cloud computing environment
Gebhardt Towards trustworthy virtualisation: Improving the trusted virtual infrastructure
Schwarz et al. Affordable Separation on Embedded Platforms: Soft Reboot Enabled Virtualization on a Dual Mode System
Fitzek Development of an ARM TrustZone aware operating system ANDIX OS
Lu et al. A Trusted Computing Base for Information System Classified Protection
Muthu et al. Emulating trust zone in android emulator with secure channeling
Danisevskis Accelerated secure GUI for virtualized mobile handsets
CN114489786A (en) Migration method and device for confidential computing application and electronic equipment
Ma Insight into TCB Issues for Information Security
Yang et al. Enhancing Security of IaaS Cloud with Fraternal Security Cooperation Between Cloud Platform and Virtual Platform

Legal Events

Date Code Title Description
AS Assignment

Owner name: MICROSOFT CORPORATION, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:RAJ, HIMANSHU;SANTOS, NUNO;ENGLAND, PAUL;AND OTHERS;SIGNING DATES FROM 20110616 TO 20110620;REEL/FRAME:026492/0323

AS Assignment

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034544/0001

Effective date: 20141014

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4