Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the...

20
Universal Tracer 3.0 Getting Started

Transcript of Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the...

Page 1: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Universal Tracer 3.0Getting Started

Page 2: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

All information herein is either public information or is the property of and owned solely by Gemalto NV. and/or its subsidiaries who shall have and keep the sole right to file patent applications or any other kind of intellectual property protection in connection with such information.

Nothing herein shall be construed as implying or granting to you any rights, by license, grant or otherwise, under any intellectual and/or industrial property rights of or concerning any of Gemalto’s information.

This document can be used for informational, non-commercial, internal and personal use only provided that:

• The copyright notice below, the confidentiality and proprietary legend and this full warning notice appear in all copies.

• This document shall not be posted on any network computer or broadcast in any media and no modification of any part of this document shall be made.

Use for any other purpose is expressly prohibited and may result in severe civil and criminal liabilities.

The information contained in this document is provided “AS IS” without any warranty of any kind. Unless otherwise expressly agreed in writing, Gemalto makes no warranty as to the value or accuracy of information contained herein.

The document could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein. Furthermore, Gemalto reserves the right to make any change or improvement in the specifications data, information, and the like described herein, at any time.

Gemalto hereby disclaims all warranties and conditions with regard to the information contained herein, including all implied warranties of merchantability, fitness for a particular purpose, title and non-infringement. In no event shall Gemalto be liable, whether in contract, tort or otherwise, for any indirect, special or consequential damages or any damages whatsoever including but not limited to damages resulting from loss of use, data, profits, revenues, or customers, arising out of or in connection with the use or performance of information contained in this document.Gemalto does not and shall not warrant that this product will be resistant to all possible attacks and shall not incur, and disclaims, any liability in this respect. Even if each product is compliant with current security standards in force on the date of their design, security mechanisms' resistance necessarily evolves according to the state of the art in security and notably under the emergence of new attacks. Under no circumstances, shall Gemalto be held liable for any third party actions and in particular in case of any successful attack against systems or equipment incorporating Gemalto products. Gemalto disclaims any liability with respect to security for direct, indirect, incidental or consequential damages that result from any use of its products. It is further stressed that independent testing and verification by the person using the product is particularly encouraged, especially in any application in which defective, incorrect or insecure functioning could result in damage to persons or property, denial of service or loss of privacy.© Copyright 2009 Gemalto N.V. All rights reserved. Gemalto and the Gemalto logo are trademarks and service marks of Gemalto N.V. and/or its subsidiaries and are registered in certain countries. All other trademarks and service marks, whether registered or not in specific countries, are the property of their respective owners.

GEMALTO, B.P. 100, 13881 GEMENOS CEDEX, FRANCE.

Tel: +33 (0)4.42.36.50.00 Fax: +33 (0)4.42.36.50.90

Printed in France. Document Reference: D1132800B

August 7, 2009

www.gemalto.com

Page 3: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Contents

Preface v

Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vPrerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vContact Our Hotline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

Chapter 1 Setting Up the Universal Tracer 1

Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Setting Up the Universal Tracer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Product Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Product Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Chapter 2 Working with the Universal Tracer 9

Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Using the Tracer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

List of TablesTable 1 - Menu Bar Commands and Sub-Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

List of FiguresFigure 1 - Hardware Required for Setting Up Universal Tracer . . . . . . . . . . . . . . . . . . 2Figure 2 - Tracing Between a (U)SIM Card and a ME . . . . . . . . . . . . . . . . . . . . . . . . . 4Figure 3 - Tracing Between a (U)SIM Card and a PC/SC Smartcard Reader . . . . . . . 5Figure 4 - Tracing Between a (U)SIM and Other Card Reader . . . . . . . . . . . . . . . . . . 5Figure 5 - The License Key Manager Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 6 - Generating a Product Profile File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 7 - Registering the Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 8 - Confirmation Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 9 - The Universal Tracer View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 10 - Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 11 - An Example of Connected Data Sources . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 12 - Switching Between Tracer Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Page 4: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing
Page 5: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Preface

This document helps you to learn about Universal Tracer which addresses the basic steps to perform communication exchanges.

AudienceThis document is intended for:

■ Technical marketing people. These people frequently need to personalize the content of a SIM card’s file system, and to rapidly prototype SIM Toolkit applications.

■ People involved in mobile testing.

PrerequisitesThis document assumes that you are familiar with the operating systems and with Java Card, Open Platform (OP), 3GPP Specifications and Global Systems for Mobile Communications (GSM) specifications.

Contact Our HotlineIf you do not find the information you need in this manual, or if you find errors, contact the Gemalto hotline at http://support.gemalto.com/.

Please note the document reference number, your job function, and the name of your company. (You will find the document reference number at the bottom of the legal notice on the inside front cover.)

Page 6: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing
Page 7: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

1

Setting Up the Universal Tracer

Hardware RequirementsThe following hardware is required to use the Universal Tracer:

■ A workstation with:

– Intel® Pentium® 4 processor, 2.0 GHz or faster.

– A minimum of 1 GB of RAM (2 GB is recommended).

– 400 MB of available disk space for installation.

– USB compliant port (USB 2.0 or higher is recommended).

■ A data source (such as the mobile-SIM connector (MSC), PC/SC-compatible smartcard reader or card simulator).

■ A set of four probes for MSC

■ A (U)SIM card adaptor1

■ A Smart adaptor1 The usage of this hardware is only required when tracing is done using other smartcard reader.

Page 8: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

2 Universal Tracer Getting Started

Figure 1 - Hardware Required for Setting Up Universal Tracer

Software RequirementsUniversal Tracer runs under:

■ Microsoft® Windows XP with Service Pack 2 (32-bit).

■ Microsoft® Windows Vista (32-bit).

Mobile-SIM Connector MSC Probes Gemalto USB Card Reader

(U)SIM Card AdaptorSmart Adaptor

Page 9: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Setting Up the Universal Tracer 3

Setting Up the Universal TracerDepending on the data sources you are working with, multiple tracing sessions are allowed to conduct different traces simultaneously. There are different ways to conduct a trace and these are listed in the following.

You must install the driver for MSC device before the MSC device can communicate with the Universal Tracer.

To install a MSC device driver:1 Plug in the MSC device to the USB port of your PC or laptop.

2 Your MSC device will be detected automatically and you will be led to the Found New Hardware Wizard window.

3 Select No, not this time and click Next to proceed to the next step.

4 Choose Install the software automatically (Recommended) and click Next to continue.

5 Click Continue Anyway to verify the compatibility of MSC driver on Windows XP.

Stopping the installation exits the wizard and the driver will not installed.

6 Click Finish to close the wizard. Once the driver is installed successfully, a small pop-up window is displayed in the taskbar to notify you that the hardware is installed and ready for use.

Page 10: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

4 Universal Tracer Getting Started

To trace between a (U)SIM card and a ME:1 Plug in the MSC device to the USB port of your PC or laptop.

2 Insert a (U)SIM card to the (U)SIM card adaptor.

3 Use the MSC probe to connect the ME and MSC device.

4 Insert the (U)SIM card adaptor with the (U)SIM to the MSC device.

5 Run the Universal Tracer application and select the MSC device from the drop-down list on . The Universal Tracer will then trace the communication between the (U)SIM card and ME.

Figure 2 - Tracing Between a (U)SIM Card and a ME

To trace between a (U)SIM card and a PC/SC smartcard reader: 1 Run the Universal Tracer application.

2 Plug in the Gemalto USB card reader to your PC or laptop.

3 Insert a (U)SIM card to the card reader.

4 Select the PC/SC smartcard reader from the drop-down list on . The Universal Tracer will then trace the communication that occurs in the PC/SC smartcard reader.

Page 11: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Setting Up the Universal Tracer 5

Figure 3 - Tracing Between a (U)SIM Card and a PC/SC Smartcard Reader

To trace between other smartcard reader and a (U)SIM card:1 Plug in the card reader to your PC or laptop.

2 Use the MSC probe to connect the Smart adaptor and MSC device.

3 Insert a (U)SIM card to the MSC device.

4 Insert the Smart adaptor to the card reader.

5 Run the Universal Tracer application and select the MSC device from the drop-down list on . The Universal Tracer will then trace the communication that occurs in the card reader.

Figure 4 - Tracing Between a (U)SIM and Other Card Reader

To trace communication in card simulator: 1 Run the card simulator.

2 Run the Universal Tracer application and select the corresponding card simulator from the drop-down list on . The Universal Tracer will then trace the communication that occurs in the card simulator.

Note: The list of card simulators supported is limited to the card simulators provided in the Gemalto Developer Suite version 3.4 or Gemalto Simulation Suite 2.4 onwards.

Page 12: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

6 Universal Tracer Getting Started

Product LicensingA 20-day tryout license is available and this trial period starts from the day you installed the Universal Tracer.

Figure 5 - The License Key Manager Window

To continue using Universal Tracer after the trial license expires, you need to initiate a product activation sequence to obtain a full license.

Product activation works by verifying that a Universal Tracer product profile file, which is an export file generated, has not been registered on more personal computers than intended by its license.

To initiate the product activation, you need to provide the product profile file to enable you to request the license file from the License Key Manager via an email as follows:

1 Select Gemalto > Licensing from the menu bar.

2 To generate a product profile file, select Export Profile to input your personal information in the required fields. You may also provide the product profile file that is generated previously. Alternatively, if a product profile file has been generated previously, you can skip step 3 and send a request to the License Key Manager at [email protected].

Figure 6 - Generating a Product Profile File

Note: After the expiration of the trial license, new traces cannot be created. However, you can still view and interpret existing traces.

Page 13: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Setting Up the Universal Tracer 7

3 Click Save & Send to request a license file from the License Key Manager via an email.

4 Once the license file is received in the form of an email, select Import License from Gemalto > Licensing. With this, the product activation of Universal Tracer is completed.

To renew your license, you may send a request to the License Key Manager at [email protected] or check with your Gemalto Technical Consultant for more information.

Product RegistrationRegister your Universal Tracer online to receive notifications on product updates and access to download updates and upgrades.

To register your product:1 Select Gemalto > Register Product from the menu bar.

2 Enter the information required and submit by clicking Register Now.

Figure 7 - Registering the Product

Page 14: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

8 Universal Tracer Getting Started

3 A confirmation window is displayed. Click OK in the confirmation window to complete the product registration or Cancel to save the information you have just entered and register it later.

Figure 8 - Confirmation Window

Page 15: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

2

Working with the Universal Tracer

The Universal Tracer enables you to trace APDU communication exchanges between a PC application and a PC/SC-compatible smartcard reader or card simulator to debug or check compliance with established standards. When used with a special USB mobile-SIM connector (a MSC device), the Universal Tracer can also track the APDU exchanges between a mobile equipment (ME) and a (U)SIM card. These communication exchanges are subsequently logged and interpreted.

The Universal Tracer user interface consists of three main parts:

■ Trace Area

■ Action Bar

■ Start/Stop

The Trace Area displays the traced data and the Action Bar contains the buttons that allows you to perform different operations on the trace. Use the Start button on the toolbar to initiate a trace session and Stop to end the trace session.

Page 16: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

10 Universal Tracer Getting Started

The layout of the Universal Tracer is as follows:

Figure 9 - The Universal Tracer View

Menu BarThe Universal Tracer menu bar contains sub-menus which enables you to carry out the various tasks.

Figure 10 - Menu Bar

A summary of the sub-menus is shown in “Table 1”.

Alternatively, the dynamic and contextual help can be invoked by pressing the function key F1.

Trace Area Action BarStart/Stop

Table 1 - Menu Bar Commands and Sub-Menus

Main Menu Sub-menus Description

Window Preferences Customize the settings for Universal Tracer

Gemalto Licensing Display information about the license

Register Product Register the Universal Tracer

Help About Universal Tracer Display information about Universal Tracer

Help Contents Display the Universal Tracer online help

Search Seek for information containing specific text or names

Dynamic Help Display the Universal Tracer contextual help

Page 17: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Working with the Universal Tracer 11

Using the TracerBefore you can begin working with the Universal Tracer, you must define the data source you want to work with. The media can be connected to your PC via the following sources:

■ A mobile-SIM connector (MSC)

■ A PC/SC-compatible smartcard reader

■ A card simulator

In the Universal Tracer, the format of the respective data source is displayed in the following order:

To see the data sources that are connected to your PC, click the drop-down list on .

Figure 11 - An Example of Connected Data Sources

To start a trace session:1 Connect the data source.

2 Run a PC application to be used for tracking the APDU exchanges between the media and the PC application.

3 Click to start the trace session. Perform the sequence of commands to be traced in the PC application. The trace information and any returned APDU response are displayed in the Trace area.

4 To interpret the trace information, click and the interpreted trace file shows the APDU commands that are sent to the card and the responses returned by the card.

5 At any time, you can:

– Click on the toolbar to temporarily suspend the trace session. The trace session is suspended until is pressed again to restart tracing.

– Either click on the toolbar to stop tracing and close the trace session.

6 Enter the name of the new trace and click to save the trace information.

1. MSC device USB Mobile SIM Connector - COM <Port #>

For example, USB Mobile SIM Connector - COM5

2. PC/SC card reader <Application Name> - <Card Reader Name> <Port #>

For example, Mediamanager.exe - Gemplus USB Smart Card Reader 0

3. Card simulator <Card Simulator Name>:<Port #>

For example, NFC with Proprietary SCWS:3536

Page 18: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

12 Universal Tracer Getting Started

7 To close the trace session at any time, click .

Alternatively, you can load a trace file (in .xti or .per format) to track a pre-recorded session by clicking .

There are options to copy, extract selected items, clear a trace and search a trace via right-clicking any row in the trace session or in the interpreted mode. For more information about the use of these options, click the Help button in the respective contextual help window.

To switch between the different tracer windows, click the drop-down list on the right-hand side of the Tracer window and click the preferred window as shown in the following.

Figure 12 - Switching Between Tracer Windows

Page 19: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing

Index

Aaction bar

different operations 9APDU exchanges 9

Ccard simulator 1, 11close 11

Ddata source 1

card simulator 1mobile-SIM connector 1PC/SC 1smartcard reader 1

FF1 10

Hhardware requirements 1

Iinterpret 11

Llayout 10

license 6product activation 6renew 7

load .per 12load .xti 12

Mmenu bar 10mobile-SIM connector 1, 9, 11

PPC/SC 1, 11product

license 6register 7

Ssetting up 3smartcard reader 1Start

initiate 9Stop

end 9sub-menus 10

Ttrace

new 11save 11start 11

trace area 9

Page 20: Universal Tracer 3 - Gemalto World leader in Digital … Up the Universal Tracer 3 Setting Up the Universal Tracer Depending on the data sources you are working with, multiple tracing