News for hackers. Stuff that matters.
Re:I cannot consistently write safe C/C++ code by skrebbel on Monday July 17, 2017 @05:40AM (#14786914)
That's a different kind of safe than the OP means. You mean "does not crash, produces the right results", he means "can'te be hacked".

A non-networked engine control unit is super hard to hack by simple virtue of being unreachable from the internet. I bet if you run a fuzzer against your perfectly safe aviation code you'd find lots and lots of security issues. But those issues aren't important.

Re:I cannot consistently write safe C/C++ code by kbenson on Monday July 17, 2017 @01:03PM (#14790390)
> A non-networked engine control unit is super hard to hack by simple virtue of being unreachable from the internet. I bet if you run a fuzzer against your perfectly safe aviation code you'd find lots and lots of security issues. But those issues aren't important.

Those examples are interesting, specifically because history has shown us this point of view to be erroneous through those exact systems.

Automotive control units that are supposed to be segregates from certain data channels sometimes aren't. That was the cause of the Jeep remote hijacking stuff.[1] Any automation has to have some inpute and output to be useful for more than anything as a heater, and assuming your inputs aren't "networked" may not be valid given you likely can't control exactly how it will be used now or in the future.

For aviation, there have been problems with assumptions regarding the integrity of the channels used for communication between planes and the ground. This has led to certain systems being exploitable, even if not as bad as the initial hype made it sound.[2]

1: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...

2: https://defcon.org/images/defcon-22/dc-22-presentations/Pols...

Re:I cannot consistently write safe C/C++ code by noir_lord on Monday July 17, 2017 @05:51AM (#14786969)
> I bet if you run a fuzzer against your perfectly safe aviation code you'd find lots and lots of security issues. But those issues aren't important.

As long as no one does something silly a decade from now when it comes to the networking on the plane/ship/factory.

Re:I cannot consistently write safe C/C++ code by adrianN on Monday July 17, 2017 @06:30AM (#14787141)
The "Industrial Internet of Things" is currently a very hot buzzword. I fear the worst.
Re:I cannot consistently write safe C/C++ code by millstone on Monday July 17, 2017 @06:55AM (#14787278)
I don't follow your point. Software has to be prepared to deal with abnormal inputs, whether those are from a malfunctioning sensor, or an attacker on the same WiFi hotspot.

Safety is a property of a system and the context in which it's used. Safety is not a property of its individual components, including its code. If your CPU's GPIOs were directly accessible through the Internet, your computer would be hacked too; does that mean your system is not safe?

Re:I cannot consistently write safe C/C++ code by adrianN on Monday July 17, 2017 @03:06PM (#14791416)
A malfunctioning sensor is very unlikely to prepare a specially crafted input that exploits a bug. An intelligent adversary is something completely different.

Your claim that MISRA and standards for safety critical software also provide security against targeted attacks does not really follow.