tomasz-lisowski / swsim

A software SIM card.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swSIM

Project needs to be cloned recursively. Downloading the ZIP is not enough.

swSIM is an all-software SIM card. It's the first publicly available (to the best of my knowledge) SIM card simulator which does not rely on any SIM hardware to work.

Scope

  • A software-only SIM card simulator.
  • It does NOT depend on any hardware to work.
  • Can connect to the PC via PC/SC using the swICC PC/SC reader.
  • The PC/SC interface allows it to connect to ANY phone with a SIM card slot. We used the SIMtrace 2 device running on the cardem firmware but any other tool which forwards messages to and from the phone would work as well.

Install

  • You need make and gcc to compile the project. No extra runtime dependencies.
  1. sudo apt-get install make gcc
  2. git clone --recurse-submodules git@github.com:tomasz-lisowski/swsim.git
  3. cd swsim
  4. make main-dbg (for more info on building, take a look at ./doc/install.md).

Usage

  1. Start a swICC card server, e.g., swICC PC/SC reader.
  2. ./build/swsim.elf --ip 127.0.0.1 --port 37324 --fs filesystem.swiccfs --fs-gen ./data/usim.json
  3. pcsc_scan (part of the pcsc-tools package) will show some details of the card.
  4. You can interact with the card as you would with a real card attached to a hardware card reader.

About

A software SIM card.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 97.5%Language:Makefile 1.2%Language:HTML 1.2%Language:Shell 0.1%