[Paper Review] Interleaving Commands: a Threat to the Interoperability of Smartcard Based Security Applications
This paper identifies and demonstrates a critical interoperability vulnerability in smartcard-based security systems: interleaving commands from one smartcard can interfere with operations on another, even when both are certified under Common Criteria. The authors experimentally show that digital signature processes may complete silently without error, despite receiving unintended commands, undermining trust and security in middleware environments where multiple smartcards coexist.
Although smartcards are widely used, secure smartcard interoperability has remained a significant challenge. Usually each manufacturer provides a closed environment for their smartcard based applications including the microchip, associated firmware and application software. While the security of this "package" can be tested and certified for example based on the Common Criteria, the secure and convenient interoperability with other smartcards and smartcard applications is not guaranteed. Ideally one would have a middleware that can support various smartcards and smartcard applications. In our ongoing research we study this scenario with the goal to develop a way to certify secure smartcard interoperability in such an environment. Here we discuss and experimentally demonstrate one critical security problem: if several smartcards are connected via a middleware it is possible that a smartcard of type S receives commands that were supposed to be executed on a different smartcard of type S'. Such "external commands" can interleave with the commands that were supposed to be executed on S. Here we demonstrate this problem experimentally with a Common Criteria certified digital signature process on two commercially available smartcards. Importantly, in some of these cases the digital signature processes terminate without generating an error message or warning to the user.
Motivation & Objective
- To investigate the security risks arising from command interleaving in multi-smartcard middleware environments.
- To evaluate the impact of external commands on certified smartcard applications, particularly in digital signature processes.
- To demonstrate that interoperability issues can lead to silent, undetected security violations even with Common Criteria certification.
- To highlight the lack of error detection when unintended commands are executed on a target smartcard.
- To advocate for formal certification mechanisms that ensure secure interoperability across diverse smartcard platforms.
Proposed method
- The researchers used a middleware environment to connect two commercially available, Common Criteria-certified smartcards.
- They injected commands intended for one smartcard (S') into the communication stream of another (S), simulating interleaving in a multi-card setup.
- The digital signature process was monitored to detect whether it completed successfully despite receiving external, unintended commands.
- The experiment focused on real-world scenarios involving cryptographic operations, particularly signature generation.
- The team analyzed the absence of error messages or warnings during the execution of these interleaved commands.
- They evaluated the behavior of the smartcards under standard middleware conditions to assess the practical risk of silent command interference.
Experimental results
Research questions
- RQ1Can commands intended for one smartcard be inadvertently executed on another in a multi-smartcard middleware environment?
- RQ2To what extent do certified smartcard applications detect or report unintended command interference during cryptographic operations?
- RQ3Under what conditions do digital signature processes complete without error when receiving external, unintended commands?
- RQ4How does command interleaving affect the security and integrity of smartcard-based applications in interoperable systems?
- RQ5What are the implications of silent execution of external commands for trust in certified smartcard systems?
Key findings
- Interleaving commands from one smartcard can be successfully executed on another, even when both are Common Criteria certified.
- The digital signature process on the target smartcard completed without generating any error or warning message, despite receiving unintended commands.
- The system did not detect or reject the external commands, indicating a critical flaw in middleware-level isolation.
- The attack vector remains undetected by users and applications, undermining the security guarantees of certification.
- This behavior demonstrates a significant threat to the interoperability and trustworthiness of smartcard-based security applications.
- The results show that current certification models do not adequately address cross-smartcard command interference in multi-device environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.