[{"data":1,"prerenderedAt":178},["ShallowReactive",2],{"tool-doc-pysim":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"name":8,"protocol":10,"category":11,"hardware":12,"command":13,"academyLab":14,"body":15,"_type":172,"_id":173,"_source":174,"_file":175,"_stem":176,"_extension":177},"\u002Ftools\u002Fpysim","tools",false,"","pySim","Osmocom tool suite for reading, programming, and auditing SIM, USIM, ISIM, and eSIM cards over standard PC\u002FSC interfaces.","SIM \u002F USIM \u002F ISIM \u002F eSIM","Smartcard & UICC Security Toolkit","PC\u002FSC Smartcard Reader (Omnikey \u002F ACR38U)","pySim-prog.py -p 0 -a 1234","https:\u002F\u002Fapp.telcosec.net",{"type":16,"children":17,"toc":161},"root",[18,27,41,48,83,89,96,109,115,124,130,139,145],{"type":19,"tag":20,"props":21,"children":23},"element","h1",{"id":22},"pysim-sim-usim-esim-security-programming-suite",[24],{"type":25,"value":26},"text","pySim — SIM \u002F USIM \u002F eSIM Security & Programming Suite",{"type":19,"tag":28,"props":29,"children":30},"p",{},[31,33,39],{"type":25,"value":32},"pySim is the authoritative Osmocom tool for interacting with telecommunication smartcards (UICC). In ",{"type":19,"tag":34,"props":35,"children":36},"strong",{},[37],{"type":25,"value":38},"TelcoChisel",{"type":25,"value":40},", pySim comes with full support for PC\u002FSC daemon bindings, SysmoSIM programmable cards, and eSIM Local Profile Assistant (LPA) commands.",{"type":19,"tag":42,"props":43,"children":45},"h2",{"id":44},"capabilities",[46],{"type":25,"value":47},"Capabilities",{"type":19,"tag":49,"props":50,"children":51},"ul",{},[52,63,73],{"type":19,"tag":53,"props":54,"children":55},"li",{},[56,61],{"type":19,"tag":34,"props":57,"children":58},{},[59],{"type":25,"value":60},"Key Extraction & Inspection",{"type":25,"value":62},": Read Elementary Files (EF_IMSI, EF_ICCID, EF_HPLMN, EF_AD, EF_AUTH) to extract subscriber credentials and carrier parameters.",{"type":19,"tag":53,"props":64,"children":65},{},[66,71],{"type":19,"tag":34,"props":67,"children":68},{},[69],{"type":25,"value":70},"Milena \u002F Tuak Key Derivation",{"type":25,"value":72},": Program authentication keys (Ki, OP, OPC) for test carrier deployment in Open5GS\u002FsrsRAN test environments.",{"type":19,"tag":53,"props":74,"children":75},{},[76,81],{"type":19,"tag":34,"props":77,"children":78},{},[79],{"type":25,"value":80},"eSIM Profile Audits",{"type":25,"value":82},": Interact with eUICC security domains (ISD-P, ECASD) to test eSIM profile downloading and mutual authentication certificates.",{"type":19,"tag":42,"props":84,"children":86},{"id":85},"pre-installed-telcochisel-cheatsheet",[87],{"type":25,"value":88},"Pre-installed TelcoChisel Cheatsheet",{"type":19,"tag":90,"props":91,"children":93},"h3",{"id":92},"_1-detect-connected-smartcard-reader",[94],{"type":25,"value":95},"1. Detect Connected Smartcard Reader",{"type":19,"tag":97,"props":98,"children":103},"pre",{"className":99,"code":101,"language":102,"meta":7},[100],"language-bash","# Check PC\u002FSC reader status and card ATR\npcsc_scan\n","bash",[104],{"type":19,"tag":105,"props":106,"children":107},"code",{"__ignoreMap":7},[108],{"type":25,"value":101},{"type":19,"tag":90,"props":110,"children":112},{"id":111},"_2-launch-interactive-pysim-shell",[113],{"type":25,"value":114},"2. Launch Interactive pySim Shell",{"type":19,"tag":97,"props":116,"children":119},{"className":117,"code":118,"language":102,"meta":7},[100],"# Enter interactive pySim terminal\npySim-shell.py -p 0\n",[120],{"type":19,"tag":105,"props":121,"children":122},{"__ignoreMap":7},[123],{"type":25,"value":118},{"type":19,"tag":90,"props":125,"children":127},{"id":126},"_3-read-imsi-and-carrier-elementary-files",[128],{"type":25,"value":129},"3. Read IMSI and Carrier Elementary Files",{"type":19,"tag":97,"props":131,"children":134},{"className":132,"code":133,"language":102,"meta":7},[100],"# Inside pySim-shell:\npySim-shell (0:MF)> select ADF.USIM\npySim-shell (0:MF\u002FADF.USIM)> select EF.IMSI\npySim-shell (0:MF\u002FADF.USIM\u002FEF.IMSI)> read_binary\n",[135],{"type":19,"tag":105,"props":136,"children":137},{"__ignoreMap":7},[138],{"type":25,"value":133},{"type":19,"tag":42,"props":140,"children":142},{"id":141},"practice-in-telcosec-cloud-academy",[143],{"type":25,"value":144},"Practice in TelcoSec Cloud Academy",{"type":19,"tag":28,"props":146,"children":147},{},[148,150],{"type":25,"value":149},"To learn smartcard hardware security and eSIM penetration testing:\n👉 ",{"type":19,"tag":34,"props":151,"children":152},{},[153],{"type":19,"tag":154,"props":155,"children":158},"a",{"href":14,"rel":156},[157],"nofollow",[159],{"type":25,"value":160},"Access the SIM & UICC Lab at App.TelcoSec.Net",{"title":7,"searchDepth":162,"depth":162,"links":163},2,[164,165,171],{"id":44,"depth":162,"text":47},{"id":85,"depth":162,"text":88,"children":166},[167,169,170],{"id":92,"depth":168,"text":95},3,{"id":111,"depth":168,"text":114},{"id":126,"depth":168,"text":129},{"id":141,"depth":162,"text":144},"markdown","content:tools:pysim.md","content","tools\u002Fpysim.md","tools\u002Fpysim","md",1792170262913]