Commit Graph

71 Commits

Author SHA1 Message Date
Christina Quast
34d4eb3f5f mitm.py: Intercept phonebook request 2015-05-04 17:50:32 +02:00
Christina Quast
789a4013b4 Added pts parsing 2015-05-04 15:29:07 +02:00
Christina Quast
05ba5232db removed pySim dead link 2015-05-04 15:28:50 +02:00
Christina Quast
b6e005cec1 mitm.py: Working pts parsing and answer 2015-05-04 15:28:03 +02:00
Christina Quast
7c5d13401c constants.py: added atr 2015-05-04 15:27:26 +02:00
Christina Quast
fafa54b37c sm_emul: ff 00 ff is the ans to ff 00 ff 2015-05-03 18:02:33 +02:00
Christina Quast
08ea861b11 mitm.py: to be removed, hack to answer pts request 2015-05-03 16:34:32 +02:00
Christina Quast
6118146598 sm_emul: send ATR with 0x18 and answer to pts 2015-05-03 16:34:06 +02:00
Christina Quast
dace491c65 mitm.py: No ATR replacing 2015-05-03 15:48:09 +02:00
Christina Quast
0d98b9f53f python files: first PTS handling 2015-05-03 14:22:51 +02:00
Christina Quast
40670422c8 apdu_split.py: Recover from failure in parsing on 0xa0 2015-05-03 12:59:44 +02:00
Christina Quast
46a93672d3 mitm.py: Dirty hack for replacing ATR live 2015-04-21 23:00:52 +02:00
Christina Quast
fb91bb7069 Parsing ajusted: respond to phone requests 2015-04-18 14:34:08 +02:00
Christina Quast
158c1dd448 simtrace.py: Use mitm.py in phone and mitm mode 2015-04-17 20:34:09 +02:00
Christina Quast
5384061761 mitm.py: Added apdu splitter code 2015-04-16 11:10:59 +02:00
Christina Quast
9547e9f149 sniffer.py: Added apdu_split support 2015-04-14 22:18:30 +02:00
Christina Quast
51925a6bec apdu_split.py: Corrected last error 2015-04-14 21:04:14 +02:00
Christina Quast
d4c8b51e86 apdu_split working with test message 2015-04-14 15:53:13 +02:00
Christina Quast
e64aa5b878 apdu_split without C code remains 2015-04-14 15:07:33 +02:00
Christina Quast
79c2a3a0c8 apdu_split: first try 2015-04-14 14:55:13 +02:00
Christina Quast
2571458595 sniffer.py: Write out every received char 2015-04-13 22:40:40 +02:00
Christina Quast
2b8a18bf3a Sniffer with ringbuf, works SOMETIMES
* Sniffer uses phone endpoints for communication and the ringbuffer
    routines the phone communication uses
* Most times the Usart1 interrupt is not triggered, and therefore
    no values are recorded
2015-04-12 09:31:36 +02:00
Christina Quast
3a47a4f10e mitm.py: Decreased timeout 2015-04-11 18:16:14 +02:00
Christina Quast
94ddb91e33 mitm.py: New smartcard ATR, expanded pattern match 2015-04-11 12:29:41 +02:00
Christina Quast
f2e53f0553 array to hex function, reduced usb timeout 2015-04-11 08:42:38 +02:00
Christina Quast
362a4da94a simtrace.py: Sleep a sec after changing the config 2015-04-09 13:39:38 +02:00
Christina Quast
82ba0ac6d8 Phone.c: remove unused ep finder function 2015-04-06 19:08:37 +02:00
Christina Quast
6f664a3cc2 mitm.py: read atr on startup, do not reset card to retrieve atr 2015-04-06 19:08:04 +02:00
Christina Quast
7741f7159c ccid_raw.py: Reset smartcard method 2015-04-06 19:06:05 +02:00
Christina Quast
5163624c24 ccid_raw.py: ATR function 2015-04-06 00:44:50 +02:00
Christina Quast
88c7fa1bad mitm.py: using new ccid_raw.py functions 2015-04-06 00:35:03 +02:00
Christina Quast
5149cd6e78 simcard communication python class 2015-04-06 00:33:52 +02:00
Christina Quast
267afe37ec Constants: simcard command definition 2015-04-06 00:27:33 +02:00
Christina Quast
2a3dd553e1 Requirements.txt 2015-04-05 16:37:14 +02:00
Christina Quast
21eddea4bb Symlink to pySim module 2015-04-05 16:35:28 +02:00
Christina Quast
7821b1fc1b Installed pysim as submodule
Could not install it using pip.
Setup.py missing
2015-04-05 16:24:17 +02:00
Christina Quast
097b21849f ccid_raw.py: main function with test functions 2015-04-05 10:21:11 +02:00
Christina Quast
80050a5c98 simtrace.py: Added mitm option 2015-04-04 20:00:15 +02:00
Christina Quast
95270b1903 mitm.py: import modules, added exceptions 2015-04-04 19:59:03 +02:00
Christina Quast
3252a317d5 ccid_raw.py: removed test functions calls 2015-04-04 19:57:16 +02:00
Christina Quast
b65b881de1 Phone uses USB endpoints 4 to 6 instead of 1 to 3 now 2015-04-04 10:51:37 +02:00
Christina Quast
452aee337c simtrace config 4 enabled 2015-04-03 13:22:18 +02:00
Christina Quast
97922ba1d0 phone.py: do not change state to WAIT_RST after responding to file select command 2015-04-03 11:46:34 +02:00
Christina Quast
cce4b0959c return commands read from card 2015-04-03 11:43:09 +02:00
Christina Quast
1dd996a0c3 Define for phone interface numbers in phone.py 2015-04-03 11:42:29 +02:00
Christina Quast
69d1f90c12 MITM python program first draft 2015-04-03 11:41:23 +02:00
Christina Quast
254acae448 raw ccid communication with variable commands 2015-04-01 19:36:34 +02:00
Christina Quast
4bcc023be7 Phone hack: endless loop
Motorola seems to be in an endless loop?
In any case, it only shows the motorola logo and does not react to
pressing the power button.
2015-03-24 21:59:32 +01:00
Christina Quast
5134fb6f53 phone.py:Bug fixes, first part of communication works 2015-03-22 19:09:02 +01:00
Christina Quast
e5342b3c25 Added more cmds to phone.py smartcard emulator 2015-03-19 19:29:49 +01:00