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
andgcc
to compile the project. No extra runtime dependencies.
sudo apt-get install make gcc
git clone --recurse-submodules [email protected]:tomasz-lisowski/swsim.git
cd swsim
make main-dbg
(for more info on building, take a look at./doc/install.md
).
Usage
- Start a swICC card server, e.g., swICC PC/SC reader.
./build/swsim.elf --ip 127.0.0.1 --port 37324 --fs filesystem.swiccfs --fs-gen ./data/usim.json
pcsc_scan
(part of thepcsc-tools
package) will show some details of the card.- You can interact with the card as you would with a real card attached to a hardware card reader.