• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    C
  • License
    BSD 3-Clause "New...
  • Created almost 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A software SIM card.

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 [email protected]: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.

More Repositories

1

swicc

A framework for creating smart cards (ICC-based cards with contacts).
C
133
star
2

swicc-pcsc

A PC/SC IFD handler to attach swICC-based cards through a software PC/SC reader.
C
29
star
3

simurai

Shell
16
star
4

simurai-usenixsec2024-ae

Shell
5
star
5

zig-microui-example

Zig base for using https://github.com/rxi/microui (immediate-mode UI library)
Zig
3
star
6

b2xto

Stop apps that don't receive packets and start them when they do.
Zig
3
star
7

bytes2img

Read raw pixel data (i.e. a list of bytes) and save them into a standard image format.
Zig
3
star
8

lean-logic-examples

Proofs of exercises at https://leanprover.github.io/logic_and_proof/ and other miscellaneous formulas.
Lean
2
star
9

c-exe-template

Makefile
2
star
10

esolang-grta

A minimal and extremely difficult esolang written in WebASM and C.
WebAssembly
2
star
11

scraw-c

Cross-platform library for sending raw APDU T=0 or T=1 messages to smart cards. Superseded by https://github.com/tomasz-lisowski/scraw
C
1
star
12

lgnosleep

Prevents LG monitors from going to sleep when the screen is almost black.
C
1
star
13

a002513-generating-algorithm

Algorithm for generating the A002513 (https://oeis.org/A002513) integer sequence (including a list of the arrangements).
JavaScript
1
star
14

integer-java-virtual-machine

Fast IJVM virtual machine (with some extensions and a standalone debugger).
C
1
star
15

theme-ilk

VSCode theme which couples semantic groups to a small number of colors for improved readability. Made specifically for C.
1
star
16

scraw

Cross-platform library for sending raw APDU T=0 or T=1 messages to smart cards.
Zig
1
star
17

pysim-docker

Shell
1
star
18

scrng

Uses a smart card to generate random data (put those old SIM cards to good use :>).
C
1
star
19

generative

Collection of my generative arts.
C
1
star