Tips & Tricks, Tutorials, Hacking, Troubleshooting,

SIM Reader
Investigate Smart Cards 
In this Tutorial we create a sim card reader kit..
Overview:

This project details how to build a Smart/SIM card reader/writer for experimentation and investigation of SIM & Smart cards.Once the reader design is built, the open source software can be used to read from and write to the card. Together they can be used to backup/restore stored SIM card data, recover deleted SMS's and phone contacts, examine the last phone numbers dialed, etc.

1.Tools:
There are a few tools that are required for assembly. None of these tools are included. If you don't have them, now would be a good time to borrow or purchase them. They are very very handy whenever assembling/fixing/modifying electronic devices!.Go Your hardware Shop and buy Tools.
1.Soldering iron.
2.Solder.
3.Multimeter/Oscilloscope.
4.Flush/diagonal cutters.
5.Desoldering tool.
6.'Handy Hands' with Magnifying Glass

2.Part list:

Name Description Data Sheet Qty
PCB Printed circuit board
1
J1 SIM card holder FCI 7111S2015X02LF 1
X1 3.579545 MHz ("colorburst") crystal Generic 1
X1 DB-9 female connector w/solder cup Norcomp 171-009-203L001 1
IC1 CMOS Hex inverter 74HC04N 1
IC2 7805 (TO-220 package) or 78L05 (TO-92)
5V regulator
78L05 1
Q1 NPN transistor, EBC pinout
Such as PN2222 or 2N3904
PN2222 1
C1 0.1uF ceramic capacitor Generic 1
C2 C3 18-22pF ceramic capacitor Generic 2
C4 100uF / 6.3V capacitor

(or higher!)
Generic 1
LED1 Green or red 3mm LED Lite-On LTL-1CHG or similar 1
D1 Power diode Generic 1N4001 1
D2 D3 5.1V Zener diode 1N5231B 2
R1 1/4W 5% 1Meg resistor
Brown Black Green Gold

1
R2, R7, R8 1/4W 5% 1.0K resistor
Brown Black Red Gold

3
R3, R4, R5,R6 1/4W 5% 10K resistor
Brown, Black, Orange, Gold

4
FTDI 6 Pin header
1
BATT 9V battery clip Generic 1

3.Circuit Diagram:
create your Layout using This circuit diagram.......
Than Go To Next Step.

4.Solder It..
After a Solder Your Circuit Look Like This.
 
Ready For Use....
Inserting SIM cards:
Inserting the SIM card is fairly straight-forward. First verify that any cables and/or batteries are disconnected. This is the safest way to insert and remove cards.
Slide the holder away from the power LED (look for the OPEN-> indication on the card holder), the holder will pop open.
Slide the SIM card in so that the contacts face up and the notched corner is on the bottom. The holder is designed so that cards can't be placed backwards.


To remove a SIM card, disconnect all power and cables, then reverse the steps.
Connecting to a serial port:
If you're using a serial port or a USB-to-serial converter with a DB9 connector, the board needs to be powered with a 9V battery.
The green LED should be lit indicating power good.
Then connect the DB9 cable to the side. That's it!
Connecting with an FTDI cable:
An FTDI cable (5V or 3.3V version) can also be used. What's nice about these is that they provide a regulated 5V supply so a 9V battery is not needed!
Simply connect the cable to the header. Make sure the black (ground wire) is on the left as shown. The green LED should light up.
Running the pySim software:
In order to send and receive data from the SIM card, we will use the free and open source software pySIM. This software does pretty much everything the expensive, proprietary, 'forensics' software out there does! It can back up and recover deleted SMS messages & phone book entries, determine the last numbers dialed, and extract serial number information. 
Download From Here

http://www.4shared.com/file/wplbZJl3/pySimReader-Serial-Win32-v2.html
To run the software, double-click on pySimReader.exe (Windows) .

Connect:
First thing is to connect to the reader. Plug a serial cable from the reader to the computer's serial port.
If your computer doesn't come with a serial port (say,  newer PCs and laptops), a USB-serial converter will work just fine

Now its time to figure out what COM/serial port you are using. By default almost all Windows computers have only COM1 but if you are using a USB adaptor or have a different configuration, you will have a different COM port. Open up the Device Manager (under the System control panel) and look under Ports.
Click on Connect Reader and select the serial port.

Click OK to connect to the reader. The debug window should pop up and display information send and received from the SIM card.
As long as some data was exchanged, the communication is working fine.

Reading and writing data to the SIM:
Now its easy to get the SMS and phonebook data. Use the menu commands to read, write, import and export data.
When you're done. Click on Disconnect, remove the serial cable, disconnect the 9V battery and then remove the SIM.

No comments:

Post a Comment