Project

General

Profile

Actions

NOTE: This page is mostly for historical reasons. Ever since we created our own SIMtrace hardware in 2011, there is no interest by Osmocom in the Rebelsim Scanner. We believe the SIMtrace and later simtrace2 to be far superior in terms of capabilities.

Rebel Simcard Scanner

The Rebel Simcard folks are selling a relatively inexpensive device for generating SIM card traces as Simcard Scanner.

photograph of full RebelSIM scanner kit

You can find the full kit for less than USD 25 at the Rebelsimcard shop
(mirror).

Hardware architecture

The Scanner has one small plug-in SIM sized slot and one full-size (ISO 7816-1) slot for your actual simcard.

It also has a small socket for a FPC cable that goes to a small PCB in the size of a plug-in sim.

You put the FPC-attached PCB into your phone (instead of the SIM card) and put the actual SIM inside the Scanner.

Furthermore, you connect it via the USB-B connector to your PC.

The I/O line of the SIM card is wired to the RxD pin (5) of the FT232RL on the Scanner. Unfortunately, the CLK
line is not connected, and neither can the device serve as a proxy between SIM and phone.

Pinout

It's possible to use it as smart card physical interface for SIMtrace.

Here the pinout :
Smart Card CON1 CON2 CON3 CON17 USB3
C1-VCC 1 3 1 8 8
C2-RST 2 5 6
C3-CLK 3 7 4
C5-GND 6 4 5 4,9,11,13,15 7
C6-VPP 5
C7-I/O 4 8 6 2 3

rebelsimscan_pin.jpg

Mode of operation

Original UART use

The original RebelSIM users simply use the FT232RL in UART mode and set the baud rate to match that of the actual SIM
card reader. Since the baudrate is negotiated in the PPS after ATR, and it depends on the frequency of the CLK signal
generated by the reader.

This means you effectively have to use an oscilloscope to measure the bit length (etu) and calculate a matching baud
rate which you can then program the FT232R to use.

Modified bit-banging use

By using the FT232 asynchronous bit-banging mode, it is possible to obtain samples of the I/O line, decoding
the actual T=0 (or with some SIM cards + phones T=1) protocol.

The unresolved problem with this is that the sample clock of the FT232R seems very unstable. This results in
a lot of jitter in the sample stream. Furthermore it is suspected that USB may cause buffer overruns and leads to
lost samples.

Harald has been doing a lot of experimentation with this, and unfortunately abandonded the project for now.

Files (2)
rebelsim-scanner.jpg View rebelsim-scanner.jpg 89 KB photograph of full RebelSIM scanner kit laforge, 11/09/2010 12:51 PM
rebelsimscan_pin.jpg View rebelsimscan_pin.jpg 113 KB pinout of the RebelSIM scanner tsaitgaist, 01/09/2011 11:42 AM

Updated by laforge over 4 years ago · 15 revisions

Add picture from clipboard (Maximum size: 48.8 MB)