Abusing the Windows Smart Card Minidriver Architecture

In Phrack 73, Marc Barrantes shows how malware running as an ordinary Windows user can abuse the smart card minidriver architecture — a usermode DLL loaded into the process using the card — to hook CardAuthenticateEx(), capture the user’s PIN, and proxy signing requests to a remote attacker through his Hermes agent and a modified OpenSC minidriver, with no privileges and no physical access to the card. The private key never leaves the card; the attack works because the architecture is behaving as designed, extending the smart-card proxy technique once seen in the Sykipot APT malware to any card type.

Source: phrack.org

Curated Permalink