C++Now 2018: Matthew Butler “Secure Coding Best Practices”
http://cppnow.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: http://cppnow.org/history/2018/talks/
—
Computer systems are under siege 24 hours a day, day in and day out. The critical security infrastructure designed to protect those systems, won’t:
* Perimeter security won’t protect you.
* Network analytics won’t protect you.
* Virus scanners won’t protect you.
* Even the users who should know better than to click on that too-good-to-be-true offer won’t protect you.
The other side has the best security hardware and software systems other people’s money can buy and they have all the time in the world to find creative ways to defeat them. Meltdown and Spectre are prime examples security vulnerabilities that have lurked dormant for decades. Or have they? If your systems are in any way connected to the outside world, the other side will get inside the wire on you. Know that going in.
Whether you write applications, libraries or work in kernel code, the line of code you write today may very well be the vulnerability someone else finds tomorrow. By nature every code base contains hundreds of attack surfaces and it only takes one serious vulnerability to compromise your system.
But what exactly is an attack surface?
While Modern C++ is designed to be secure, the ways we use it often aren’t. And with each vulnerability comes new questions:
* Is it serious?
* If I fix it, do I take a performance hit?
* How do I write efficient, scalable code that’s also secure?
* How do I know which vulnerabilities will compromise my system and which ones are a low enough risk?
Yes, there are trade-offs. We make them every day and security is no different. In this talk, we’ll look at the ways our software often fails. We’ll walk through code samples to uncover their silent vulnerabilities and show how to correct them. And we’ll discuss what trade-offs we can make to balance security vs. performance. Finally, we’ll look at ways to deal with those threats starting at design time, baking security directly into the code from the very first line.
The critical security infrastructure designed to protect your systems is largely out of your control. The one thing you can control is the next line of code you write. This talk is for anyone that uses C++ or Modern C++ for kernel, applications or libraries that run in the real-world and that face real-world attacks.
In today’s world, that’s all of us.
—
Matthew Butler
Matthew Butler has spent nearly three decades as a systems architect and software engineer developing systems for network security, law enforcement and the military. He primarily works in C/C++ and Modern C++ along with Java and Python running on dozens of hardware platforms ranging from embedded micro-controllers to large-scale airborne platforms performing real-time signal analysis.
Much of his experience has come in either building systems that defend against cyber-attacks or building highly sensitive systems that are targets for those attacks. Over the past thirty years, he has learned the harsh lessons on how we often write systems that fail, not because they don’t scale, but because they aren’t designed to be secure.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
source