6 ms·
When Your Smart ID Card Reader Comes With Malware
- sofixa 5y agoI find it very interesting that the cards mention the holder's Geneva convention category. I can't imagine it's used often, and the US itself has violated it many times, but still.
- chipsa 5y agoThe Geneva Convention Category listing is simply taking the rank of the holder and defining it to a standard group (lower enlisted, NCO, and various grades of officer), so if they're a POW, they can be processed appropriately. The Third Geneva Convention defines different categories which are treated somewhat differently.
- mdmglr 5y ago> But many government employees aren’t issued an approved card reader device that lets them use these cards at home or remotely, and so turn to low-cost readers they find online. It’s pretty common knowledge in many gov’t agencies to not procure devices from Amazon or other unauthorized vendors and connect them to gov’t machines. So I’m surprise to read that. This is an ongoing problem with many USB peripherals from Amazon and Aliexpress. For personal use I only buy peripherals from Apple, Dell, Belkin or Logitech. Any other brand I consider untrusted. I also highly recommend virustotal. Anything I download goes through it.
- X-Istence 5y agoIt's not even about connecting them to gov't machines. The issue is that people are issued PIV CAC's to access their email and are expected to do so without having received government equipment (laptop/computer with CAC reader). So they are left either not checking their email/answering emails from superiors or they have to buy a CAC reader themselves and use their personal equipment to access their email/government websites.
- deleted 5y ago[deleted]
- BiteCode_dev 5y agoIf this is your threat model, don't hope the user do not make mistakes, rather whitelist devices that the machine is allowed to plug in for card readers.
- seszett 5y agoAre those drivers actually needed though? I also need a smart card reader to identify with government services (in this country we are issued chip id cards that are used for online identification) and I just plugged the cheapest one I found on my computer (under Linux) and it just worked. I suppose it's different under Windows?
- lstamour 5y agoApparently in Windows there are generic drivers and then there are "minidrivers" such as https://www.cardlogix.com/glossary/minidriver-card/ https://www.cardlogix.com/glossary/minidriver-card/ or https://www.yubico.com/support/download/smart-card-drivers-tools/ https://www.yubico.com/support/download/smart-card-drivers-t... that I guess provide more direct or faster functionality? Even on Linux, OpenSC software apparently supports drivers, such as the generic CCID driver as well as more specific drivers. The generic spec that both Microsoft and the CCID driver support appears to be https://www.usb.org/document-library/smart-card-ccid-version-11 https://www.usb.org/document-library/smart-card-ccid-version... from 2005. I imagine the tech hasn't changed that much to need custom drivers, so I'm not sure why they exist, except maybe to do firmware updates or something unusual. https://ludovicrousseau.blogspot.com/2022/04/30-shades-of-pcsc.html https://ludovicrousseau.blogspot.com/2022/04/30-shades-of-pc... and other such sources seem to indicate that most of this is pretty standard? If you want to write code that uses smart cards, I mean. That said, if I were doing a from-scratch authentication implementation today, I'd probably pick something like biometrics via FIDO2 instead of smart cards...
- wahern 5y ago> That said, if I were doing a from-scratch authentication implementation today, I'd probably pick something like biometrics via FIDO2 instead of smart cards... Traditional smart cards like CAC and PIV can include a user X.509 certificate on the device. FIDO doesn't include this capability. That means FIDO keys have to be registered separately with each and every service[1]. This is deliberate as FIDO tokens can generate a unique key per service--for services authenticated via a web browser this is precisely what happens. But the choice means FIDO doesn't work well for building a generic, federated PKI system. FIDO has a laser focus on solving user authentication problems for website operators, all managing their user databases independently. The saliency of this approach has at least as much to do with removing degrees of freedom that vendors could abuse to fragment the hardware space than in the technical security of things. Traditional smart cards never lived up to their promise precisely because companies like Saicoo actively sabotaged interoperability and ecosystem simplicity in attempts to leverage vendor lock in. [1] Or those services must all be able to contact a shared online user database, or a certificate has to be distributed separately (e.g. as with OpenSSH). (But I don't think a FIDO token can even sign something like an X.509 certificate, at least not without defining a new signature algorithm OID.) Both are problematic for use cases like CAC or national identity cards.
- vmception 5y agoI’ve seen meticulous stuff like this lately where coding samples contained malware that the learning dev compiled themselves Only reason I noticed was because a compiler used in the tutorial issued a warning about this happening, and I had to investigate the tutorial doubly hard to see if this was indeed one of the problematic ones. It sadly was.
- bigDinosaur 5y agoAny pointers as to where this is occurring? Is it targeting a particular language? Or particular websites?
- easrng 5y agoThey're probably talking about Solidity smart contracts in Remix, considering how many of their comments are about crypto.
- kramerger 5y agoNow, consider if a foreign government did this with a custom malware that isn't picked up by ordinary antrivirus. Hell, they could even buy the best smartcard vendor and spend a couple of millions to increase quality and reduce price. After a year or so they are the reader of choice for the entire army and everyone are happy, unknowing that US Army now leaks about as much as the Russian Army...
- hulitu 5y ago"Now, consider if a foreign government did this with a custom malware that isn't picked up by ordinary antrivirus." An "ordinary antrivirus" like MS Defender or McAffee (that's what my work PC has) is not able to detect malware from internet. A state actor has no issues installing malware on an accessible computer with Windows
- candiodari 5y agoWould a criminal organisations, some of whom have now gotten into constructing armed submarines, and the R&D that goes with that, really have a problem achieving the same?
- pilsetnieks 5y agoNow, I'm not familiar with every brand of antivirus software but hasn't almost every one of them included some kind of network traffic filter and/or downloaded file checks for the past couple of decades or so?
- hulitu 5y agoThe network part seems to be disabled in the corporate environment. Downloaded files check: it has't worked for me since a very long time. Almost all virus infections that i saw in the last 15 years were through a downloaded file.
- nonameiguess 5y agoThis is exactly why the US DoD won't buy anything from foreign-owned vendors and only allows US persons residing in the US to work on defense contracts.
- Terry_Roll 5y agoI love this comment on the link: For those needing to know, you should only ever use a TAA (United States Trade Agreements Act (TAA) of 1979) compliant CAC/Smart Card Reader. This is pretty common knowledge within the Defense IT area, in which I work as a contractor. I know plenty of US Mil and UK Mil and most dont know this! During Covid lockdown it was even possible to listen into UK MOD teleconference phone-in's (like Zoom conference meeting but only over the phone line) on more than one occasion, nothing really top secret but there are some pretty pissed off military personnel and criminals trying to smooth things over at the top of the UK. Edit. I will add that the British Govt was lying to the general public in their TV updates because the military phone-in's gave away stuff well in advance of it being announced on TV. This was not some reacting to events on a daily basis thing, this had weeks of planning before info was broadcast. Personally Covid seemed like the perfect opportunity to carry out planet wide psychological experiments on unsuspecting members of the public.
- sofixa 5y ago> This was not some reacting to events on a daily basis thing, this had weeks of planning before info was broadcast. Well of course, they aren't that incompetent. Probably all governments had contigency plans ( if we get to X cases/Y% hospital occupation we do A or B).
- pilsetnieks 5y agoIt's a lose-lose scenario. Either you do nothing and the more easily influnced public goes "Why is nothing being done? Why didn't anyone prepare for this easily foreseeable crisis?" or you plan things and they go "It's all preplanned, it's a conspiracy in every level of the government!"
- pjc50 5y ago> I will add that the British Govt was lying to the general public in their TV updates Example? They were certainly systematically understating the risk throughout, and we had several cycles of "everything is fine" -> cases spike -> lockdown.
- sam_goody 5y agoAt least it doesn't seem that Saico is malicious, just incompetent. I have been hesitant to get a cheap ID reader, because a computer that needs ID clearance is likely a juicy target, and I worry that the company is writing their own malware. I have the same issue with cameras. I want a low cost IP camera, but don't know any that can be trusted to only stream to where I want. Somewhat OT, I know, but would appreciate tips ;)
- hnlmorg 5y agoMaybe get a webcam and hook it up to a Raspberry Pi? Or look at security cameras rather than consumer IP cameras?
- formerly_proven 5y ago> I have the same issue with cameras. I want a low cost IP camera, but don't know any that can be trusted to only stream to where I want. There are literally no IP cameras that you should put in a routed/gatewayed network. All Chinese (there are like three OEMs behind all of them) ones phone home (and have tons of vulnerabilities anyway) and all enterprise ones strongly, strongly recommend you to use an isolated network. IP cameras is one of those cases were an isolated network needs to be used.
- Robotbeat 5y agoAnd if you want to sell anything to the US government (even, like, paperclips), you’re generally not allowed to have a Chinese-made IP camera security system: https://researchcompliance.caltech.edu/compliance/export/national-defense-authorization-act-ndaa-section-889 https://researchcompliance.caltech.edu/compliance/export/nat...
- sitzkrieg 5y agoconsider rather, certificate based identity management is used instead of passwords on these networks
- jzer0cool 5y agoWhat about any USB device plugged in that may seem so innocent. Keyboard, 7in1 reader, mouse, usb cable, and even power supplies these days like USB-C. Is there some reliable way to see exactly what the connected the operating system is granting to the underlying hardware? How can I be sure, for example, a 7in1 plugged in via usb-c does not have a hidden camera, microphone, or keylogger for example? Is there some sane way to check?
- usrn 5y agoOn Linux you can use lsusb to see what exactly is connected. I think on Windows you could see the tree graphically in "device manager." I don't know if OSX has anything built in.
- callesgg 5y agoOn OS X you can run: # system_profiler SPUSBDataType
- deathhand 5y agoBesides the enterprise grade tools I've been using Glasswire. It's like LittleSnitch for the Mac. They aren't a huge security company so I don't know how easy it is to escape detection however their verbose reporting of application version changes, protocol usage, destination lists, and integration with Virus total gives me some sort of confidence.
- nonrandomstring 5y agoSomewhat on topic; I have a student who is analysing vendor malware, and in particular bad-things found on cheap USB memory sticks and solid state drives. She ordered a bucket-full of random junk from Alaibaba etc, deliberately letting it come through e-Bay type markets and unbonded warehouses. So far the results are as you'd expect, just horrifying. This is why the ability to install auditable open source code is essential to the future of security on everything. Most of this stuff should be wiped down to the metal and re-flashed with something trustworthy before use.
- erybodyknows 5y agoI would love to read more about this. Has she published her findings?
- nonrandomstring 5y agoI'm expecting her to complete October. I'll try and encourage her to to apply to CCC or Blackhat Euro, so if that happens I'll post here.
- Arrath 5y agoPlease do, I very much look forward to the details.
- IYasha 5y agoSo, the problem was not inside the reader or the driver. Misleading article and grey text :-/
- GekkePrutser 5y agoMost of these support standard USB-CCID anyway so they don't even need any drivers. I'd never bother installing them.