News for hackers. Stuff that matters.
Re:Have FTDI kicked-off round 2 of the clone wars? by Tomte on Monday February 01, 2016 @08:33AM (#11011597)
Yes, they should have. And tested the function. The applicable standards actually demand it.

Safety development is serious business. You cannot justify your "I want everything as cheap as possible, counterfeit or not" attitude with some hallucinated safety risk.

Re:Have FTDI kicked-off round 2 of the clone wars? by rhinoceraptor on Monday February 01, 2016 @08:53AM (#11011700)
The problem I'm pointing out is the device makes it through QA, testing and is in production in a hospital. Then, one day a Windows driver update comes down and bricks the device.

That is indefensible, regardless of whether it's right or wrong to use counterfeit parts.

Re:Have FTDI kicked-off round 2 of the clone wars? by nradov on Monday February 01, 2016 @09:27AM (#11011883)
Medical devices don't run Windows Update. Changes are tested and controlled, exactly for scenarios like this.
Re:Have FTDI kicked-off round 2 of the clone wars? by chillingeffect on Monday February 01, 2016 @10:11AM (#11012108)
The fact that your have/had net downvotes for your comment demonstrates that consensus reality is not always reality.

As an embedded medical devices engineer, I know you are exactly right. For safety-critical devices, control of the supply chain is beyond good practice, it's required by federal law, precisely so bad actors can't interfere with peoples' lives. The long list of requirements around approving a vendor are tiring and result in epic stories like the $500 toilet seat, etc., but they prevent stuff like this FTDI debacle from happening. You know it's going to be a toilet seat when the box arrives.

The medical device industry is a massive cultural shift from the majority of the HN crowd (e.g. startups and cloud services). In the world of PCs and servers, disruption is, literally, the name of the game. In IEC62304 land though, everything has to be on the straight, narrow and predictable path. This is why medical devices are expensive, laggy and not very startup-compatible. The FDA's system is actually more secure than Europe's. Take that, socialized medicine!

So it's not always wild and fun here in medical-land. It's like being a cop vs. a cowboy. You're not paid to sling your guns, but to de-escalate. But thank the conservative practices next time your elderly or congenitally defective family members found themselves in the hospital!

Re:Have FTDI kicked-off round 2 of the clone wars? by kalleboo on Monday February 01, 2016 @02:31PM (#11014665)
I can only imagine the military has the same stringent requirements on their vendors, yet it still happens there http://abcnews.go.com/Blotter/counterfeit-chinese-parts-slip...
Re:Have FTDI kicked-off round 2 of the clone wars? by kalleboo on Monday February 01, 2016 @02:30PM (#11014652)
Re:Have FTDI kicked-off round 2 of the clone wars? by tremon on Monday February 01, 2016 @11:47AM (#11012916)
The medical device doesn't need to run Windows Update. The medical device might still be bricked if the computer accessing the device runs Windows Update.

We already have fitness devices that can communicate with a PC. Is it really unthinkable that the next batch of medical devices will do something similar? For example, a wearable sensor to continuously measure your insulin levels?

Will you be using an FTDI chip in such consumer devices?

Re:Have FTDI kicked-off round 2 of the clone wars? by Lagged2Death on Monday February 01, 2016 @02:56PM (#11014875)
The medical device doesn't need to run Windows Update. The medical device might still be bricked if the computer accessing the device runs Windows Update.

Yes, exactly.

I used to work at a sub-contractor for a large manufacturer of medical equipment, and all the systems we dealt with were like that. The device would run a very small embedded OS but would have a serial port for talking to a PC for firmware development, firmware updates, logging, diagnostics, etc. Their older stuff used real hardware serial ports, but their newer systems (~6-7 years ago now) were moving to virtual USB/FTDI serial ports, with an FTDI chip included in the embedded system.

These tricky FTDI drivers would absolutely have the potential to brick and/or alter the operation of such a device; it's not far-fetched or a flight of fancy at all.

I have a special interest in this thread/issue because I have recently been contacted by that manufacturer regarding one of these FTDI-using systems which has recently begun to exhibit new problems. I haven't started looking into that yet, and I don't know where it will lead, but I'll have to bear in mind the possibility of deliberate driver-based monkey-business now.

Re:Have FTDI kicked-off round 2 of the clone wars? by malka on Monday February 01, 2016 @09:19AM (#11011837)
I'd say the problem is pushing updates to a life critical system without testing it on a pre-production system that will behave the exact same way.
Re:Have FTDI kicked-off round 2 of the clone wars? by fennecfoxen on Monday February 01, 2016 @10:19AM (#11012184)
> a pre-production system that will behave the exact same way

So what if all of your preproduction systems have a genuine FTDI chip in them, and many of your millions of deployed production systems have counterfeits that you don't know about? That'll be exciting.

Quality is a matter of defense in depth. You can't rely on your preproduction system running the exact same way as production. You strive for consistency, but ultimately each chip in each computer is a unique physical object made with different silicon crystals, and being identical is impossible. You want a system that's robust against a variety of subtle differences.

FTDI is just doing their small bit to make everything just a little more fragile and unpredictable where their chips are concerned, and as such their products ought to be shunned.

Re:Have FTDI kicked-off round 2 of the clone wars? by malka on Monday February 01, 2016 @11:12AM (#11012585)
I see your point, and, well, agree with it. The only opposition I could see would be to make sure all your system incorporating FDTI chips comes from the same batch, and to change them all when you change one. Not realistically doable imo.
Re:Have FTDI kicked-off round 2 of the clone wars? by HeyLaughingBoy on Monday February 01, 2016 @04:20PM (#11015559)
It's entirely doable and manufacturers of safety critical equipment the world over are doing it daily and recording the batch information Just In Case.
Re:Have FTDI kicked-off round 2 of the clone wars? by HeyLaughingBoy on Monday February 01, 2016 @04:18PM (#11015535)
That'll be exciting.

I agree with your premise, but in this case, for a medical device it would also be a Quality Systems failure. Any change in a component is scrutinized and analyzed for impact. You have no idea how many times (as a software dev for medical devices), I've had someone from Manufacturing or Purchasing come to ask me "if we change (trivial part X) to a new vendor, what can go wrong and how can we test it?" as a precursor to executing a Change Plan.

I'm not kidding. Even something as seemingly trivial as changing the type of paint used on an enclosure can trigger weeks or months of analysis depending on what's in that enclosure.

Re:Have FTDI kicked-off round 2 of the clone wars? by Tomte on Monday February 01, 2016 @09:24AM (#11011864)
Again: installing non-validated Windows updates is indefensible!

Safety-critical and safety-related applications are a totally different game than what most HNers are used to!

Re:Have FTDI kicked-off round 2 of the clone wars? by rhinoceraptor on Monday February 01, 2016 @09:31AM (#11011898)
I don't disagree, it's also indefensible to ship counterfeit parts. But it's likely to happen anyways.

It's clearly unsafe to not wear a seatbelt, but it's also clearly wrong to build a device into cars that kills occupants that get in a crash if they aren't wearing one.

Re:Have FTDI kicked-off round 2 of the clone wars? by kefka on Monday February 01, 2016 @08:40AM (#11011625)
> Yes, they should have. And tested the function. The applicable standards actually demand it.

I agree. I don't want to put counterfeits in my product.

Now, show me FTDI's standards documents that indicate how to identify and test for fakes. (Hint: they don't)

Re:Have FTDI kicked-off round 2 of the clone wars? by Tomte on Monday February 01, 2016 @08:44AM (#11011635)
In this case it's obviously simple: you are not allowed to update drivers unless you have validated them.

As far as I understand, this "behaviour" is totally deterministic and certain. You immediately notice the problem in any test system.

Don't believe that safety-critical devices are allowed to install some drivers willy-nilly!

Re:Have FTDI kicked-off round 2 of the clone wars? by jerf on Monday February 01, 2016 @09:19AM (#11011839)
"you are not allowed to update drivers unless you have validated them."

And when QA validates them on a set of systems that happen to be legit and ships it to systems that happen to have counterfeits?

You seem to be arguing in this thread with a false dilemma between EITHER we must accept counterfeiting OR we must brick the chips, but there are in between measures that are way safer.

Prior art: Several versions of Windows have been able to detect if they were "genuine". Non-genuine windows did not brick their machine, or destroy themselves. Quick googling suggests it blocks you from getting updates, and pops up with links to a page on Microsoft where you could properly license it with some discount. That exact solution may not apply here, but there are options other than destroying hardware that is carrying your name.

(I mean, this isn't even good for FTDI... how many customers will never find out about this and simply learn that "FTDI chips spontaneously die a lot"? Not the brand experience I'm looking for!)

Re:Have FTDI kicked-off round 2 of the clone wars? by creshal on Monday February 01, 2016 @08:58AM (#11011725)
> As far as I understand, this "behaviour" is totally deterministic and certain. You immediately notice the problem in any test system.

FTDI does not provide any guide lines to third parties how to test whether their chips are counterfeit or not.

The only way to test it is trying to use it with FTDI's Windows driver, and FTDI randomly changes the both the detection criteria, and the action done on detecting a counterfeit chip – sometimes it bricks them, sometimes it sends gibberish, you have no way of knowing beforehand. FTDI doesn't even guarantee that this behaviour is deterministic!