Hi,

I want to share with you complete MitM solution. The project is based on at91work. The solution allows to specify which file or instruction you want to modify. You might also edit SIM files on the fly - apdu is not sent on the basic channel so communication with phone is not interrupted. Simtrace firmware has two variants: apdu forwarding and PC/SC reader.

Detailed information can be found in
https://github.com/kamwar/simlab/wiki
https://github.com/kamwar/simlabTrace/wiki

Best Regards,
Kamil