A mobile and portable trusted computing platform | EURASIP Journal on Wireless Communications and Networking | Full Text
Skip to main content

A mobile and portable trusted computing platform

Abstract

The mechanism of establishing trust in a computing platform is tightly coupled with the characteristics of a specific machine. This limits the portability and mobility of trust as demanded by many emerging applications that go beyond the organizational boundaries. In order to address this problem, we propose a mobile and portable trusted computing platform in a form of a USB device. First, we describe the design and implementation of the hardware and software architectures of the device. We then demonstrate the capabilities of the proposed device by developing a trusted application.

1. Introduction

The idea of developing and deploying applications that go beyond a single enterprise's administrative domain has gained popularity in recent times. This has been enabled by recent developments and wide-spread adoption of new approaches to software engineering (Web Services and Service Oriented Architecture) [1], the ubiquity of Internet-based networking and the rapid growth and proliferation of a large variety of mobile computing devices (e.g. laptops, PDAs). As a result, we have seen a growing number of enterprise applications developed to run in heterogeneous, open and potentially hostile environments by accessing enterprise resources remotely [2, 3]. Though these applications provide greater flexibility, they present new challenges on establishing a trust between a remote client computer and enterprise application server, more specifically bootstrapping trust in a hostile environment [4].

Problem statement

An agent, working for a company, is issued a digital certificate (embedded in software or hardware) against which the agent is authenticated. The certificate is used to establish a level of trust between the agent and a company resource (e.g. a server). When the client-server link has been authenticated, customized applications and confidential client data are available for use by the agent. There are two possible scenarios. The first scenario involves the agent using the machine with a preset configuration within the company's managed network. A digital certificate [5, 6], bound to a specific machine along with an attestation mechanism [7] can be used to establish trust in a controlled environment such as this. The second scenario involves the agent working at the customer's managed network and uses the Internet to establish the trusted transactions with the company's server. The digital certificate, bound to a specific machine, can be used to establish the trust provided the company presets the machine with the desired configurations. That is, the agent's own machine needs to be used. However, a number of issues on mobility and portability of trust arise with this scenario if the agent wants to use any of the client's machines:

  • The certificate is bound to a specific machine thus making it difficult for the agent to work from any other client machine. It would be impossible, for example, to use a client's machine for accessing information if the agent then tried to use the certificate issued to the agent's machine on the clients machine.

  • When an agent uses the assigned certificate, on an untrusted host machine, the security of the certificate is vulnerable to compromise by malicious software that may be running on the host machine.

  • It is possible for certificate details to be compromised in other ways such as theft or loss. One way for a company to alleviate these potential security risks is to periodically revoke old certificates and re-issue new ones. However, this is a complex operation to manage with high overheads and especially so for large numbers of agents operating in the field.

  • Downloaded customized applications and confidential data are vulnerable to tackle, since this software operates within an untrusted environment, on the host machine.

This problem has attracted the attention of research communities [813]. The trusted computing group (TCG) [8] has proposed a trusted computing platform (TCP) based on the trusted platform module (TPM) [14] cryptographic microcontroller system. The proposed platform enables the TPM to be a root of trust for validating both the hardware and software characteristics of the remote computer in which the TPM is installed. In the TCG architectures, a remote client computer can use the remote attestation protocol to attest to its description of characteristics to the enterprise application server [15, 16]. To guarantee the trustworthiness of the client computer, the description of its characteristics is signed by the TPM. This solution works well in the scenario where enterprises manage all their client computers so that their characteristics are known to them beforehand and can be attested dynamically. However, there are two inherent issues with this solution.

  • The enterprise systems must have prior knowledge of the characteristics of all their client computers. On the one hand, a single image for all client computers may not be a viable solution as different clients may have different requirements. On the other hand, the maintenance and management of all client computers with a variety of configurations that meets the requirements of TCG attestation protocol is difficult and challenging.

  • The enterprise data and services are now available to a much wider cross section of users, operating under unknown computing environments. In many cases, the users operate beyond a single organizational boundary.

Recently, there has been a growing interest in addressing this problem from industries. A number of USB-based solutions have been developed such as IronKey [9], DIVA [17], EnCryptakey [10] and Gemalto [18]. Although all these solutions are designed to address above two issues, none of them use the emerging TCP proposed by TCG. Therefore, they miss all the benefits that come with the TCG's trusted computing technologies such as memory curtaining and protected execution, sealed storage, remote attestation, and integrity measurement, logging and reporting [19]. Motivated with this scenario, this paper proposes a novel solution based on TCG architectures. The proposed solution provides a TCP on a USB device so that it enables the mobility and portability of trust for enterprise applications. To the best of our knowledge, this is the first attempt to provide a TCP in the form of a USB device. Our proposed solution addresses two issues discussed earlier as follows. The TCP in a USB device (dubbed as TCP in your pocket) addresses the first issue as enterprises can issue such devices with known description of their characteristics. The second issue is also addressed as the device can be plugged into a USB port of any unknown computer and create a known TCP whose execution environment is isolated from the host computer.

The rest of the paper is structured as follows. We provide a motivation for our proposal through a survey of related work in Section 2. Sections 3 and 4 provide a review on two important aspects of TCP used in our solution: the TPM and the TCG remote attestation protocol. In Section 5, we describe a design and implementation of the hardware architecture for the proposed device. This is followed by the presentation of a software architecture and its implementation in Section 6. Section 7 describes an implemented prototype demonstrator for a financial application. We then present the security and performance analysis of the proposed solution in Section 8. The final section draws the conclusion and outlines the possible future works.

2. Motivation and related work

The aim of this section is to provide a motivation for the proposed USB-based TCP through a review of related work. The issue of portability and mobility of trust is not new. A variety of trusted personal devices (TPD) have been developed, whose physical form factor ranges from smart cards to USB-based devices. A detailed survey on the evolution of TPD can be found in [20]. We first provide an overview on the TPDs and then review only relevant USB-based devices and their applications in the context of this article.

Figure 1 shows a broad categories of TPDs. Smart cards have been around for decades and are used for a wide range of transaction processing applications, including mobile communications, bank transactions, physical and logical access control, network access control, transportation and digital identity [21]. The privacy and security aspects of smart cards, for the growing number of applications in which they are used, are becoming increasingly important in order to counter malicious behavior such as identity theft and fraud. However, smart cards use a different protocol from the ones computers use to communicate with each other over a network. Because of these protocol differences, a smart card when connected to a computer cannot talk directly to a remote machine using the network protocols. The computer must use middleware to do protocol translation so that the two protocols (i.e. card/computer and computer/network) can understand each other.

Figure 1
figure 1

A classification of TPDs.

This arrangement is required for example if a smart card needs to communicate with a remote server on the Internet; middleware is required either on the host computer or on both the host machine and a remote server. Furthermore, a smart card needs a card reader and associated drivers in order to connect with a computer, but unfortunately most computers do not have built-in card readers. Therefore, implementing a smart card solution requires a supporting infrastructure including card reader, device drivers and middleware for protocol translation. These technical constraints provided the stimulus for research into a new generation of smart card known as the Network Smart Card [2225] or USB smart cards [26, 27], which talks directly to a remote service provider via a host machine's Internet connection; i.e. sessions are handled by the network smart card itself with the host machine providing a network bridge to the remote server.

The justification for network smart cards, as outlined above, is clear. However, in the face of the increasing number of security and privacy threats leveled at the smart card space, due to the lucrative potential afforded by fraud, identify theft and all that this entails, a smart card must also embody trust technology if it is to be truly considered a TPD. This implies that the dependency of smart cards on the perceived trustworthiness of public host machines, to which they interface, should be eliminated and that security, based only on cryptography and SSL/TLS technology, needs to be augmented with trust technologies and protocols. In addition, the security solutions based on USB smart card [2628] still need some software (i.e. Host Agent) to run in the host machines to proxy the communication between the smart cards and the remote servers. On the one hand, if the host is untrusted, it is hard to guarantee the integrity of such proxy software. On the other hand, if the smart card is not trusted by the host owners, the proxy software might not be allowed to run.

To satisfy these requirements, an alternative breed of TPD is emerging that specifically addresses the problem of creating a trusted environment on an untrusted host using a combination of a TPM to establish a root-of-trust and virtualization technology supporting virtual machines that can provide well supported, strong isolation between applications. As network smart cards and this emerging breed of TPD evolve, utilizing similar technologies and form factors (e.g. USB token), the technical distinction between them will become increasingly blurred. As such the dominant distinguishing factor between these two classes of device will no doubt be the application scenarios of use. We next focus on the emerging breed of TPD relevant to our paper.

As part of its Securing the Intelligent Nation initiative, the Singaporean government has introduced a standardized nationwide security smart token called Digital Online Registration and Identification System (DORIS) [29]. This token offers all Singaporean companies and citizens certified, secure access to government services. DORIS is implemented as a specialized USB thumb-drive hardware token. The core of DORIS is a secure microcontroller, flash memory, and a small radio transceiver and antenna used for electronic ID and online/offline authentication.

DORIS suffers from a portability and mobility problem as it requires an installation of a specific driver. To address this problem, a software version of the device was developed, called Dynamic Isolation of Virtualized Applications (DIVA) [17]. When DIVA is plugged into a PC, it creates an isolated command window which acts as a user's own trusted software execution space to provide secure access to a wide variety of applications. Furthermore, the user interacts with the virtual application via a Virtual Keyboard to mitigate the risk of key stroke logging attacks. One of the limitations of DIVA is that it can only be used on the Windows platform, as it was built specifically for that environment. Furthermore, DIVA is a pure software-based solution as compared to its predecessor DORIS. We have also developed a similar prototype system based on TCG specification, called Trust Extension Device (TED) [30]. It uses the type II virtual machine and emulated TPM. Though it provides a seamless portability and mobility, it cannot provide the isolated execution space due to the inherent limitations of type II virtual machine.

In addition to the government services, the need of a mobile and portable trusted environment is realized in other application domains including enterprise applications. In recent times, a number of commercial products have emerged for enterprise applications. Encryptakey is a small portable (USB form factor) device that allows mobile users to create a seamless and secure environment in which one can perform digital transactions, surf the Web, conduct business and communicate securely and privately [10]. Encryptakey is a biometrically authenticated device which offers multiple-levels of authentication and comprises its own micro chip, memory, RFID capability and Bluetooth interface. Encryptakey, when plugged into a local computer, unloads the native operating system of the host machine and downloads its own operating system (OS) which it works with exclusively. In doing so Encryptakey is shielded from any form of malware (e.g. viruses, key-loggers, screen-scrapers) that may reside on the OS of the host machine. Encryptakey embodies the same principle of isolation for creating a trusted environment on a host machine similar to DORIS/DIVA. However, one significant difference is that Encryptakey must unload the native operating system to install its own OS. This feature does not meet the seamless mobility and portability requirements.

There are other competing industry products from IronKey [9] and Gemalto [18]. All these products aim to provide a mobility and portability of trust for a variety of applications ranging from the secure surfing of the Web to the secure access to enterprise data. The IronKey uses AES hardware encryption technology and works with most platforms without the need to install or modify any software, including the host's operating system. Gemalto's Smart Guardian [18] is similar to Ironkey in many aspects. A comprehensive comparison of these products is difficult to achieve due to the unavailability of the technical papers related to them.

Although a comprehensive comparison is difficult, a comparison of high level characteristics is possible. Referring to the definitions of trusted and trustworthy systems in [31], we may characterize trustworthy devices according to the following high level features:

R1 It may be unambiguously identified. That is, it has a secure, known, verifiable identity.

R2 The device operates unhindered. Its operation cannot be manipulated so as to behave in an unexpected manner.

R3 The device can attest its consistent good behavior, either directly with an interacting entity, or indirectly, through a trusted third party.

Table 1 shows a comparison of TPDs based on the above described features. It is clear from the table that USB-based TCP has a unique feature of attestation supported by underlying trusted computing technologies. Summarizing, the growing number of USB-based trust devices in the market place clearly shows the need, value and significance of such devices. They are in demand for a variety of applications from secure surfing of the Web to secure access to government services. To the best of our knowledge, none of these devices have been developed utilizing both the TCG specification and dedicated hardware TPM chip, as shown in Table 1. Hence, they miss the benefits of having TCG's trusted computing technologies such as memory curtaining and protected execution, sealed storage, remote attestation, and integrity measurement, logging and reporting. Thus, the paper proposes a USB-based TCP that is compliant with the TCG specification, and demonstrates the feasibility of such device by developing an engineering prototype utilizing a dedicated hardware TPM chip. A recent report [32] analyzes that, to promote the acceptance of TPM security functionalities, it is desirable to develop useful end-to-end security capabilities that can be used by end users without additional software development. The TCP proposed in our paper is providing such TPM-based security capabilities to end users.

Table 1 Trusted personal device comparison

3. Trusted platform module

This section provides a brief review on TPM and its functionality. The TPM is a cryptographic microcontroller specified by the TCG. Figure 2 shows a TCG TPM architecture. The TPM provides a hardware-based root of trust, and contains cryptographic functionality to generate, store, and manage cryptographic keys in hardware. One of the aims of the TPM is to provide a cost effective way of "hardening" of many of today's commonly deployed applications that previously relied solely upon software encryption algorithms with keys kept on a host's disk. Another aim is for the TPM to provide proof of the integrity of platform through measurement of the platform's operating environment (hardware, device drivers, operating system, and applications) and attestation of these against a well-known and carefully defined and maintained set of characteristics.

Figure 2
figure 2

TCG TPM architecture.

As shown in the figure, a TPM includes a Random Number Generator (RNG). The RNG is used in the creation of RSA key pairs that are internal to the TPM. At the time of manufacture, a cryptographic key pair, known as the Endorsement Key (EK), is generated and stored inside the TPM chip. The private part of the EK is held securely by the chip, and is never exposed. Another important concept in TPM is the root of trust. The source of the root of trust is the Storage Root Key (SRK). The SRK is the first key pair generated by the TPM which is never exported from the TPM. Each subsequent RSA key pair that the TPM generated is bound to this original SRK.

The private keys are either securely stored in the TPM. If they need to be stored on a disk, they are encrypted and exported from the TPM. The encrypted key can only be securely decrypted internally on the TPM. This means unencrypted keys are never stored or visible outside the TPM. The TCG standard version 1.1b [14] specifies that TPM performs the following functions:

  • Key generation: public key functions for key pair generation using a hardware RNG;

  • Cryptography and secure storage: public key signature, encryption, and decryption to enable secure storage of data and digital secrets;

  • Integrity measurement: storage of hashes that enable verifiable attestation of the machine configuration when booted;

  • Unique identity: an EK that can be used to anonymously establish that an identity key was generated in a TPM; and

  • Ownership: initialization and management functions that allow the owner to turn TPM functionality on and off, reset the chip, and take ownership of its functions.

The TPM's RNG generates the seed numbers for the cryptographic processor's encryption, decryption, and key generation functions. The TPM's non-volatile memory securely stores encryption keys, including the SRK, EK, and other sensitive data. The TPM employs conventional cryptographic operations in conventional ways. The operations supported by TPM include asymmetric key generation (RSA), asymmetric encryption/decryption (RSA) Hashing (SHA-1) and RNG. The TPM uses these capabilities to perform generation of random data, generation of asymmetric keys, signing and confidentiality of stored data. The TPM may use symmetric encryption for internal TPM use but does not expose any symmetric algorithm functions to general users of the TPM. The Key Generation component (Figure 2), creates RSA key pairs and symmetric keys. The SHA-1 hash capability is primarily used by the TPM to support measurement taking during platform boot phases and to allow environments that have limited capabilities access to a hash functions. The Opt-In component provides mechanisms and protections to allow the TPM to be turned on/off, enabled/disabled, activated/deactivated. The execution engine runs program code to execute the TPM commands received from the I/O port. Non-volatile memory component is used to store persistent identity and state associated with the TPM. This area has set items like the EK.

A platform configuration register (PCR) is a 160-bit storage location for discrete integrity measurements. There are a minimum of 16 PCR registers. All PCR registers are shielded locations within the TPM chip. The decision of whether a PCR contains a standard measurement or if the PCR is available for general use is deferred to the platform specific specification. An Attestation Identity Key (AIK) is an alias for the EK. The EK cannot perform signatures for security reasons and due to privacy concerns. TPMs contain secure non-volatile storage space that is intended to contain measurements of system hardware and software status. Measurement consists primarily of submitting all system software and hardware to a hash algorithm in a predetermined sequence. If this measurement is performed when the system is in a known trusted state, then the resulting hash can be stored in the TPM and compared to the result of a subsequent measurement. Any changes will be detected by the comparison, and appropriate actions can be taken to prevent execution of modified software or hardware. This measurement capability can be used to provide detection of any remote system modifications resulting from malicious viruses or worms.

The purpose of TPM is to provide hardware-based digital certificates for establishing trust since software-based solutions are vulnerable to malicious attacks. TPM is gaining acceptance by the computing community as a technology for establishing trust between entities (e.g. client-server). Essentially, TPM validation attests to the trustworthiness of bonafide versions of software and hardware products operating on a platform.

Summarizing, the purpose of the TPM in the portable device is to establish a trust relationship between client-server entities where the goals of trust are to ascertain that:

  • The TPM is the genuine owner of certain cryptographic keys and certificates, i.e. the TPM has not been tampered with.

  • The software operating within the (created) trusted environment is genuine; which includes validating secure applications and the operating environment.

  • If a device is lost or stolen, then the issuer of the TPM revokes the manufacturers TPM credentials, thereby disabling the device from engaging in further transactions.

4. Remote attestation

Attestation is the process of reporting the measured platform's integrity values, and proving that the platform has a genuine TPM at the same time [33]. The attestation protocol in version 1.1 of the TCG specification [14] introduces the concept of a trusted third party, the Privacy Certifying Authority, or Privacy CA. The Privacy CA is known and trusted by both the client and application service provider. On the other hand, the client (at least initially) does not trust the service provider, and v.v. Because of this trust relationship (i.e. client trusts the Privacy CA; client does not trust the service provider) the client will send its credentials to the Privacy CA, it will not send it to the service provider directly. As such, any identity claims made by the client will be verified by the Privacy CA.

We now move onto an explanation of the TCG remote attestation protocol through an elaboration of the steps in Figure 3.

Figure 3
figure 3

A TCG attestation protocol.

  1. 1)

    A client with a TCG platform requests a service from a service provider (e.g. for access to a confidential data information).

  2. 2)

    The service provider's machine (also with a TPM) challenges the client's platform with an attestation request.

  3. 3)

    Upon reception of this request, the client platform generates an AIK using the TPM function CollateIdentityRequest.

  4. 4)

    The platform then assembles all the embedded credentials of its TPM together with the new AIK, signs the whole with the TPM private EK, and encrypts it all with the public key of the Privacy CA. This information forms the identity request. It is important to note here that the EK cannot be used to sign arbitrary data, only by some internal functions such as TPM.CollateIdentityRequest. This means that the owner of a TPM cannot generate a falsified identity request, and signs it with the EK. This request is then sent to the Privacy CA.

  5. 5)

    The Privacy CA can decrypt the message using its private key, and then verifies all the credentials using the signatures. The Privacy CA knows then that the EK comes from a real TPM. By verifying the signature of the message with the public Endorsement Key (which is contained in the endorsement credential), it can be sure that the request is issued from the TPM which possesses this particular EK. The privacy CA will now generate a certificate (called Identity Credential) containing the public part of the AIK, signed with its private key, to attest that the TPM is genuine. This certificate is encrypted with the public part of the EK of the service consumer. This certificate is called an Identity Credential. The Identity Credential is then sent to the service requester/consumer (that has TCG platform).

  6. 6)

    The platform then prepares an attestation message which includes signed PCR values and identity credentials. The signed value is generated using a specific function TPM.Quote and the credential is retrieved using a function TPM.ActivateIdentity. This means the platform cannot generate fake attestation message. The message is then sent as a response to the application server.

Several problems have been identified related to this protocol, and are being examined and addressed in current efforts within the TCG and elsewhere. These problems are related to the difficulty in measuring a platform configuration accurately, and comparing it against a well-known and standard configuration. In today's complex systems, composed of large numbers of interconnected heterogenous computing environments, performing an integrity measurement is almost meaningless unless there is very strict control on the hardware, operating systems and applications. These problems are driving further research activities in remote attestation, and well-known examples include Direct Anonymous Attestation [34], Semantic Remote Attestation [35], Property-based Attestation [36], and Fine Grained Attestation [37].

BIND, for example, uses a technique that attests only the critical code immediately before it executes. A sand-boxing mechanism similar to Secure Kernel found in AMD's Secure Execution Mode (SEM) [38] to protect the execution of the attested code. It can detect the changes of attested code at runtime caused by buffer overflows or string malformation. Another approach was taken by Terra [39]. Terra attests the Trusted Virtual Machine Monitor (TVMM) which then is used to partition the platform into multiple isolated Virtual Machines. Here, because the TVMM is so small and uniform, the attestation can proceed easily and in a manageable manner.

The TCG remote attestation protocol is designed to establish one-way trust relationship. We refer to this protocol as a message-based attestation protocol, as it was designed to be run for each message exchanged between the end hosts. We make the following observations, based on our experiences in using the protocol in our system. First, it is inefficient, as the number of protocol (overhead) messages per application message is high (of the order of eight pairs of protocol messages per application message). Second, the difference in the time at which the attestation is completed and the time at which it is used to send the application message makes it vulnerable to attack. To overcome these shortcomings in this application scenario, we propose a session based mutual attestation protocol[40]. Yoshiham et al. [41] present a similar proposal called WS Attestation, where they presented an attestation architecture that can be used in Web Services environment.

We now move onto the design and development of mobile and portable TCP utilizing the concepts outlined in the above two sections (namely, the use of the TPM, and remote attestation, in trust establishment).

5. Design and implementation of hardware architecture

This section first draws the design requirements for a USB-based TCP based on the discussion in Section 2, then presents a reference hardware architecture and closes with an implementation of the proposed device.

We start with the following high-level design requirements for the device.

Dimensions

The device dimensions should be small and portable, preferably USB thumb drive size. It was decided that the dimensions (width, length and thickness or height) of 18 mm × 58 mm × 10 mm would be ideal.

Cost

The device must be cheap enough to be disposable if it has been compromised or lost. The device is meant to be issued to a select set of its clients, but still controlled and managed by an issuing enterprise.

Physical connection

The device connects to any host PC using a USB 2.0 compliant type A plug.

Electrical requirements

The device uses the host computer's USB port for power, supplying 4 USB units of current (400 mA) at the nominal USB VBUS voltage (5 Vdc).

Internet connectivity

The device establishes Internet network connectivity via the USB port. Internet connection to remote servers must be secured using 128-bit SSL or better.

No host interference

The host computer needs to keep operating uninterrupted when the device is inserted and booted. This is unlike some other trusted platforms that require the host to be shut down before trusted device was inserted into the USB port and then rebooted from the USB attached device.

Device insertion and removal robustness

The device may be inserted and removed at any time (including device boot, mid-transaction, or conclusion of transaction session) without adversely affecting either the host PC, or the device itself.

As per the above requirements, Figure 4 shows our high-level reference design of a USB-based TCP containing a TCG TPM. The most notable difference between our reference platform to that of TCG PC reference platform [8] is that (1) the device does not have any user input or output devices such as a display or keyboard and (2) there is only a single physical network interface to the device, namely the USB port.

Figure 4
figure 4

A reference USB platform containing a TCG TPM.

Our goal was to achieve a hardware implementation that stays as close as possible to the reference platform shown in Figure 4. Our aim was to show the feasibility of the idea through the development of a concept demonstrator. Given the time to develop, integrate and test the hardware and software systems, it was decided very early in the project to base the implementation on an existing embedded hardware platform. We investigated various embedded systems using the following criteria: good support for a version of the Linux operating system; development tools that allow easy development; a USB form factor and a significant community of users and developers. These criteria lead us to the select of the Gumstix Overo Earth Computer-on-Module (COM) [42]. The development kit associated with this product features a motherboard that carries the Gumstix Overo Earth COM as a daughterboard, and offers a rich variety of interfaces: a USB OTG port, two mini USB serial (terminal) ports, control and status ports and some forty general purpose input/output ports that can used for a variety of uses, including interfacing to the TPM chip and providing clock and data input and output.

Using this development kit allowed us to quickly prototype a secondary "TPM only" board that connected to the development kit motherboard, and allowed the software development to progress without waiting for the final design and implementation of a small, USB form-factor motherboard.

Figure 5 shows the implementation hardware architecture for the proposed device. As mentioned above, the device replaced the development kit and attached secondary prototype "TPM only" boards with a single, USB-form factor motherboard, that connects the Gumstix Overo Earth COM via two 70-way low profile AVX connectors. The motherboard carries the TPM chip, clock generation, voltage regulators and logic level conversion (to allow interfacing between 1.8, 3.3 and 5 V logic levels) circuitry, a USB plug with input protection circuitry and two low profile 70 pin EVX sockets. Figure 6 shows the completed hardware device, as viewed from the component side of the motherboard. Given that the implemented device has no (usual) user interface, the motherboard design included two status information LEDs, one indicating that the system has power, and the other that the device has successfully booted.

Figure 5
figure 5

An implementation architecture of USB trusted platform computing device.

Figure 6
figure 6

A picture of USB TCP device.

The motherboard components are divided into two major subsystems: the TPM subsystem and power supply subsystem.

The TPM subsystem consists of the TPM chip itself, logic level shift circuitry to interface the TPM chip's 3.3 V logic to the Overo Earth COM 1.8 V logic, a TPM reset circuit and a timing oscillator for the TPM chip.

The selection and sourcing of the TPM chip was somewhat unusual, as the system implementation was on a commercial embedded computer, rather than a general purpose PC. This meant that there were restrictions on the type of TPM chip that could be used. Most of the widely available TPM chips are meant to be integrated into a general purpose PC (whether it be laptop or desktop), and connected via the PC's own internal LPC bus [43]. Unfortunately, commercially embedded computers do not use this bus to interconnect the various devices found on an embedded computing platform. They do however offer a large number of serial (GPIO) [44] interfaces and that in turn meant that the design had to rely on a serial bus version of a TPM chip--the Atmel AT97SC3203S0-X9A20.

One of the most critical design factors was that the device must meet the stringent insertion and removal robustness requirement. The device was meant to be plugged into and unplugged from the USB 2.0 ports on a variety of computers without causing unexpected behaviors in either of the device or the host computer. There are many factors that need to be considered in the design: the speed and method at which the device insertion occurs; the reliability and cleanliness of the physical contacts; the ability of the host computer to supply "clean" USB 2.0 power at the required 400 mA at 5 Vdc; whether the removal of the device is during a particularly critical part of the device boot process; whether the removal of the device occurred during a critical transaction and so on.

Irrespective, under all insertion and removal events, the device hardware and software was not permitted to enter into an unexpected state, and could not cause interruptions to the host computer.

The approach taken in the final design and its implementation was to ensure that all power supply transients caused by the physical insertion (and removal) had decayed to sufficient levels so that the power supply subsystem regulators were presented with as clean a voltage/current supply as possible. It was only after the transients had decayed, and the regulators finally were operating at nominal capacity that the power supply subsystem could then switch itself into supplying power to the Overo Earth COM and to the TPM subsystem.

We noted that there are two classes of transients of concern to this type of device. First, is the short lived, high voltage, high current electrostatic discharges to the device. The second type is much longer lived transient, where the power being supplied is extremely noisy due to the physical insertion of the device into the USB port. In this case, both the voltage and current supplied is highly unpredictable until reliable physical contact is finally established.

Our power supply subsystem design overcame these two types of transients by providing two levels of protection as outlined below. The power supply subsystem consists of USB port electrostatic discharge protection circuitry, a power sequencing circuit, and three separate voltage regulators. The combination of the USB port protection circuitry and power sequencing circuits eliminated both the short electrostatically induced transient currents and the longer duration, multiple voltage transients that occur when the device is first physically connected to the host computer. These two protection circuits assured that each of the three regulators and subsequent connected components (including the Overo Earth COM and TPM chip) had "clean" power supplies when the device is first connected into the host computer, allowing the entire device to enter a stable, repeatable boot sequence.

The first of the regulators supplies a 1.8-V reference voltage level to the logic level translation between the Overo Earth COM and the TPM chip. As it supplies only a reference level, the power requirements were small and so a Torex linear low-dropout regulator (LDO) XC6204 in a SOT-25 package was selected. The second and third regulators both supply 3.3 V. The first of the 3.3-V regulators, a Torex XC6203 (again, linear LDO) in a SOT-89 package supplied power (3.3 V at 55 mA) to the TPM chip on the motherboard. The second, much larger capacity 3.3 V regulator supplied 250 mA required by the Overo Earth COM daughterboard. Because of the demanding power requirements, a Linear Technology LTC3405 switch mode (synchronous step) regulator was selected in a S6 package. This device is able to supply up to 300 mA at 3.3 V to the Overo Earth COM. The decision to use two separate 3.3 V regulators rather than a single regulator was based on considering the power requirements and the dimensional constraints of the prototype device. Choosing a larger single regulator (in place of the current two) was prohibitive due to the height restrictions placed on the device dimensions (including the housing). The larger single regulator package (that was able to supply power to both the TPM and Overo Earth COM) was outside of the maximum height requirements specified, although the package footprint presented on the printed circuit board was similar to the LTC3405.

A total of six prototype devices were produced and tested. Each of the prototype devices underwent thorough and rigorous testing scheme that examined maximum power usage, noise sensitivity, multiple insertion and removal events at random times, long term power consumption and device functionality, and a variety of operational tests. All six prototypes have been used and successfully demonstrated in a variety of applications and situations. These include two live demonstrations at international conferences and three days at CeBIT Australia, where two of the devices were plugged and unplugged at random times during the three days of the public exhibition, and always operated correctly.

Once again, we believe that the careful attention to the demands of having a stable power supply in a highly dynamic and unpredictable environment, where the device can be plugged and unplugged into any host USB port resulted in the hardware devices' ultimate "good behavior".

6. Design and implementation of software architecture

Our platform is a portable embedded device and needs to support both native and external applications. While designing the software architecture, we made some strategic decisions to ensure that efficiency, access by a variety of applications, and portability were not compromised in any way. Figure 7 shows the software architecture of our platform, with the components described in the following section. Underpinning the system software is the embedded operating system, based on an optimized Linux kernel (v 2.6.29) which includes USB, I2C and TPM device drivers. All compilation and configuration of the kernel is done through the OpenEmbedded (OE) development environment. As mentioned, the prototype has a specially reduced, customized kernel so as to improve its power efficiency, responsiveness and boot up speed.

Figure 7
figure 7

The layered software architecture.

The USB driver allows the platform to appear to clients as an IP network device. We have used the popular Linux USB Ethernet/RNDIS gadget driver in the kernel module. Adopting this approach meant that the platform can be easily connected to most operating systems such as Ubuntu Linux, Apple Mac OS × and Windows. This module establishes a Remote Network Device Interface Specification (RNDIS) link between the platform and the client, upon which TCP/IP is used. The platform runs a lightweight DHCP server, which dynamically assigns an IP address to the host. Through this IP link, the USB based trusted device can communicate with other machines on the network.

The TPM chip is connected to the embedded CPU via the I2C bus. The I2C device driver and TPM driver is used by the TPM library to access the TPM chip. The I2C driver makes the TPM chip appear as a device file in Linux, and the TPM driver maintains the I/O state of the device file. The TPM driver provides operations tpmSend and tpmReceive to send and receive data from the TPM chip. If the device file is closed, the TPM driver initializes the device, and then opens the device file, which is then ready to be read and written. The TPM driver can also output the raw bytes to and from the TPM chip for facilitating debugging.

The TPM library provides the operations to handle TPM commands. The main operation takes as the input a command name and the command parameters, returning the result received from the underlying TPM chip. The TPM library also provides an interface file, which explicitly describes the parameter and output structures for each command. For example, the inputs for the command TPM.Sign includes a key handle for the signing key, the usage authorization for the key, the data to be signed and its size, and the output of this command includes the signed data and its size.

To process the TPM commands efficiently, we made the following two-design decisions. First, we adopted a template-based TPM command construction. The TPM library prepares a command template for each TPM command in the runtime stack. When issuing a TPM command, it replaces the template with the corresponding parameters without allocating new memory in the heap. Second, we only implemented a subset of TPM commands that are suitable for a portable trusted platform. For example, our TPM library does not create migratable keys when using the command TPM.CreateWrapKey since the device is already a portable device.

One important and particularly difficult part of handling TPM commands is to generate correct input and output authorization. With incorrect authorization, the commands cannot be executed by the TPM chip nor the output be correctly accepted. It should be noted that some TPM commands do not need authorization, while others may need one or two authorization handles. The TPM library provides several operations which can automatically generate or check authorization bytes, hence making it easier to deal with TPM command authorization. Using these operations greatly improve the correctness of command authorization and the development efficiency.

At the top of the supporting software architecture is the Trusted Software Stack (TSS) library and the TSS server. The TSS is a specification defined by TCG [45], describing the TPM commands and other cryptographic operations for the application developer. We have designed a lightweight TSS library as the portable device may not need a library similar to a general-purpose device such as PC. The main operation in our TSS library is to support remote attestation. This operation involves the TPM commands TPM.MakeIdentity for creating an AIK, and TPM.ActivateIdentityKey for activating the identity certificate receiving from the Privacy CA.

The portable trusted device needs to support two types of applications: native and external. We refer applications that run within the operating environment of portable trusted device and need to be measured for attestation purpose to as native applications. The applications that run outside the portable trusted device, but use the TPM in the portable trusted device are referred to as external applications. For example, an enterprise Web-based applications may use portable trusted device for authentication purpose. We have defined TSS server to support such external applications.

The TSS server is a daemon that allows external Web applications to access the platform's TPM functionalities. The TSS server provides TPM functionality to Web-based applications by embedding the commands in HTTP, while device local applications are able to directly access the TSS library as designed by the current TCG specification.

For example, when an application wants make a TPM AIK, it posts a HTTP request with the parameter tedcmd taking the value assigned to the operation of making AIKs. We demonstrate the use of this architecture by developing a Web application in the next section.

7. Design and implementation of application scenario

Figure 8 presents a high-level enterprise architecture showing how a USB-based TCP is meant to be used, and the components that are required to support it. There are three components involved in running an application based on the USB-based TCP. In a typical use scenario, a USB-based TCP is plugged into an unknown host computer. Depending on the application selected, the host computer may also be used to allow the user access to a variety of Input/Output interfaces such as a screen display and keyboard/mouse. Note that they are not a part of the USB-based TCP reference platform as shown in Figure 4. The Privacy CA validates a USB-based TCP's characteristics to a remote party by running a TCG attestation protocol. This means all devices' characteristics are known to the Privacy CA. The application server hosts an application that USB-based TCP uses to process any critical transaction.

Figure 8
figure 8

A reference enterprise architecture for USB-based TC platform.

Based on the above enterprise architecture, we have developed a small demonstration application that exercises most of our USB-based TCP's capabilities. Our demonstrator uses a familiar banking transaction scenario which allows a customer to view account balances and transfer money from one account to another after successful authentication took place. The layouts and technologies used in our demonstrator are shown in Figure 9.

Figure 9
figure 9

The layout and technologies used for trusted application demonstrator.

Our USB-based TCP contains a mini Web server, developed in-house, that contains sufficient functionality to process SOAP formatted HTTP request/response messages. Similarly, we also have another mini Web server running on the Privacy CA component. These mini Web servers enable us to conduct driverless communication among the components in our enterprise architecture using standard Web languages such as HTML, JavaScript, and AJAX. The application server hosts our banking demonstration written in JSP. The Apache Tomcat Server and Apache Axis engine are also installed in our application server to support Web-based services. Java Objects are used in the application server to provide database functionality to allow us to store the banking information for each customer. We developed our own in-house Privacy CA as a standalone Java application.

When the device is plugged into the host machine, it allocates a link local IP address to it, used for communication between the local host and the device. When a user types a URL to access services from the application server, the host machine becomes aware of the IP address of the application server. However, the USB device and application server are unaware of each other's IP address as the current addresses are local. We solved this issue by designing a Web page with embedded JavaScript code that performs as an address proxy. We next describe the design and implementation of the Web page in the context of the attestation protocol, and include some code snippets to illustrate the important points.

Figure 10 illustrates the overall Web page components. A JavaScript-based proxy is embedded in the main page. The proxy is basically a listener that watches for any incoming or outgoing messages. The main page itself contains two iframe tags. Each iframe uploads HTML files that are located on the portable device and the Privacy CA. These files are loaded when the main page is rendered by the client browser. Once loaded, the JavaScript proxy code associated with the main page starts executing, allowing communication by both the device and Privacy CA to the application server.

Figure 10
figure 10

HTML and JavaScript design for web-based communication.

The mobile and trusted platform operating within this scenario operates as follows.

  1. 1)

    A customer plugs in the TCP device into the USB port on an untrusted host PC. When the device is plugged in, it draws power from the host PC and boots its operating system. It then loads libraries and applications as shown in Figure 7.

  2. 2)

    The customer uses a known, secured browser to access the bank's application through a URL. The main page contains two iframes as follows.

    <iframe src=<%=pcaURL%>

    /privacyCA.htm id="caFrame"/>

    <iframe src=<%=tedURL%>

    /ted.htm id="tedFrame"/>

    The first iframe is designed for privacy CA and the second for the TCP device.

  3. 3)

    When the main page is rendered, two HTML pages, privacyCA.htm and ted.htm, are uploaded connecting the application server to the device and privacy CA. The user then performs a simple name/password authentication with the application server via HTTP message to the application server as a part of a login request.

  4. 4)

    If the customer authentication based on username/password succeeds, a challenge message is issued by the application server containing a random nonce. Thus communication is handled by the following JavaScript fragment:

    function sendChallenge (nonce) {

      var win = document.getElementById

                      ("tedFrame").

      contentWindow;

      win.postMessage

           (nonce,+ < % = tedURL% > +);

    }

  5. 5)

    Upon reception of the challenge message, the USB device uses the loaded TSS library to gather its proof of identity which is then sent to the Privacy CA. The proof of identity is signed by TPM. This step is performed as follows.

    1. a)

      The challenge message is received by the eventListener contained in the ted.htm on the device.

      window.addEventListener

      ("message", toTED, false);

      function toTED(e) {

        server = e.origin;

        xmlhttp = new XMLHttpRequest ();

        var head = e.data.substring

                    (0, 9);

        var body = e.data.substring

                 (9, url.length);

      }

    2. b)

      The device creates an AIK key and constructs a special data structure called an IdenityProof. The IdentityProof contains two important data: Endorsement Key (EK) and identity-binding signature. The EK uniquely verifies a genuine and unique device.

    3. c)

      The identity-binding signature contains a public part of AIK key, user identity, and public part of Privacy CA key which then is signed by the private part of AIK key. The identity-binding signature verifies the newly generated AIK which is from a legitimate device.

    4. d)

      The device generates a session key S to encrypt the IdentityProof. The session key S is encrypted by the privacy CA's public key. They are then sent back to the main page using the script (part of the function toTED(e)) in the main page.

    xmlhttp.onreadystatechange =

         fromTED;

    xmlhttp.open ("POST", head, true);

    xmlhttp. send (body);

    function fromTED () {

      if (xmlhttp.readyState = = 4)

       top.postMessage

         (xmlhttp.responseText, server);

    }

  6. 6)

    The main page forwards the encrypted IdentityProof to the privacy CA via the following javaScript proxy code:

    window.addEventListener("message",

      function(e){

    ...

    var fr1 = document.

           getElementById("tedFrame");

    fr1.contentWindow.postMessage

               (e.data, < % = pcaURL% >);

    ...

    }

  7. 7)

    The Privacy CA verifies the proof of identity of the USB-based TCP. It creates an identity credential when the verification is successful and sends it back to the USB-based TCP. This is achieved as follows.

    1. a)

      The Privacy CA receives the encrypted IdentityProof using the javaScript contained in the privacyCA.htm.

      window.addEventListener

      ("message", toPCA, false);

      function toPCA(e) {

        server = e.origin;

        xmlhttp = new XMLHttpRequest ();

        var head = e.data.substring

               (0, 9);

        var body = e.data.substring

               (9, url.length);

      }

    2. b)

      The privacy CA uses its private key to decrypt the session key S S. Using the session key S, it decrypts the IdentityProof. The EK and identity-binding signature contained in the IdentityProof structure are inspected to verify that the IdentityProof was created by the genuine TPM.

    3. c)

      After the validation, the privacy CA creates an AIK digital certificate that contains the user identity and signs it to maintain its integrity. The privacy CA creates a new session key Q to encrypt the signed AIK digital certificate, denoted as symBlob.

    4. d)

      To maintain the integrity of the session key Q, the privacy CA creates an asymmetric blob, denoted as asymBlob. The asymBlob contains the session key Q and the hash value of AIK public key. The asymblob is encrypted by the public part of the EK. This is sent to the main page using the similar javaScript described in the step 5.

  8. 8)

    The main page forwards the privacy CA's response to the device using the similar javaScript used in the step 6. Using the identity credential received from the privacy CA, the device activates its identity which obtains assurance that the identity credential is actually for this particular device. This step is done as follows.

    The device uses its private part of the EK to decrypt asymBlob. From the decrypted asymBlob, the device recovers the session key Q and the hash of AIK public key is validated. If AIK public key hash is correct, the device decrypts the symBlob and retrieves the AIK digital certificate using the session key Q.

  9. 9)

    After the activation, the device runs another operation that quotes the description of its characteristics to prove the device only runs legitimate software free from running any malicious malware.

  10. 10)

    The USB device's identity credential and the description of its characteristics resulting from quoting process is then sent back to the application server via the main page using the JavaScript described in the step 5.

  11. 11)

    After the application server verifies both USB device's hardware platform state, represented by identity credential, and the software state, represented by the description of its characteristics, the private data for the banking customer, such as balance of accounts, is finally displayed on the host machine's screen as shown in Figure 11. The validation process works as follows.

  12. 12)

    Upon receiving the AIK digital certificate, the application server checks the validity of AIK certificate by verifying it with the public key of privacy CA. For a valid certificate, the application server checks whether the user identity specified in the AIK certificate matches the userID received earlier in the step 3. If they match, the application server knows that the digital certificate owner is the one who is logged in.

Figure 11
figure 11

A screenshot of our running trusted application demonstrator.

8. Security and performance analysis

This section presents a security and performance analysis of the proposed solution. First, we analyze the proposed solution against a number of threat models' scenarios and then present an initial performance analysis.

8.1. Theft of user name and password

It is possible that the host machine of the device is compromised by malware. This allows the attacker to be able to intercept user name and password, perhaps through the hacked browser cookies or monitoring host machine input channels such as keyboards or mouse. The attacker can use the stolen user name and password to access the bank application server. However, the bank application server in our system will request an AIK digital certificate upon log-in request. Since the AIK digital certificate can only be generated by the genuine TED owner using a private part of the AIK key that never leaves the TPM inside the device, the attacker cannot provide the legitimate AIK certificate and therefore cannot access the private data stored in the application server. However, the device cannot prevent the interception of the screen outputs such as displayed bank balance to be captured by the attacker.

8.2. Malware on the device

The mobile and portable devices are manufactured and distributed by the service providers to their consumers. We have made an assumption that such devices are most likely to be manufactured within a tightly controlled environment. For example, in our banking application, the bank (via possibly trusted third party) actually manufactures and distributes the device to its customers. When the device is plugged into the host machine, it does not use any resources from the host machine it is connected. This makes hard, if not impossible, for malware to be installed in the device practically preventing any credential-stealing attacks. Additionally, an integrity of the device's software environment is measured and stored in a secure storage in the TPM chip inside the device. If the environment is altered by the presence of the malware, AIK cannot be activated.

8.3. Theft or loss of the device

All cryptographic keys in our device are stored in its temper-resistant secure storage. To unlock any cryptographic key inside the device and perform any cryptographic functionality, the device user needs to supply both the owner secret and the password for the SRK. The attacker must obtain these secrets before the user discovers the theft and revokes the stored keys. It is an unlikely situation that the attackers manage to steal both the device and the secrets. This provides one more level of defence in depth against such attack.

8.4. Man-in-the-middle attack

This type of attack is possible both on the USB channel and the Network. The attackers launch the channel-breaking attack by eavesdropping the network where the data being transferred. It might be possible for the attackers to intercept the data in transit. However, the attackers would not be able to read the data. The network between the device user and the bank application server is protected by SSL. The network between the device user and the privacy CA is protected by the encryption using a private part of the AIK that never leaves the TPM chip inside the device. Without having an owner secret, it is not possible for the attackers to be able to decrypt the data because the attackers will never be able to get the appropriate AIK private key.

In our proposal, an attestation protocol is used to determine whether there have been any unexpected changes to a computer's hardware and software environments. The hardware check utilize the cryptographic features of the TPM microcontroller, including the use of the AIK. The software environment and configuration is checked for validity, starting from boot time to application load time, with a set of identifying PCR values. During attestation, the PCR values and the AIK are used to validate that a remote machine (or indeed, the local machine, if required by some applications) may trust the platform. This TCG-type of attestation has been criticized because it performs the integrity validation only at load-time. Successful load-time attestation does not ensure that attestation is always maintained, with possible compromises not being detected post load-time attestation. This feature, referred to as time-of-attestation to time-of-use gap [46]. This problem occurs while doing run time attestation [47]. We have used two computers with TCG platforms in Figure 12 to illustrate the shortcomings of attestation protocol. Figure 12 shows the gap as (1). From our implementation of the TCG-style attestation protocol, we further identified another gap, representing the time between the PCR values and AIK are being measured by the sending host, which we call the time-of-measurement, and the time at which these values are being validated by the receiving host, which we call the time-of-verification. This interval is illustrated in Figure 12 as (2). During this interval, it is possible that by the time PCR values and the AIK are being validated by the service provider, the device's TPM and platform characteristics may have been compromised. These problems along with other problems such as replay attacks on TPM are still being investigated within the community [48, 49].

Figure 12
figure 12

The gaps between the time-of-attestation and time-of-use, and the time-of-measurement and time-of-verification.

We have performed an initial performance analysis to measure the impact of the attestation protocol on authentication. We used our device on a host machine Intel Core 2 Duo 6400 with dual processors of 2.13 GHz both with 1.99 GB of RAM, with a browser (both IE 7 and 8 and Firefox 3.× tested) on windows XP OS environment. Our remote server machine ran a Tomcat web server (version 6.0) and the bank application developed using JSP. The server machine configuration is identical to the device host machine. A privacy CA developed as a java implementation. We use Java Crytographic Engine and Bouncy Castle Crypto API to implement privacy CA. The privacy CA application is running on the server. To measure the performance, we first tested the login without remote attestation, simply using user name and password. The average time for authentication was 0.015 seconds. We then use login with remote attestation. For the purpose of remote attestation, we used RSA 2048 bit and AES 256 bit with CBC attributes for public and symmetric key encryption, respectively. SHA-1 with 160-bit was used as the hash function. We obtained the random numbers from the RNG function of the TPM chip. We measured that, on average, using remote attestation took 7.628 s, compared to 0.015 s using plain user name and password combination. We believe that this overhead was due to the following:

  • Device initialization, required data collection and creation of the AIK cryptographic key: average 2.39 s;

  • Certificate creation by the Privacy CA: average 1.96 s;

  • Certificate activation after verifying the environment the key has created has not changed: average 3.27.

In short, the overhead is the cost of "hardening" the login process using TPM, where most of the time is spent on executing TPM functions and attestation. An analysis on attestation-based authentication is also reported in [50].

Further analysis of the attestation protocol revealed that 39% time was spent on making TPM function calls via the TCG software stack (TSS), whereas 61% time was spent on non-TPM related function calls such as connection to remote hosts. We further analyzed the time spent on TPM calls and identified four critical function calls in the mutual attestation protocol. This is done to ensure that there is no hidden overhead to any particular function calls to TPM chip other than the expense incurred to making TPM calls in general, as well as possibility of optimizing TPM calls. These are: CollateIdentity, IdentityCredential, Quote, and VerifyIdentityCredential. Out of time spent on TPM calls, CollateIdentity took 48% time, IdentityCredential took 19%, Quote took 19% and VerifyIdentityCredential took 14%. We conducted further analysis of implementation code with the aim of minimizing the number of TPM calls and the complexity of code at each stage. This led us to the conclusion that TPM calls are stable as each TPM call at different stages took about the same time without having particular overhead on any specific TPM calls because of different implementation code. For example, both "IdentityCredential" and "Quote" made about 12 TPM calls, whereas "VerifyIdentity Credential" made 9 TPM calls. "CollateIdentity" made 20 TPM calls, as well as complex calculation of bytes, to create and use credentials taking more time than calls used in other stages. These observations led us to believe that there is no overhead placed in any particular TPM calls in our implementation. However, if these calls are repeated for every message exchanged between USB-device and the enterprise server, the TPM calls become a bottleneck for efficient transfer of data between to and from USB device. From these simulation results, we observed that reducing a large number protocol messages that subsequently triggers a large number of TPM calls might result in an efficient attestation protocol. It must be noted that it is not our intention to do an exhaustive study on performance of an attestation protocol for a particular TPM implementation on a specific TPM chip. We understand the fact that various vendors and commercial IT companies are still working on improving the functionalities and corresponding technologies related to TPM chips. The performance figures in this section are indication purpose only to demonstrate that TPM calls are relatively expensive at currently provided chips and it could result a serious overhead if these calls are made extensively on today's applications

A caveat needs to be placed here. This application scenario was developed as a demonstrator, and the prototype developed shows the main features of the platform. Using TPM and the associated attestation protocol needs to be carefully examined with respect to the risks and costs of deploying such a solution for a production ready system.

However, it should be emphasized that there are some particular applications such as mission critical operations, applications with high transaction failure costs such as merchant banking, or covert cyberse-curity applications where the benefits of using TPM and its attestation protocol overwhelms the costs. We are, in co-operation with several research organizations, investigating the use of the device as an advanced cybersecurity platform.

9. Conclusions and future work

In recent times, we have seen a growing number of enterprise applications developed to run in heterogeneous, open and potentially hostile environments by accessing enterprise resources remotely. Though these applications provide greater flexibility, they present new challenges on establishing a trust between a remote client computer and enterprise application server. This paper addresses this problem by developing a mobile and portable TCP using trusted computing technologies. We have successfully designed, built and demonstrated a USB-based TCP based on the TCG specification. Our demonstration consists of three components: hardware, system software and application. The novelty of the hardware design lies in the design of a USB form factor TPM motherboard with a USB port, and mating it with an embedded system board as a daughter board. The unique feature of our system software architecture is that it supports both native as well as external applications. The principles behind trust establishment on a portable computing platform using TPM and attestation, was demonstrated through the use of the implemented hardware and software architecture of a Web-based banking application. Our key contributions can be summarized as follows: we have designed a USB-based trusted device based on TCG specification to address the problem of mobility and portability of trust. We have built the hardware platform, software system and tested in a number of applications including Internet banking. The test clearly validated the proposed concept and design.

The current engineering prototype has a number of limitations. As the proposed device does not have any Input/Output devices on its own, it relies on the host machine's support. This means an external application code needs to be executed at the host machine to establish a communication between the host Input/Output devices and the trusted device attached to its USB port. This makes us difficult to achieve one of the requirements of trusted computing technology, secure input and output. For example, our demonstration uses a Web application, which suffers from well-known browser attacks. In future, we plan to investigate techniques to mitigate this limitation. We are also investigating the use of the device in other enterprise applications such as eHealth, eGovernment and smart grid or smart infrastructure. The current authentication mechanism is not strong for many of these applications. We also plan to develop a biometric authentication mechanism for our platform without compromising its portability and mobility. The future work also includes the development of a tiny secure operating system for our device towards creating trusted virtual platform [51, 52].

Abbreviations

AIK:

attestation identity key

COM:

computer-on-module

DIVA:

dynamic isolation of virtualized applications

DORIS:

digital online registration and identification system

EK:

endorsement key

OE:

openembedded

OS:

operating system

PCR:

platform configuration register

RNDIS:

remote network device interface specification

RNG:

random number generator

SEM:

secure execution mode

SRK:

storage root key

TCG:

trusted computing group

TCP:

trusted computing platform

TED:

trust extension device

TPD:

trusted personal devices

TPM:

trusted platform module

TSS:

trusted software stack

TVMM:

trusted virtual machine monitor.

References

  1. Newcomer E, Lomow G: Understanding SOA with Web Services (Independent Technology Guides). Addison-Wesley Professional; 2004.

    Google Scholar 

  2. WeiBenberg N, Voisard A, Gartmann R: Using ontologies in personalized mobile applications. In Proceedings of the 12th annual ACM International Workshop on Geographic Information Systems, ser. GIS. ACM, New York; 2004:2-11.

    Chapter  Google Scholar 

  3. Raptis D, Tselios N, Avouris N: Context-based design of mobile applications for museums: a survey of existing practices. In Proceedings of the 7th International Conference on Human Computer Interaction with Mobile Devices & Services, ser. MobileHCI. ACM, New York; 2005:153-160.

    Chapter  Google Scholar 

  4. Parno B, McCune JM, Perrig A: Bootstrapping trust in commodity computers. IEEE Symposium on Security and Privacy 2010, 414-429.

    Google Scholar 

  5. O'Callaghan D, Doran L, Coghlan B: Evaluating trust in grid certificates. In Proceedings of the 2010 ACM Symposium on Applied Computing, ser. SAC. ACM, New York; 2010:1449-1450.

    Chapter  Google Scholar 

  6. Feghhi J, Williams P: Digital Certificates: Applied Internet Security (with CD-ROM). Addison-Wesley Longman Publishing Co., Inc., Boston, MA; 1998.

    Google Scholar 

  7. AbuHmed T, Nyamaa N, Nyang D: Software-based remote code attestation in wireless sensor network. Proceedings of the 28th IEEE Conference on Global Telecommunications, ser. GLOBECOM'09 IEEE Press, Piscataway, NJ; 2009, 4680-4687. [http://portal.acm.org/citation.cfm?id=1811982.1812159]

    Google Scholar 

  8. Trusted Computing Group[http://www.trustedcomputinggroup.org/]

  9. IronKey[https://www.ironkey.com/]

  10. Encryptakey[http://investing.businessweek.com/research/stocks/private/snapshot.asp?privcapId=13189536]

  11. Mundie C, de Vries P, Haynes P, Corwine M: Microsoft white paper on trustworthy computing. Microsoft Corporation; 2002.

    Google Scholar 

  12. Bormann FC, Manteau L, Linke A, Pailles JC, van Dijk J: Concept for trusted personal devices in a mobile and networked environment. 15th IST Mobile and Wireless Communication Summit 2006.

    Google Scholar 

  13. Kumar U, Thakur GS, Helmy A: Proximity based trust-advisor using encounters for mobile societies: analysis of four filters. Wirel Commun Mobile Comput 2010, 10(12):1605-1619. 10.1002/wcm.1059

    Article  Google Scholar 

  14. TCG Trusted Platform Module (TPM) Specification[https://www.trustedcomputinggroup.org/specs/tpm/]

  15. Trusted Computing Platform Alliance (TCPA), Main specification, version 1.1b 2002.

  16. Trusted Computing Group, Main specification, version 1.2 revision no. 1032010. [http://www.trustedcomputinggroup.org/resources/tpm]

  17. Gratzer V, Naccache D: Trust on a nationwide scale. IEEE Security Privacy 2007, 5(5):69-71.

    Article  Google Scholar 

  18. Gemalto[http://www.gemalto.com]

  19. Sailer R, Zhang X, Jaeger T, van Doorn L: Design and implementation of a tcg-based integrity measurement architecture. Proceedings of the 13th Conference on USENIX Security Symposium! 2004, 16-16.

    Google Scholar 

  20. Moreland D, Nepal S, Hwang H, Zic J: A snapshot of trusted personal devices applicable to transaction processing. Personal Ubiquitous Comput 2010, 14(4):347-361. 10.1007/s00779-009-0235-6

    Article  Google Scholar 

  21. Rankl W, Effing W: Smart Card Handbook. 1st edition. John Wiley & Sons, Inc., New York; 1997.

    Google Scholar 

  22. Lu HK: Network smart card review and analysis. Comput Netw 2007, 51: 2234-2248. [http://portal.acm.org/citation.cfm?id=1241112.1241372] 10.1016/j.comnet.2007.01.009

    Article  Google Scholar 

  23. Montgomery M, Ali A, Lu K: Secure network card. In Smart Card Research and Advanced Applications VI, ser. IFIP International Federation for Information Processing. Volume 153. Edited by: Quisquater J-J, Paradinas P, Deswarte Y, El Kalam A. Springer, Boston, MA; 2004:193-208.

    Google Scholar 

  24. Urien P: Internet card, a smart card as a true internet node. Comput Commun 2000, 23(17):1655-1666. [http://www.sciencedirect.com/science/article/B6TYP-41ST54T-B/2/24adee584b18afe9416b17576794292a] 10.1016/S0140-3664(00)00252-8

    Article  Google Scholar 

  25. Rees J, Honeyman P: Webcard: a java card web server. Proceedings of the Fourth Working Conference on Smart Card Research and Advanced Applications on Smart Card Research and Advanced Applications Kluwer Academic Publishers, Norwell, MA; 2001, 197-207. [http://portal.acm.org/citation.cfm?id=366214.366282]

    Google Scholar 

  26. Lu HK, Ali AM: Making smart cards truly portable. IEEE Security Privacy 2010, 8(2):28-34.

    Article  Google Scholar 

  27. Lu HK, Ali AM, Durand S, Castillo L: A new secure communication framework for smart cards. In Proceedings of the 6th IEEE Conference on Consumer Communications and Networking Conference, ser. CCNC'09. IEEE Press; 2009:818-822.

    Google Scholar 

  28. Deswarte Y, Gambs S: Towards a privacy-preserving national identity card. DPM/SETOP 2009, 48-64.

    Google Scholar 

  29. Ministry of Home Affairs Singapore In the 15th annual governmentware securing intelligent enterprises (GovWare'i06). Singapore; 2006.

  30. Nepal S, Zic J, Hwang H, Moreland D: Trust extension device: providing mobility and portability of trust in cooperative information systems. OTM Conferences (1) 2007, 253-271.

    Google Scholar 

  31. Shirey RW: Internet security glossary, version 2. IETF request for comments: 4949 2007. [http://tools.ietf.org/html/rfc4949]

    Google Scholar 

  32. Fisher D, McClune JM: ADJ Andrews, Trust and trusted computing platforms. Carnegie Mellon University, Technical Report 642 2011. [http://repository.cmu.edu/sei/642]

    Google Scholar 

  33. Coker G, Guttman J, Loscocco P, Herzog A, Millen J, OHanlon B, Ramsdell J, Segall A, Sheehy J, Sniffen B: Principles of remote attestation. Int J Inf Security 2011, 10(2):62-83.

    Google Scholar 

  34. Smyth B, Ryan M, Chen L: Direct anonymous attestation (DAA): ensuring privacy with corrupt administrators. Proceedings of the 4th European Conference on Security and Privacy in Ad-hoc and Sensor Networks, ser. ESAS'07 Springer-Verlag, Heidelberg; 2007, 218-231. [http://portal.acm.org/citation.cfm?id=1784404.1784426]

    Chapter  Google Scholar 

  35. Haldar V, Chandra D, Franz M: Semantic remote attestation: a virtual machine directed approach to trusted computing. In VM'04: Proceedings of the 3rd Conference on Virtual Machine Research And Technology Symposium. USENIX Association, Berkeley, CA; 2004:3-3.

    Google Scholar 

  36. Chen L, Landfermann R, L'hr H, Rohe M, Sadeghi A, St'ble C: A protocol for property-based attestation. In STC '06: Proceedings of the first ACM workshop on Scalable trusted computing. ACM, New York; 2006:7-16.

    Chapter  Google Scholar 

  37. Shi E, Perrig A, Doorn LV: Bind: a fine-grained attestation service for secure distributed systems. IEEE Symposium on Security and Privacy 2005, 154-168.

    Google Scholar 

  38. A. Corporation, Amd platform for trustworthy computing WinHEC 2003 Microsoft; 2003. [http://www.microsoft.com/whdc/winhec/papers03.mspx]

  39. Garfinkel T, Pfaff B, Chow J, Rosenblum M, Boneh D: Terra: a virtual machine-based platform for trusted computing. In Proceedings of the Nineteenth ACM Symposium on Operating Systems Principles, ser. SOSP '03. ACM, New York; 2003:193-206.

    Chapter  Google Scholar 

  40. Jang J, Nepal S, Zic J: Establishing a trust relationship in cooperative information systems. International Conference on Cooperative Information Systems 2006, 426-443.

    Google Scholar 

  41. Yoshihama S, Ebringer T, Nakamura M, Munetoh S, Maruyama H: Ws-attestation: efficient and fine-grained remote attestation on web services. In Proceedings of the IEEE International Conference on Web Services, ser. ICWS '05. IEEE Computer Society, Washington, DC; 2005:743-750.

    Google Scholar 

  42. Gumstix Overo Earth[http://www.gumstix.com/]

  43. I. Corporation, Low pin count interface specification2002. [http://www.intel.com/design/chipsets/industry/25128901.pdf]

  44. S. Committee, Sff-8485 specification for serial gpio (sgpio) bus, revision 0.72006. [ftp://ftp.seagate.com/sff/SFF-8485.PDF]

  45. TCG Software Stack (TSS) Specification

  46. Davi L, Sadeghi A-R, Winandy M: Dynamic integrity measurement and attestation: towards defense against return-oriented programming attacks. In Proceedings of the 2009 ACM workshop on Scalable Trusted Computing, ser. STC '09. ACM, New York; 2009:49-54.

    Chapter  Google Scholar 

  47. Sadeghi A-R, Schneider T, Winandy M: Token-based cloud computing. TRUST 2010, 417-429.

    Google Scholar 

  48. van Dijk M, Rhodes J, Sarmenta LFG, Devadas S: Offline untrusted storage with immediate detection of forking and replay attacks. In Proceedings of the 2007 ACM workshop on Scalable Trusted Computing, ser. STC '07. ACM, New York; 2007:41-48.

    Chapter  Google Scholar 

  49. Bruschi D, Cavallaro L, Lanzi A, Monga M: Replay attack in tcg specification and solution. Proceedings of the 21st Annual Computer Security Applications Conference IEEE Computer Society, Washington, DC; 2005, 127-137. [http://portal.acm.org/citation.cfm?id=1106778.1106817]

    Google Scholar 

  50. Delaune S, Kremer S, Ryan M, Steel G: A formal analysis of authentication in the tpm. In Formal Aspects of Security and Trust, ser. Lecture Notes in Computer Science. Volume 6561. Edited by: Degano P, Etalle S, Guttman J. Springer, Heidelberg; 2011:111-125.

    Chapter  Google Scholar 

  51. Pirker M, Toegl R: Towards a virtual trusted platform. J Universal Comput Sci 2010, 16: 531-542.

    Google Scholar 

  52. McCune JM, Li Y, Qu N, Zhou Z, Datta A, Gligor V, Perrig A: Trustvisor: efficient tcb reduction and attestation. In Proceedings of the 2010 IEEE Symposium on Security and Privacy, ser. SP '10. IEEE Computer Society, Washington, DC; 2010:143-158.

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Surya Nepal.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Nepal, S., Zic, J., Liu, D. et al. A mobile and portable trusted computing platform. J Wireless Com Network 2011, 75 (2011). https://doi.org/10.1186/1687-1499-2011-75

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-1499-2011-75

Keywords