From: Vlastimil P. <vla...@ce...> - 2016-03-01 20:48:47
|
Hello, >The adaptation needed for a winscard.dll stub for all version of Windows is >a continous job. >Like for the function SCardReadCache used by the PIV/GIDS minidriver, >that's why I explored an other lead ... > >I do not know if there is a problem in winscard stub, but the Base smart >card KSP on Windows 10 seems to prohibit the use of winscard stub. Another interesting approach is to inject a dll which hooks winscard API into a running process. I had some working PoC code (which I -unfortunately- can not share). Some links: https://en.wikipedia.org/wiki/DLL_injection http://codefromthe70s.org/mhook24.aspx http://research.microsoft.com/en-us/projects/detours/ Best regards VLP |