News for hackers. Stuff that matters.
Re:Formal Verification Creates Hacker-Proof Code by CiPHPerCoder on Friday October 21, 2016 @12:36PM (#12761870)
Formal verification doesn't mean your design can't be flawed in other ways that your theorem prover can't identify.

See also: Software AES with cache-timing information leaks.

Re:Formal Verification Creates Hacker-Proof Code by lmkg on Friday October 21, 2016 @01:33PM (#12762589)
The practice of formal methods has progressed by acknowledging and accepting those limitations. It now attempts to prove useful properties of your code, rather than stamping it "correct" or "incorrect."

FTA:

“We’re not claiming we’re going to prove an entire system is correct, 100 percent reliable in every bit, down to the circuit level,” Wing said. “That’s ridiculous to make those claims. We are much more clear about what we can and cannot do.”

Re:Formal Verification Creates Hacker-Proof Code by CiPHPerCoder on Friday October 21, 2016 @01:44PM (#12762715)
The headline is what I take issue with. Calling it hacker-proof just because it's formally verified is wrong.
Re:Formal Verification Creates Hacker-Proof Code by nickpsecurity on Friday October 21, 2016 @07:29PM (#12765810)
Yeah, they really need to knock that off. Formal verification creates hard-to-hack code is still a decent headline. Or "Researchers using formal verification stopped hackers in their tracks." That's entirely accurate plus can be followed by specifics to understand what context it was true and what contexts it might be true elsewhere.

Hacker-proof is just going to hurt branding of formal methods the second a hacker takes out a high-assurance system. Whereas, the formal methods and high-assurance literature written by anyone with sense acknowledges plenty of assumptions that might be targeted plus just human error. Even the people they quote in the article don't say it's hacker-proof!

Re:Formal Verification Creates Hacker-Proof Code by thingexplainer on Friday October 21, 2016 @04:24PM (#12764362)
"Formal verification makes your code invulnerable against a very specific (though very powerful) attacker"
Re:Formal Verification Creates Hacker-Proof Code by nickpsecurity on Friday October 21, 2016 @01:11PM (#12762323)
It's true but that's a specification problem. The hardware should be in the model since it's in the TCB. The earliest tools used for high-assurance security, like Gypsy Verification Environment, had information-flow analysis for detecting covert channels. Today, we have information flow control, distributed version of it, and hardware versions of non-interference that go to the gates. We're actually past being able to handle that with current tooling if ultra-high-performance is a non-goal.

https://www.usenix.org/system/files/conference/usenixsecurit...

http://www-bcf.usc.edu/~wang626/pubDOC/EldibWS14_TOSEM.pdf

It's analog and RF side channels that's going to screw them. DOD et al did decades of cat and mouse games under that with their TEMPEST activities. Open research just getting started. Just waiting for The Flood. :)

Re:Formal Verification Creates Hacker-Proof Code by AnimalMuppet on Friday October 21, 2016 @12:46PM (#12761991)
See: Microsoft Outlook deciding that executable attachments were a good idea. The feature worked according to spec (I assume), but wow did that ever open the door to a whole lot of hacking...
Re:Formal Verification Creates Hacker-Proof Code by CiPHPerCoder on Friday October 21, 2016 @12:48PM (#12762027)
Re:Formal Verification Creates Hacker-Proof Code by nickpsecurity on Friday October 21, 2016 @01:13PM (#12762342)
Well-written report. I agree with the recommendation.