WEBVTT

00:00.000 --> 00:03.600
Thank you so much for all your hard work in setting this up.

00:03.800 --> 00:07.080
Can the fine lady with the tiara stand up?

00:08.440 --> 00:13.180
Hey, Leora, everyone give Leora a round of applause for setting this up.

00:13.500 --> 00:15.540
She is the queen of details.

00:18.240 --> 00:20.500
Well, let's get this party started, everyone.

00:20.580 --> 00:22.760
Let me switch PowerPoints here.

00:22.900 --> 00:31.300
You know, I've been working with technology and code and software engineering my whole life, and now I'm an expert in PowerPoint.

00:33.220 --> 00:35.740
That's really... wow, that's where my life has gone.

00:35.740 --> 00:37.520
So I want to talk to you.

00:37.520 --> 00:38.820
This is a keynote.

00:38.820 --> 00:44.800
I'm going to talk about a general overview of application security in some way.

00:44.800 --> 00:48.660
This topic has been so fundamental to my life.

00:48.660 --> 00:50.280
It's something that's my job.

00:50.280 --> 00:51.720
It's my personal passion.

00:51.720 --> 00:52.900
It's my hobby.

00:52.900 --> 00:55.640
It's all encompassed my life in the last ten years.

00:55.640 --> 01:01.420
It's something that I'm very happy because this is, in my mind, the ultimate puzzle in information security.

01:01.420 --> 01:08.960
And I look at traditional security, and everything is quickly running to AppSec because it's all about code these days.

01:08.960 --> 01:10.820
Even infrastructure is code.

01:10.820 --> 01:19.840
So all of you in this room who are committed to application security, who care about this topic, in my mind, this is what information security is about.

01:19.840 --> 01:22.940
Let's give each other a round of applause for being here.

01:22.940 --> 01:23.900
Yeah!

01:26.940 --> 01:32.400
So let's talk about the very unabridged history of application security.

01:32.400 --> 01:41.440
The point I want to make here is that things are getting extraordinarily better in the world of secure coding and application security.

01:41.440 --> 01:42.880
And nobody wants to say this.

01:42.880 --> 01:44.660
I don't hear this from anybody.

01:44.660 --> 01:52.180
But I want to give you some evidence and a debate and some speaking points of why things are dramatically getting better.

01:52.180 --> 01:54.540
We're moving in the right direction.

01:54.760 --> 01:59.140
And we're going to see great improvements over the next decade in this area.

01:59.380 --> 02:00.960
And by the way, my name is Jim Manico.

02:00.960 --> 02:02.060
I'll be your presenter today.

02:02.060 --> 02:04.380
I'm a former board member of the OWASP Foundation.

02:04.380 --> 02:07.320
I wrote a book on secure coding for the Java ecosystem.

02:07.320 --> 02:10.800
I invest heavily in the application security space.

02:10.800 --> 02:15.220
And I'm based in Hawaii, D.C., in whatever hotel I happen to be in.

02:15.220 --> 02:16.640
So I'm a traveler.

02:16.640 --> 02:20.080
And I love the lifestyle of traveling and teaching.

02:20.080 --> 02:21.820
It's something that's very satisfying.

02:21.820 --> 02:23.780
It sates my wanderlust.

02:25.080 --> 02:28.520
It's a great life I have because of application security.

02:28.520 --> 02:30.540
I see several of my customers in the room.

02:30.540 --> 02:33.020
Thank you all for being here and for working with me as well.

02:33.020 --> 02:34.140
Let's redact some of this.

02:34.140 --> 02:35.580
And redacted.

02:35.580 --> 02:36.080
Yeah, there we go.

02:36.080 --> 02:36.960
Let's move on.

02:37.040 --> 02:44.640
I want to start back in the beginning of application security, or the beginning of information security in a lot of ways.

02:44.640 --> 02:48.000
This really all started back in October 67.

02:48.000 --> 02:53.320
This is a task force that was organized by the Advanced Research Projects Agency.

02:53.320 --> 02:56.700
This is before DARPA, what led to DARPA eventually.

02:56.700 --> 03:03.340
And this was a study to recommend appropriate computer security safeguards to protect classified information.

03:03.340 --> 03:07.280
And this report was actually only written so well.

03:07.280 --> 03:14.000
Rand picked it up around 1970, published, and eventually declassified this very famous report.

03:14.000 --> 03:28.600
February 1970, R609, the first really high-end, comprehensive report on information security from any major government that was declassified and sent out to the world to review.

03:28.600 --> 03:30.360
Anybody want to give me a guess?

03:30.360 --> 03:31.700
Or anybody want to take a guess?

03:31.700 --> 03:37.660
What was the summary of this report about the state of information security in 1970 in the U.S.

03:37.660 --> 03:38.220
government?

03:38.220 --> 03:39.700
Anybody have an idea here?

03:41.220 --> 03:43.320
Bleep is messed up.

03:43.320 --> 03:44.800
It was bad.

03:44.800 --> 03:51.180
It was literally like every aspect of protecting information was fundamentally wrong.

03:51.180 --> 03:53.000
And so, you know what?

03:53.000 --> 04:07.620
A lot of us today who are experts in application security, when you take a close look at what you're working on today, the code you're reviewing today, the organization you're assessing today, it looks bad.

04:07.620 --> 04:11.780
And that's an interesting note about our industry in application security.

04:11.780 --> 04:18.260
The people that I know who are working on this problem, especially those who are really passionate about it, they're fatigued.

04:18.260 --> 04:19.580
They're a little downtrodden.

04:19.580 --> 04:20.600
They're beat up.

04:20.600 --> 04:21.140
Why?

04:21.140 --> 04:27.320
Why is this AppSec world that we're in, why does it weigh so heavily on so many of us?

04:27.320 --> 04:27.880
Anybody?

04:29.240 --> 04:32.180
It's rare where folks write secure code.

04:32.180 --> 04:36.240
How often do developers listen to exactly what you say about security?

04:36.240 --> 04:37.780
Almost never.

04:38.080 --> 04:47.020
And so it almost seems like that as we move down this path, that it feels like we're taking two steps forward and sometimes five steps backwards.

04:47.020 --> 04:47.940
And it's frustrating.

04:47.940 --> 04:49.700
It is an emotional drain.

04:49.700 --> 04:53.120
There's a high rate of depression and even suicide in our industry.

04:53.120 --> 04:54.660
Not even joking around.

04:54.660 --> 04:57.180
This is hard work that drains people.

04:57.180 --> 05:00.380
But I want to take a look at all of this from a different perspective.

05:00.380 --> 05:02.000
Let's pull back, everyone.

05:02.000 --> 05:06.360
Let's take a look like at 1939, where BOM came out.

05:06.360 --> 05:08.700
The first professional pen testing tool.

05:08.700 --> 05:10.120
Anybody know what this is?

05:10.120 --> 05:11.380
Back in 39?

05:11.540 --> 05:12.060
What is it?

05:12.060 --> 05:12.800
Go ahead.

05:13.620 --> 05:15.480
It's a crypto-breaking device.

05:15.480 --> 05:16.240
World War II.

05:16.240 --> 05:17.900
Who was the lead of this project?

05:17.960 --> 05:20.100
He's on the currency for you Brits.

05:20.900 --> 05:22.280
It's Turing.

05:22.840 --> 05:27.880
This pen test tool is made to crack German ciphers of the era, right?

05:28.120 --> 05:30.160
Axis ciphers of the era.

05:30.160 --> 05:31.180
And how did they build this?

05:31.180 --> 05:32.020
With software?

05:32.020 --> 05:36.140
No, with hammer and nail and wire and cable and electricity.

05:36.140 --> 05:38.180
It was a large physical device.

05:38.360 --> 05:43.540
Helped defend the free world and give us the liberty we may have today.

05:43.540 --> 05:45.220
Let's just erase that idea for this.

05:45.220 --> 05:48.100
We'll get back to that later on.

05:48.220 --> 05:51.000
So jumping ahead, we have 1972.

05:51.040 --> 05:52.920
We have the Anderson Report.

05:53.280 --> 05:57.440
Anderson made a lot of contributions to information security.

05:57.520 --> 05:59.840
But for the purpose of this, I want to highlight two of them.

05:59.840 --> 06:08.980
In 1972, he pushed out the Anderson Report, which followed the 1968 Defense Science Board's Ware Report, in which Anderson also participated.

06:08.980 --> 06:11.840
But this report in 72 came out after Rand.

06:11.840 --> 06:17.220
This really set information security research across the world for a decade.

06:17.220 --> 06:23.240
It finally brought out some of the advanced principles of security defense for the first time.

06:23.240 --> 06:25.980
Really changed the game around this era.

06:25.980 --> 06:29.680
In 1974, the Air Force starts testing on mutix, right?

06:29.720 --> 06:32.920
79 Lint early static analysis tools were released.

06:32.920 --> 06:34.600
Holy cow, this tool is still out there.

06:34.600 --> 06:36.280
Some people are still using it.

06:36.280 --> 06:41.220
So we got Lint out there doing the original static analysis tool of the industry.

06:41.220 --> 06:45.860
We see the Security Administration Tool for Analyzing Networks in 95.

06:45.860 --> 06:47.320
Anybody ever use this?

06:47.320 --> 06:50.780
How did this change things when this tool came out?

06:50.780 --> 06:52.220
I barely remember that.

06:52.420 --> 06:53.460
Wow.

06:53.680 --> 06:55.000
Okay, you're not helping.

06:55.000 --> 06:55.660
Who else?

06:55.660 --> 07:00.560
Who remembers 95 when the tool Staten first came out?

07:00.560 --> 07:02.860
This changed network assessment.

07:02.860 --> 07:10.120
One of the first really automated tools to take even lay folk and give them the ability to start doing assessment technology.

07:10.120 --> 07:13.960
In 1998, this is Jeff Forstall, right?

07:13.980 --> 07:20.260
On Christmas Day at a USENIC meeting, is the first one to ever coin the term SQL Injection.

07:20.260 --> 07:23.960
This is only 98 when SQL Injection was first discovered.

07:23.960 --> 07:28.320
99, we see cross-site scripting first described by Microsoft engineers.

07:28.360 --> 07:32.080
2001, OWASP WebGoat is released.

07:32.080 --> 07:36.680
Why is WebGoat so significant to application security today, everybody?

07:36.680 --> 07:37.700
Why does WebGoat matter?

07:37.700 --> 07:40.200
Why did WebGoat matter back in 2001?

07:40.200 --> 07:47.760
Because for the first time, this very small application security community had a common tool to hack together.

07:47.760 --> 07:56.660
And we could suddenly talk about specific kinds of SQL Injection, cross-site scripting, access control bypass on a common platform.

07:56.660 --> 08:02.940
And it became like the main tool that almost every security tester I know went through in some way.

08:02.940 --> 08:10.340
So it helped take all this scattered ideas about application security and give us a common thought piece to talk about.

08:10.340 --> 08:12.680
So I think WebGoat was extremely important.

08:12.680 --> 08:15.920
Who here has beat up WebGoat sometime in their career?

08:15.920 --> 08:17.660
So half the room here.

08:17.660 --> 08:20.400
It's a broken web app on purpose.

08:20.480 --> 08:22.900
Metasploit only came out in 2003.

08:23.320 --> 08:27.420
2008, 2006, the first OWASP testing guide came out.

08:27.420 --> 08:30.180
I think this is, if you look at it as a book, it's not written very well.

08:30.180 --> 08:31.480
A lot of different authors.

08:31.480 --> 08:35.560
But the content within it is top of the game even now.

08:35.560 --> 08:42.920
So we have literally dozens of testers helping write this book around how to test security applications and web applications.

08:43.020 --> 08:44.460
Very important guide.

08:44.460 --> 08:46.800
2010, we have FireSheep coming out.

08:46.800 --> 08:47.240
We'll come back.

08:47.240 --> 08:48.980
And OWASP Zap came out.

08:49.180 --> 08:52.060
2013 is the beginning of the DevOps era.

08:52.060 --> 08:53.580
Only a couple years ago.

08:53.580 --> 08:55.800
And what do we have today in 2019?

08:55.800 --> 09:05.500
Most major development shops now have some kind of automated pipeline that's doing some form of security testing every time developers touch code.

09:05.500 --> 09:07.720
So let's go back to 39.

09:07.940 --> 09:09.800
Hammer and nail.

09:09.800 --> 09:15.200
Making a testing tool to, like, keep the free world running at the time.

09:15.200 --> 09:25.220
To today, where most mature development shops are running static and dynamic and third-party analysis tools every time someone tries to check something in.

09:25.220 --> 09:26.600
So pull back and look at this.

09:26.600 --> 09:27.800
Are we getting better?

09:27.800 --> 09:28.980
Oh, yes, we are!

09:28.980 --> 09:33.500
In a dramatic way, if you look at the history of software engineering.

09:33.500 --> 09:37.260
If you look at this moment in time in what you're doing, it is rough.

09:37.260 --> 09:39.320
We gotta pull back and look at the big picture.

09:39.320 --> 09:40.560
And let's do some more of that.

09:40.560 --> 09:42.240
Let's look at HTTPS.

09:42.240 --> 09:45.720
How important is this technology to the secure web today, everyone?

09:45.980 --> 09:46.540
What do you think?

09:46.540 --> 09:50.640
If there was a major break in HTTPS, what would happen to the web?

09:50.660 --> 09:51.620
It's done.

09:51.720 --> 09:59.620
So whether you like or do not like HTTPS, it is a fundamental foundational technology that keeps the web secure.

09:59.620 --> 10:02.200
It has gotten a lot better in the last 10 years.

10:02.940 --> 10:06.780
1994, Netscape creates the initial version of HTTPS.

10:06.780 --> 10:11.880
Moxie Marlin Spike, who's like an activist in the area of transport security, in my opinion.

10:11.880 --> 10:17.320
He went and called this original engineer and asked him about the creation process of HTTPS.

10:17.320 --> 10:21.720
He specifically asked him about the certificate authority system.

10:21.720 --> 10:23.980
You know what the original engineer who wrote that said?

10:23.980 --> 10:27.040
He said, oh, yeah, I forgot about the CA system.

10:27.040 --> 10:31.060
Yeah, we realized at the end we needed someone to sign our keys.

10:31.060 --> 10:33.860
So we kind of just kind of threw that in at the end at the last minute.

10:34.100 --> 10:36.280
And that is how the CA system...

10:36.280 --> 10:37.160
I'm not kidding.

10:37.160 --> 10:40.220
That is exactly how the CA system was created.

10:40.220 --> 10:43.460
Some engineer with a hand wave threw it in there at the last minute.

10:43.460 --> 10:47.000
And it's now foundational to transport security.

10:47.220 --> 10:52.100
1999, TLS 1.0, something you should now disable.

10:52.120 --> 10:55.300
We're in the era where TLS 1 is dead pretty much now.

10:55.300 --> 11:01.120
If you look at SSL Labs and other evaluation engines, they dink you for using TLS 1.0.

11:01.120 --> 11:06.480
The only lowest level legit TLS 1.1 was pushed out in 2006, right?

11:07.140 --> 11:09.920
2009, this is a big moment in time.

11:09.960 --> 11:12.780
SSL Labs releases their free tool from Qualys.

11:12.780 --> 11:15.120
I'm not particularly pointing at any vendors, but this tool...

11:15.640 --> 11:18.100
Who uses SSL Labs in their work in some way?

11:18.300 --> 11:19.980
I don't think it's just a tool.

11:19.980 --> 11:23.460
This is the standard for evaluating public websites.

11:23.680 --> 11:25.140
And when they push this out...

11:25.140 --> 11:28.560
Now, some of you who know me, I at times am a bit of a troll.

11:28.560 --> 11:29.260
Just a little bit.

11:29.260 --> 11:30.640
I try to be a happy troll.

11:30.640 --> 11:37.300
But I went out and tweeted the URL to every single security company on the planet and their grade.

11:37.360 --> 11:38.940
Like Symantec D.

11:39.040 --> 11:39.940
You're A now.

11:39.940 --> 11:40.360
I'm sorry.

11:40.360 --> 11:41.080
I'm sorry, Symantec.

11:41.080 --> 11:45.480
But a lot of big companies and app tech companies had very poor grades on their website.

11:45.580 --> 11:48.340
And I'm like doing LOLs.

11:48.340 --> 11:49.220
Oh, you got an F.

11:49.220 --> 11:50.620
It could be a little showboat about it.

11:50.620 --> 11:55.200
I had a lot of senior people from different companies say, Please stop this, Jim.

11:55.200 --> 11:56.380
You're causing trouble.

11:56.380 --> 12:01.000
Ivan Hristic, who wrote this tool, showed up and said, I have a suggestion, everybody.

12:01.100 --> 12:04.320
How about you leave Jim alone and go fix your freaking web server?

12:04.320 --> 12:05.980
Thank you, Ivan, wherever you are.

12:05.980 --> 12:08.360
Ivan Hristic is the author of SSL Labs.

12:08.360 --> 12:14.760
Still, I think one of the most foundational, fundamental evaluation tools for TLS today.

12:14.940 --> 12:18.600
2010, Chrome starts to preload sites.

12:18.600 --> 12:20.040
It happened early.

12:20.040 --> 12:24.860
In 2010, Chrome was hard-coding their own properties.

12:24.940 --> 12:30.620
And you can't use Chrome to visit Google properties and HTTP as early as 2010.

12:30.880 --> 12:34.080
And then, yeah, baby, Fire Sheep comes out.

12:34.260 --> 12:36.300
Who had a little bit of fun with Fire Sheep?

12:36.300 --> 12:37.060
That's illegal.

12:37.060 --> 12:37.540
What are you talking?

12:37.540 --> 12:38.520
You shouldn't do that.

12:38.520 --> 12:39.420
That's illegal.

12:39.420 --> 12:40.200
Whatever.

12:40.860 --> 12:54.480
Back in this era, back in the Fire Sheep era, which is right around 2010, most major sites would log you in over TLS and then drop back to HTTP for performance reasons.

12:54.480 --> 12:56.560
And Fire Sheep came out on OSX.

12:56.560 --> 13:01.000
You run it, run it on a wireless network, and you'll just see other cookies light up.

13:01.000 --> 13:02.500
Click, and you're that person.

13:02.500 --> 13:07.520
And this really forced an entire industry to standardize on what we see today.

13:07.520 --> 13:12.840
You're doing HTTPS everywhere, well-configured, or you're not doing security.

13:12.840 --> 13:16.280
Is there any excuse to use HTTP anywhere, anybody?

13:16.280 --> 13:17.440
Anybody want to play that game with me?

13:18.680 --> 13:23.620
Maybe to redirect to HTTPS only, but there's no good excuse to use it anymore.

13:23.620 --> 13:25.840
Maybe to download updates that are properly signed.

13:25.840 --> 13:27.140
All right, let's move on, let's move on.

13:27.540 --> 13:31.320
2011, we see the introduction of forward secrecy and modern ciphers.

13:31.320 --> 13:37.900
So even if someone steals your private key, they can't use that to break confidentiality of your connection.

13:38.200 --> 13:41.200
2013, we see GLS12 go live.

13:41.200 --> 13:54.760
2018, Let's Encrypt shows up, and they take such a major stance in giving out free certs that we see some of the big commercial players start to sue them and go after them.

13:54.760 --> 13:57.960
And that's a sign that Let's Encrypt is doing the right thing.

13:57.960 --> 14:01.320
It would be rude of me to point that vendor out who is suing them, Komodo.

14:01.320 --> 14:02.140
That would be rude.

14:02.140 --> 14:03.420
I'm not going to do that.

14:05.060 --> 14:08.860
2016, half the web is now HTTPS.

14:08.860 --> 14:12.440
Chrome 51 now defaults to HTTP 2.

14:12.440 --> 14:20.240
Can you do HTTP and HTTP version 2 in a modern browser?

14:20.240 --> 14:21.440
The answer is no.

14:21.440 --> 14:29.580
So this is a new protocol coming out where plain text communication and bad ciphers are not even possible as early as 2016.

14:29.580 --> 14:30.880
That's standard in the browser.

14:30.880 --> 14:37.060
2017, certificate authentication or authorization becomes mandatory.

14:37.160 --> 14:41.380
So if rogue authorities start minting certs in your name, you're going to know about it fast.

14:41.380 --> 14:45.520
And in 2018, Let's Encrypt offers wildcard.

14:45.520 --> 14:48.940
TLS 1.3 goes live, published 8.4.4.6.

14:48.940 --> 14:51.720
And almost immediately, we see that live in several browsers.

14:51.720 --> 14:55.480
And now certificate transparency is required for all new certs.

14:55.480 --> 14:59.900
These are extraordinarily high-level, esoteric ways to augment TLS.

14:59.900 --> 15:02.260
They're now standard in the browser.

15:02.260 --> 15:03.240
So let's go back.

15:03.240 --> 15:04.200
94.

15:04.540 --> 15:06.100
What's the CA system?

15:06.100 --> 15:08.920
I kind of threw it in at the end.

15:08.920 --> 15:10.260
And what do we have today?

15:10.260 --> 15:19.220
Some of the most astute, detailed, and effective protocols to lock down TLS are now standard in the world's most popular browser.

15:19.220 --> 15:20.380
That's where we've gone.

15:20.380 --> 15:23.220
We have come a long way in a very short amount of time.

15:23.220 --> 15:24.920
And we're only getting better.

15:24.920 --> 15:26.660
And there's SSL Labs.

15:26.660 --> 15:28.480
That's what your grade should be.

15:28.480 --> 15:28.740
Right?

15:28.740 --> 15:29.420
Let's move on.

15:29.420 --> 15:30.340
Let's move on.

15:31.140 --> 15:34.340
Let's talk about password history for a second.

15:34.340 --> 15:36.720
So let's start in 1961.

15:36.720 --> 15:42.080
One of the biggest password bugs, one of the earliest password bugs in history I could find.

15:42.080 --> 15:47.480
This is an old, like, time-sharing MIT device at an academic university.

15:47.520 --> 15:49.080
And you know what a MOTD is?

15:49.080 --> 15:50.140
Anybody old like me?

15:50.140 --> 15:51.360
What's a MOTD?

15:52.020 --> 15:53.200
Message of the Day.

15:53.200 --> 15:56.600
So when you log in, the administrator pops it and admits it to the day.

15:56.600 --> 16:05.280
So they had a flaw within this system that the message of the day would walk through the messages and then walk through everybody's password.

16:05.380 --> 16:10.200
And so the message of the day, as you log in and log out, would be someone else's username and password.

16:11.120 --> 16:14.260
In my mind, how would you rate that bug?

16:14.260 --> 16:16.000
Would you go green?

16:16.000 --> 16:17.300
Would you go yellow?

16:17.300 --> 16:18.840
Or would you go red?

16:19.640 --> 16:20.500
You're going red.

16:20.500 --> 16:21.220
He's going red.

16:21.220 --> 16:22.020
I'm going red, too.

16:22.020 --> 16:23.000
It's pretty critical.

16:23.000 --> 16:23.740
Pretty critical.

16:23.740 --> 16:27.420
This is where we start around password security.

16:27.420 --> 16:32.400
61, really early use of passwords, and bleep is bleeped up, right?

16:32.400 --> 16:33.460
So let's move on, though.

16:34.100 --> 16:37.780
1970s, we see Crypt 3 released in Unix.

16:37.780 --> 16:44.160
And it's using an old M209 code from World War II cipher devices.

16:44.160 --> 16:59.520
They literally took this really old piece of garbage cipher out of military-grade hardware that was literally not used anymore and ported that code directly to Unix, and that's how they're storing passwords.

16:59.520 --> 17:03.680
Password storage is important when your storage media is stolen.

17:03.680 --> 17:08.040
We can use supercomputing power to analyze that to crack a password.

17:08.040 --> 17:10.820
We see Hashcat as one of the big players in this area.

17:10.820 --> 17:13.760
In 1978, Crypt 3 comes out.

17:13.760 --> 17:16.920
It's now DES-based.

17:16.920 --> 17:26.480
It's the first time we see a stretching part of a password storage algorithm, the first time we see salting, and the first modern use of password policy.

17:26.480 --> 17:27.860
We're getting started now.

17:27.860 --> 17:33.400
In the 80s, we're kind of like a dead area in security research.

17:33.400 --> 17:36.940
Very few advances from the 80s to the 90s for some reason.

17:36.940 --> 17:42.240
But we do see Unix access to the past WD database limited to only the root user.

17:42.240 --> 17:46.400
So they're starting to lock down authentication around Unix for the first time in this era.

17:46.600 --> 17:49.940
1991 MD5-based password storage.

17:49.940 --> 17:51.880
It's got some modern properties.

17:51.880 --> 17:53.400
We can do better than this.

17:53.480 --> 18:02.980
94 MD5 is based on Crypt 3 with 1,000 iterations and a 48-bit salt that can handle 2 to the 48th potential users.

18:02.980 --> 18:06.560
Now we're getting into modern password storage.

18:06.560 --> 18:09.060
We see 95 SHA-1s released.

18:09.060 --> 18:13.100
In 99, we see bcrypt released for the first time.

18:13.100 --> 18:19.380
And by the way, bcrypt today is still an excellent choice for password storage.

18:19.380 --> 18:22.760
Anyone have an advice on how many rounds you should use on bcrypt?

18:23.260 --> 18:27.060
13 is the minimum that the hashcap pros have told me.

18:27.060 --> 18:28.320
Some people say 10.

18:28.320 --> 18:35.100
I think 13 is the right number of rounds to slow it down to stop even advanced attackers who've stolen your data.

18:35.100 --> 18:37.260
2000, we see PBKDF2.

18:37.260 --> 18:43.360
This is good for military US applications, although it's the weakest of good password storage algorithms.

18:43.360 --> 18:56.700
2001 SHA-2 comes out, and in 2007, PHP starts defaulting to bcrypt, giving a whole generation of developers a great default in a common language to store passwords correctly.

18:56.700 --> 19:04.060
And sCrypt comes out in 2009, which lets you even tune how much RAM each round uses to stop custom hardware attacks.

19:04.060 --> 19:08.480
2015, beginning of the modern era, we see Argon2 released.

19:08.480 --> 19:14.640
And now Argon2i, which allows you to have stretching, slow it down, consume memory.

19:14.640 --> 19:18.360
You can even limit the number of threads operating on your ciphertext.

19:18.360 --> 19:22.340
Boom, we have a real modern algorithm that will last out the next decade.

19:22.340 --> 19:24.980
And in 2016, this is a really important date.

19:24.980 --> 19:25.780
This is Dr.

19:25.780 --> 19:27.840
Devdatta Akue from Dropbox.

19:27.840 --> 19:32.720
He publishes an article on how Dropbox is storing their passwords.

19:32.720 --> 19:42.180
This is the first time a researcher actually describes the details of password storage from a programmer's point of view in a highly accurate and useful way.

19:42.180 --> 19:56.000
So this really begins the current era where you really got to store a password using rigorous techniques, Argon2, salting, maybe even internal salting, good memory-hardening usage, good thread-hardening usage, and so on.

19:56.000 --> 19:57.420
This is the beginning of that era.

19:57.420 --> 20:00.840
And if you haven't read this article, I highly encourage you to do it.

20:00.840 --> 20:02.600
So now we're looking at OWASP.

20:02.600 --> 20:09.400
So around 2001, the OWASP Foundation began.

20:09.420 --> 20:13.140
This is, of course, the Open Web Application Security Project.

20:13.140 --> 20:15.400
We're a 501c3 charity.

20:15.400 --> 20:24.340
Our mission is to make application security visible so that all of us, our customers, can all make good decisions on application security risk.

20:24.340 --> 20:25.700
I'm a board member of OWASP.

20:25.700 --> 20:27.280
I've been a board member of OWASP.

20:27.280 --> 20:28.620
I know the community.

20:28.620 --> 20:32.340
This is some of the happiest moments of my professional career were around OWASP.

20:32.340 --> 20:35.860
Some of the most miserable ones, being a board member, not always the funnest thing to do.

20:35.860 --> 20:37.440
But that's a different story.

20:37.440 --> 20:39.820
But I'm really fond of the OWASP mission.

20:39.820 --> 20:43.080
I love it when people come in and try to organize us.

20:43.160 --> 20:46.500
I think half the brilliance of OWASP, it's not organized.

20:46.500 --> 20:47.520
It's chaotic.

20:47.520 --> 20:50.920
And people are doing whatever they want in terms of research in this area.

20:50.920 --> 20:53.960
So I'm a big fan of OWASP and the people within it.

20:53.960 --> 20:57.820
Around 2002, we see the first developer's guide released from OWASP.

20:57.940 --> 21:01.340
2003, the first OWASP top 10 shows up.

21:01.340 --> 21:11.020
This is written by Jeff Williams and Dave Wickers in this era as a comment to the SANS top 10, which was about infrastructure security and network security.

21:11.020 --> 21:15.300
And we did our own application security list as early as 2003.

21:15.360 --> 21:17.780
Unfortunately, PCI picked it up, right?

21:17.780 --> 21:19.160
And they said it was a standard.

21:19.160 --> 21:22.800
It's a top 10 list, but that's a different story.

21:22.800 --> 21:26.860
2006, the OWASP testing guide work begins.

21:26.880 --> 21:29.520
OWASP reform and SAPI come out.

21:29.520 --> 21:39.940
These are the first two libraries, really early era, that help you stop cross-site scripting and are meant to be security libraries to solve some of these web security issues.

21:39.940 --> 21:43.400
At 2008, the first standard from OWASP comes out.

21:43.400 --> 21:46.160
The application security verification standard.

21:46.160 --> 21:47.500
I'm one of the members of that project.

21:47.500 --> 21:48.940
It's really meaningful to me.

21:48.940 --> 21:51.760
We just released version 4.0 recently.

21:51.760 --> 21:57.540
I do believe it's one of the most rigorous standards for secure coding and for assessment professionals.

21:57.580 --> 22:00.300
I'm a big fan of the work of the team that puts it together.

22:00.440 --> 22:02.520
2010, we see the start of ZAP.

22:03.820 --> 22:05.420
ModSecurityCoreRuleset moves to OWASP.

22:05.420 --> 22:07.500
These are tools used in ZAP.

22:07.560 --> 22:12.460
ZAP is a professional tool that goes head-to-head against BURP in terms of its scanner capability.

22:12.460 --> 22:13.660
It's free and open source.

22:13.660 --> 22:14.540
Right on.

22:14.540 --> 22:16.700
That work started about nine years ago.

22:17.020 --> 22:18.720
2013, we see DefectDojo.

22:18.720 --> 22:22.440
2014, JuiceShop shows up from our friends in Germany.

22:22.440 --> 22:24.760
This is a full mean stack application.

22:24.760 --> 22:28.280
Angular, API, completely vulnerable.

22:28.280 --> 22:30.500
It's like a CTF to teach you how to hack.

22:31.360 --> 22:35.500
Frankly, it's such a brilliant piece of code.

22:35.500 --> 22:36.900
It's a commercial product.

22:36.900 --> 22:42.040
This is Bjorn Stimitz, who is obsessed about making this as high quality as he can.

22:42.040 --> 22:45.020
He understands his responsibility as an open source developer.

22:45.020 --> 22:46.440
Who's hacked a JuiceShop?

22:46.440 --> 22:47.640
Who's done Juice?

22:47.640 --> 22:49.380
Half the room, again.

22:49.380 --> 22:51.500
You agree it's that sophisticated?

22:51.740 --> 22:54.260
I'm blown away by the detail in it.

22:54.260 --> 22:58.860
And as he publishes more and more, he drops... he's popping new labs into it, too.

22:58.860 --> 23:00.780
So, he takes it seriously.

23:01.080 --> 23:04.540
2015, we get Jeremy Long showing up.

23:04.540 --> 23:07.840
Jeremy Long was working at Wells Fargo in this era.

23:07.860 --> 23:11.560
And he needed a third-party library security solution.

23:11.560 --> 23:12.780
I won't mention the vendor.

23:12.780 --> 23:13.420
That would be rude.

23:13.420 --> 23:17.220
So, they show up at Wells Fargo and ask him to buy their solution.

23:17.220 --> 23:19.580
And they're charging a lot.

23:19.580 --> 23:21.440
And he's like, I'm not going to pay for this.

23:21.440 --> 23:23.540
They go, why don't you go build it yourself?

23:23.540 --> 23:24.620
And they walk out.

23:24.620 --> 23:26.940
Guess what Jeremy started doing the next morning?

23:26.940 --> 23:27.600
Guess, sir.

23:27.600 --> 23:28.260
What did he do?

23:28.260 --> 23:29.720
He started building it himself.

23:29.720 --> 23:34.300
So, he actually is the main author of the OWASP dependency check product.

23:34.300 --> 23:41.560
And this is literally another commercial product you can wire into your pipeline to check if your third-party libraries are up to date.

23:41.560 --> 23:42.580
I'm really proud of Jeremy.

23:42.580 --> 23:44.720
He wakes up at 5 a.m.

23:44.720 --> 23:45.900
to work on this.

23:45.900 --> 23:50.200
To relax before he starts his day as a software engineering banker.

23:50.200 --> 23:52.800
So, a brilliant, brilliant piece of software.

23:52.920 --> 23:54.280
What else do we have here?

23:54.600 --> 23:57.880
2018, the IoT top 10 shows up.

23:57.880 --> 23:59.620
That's how you know things have jumped the shark.

23:59.620 --> 24:03.020
Where we have now like 20 top 10 lists on every topic there is.

24:03.020 --> 24:10.880
In 2019, just a matter of a couple days ago, the OWASP cheat sheet series just made flagship status.

24:10.880 --> 24:14.720
And we have over 50 cheat sheets helping developers write secure code.

24:14.720 --> 24:15.520
So, where do we start?

24:15.520 --> 24:24.400
We see OWASP founded in 2001 with like a one-page web page and about 20 people who are just starting to get started.

24:24.400 --> 24:39.440
And then, not too much later, like 18 years later, we have books, commercial products that compete with the public sector and a number of publications that are hit literally tens of millions of times a year to help people write secure software.

24:39.440 --> 24:41.120
I know it's stressful.

24:41.120 --> 24:43.360
I know what we're doing is challenging.

24:43.360 --> 24:55.740
I know a lot of us who go home upset every day at the frustration of our jobs, you got to look back, got to pull it back and look at how things have changed in just 20 years and you'll see we're not just getting better, we're getting dramatically better.

24:55.780 --> 24:59.320
And take a look at the OWASP flagship projects that we have here.

24:59.320 --> 25:05.300
They are instrumental in application security work today, whether they're open source or not.

25:05.440 --> 25:09.180
So, let's talk about one of my favorite topics, cross-site scripting, right?

25:09.180 --> 25:17.640
Cross-site scripting is, of course, content injection, JavaScript injection in the browser, in a web-based user interface.

25:17.640 --> 25:22.940
And this is a problem because there's been so many attempts to solve this problem.

25:22.940 --> 25:26.340
Anybody ever do an assessment with no cross-site scripting?

25:26.720 --> 25:27.760
One!

25:27.760 --> 25:29.020
Tell me about this app.

25:29.020 --> 25:30.300
Was it a web app?

25:30.300 --> 25:31.360
Yeah.

25:32.360 --> 25:34.120
Okay, it was a web app.

25:34.120 --> 25:40.180
They were doing HTML coding on basically all the goddamn parameters.

25:40.180 --> 25:40.720
Gotcha.

25:40.720 --> 25:52.940
Now, to do XSS defense, you need to do contextual output encoding, you need to do HTML sensitization of untrusted HTML, you've got to make sure you're using proper JavaScript functions, get your content security policy, embed JSON with serialization, make sure you do trusted types in your library.

25:52.940 --> 25:54.440
It is really tough.

25:54.440 --> 26:04.160
So, to find an app that doesn't have it is extremely rare because of how complex the problem really is and how poor web standards are at addressing cross-site scripting.

26:04.160 --> 26:09.080
Cross-site scripting was first discussed in 1999 by Microsoft engineers.

26:09.080 --> 26:13.980
And in 2002, we see Microsoft rolling out HTTP only.

26:13.980 --> 26:16.000
Why is HTTP only important?

26:16.620 --> 26:17.760
What's that?

26:17.760 --> 26:19.380
It's not integrity.

26:20.500 --> 26:25.060
It's cookie confidentiality in the face of cross-site scripting.

26:25.060 --> 26:28.740
It's to stop JavaScript from accessing cookie data.

26:28.740 --> 26:38.480
And actually, you know, it's not even that important, I dare say, because if I get XSS in your app, I don't have to steal your cookie, I'll just force a request, which will automatically use your cookie anyways.

26:38.480 --> 26:40.100
I can do a stored request forgery.

26:40.100 --> 26:41.580
It's not that important.

26:41.580 --> 26:42.900
We still should use it.

26:42.900 --> 26:48.720
But as early as 2002, the first defenses at the standard level was coming out for cross-site scripting.

26:48.840 --> 26:51.260
2005, go Sammy!

26:51.260 --> 26:52.240
Oh, yeah.

26:52.240 --> 26:54.620
And Sammy, most of all, Sammy is my hero.

26:54.620 --> 27:01.020
This is the first time cross-site scripting was used to conduct a worm against a major social media site.

27:01.020 --> 27:05.900
This one little attack we're looking at right here took down all of MySpace.

27:05.900 --> 27:17.820
It blue-screened the entire global cluster of MySpace because Sammy had forced someone else to cross-site scripting to do a forgery quest and make him a friend just by looking at his profile.

27:17.900 --> 27:22.260
And if you looked at his profile, you'd have a copy of his profile on your friend list.

27:22.260 --> 27:26.400
And if somebody looked at your profile, Sammy would be added to them as well.

27:26.400 --> 27:28.820
So you'd be added to Sammy's friends list as well.

27:28.820 --> 27:47.900
Within a few hours of releasing this attack against MySpace, Sammy had millions of followers, and that follower count was so high and loading from the database that the entire MySpace.net app at the time it blue-screened across the world and took days to recover from XSS.

27:47.900 --> 27:48.720
Oh, boy.

27:48.720 --> 27:49.540
So let's go ahead here.

27:49.820 --> 27:55.320
2005, Amit Klein releases a famous article about cross-site scripting DOM XSS.

27:55.320 --> 27:57.200
I don't even like the definition today.

27:57.200 --> 28:00.480
He says that it's a fragment that you can't see on the server.

28:00.480 --> 28:01.180
I don't agree.

28:01.180 --> 28:04.900
You can have a stored XSS that's DOM-based in how it executes.

28:04.900 --> 28:09.960
So I think a DOM XSS is you've got to write JavaScript code properly to stop the risk.

28:09.960 --> 28:13.260
Use React or Angular or low-level JavaScript correctly.

28:13.340 --> 28:16.260
2006, Reform comes out to stop XSS.

28:16.260 --> 28:19.680
The XSS prevention cheat sheet was first written in 2009.

28:19.680 --> 28:24.620
Again, Jeff Williams, the most heavily hit resource in the history of OWASP, that one guide.

28:24.760 --> 28:27.780
2010, the goat love worm strikes Twitter.

28:27.780 --> 28:33.840
The second major XSS worm because of one malformed URL and how Twitter handled URLs.

28:33.840 --> 28:39.480
And even Apache's entire infrastructure was popped with XSS via 2010.

28:39.480 --> 28:41.480
A lot of people are like, I don't care about XSS.

28:41.480 --> 28:42.260
It's no big deal.

28:42.260 --> 28:43.700
That is not a good attitude.

28:43.700 --> 28:44.560
Sorry, folks.

28:44.560 --> 28:50.020
We've seen XSS do massive damage across the world many times in recent years.

28:50.200 --> 28:52.860
2011, modern tooling comes out.

28:52.860 --> 28:57.780
We have Jeff Ikenowski, Professor Ikenowski, writing an encoder for Java.

28:57.780 --> 29:00.540
The only good encoder for the Java ecosystem.

29:00.540 --> 29:07.260
And around the same time, Michael Samuel from Google releases the Java HTML sanitizer through OWASP.

29:07.260 --> 29:10.160
To do sanitization of untrusted HTML snippets.

29:10.160 --> 29:13.880
These are two of the most brilliant security engineers I know of.

29:13.880 --> 29:15.780
And they open-sourced their work.

29:15.780 --> 29:17.660
We had to twist their arm a little bit.

29:17.660 --> 29:18.400
But I'm Sicilian.

29:18.400 --> 29:19.180
We know how to do that.

29:19.180 --> 29:25.100
2011, the DOM XSS prevention cheat sheet comes out of Wells Fargo, open-sourced.

29:25.160 --> 29:27.140
2012, CSP1.

29:27.240 --> 29:31.100
2014, CSP2 in the original DOM Purify library.

29:31.100 --> 29:33.920
And 2015, we got CSP3 released.

29:33.920 --> 29:40.680
Take a look at the work of two Google engineers, Lucas Weichelbaum and Michel Spagnolo.

29:40.680 --> 29:46.180
They released a series of talks on how to use CSP3 with a very simple policy...

29:46.180 --> 29:51.260
that you can roll out quickly and get a great defense across any browser.

29:51.260 --> 29:52.660
And it degrades properly.

29:52.660 --> 29:54.780
And that's kind of the state of where we are today.

29:54.860 --> 29:59.760
Now, in the future, we see Chris Kristoff, who leads a Google hero project.

29:59.760 --> 30:03.020
He just released trusted types in the browser.

30:03.020 --> 30:09.980
So as a programmer, you can programmatically set defaults on how the browser handles certain syncs in JavaScript.

30:09.980 --> 30:13.300
This is the solution to DOM XSS, by far.

30:13.300 --> 30:14.160
So where do we start?

30:14.160 --> 30:19.260
We started with HTTP only and Microsoft engineers talking about this without good defense strategies...

30:19.980 --> 30:26.260
to now standards being written that are effective in the browser to eliminate this risk altogether.

30:26.260 --> 30:35.780
I predict, because of CSP3 and trusted types, that XSS in under 10 years will be largely eliminated from our ecosystem of web applications.

30:35.780 --> 30:37.140
You can quote me on that.

30:37.140 --> 30:38.200
Quote me on that.

30:38.200 --> 30:47.760
So trusted types, if you haven't looked at this yet, is a key progressive future technology that we're going to see in our frameworks in the very near future.

30:47.760 --> 30:50.840
It's going to change the game in terms of browser security.

30:50.860 --> 30:53.320
Here's a few more important dates in AppSec history.

30:53.500 --> 30:56.800
Again, Netscape released HTTPS in 94.

30:57.120 --> 30:59.280
We see TLS in 99.

30:59.280 --> 31:00.480
Where am I going here?

31:00.480 --> 31:02.180
We did this already, didn't we?

31:02.180 --> 31:03.800
We're going to move on here.

31:04.100 --> 31:04.780
We're going to move on.

31:04.780 --> 31:05.680
We're going to move on.

31:05.680 --> 31:08.420
So now where are we today?

31:08.480 --> 31:10.340
AppSec is now global.

31:10.340 --> 31:17.940
I travel the world giving talks on this topic, and you'd be surprised the countries and the people that still ask for these talks.

31:17.940 --> 31:21.220
It's everywhere in the world AppSec matters.

31:21.220 --> 31:25.680
Small islands in the Pacific, but small governments care about AppSec.

31:25.680 --> 31:30.220
The smallest companies now realize the code they're writing is their security.

31:30.220 --> 31:37.460
And OWASP has 264 chapters of people just interested in these topics at a meet-up level all over the world.

31:37.460 --> 31:41.960
And again, 20 years ago, this topic was not even discussed.

31:41.960 --> 31:47.160
Even five years ago, very few folks were doing AppSec type of services.

31:47.160 --> 31:55.560
And today, it is a global phenomenon how much AppSec services, tools, and professionals are needed.

31:55.560 --> 31:57.100
Are you with me on that, folks?

31:57.100 --> 31:58.820
Who here is an AppSec professional?

31:59.620 --> 32:05.080
How many of you that are AppSec professionals are hurting to find work?

32:05.080 --> 32:06.460
Please raise your hand.

32:06.460 --> 32:07.520
One.

32:07.520 --> 32:09.500
I'm kidding.

32:10.840 --> 32:12.720
That's a personal problem.

32:14.440 --> 32:17.240
Was that rude to say that to him a little bit?

32:17.240 --> 32:17.800
Alright .

32:18.600 --> 32:19.200
How you doing, buddy?

32:19.200 --> 32:20.000
Good to see you.

32:20.000 --> 32:24.480
The point is, anyone know the unemployment in the AppSec industry right now?

32:24.480 --> 32:24.920
Seriously?

32:24.920 --> 32:25.900
Statistically?

32:25.900 --> 32:26.820
It's literally 0%.

32:28.420 --> 32:31.560
Hey, Linda, looking to hire anybody in AppSec, by any chance?

32:31.560 --> 32:31.920
Yeah.

32:31.940 --> 32:32.660
Don't hide.

32:32.660 --> 32:33.320
Get out of here.

32:33.780 --> 32:34.440
Mine.

32:34.440 --> 32:35.160
I get them first.

32:35.160 --> 32:35.740
Sorry.

32:35.960 --> 32:37.340
We're all looking.

32:37.520 --> 32:41.700
If you do AppSec, the world is your oyster right now.

32:41.700 --> 32:44.460
And it should be, because this is a hard topic.

32:44.460 --> 32:47.140
It takes years of ramp-up to be effective.

32:47.260 --> 32:52.580
And in my mind, AppSec is really where the rubber hits the road when it comes to information security.

32:52.580 --> 32:54.520
Yeah, you can go hack your pretty badge.

32:54.520 --> 32:56.260
I have fun doing that, too.

32:56.260 --> 32:59.060
You can go parachute with your toaster and tune your firewall.

32:59.060 --> 33:00.100
That's good.

33:00.100 --> 33:12.900
But my belief is, those of us who are helping secure code, who are working with developers, working with organizations to actually secure applications, in my mind, that's really what information security is today.

33:12.900 --> 33:21.380
As we see the next 10 years progress, as your infrastructure disappears and it becomes all cloud-based, your security becomes a YAML file.

33:21.380 --> 33:28.000
So code matters, not just at the app level, but at every area of computer science.

33:28.000 --> 33:31.100
So AppSec, our work is not done.

33:31.100 --> 33:34.600
And the work is extremely important as well.

33:34.600 --> 33:37.500
Now, a few notes of how things have progressed.

33:37.920 --> 33:40.180
AppSec has become so important.

33:40.220 --> 33:47.300
One of our volunteers, John McCoy, has led the charge to make sure OWASP does outreach at DEF CON.

33:47.300 --> 33:49.040
I'm really proud of the work John has done.

33:49.040 --> 33:51.940
He's been at DEF CON since the beginning.

33:51.940 --> 33:53.200
It means a lot to him.

33:53.200 --> 33:55.260
And he wanted to make sure AppSec was here.

33:55.260 --> 33:58.840
Same with the folks who organized the AppSec Village here.

33:58.840 --> 34:00.680
We see OWASP doing that as well.

34:00.680 --> 34:09.900
I'm just really proud to see the passionate volunteers care to spread the word of AppSec in a community that's traditionally not very AppSec-based.

34:09.900 --> 34:13.900
In 2018, OWASP gave out 35 scholarships.

34:13.900 --> 34:20.320
This is another amazing professional, Zoe Baterman, who runs women in AppSec for the OWASP Foundation.

34:20.360 --> 34:26.680
And we even allocated $25,000 just to diversity at our next big conference.

34:26.680 --> 34:29.360
I know this is kind of a... yeah, diversity.

34:29.460 --> 34:30.120
Yeah, exactly.

34:30.120 --> 34:31.100
And inclusion.

34:32.160 --> 34:35.380
I know this is a politically charged topic.

34:35.380 --> 34:37.560
Just mentioning it upsets some people.

34:37.560 --> 34:41.420
But I think it's important to try to make a difference in this area.

34:41.420 --> 34:44.660
Because we've not done that good at this as an industry.

34:44.660 --> 34:48.780
The conferences I went to 10 years, the things I saw, just not right.

34:48.780 --> 34:54.880
And so I like the idea of trying to clean up the mess to make our conferences and our community safe for everybody.

34:54.880 --> 34:56.180
Does that make it a little bit less fun?

34:56.180 --> 34:57.300
I really don't care.

34:57.300 --> 35:03.020
I care about safety, and I care about making places inclusive for everybody so we can learn together.

35:03.020 --> 35:04.980
And if you don't like that, go F yourself.

35:08.620 --> 35:09.560
Thank you.

35:11.060 --> 35:14.060
So let's talk about the future.

35:14.100 --> 35:17.180
What's going to happen in the next 20 years, right?

35:18.520 --> 35:24.200
These are my conspiratorial ideas and some reaching into the future.

35:24.200 --> 35:27.460
But this is where I think we're going, right?

35:27.460 --> 35:33.960
So number one, all identity becomes tied to blockchain-like security architectures.

35:33.960 --> 35:36.320
It's hard to even say those words, I'm sorry.

35:36.320 --> 35:39.200
But seriously, I don't care about Bitcoin.

35:39.200 --> 35:40.180
It's all fake money.

35:40.180 --> 35:43.140
Anyway, sell your Bitcoin and get real money and real investments.

35:43.140 --> 35:43.820
Enough playing around.

35:43.820 --> 35:44.640
Come on, people.

35:44.780 --> 35:49.980
But the concept behind blockchain and the integrity behind it I think is really fundamental.

35:49.980 --> 35:53.260
We're going to see a lot of identity tied to that so we have accountability at that area.

35:53.260 --> 35:54.480
What else do we have here?

35:54.720 --> 36:01.320
Hardware-based authentication and individual HSMs for every person on the planet will become the norm.

36:01.320 --> 36:02.280
And we already see that.

36:02.280 --> 36:07.220
So you look at NIST Special Bulletin 863B, which is your homework.

36:07.220 --> 36:08.200
You got to read it.

36:10.020 --> 36:14.520
SP800-63B, the Digital Media Authentication Guidelines for U.S.

36:14.520 --> 36:16.340
Government, written by Jim Fenton.

36:16.420 --> 36:18.240
Amazing piece of work.

36:18.240 --> 36:30.420
In order to achieve AAL Level 3, this is authentication for critical infrastructure, or you're handling billions of users' accounts and similar level of risk, you have no choice but to use hardware HSM.

36:30.420 --> 36:36.020
In fact, in European law with banking, you've got to use certificate-based authentication.

36:36.020 --> 36:39.560
So when I wrote this a year ago, it's now actually come to pass.

36:39.560 --> 36:41.740
It's already in the legal system.

36:41.740 --> 36:43.740
We're going to be forced down that path.

36:43.740 --> 36:49.940
I do believe any other multi-factor technology that involves you typing in a number, it's vulnerable to phishing.

36:49.940 --> 36:50.940
It's garbage.

36:50.940 --> 36:57.780
So we're at the era now where we've got to push to hardware like a YubiKey type tech if we care about security.

36:57.780 --> 37:14.080
Bob Lord gave a keynote, and he's like, look, I know we've got ML and all this fancy stuff, but I'm rolling out YubiKey to everybody, and I think that kind of back-to-basics thinking is going to make more of an impact than any ML BS we have out there on the market right now.

37:14.080 --> 37:19.280
All right, so extremely secure frameworks and languages defaults are the norm.

37:19.280 --> 37:20.860
This is already happening.

37:20.860 --> 37:22.900
Anybody use React or Angular?

37:22.900 --> 37:25.900
Anybody assess React or Angular?

37:25.900 --> 37:27.380
How are your assessments?

37:27.380 --> 37:28.080
Is it easy?

37:28.140 --> 37:29.020
No problem?

37:29.020 --> 37:30.340
You're lighting it up?

37:36.770 --> 37:39.830
So I'm saying, when you see Angular, do you see an improvement?

37:40.550 --> 37:41.270
React.

37:41.270 --> 37:43.410
Do you see an improvement in security posture?

37:44.470 --> 37:46.090
All right, let me give you a quick hint, though.

37:46.570 --> 37:48.810
Let's attack React six ways real quick, shall we?

37:48.810 --> 37:49.590
Real quick.

37:49.650 --> 37:51.770
Number one, dangerously set inner HTML.

37:51.910 --> 37:54.890
React prior to 0.14, easy bypass.

37:55.190 --> 38:00.230
Embedding of JSON with Stringify, you can always bypass that with easy XSS.

38:00.230 --> 38:05.550
Any time you're using props or types in a create element, boom, neither of those can escape.

38:05.550 --> 38:06.710
There's another easy vector.

38:06.730 --> 38:08.530
Five, let me see if I can pull this off.

38:08.630 --> 38:12.350
All the CSS stylers in React, they don't escape by default.

38:12.350 --> 38:15.270
You've got to get in there, fix that code, CSS escape native in JavaScript.

38:15.770 --> 38:16.490
Six.

38:16.890 --> 38:18.330
Let me see if I can do this.

38:18.410 --> 38:20.010
I said five or I said six?

38:20.250 --> 38:21.710
I said six, all right.

38:21.790 --> 38:22.410
Five.

38:23.630 --> 38:24.510
What was that?

38:26.710 --> 38:27.770
I'm going to come back to that.

38:27.770 --> 38:28.490
I got five.

38:28.490 --> 38:29.310
I'm going to go five.

38:29.310 --> 38:30.210
We got five.

38:30.210 --> 38:32.470
Five ways to pop React, like I was saying, five.

38:32.470 --> 38:37.310
All right, cloud native serverless security functionality drives most software.

38:37.310 --> 38:38.990
That's not even that advanced.

38:38.990 --> 38:40.750
That's already coming to pass.

38:40.770 --> 38:43.030
What's the most important language in the cloud native world?

38:43.030 --> 38:45.690
If you're doing lambdas, what's the most important language out there today?

38:47.990 --> 38:48.790
JavaScript.

38:49.230 --> 38:49.770
Python?

38:50.070 --> 38:53.590
Oh, my God, Python.

38:53.590 --> 38:56.230
I'm a Java guy, so moving to Python hurt me a lot.

38:56.230 --> 38:59.930
The most important language in the planet right now, by far, is JavaScript.

39:00.190 --> 39:08.790
If I was in Deadpool 2, I would go back in time and fight Douglas Crockford and Brendan Eich and just Jack Bauer him off the back of a truck somewhere.

39:09.110 --> 39:09.890
But we're stuck with it.

39:09.890 --> 39:10.530
No, I love you guys.

39:10.530 --> 39:11.130
I'm sorry.

39:11.130 --> 39:12.490
We're stuck with that now.

39:12.790 --> 39:14.130
Smart contracts.

39:14.130 --> 39:15.370
Whoa, whoa, whoa, whoa.

39:15.390 --> 39:16.610
Getting a little alien here.

39:16.810 --> 39:20.550
Smart contracts control most real-world infrastructure.

39:20.690 --> 39:21.790
Eh, interesting.

39:22.410 --> 39:25.870
App set critical tasks augmented by AI-type systems.

39:25.870 --> 39:27.170
Whoa, whoa, whoa.

39:27.170 --> 39:29.190
I'm going to put them all up here.

39:29.210 --> 39:30.370
What else do we have here?

39:30.790 --> 39:31.790
I hit the right key, Jim.

39:31.790 --> 39:34.990
Secure architecture design becomes common and mandatory.

39:35.090 --> 39:36.570
Why did I put that in there?

39:36.570 --> 39:51.850
Because it's happening in the world of insurance now, where these kinds of architectural review in the world of healthcare, in the world of cyber insurance, it's now becoming the norm in certain industries where this is required.

39:51.850 --> 40:02.190
And I think we'll see this trickle out to other industries as cyber insurance becomes more important and other industries realize, oh yeah, the security of our devices matter early on in the life cycle.

40:02.190 --> 40:07.490
We see an HTTPS will become the norm of the internet in all of our lifetimes.

40:07.490 --> 40:12.350
There will be a day within our lifetimes where none of the internet is plain text traffic.

40:12.350 --> 40:15.790
We're actually approaching that extremely quickly right now.

40:15.790 --> 40:28.010
We'll see that the current CA model needs to burn in a fire and we'll see more distributed CA systems that will take over the current centralized mafia style CA that we see now.

40:28.230 --> 40:32.210
Did my opinions on the CA system come out in this talk?

40:32.210 --> 40:33.550
Yeah, I think they did.

40:33.730 --> 40:40.010
Automatic data sanitization and escaping is native in all major languages.

40:40.010 --> 40:42.730
We see that in technologies like Go.

40:42.730 --> 40:49.730
When you're using Go templates, it does extremely rigorous, astute, contextual escaping by default.

40:49.730 --> 40:51.010
We see that in React.

40:51.010 --> 40:52.670
We see that in Angular.

40:52.710 --> 40:58.530
And if we look ahead 10 years, it's going to be default and native in every UI type of framework out there.

40:58.530 --> 41:04.010
Because you know UI frameworks, any JavaScript developer is like, oh, that's a nice framework, but I can build it better.

41:04.010 --> 41:07.570
That's why we have 50,000 new frameworks published every five minutes.

41:07.570 --> 41:08.550
It's nuts.

41:08.550 --> 41:15.670
My vote is if you're a JavaScript developer and you write a new JavaScript framework, you should be banned from development for three years.

41:15.670 --> 41:16.690
You're out.

41:16.850 --> 41:17.830
Sorry, sorry.

41:19.670 --> 41:28.850
Data-centric access control native at the data level, or not the kernel level, in all major databases and OSs.

41:28.850 --> 41:37.530
One of the biggest failings of our industry is we have not done a good job helping developers build complex access control.

41:37.530 --> 41:42.750
The entire industry helps us solve the easy problems of role-based access control.

41:43.090 --> 41:53.710
But when you have access control problems like multi-tenancy, data contextual access control, and other complex topics, our whole industry fails to solve that.

41:53.710 --> 41:55.010
Someone needs to solve that.

41:55.010 --> 41:58.670
And even the best out there don't because of how hard the problem is.

41:58.670 --> 42:06.970
I actually teach developers, most of you should be building your own access control system from scratch because commercial products don't address the hard problems.

42:06.970 --> 42:08.050
And that's what we need to solve.

42:08.050 --> 42:12.950
So I still think access control is one of my top ten items near the top of that list.

42:13.030 --> 42:16.370
So before I wrap this up, we're closing up just a few minutes.

42:16.370 --> 42:23.850
Does anybody have any questions about anything in the world of application security before we wrap this up?

42:25.010 --> 42:26.210
Yes, sir.

42:35.980 --> 42:37.760
Where is the queen of detail?

42:37.760 --> 42:38.380
Queen.

42:38.380 --> 42:39.360
My queen.

42:39.540 --> 42:44.360
Because she was not involved, she got involved, she made it happen, and we're done.

42:45.360 --> 42:50.620
No, I mean, DEF CON is really about glorifying the hacker.

42:50.680 --> 42:56.900
DEF CON is about glorifying the beauty of breaking things, hopefully for good in some way.

42:56.900 --> 43:02.340
And it's glorified here at the most magnanimous level of anywhere else I've seen.

43:02.340 --> 43:06.640
So those of us who are doing AppSec, we tend to be of a builder bent.

43:06.640 --> 43:11.300
Even though we do pen testing a lot, we're still working with developers, helping people fix software.

43:11.300 --> 43:13.840
To my mind, that's real AppSec work.

43:13.840 --> 43:18.820
That kind of thinking is kind of counterculture to DEF CON.

43:18.820 --> 43:29.940
But the world of traditional security and application security have collided so hard in recent years, that AppSec is no longer a secondary thing.

43:29.940 --> 43:32.740
AppSec is information security in the modern era.

43:32.740 --> 43:35.720
And that push is going to happen only more and more in the future.

43:35.720 --> 43:37.060
That's my opinion on that.

43:37.060 --> 43:38.500
You had a question as well, sir?

43:46.320 --> 43:47.520
Yes, ma'am.

43:50.920 --> 43:53.440
Honestly, that's all I have to say about that.

43:53.660 --> 43:54.760
I don't know.

43:55.160 --> 43:56.980
And I'm not trying to be rude in any way, sir.

43:57.260 --> 43:58.660
But my answer is, what was it again?

43:59.980 --> 44:01.120
That's all I got.

44:01.120 --> 44:01.620
All right, you're up.

44:01.620 --> 44:02.320
I'm sorry, ma'am.

44:05.180 --> 44:05.820
Yes.

44:13.080 --> 44:17.900
You know, in all the studies I've seen, a lot of big shops have done studies on this.

44:17.900 --> 44:20.320
They've looked at all different languages, frameworks, and similar.

44:20.320 --> 44:24.120
Do you know what makes a difference in terms of the number of vulnerabilities per framework?

44:24.120 --> 44:26.180
The team building that code.

44:26.400 --> 44:28.480
So it really doesn't matter what you're using.

44:28.600 --> 44:35.100
But you need to have, in my opinion, you need to have, number one, an AppSec professional who knows how to write secure code.

44:35.100 --> 44:37.480
Embed it with your team day in and day out.

44:37.480 --> 44:42.880
And you need to have mastery over the framework you're using a priori before you get rolling.

44:42.880 --> 44:46.960
Without those two things, the chance of you using that framework securely is zero.

44:46.960 --> 44:51.160
That's why even among relatively decent frameworks, we still see insecurity.

44:51.160 --> 44:54.880
Because the expertise to use these well is still esoteric.

44:54.880 --> 44:58.360
And so I don't care if you're using one framework or using 20.

44:58.360 --> 45:07.380
And if these are important apps to you, you need to have expertise about how to configure, use, and code to those frameworks in a secure fashion.

45:07.380 --> 45:11.860
Or your chance of releasing secure software goes to zero fast.

45:11.860 --> 45:13.260
And in my world, I'm an educator.

45:13.260 --> 45:15.040
I teach those who write secure code.

45:15.040 --> 45:19.400
I go back a few years, there's Java, a few other things, and it was easy.

45:19.400 --> 45:22.420
Now today, there's this proliferation of frameworks.

45:22.420 --> 45:28.980
I've had to bring in many other instructors who have specific expertises in each area to make my customers happy.

45:28.980 --> 45:30.220
And this is brutal.

45:30.220 --> 45:40.540
The research needed to be done to teach developers about secure coding is getting rapidly more difficult in a lot of areas because of this problem.

45:40.540 --> 45:50.560
So if you do have a company that are using every framework under the sun, that's usually not a good sign in your ability to write secure code across the organization.

45:50.560 --> 45:57.640
I'd recommend doing a long process to reduce the attack surface to standardize on a couple common frameworks.

45:57.640 --> 45:59.420
Get rid of the esoteric ones you don't need.

45:59.420 --> 46:01.240
It's easy to say, hard to do.

46:01.240 --> 46:03.680
That's why we're here to help solve this problem, man.

46:03.680 --> 46:04.320
Thank you.

46:04.320 --> 46:05.140
Yes, sir.

46:11.840 --> 46:19.840
Well, if you're writing a vulnerability in a web app, it doesn't matter if you deploy it locally at your company or in the cloud.

46:19.840 --> 46:21.180
That vulnerability is still there.

46:21.180 --> 46:23.440
SQL injection still lives in the cloud.

46:23.440 --> 46:28.160
So in my world, the cloud has only changed the world of secure coding so much.

46:28.160 --> 46:32.500
Where my bet was wrong on that concept is the whole idea of a YAML file.

46:32.500 --> 46:38.000
So much of your infrastructure is now code, and I did not see that coming.

46:38.000 --> 46:39.600
Did anyone see that?

46:39.600 --> 46:44.500
Did anybody see, like, four years ago, besides Jack Menino, anybody see that?

46:44.940 --> 46:46.240
Hey, hey, what's up, Jack?

46:46.240 --> 46:46.800
How you doing?

46:46.800 --> 46:48.960
Jack was telling me this four years ago, and I was like, you're nuts.

46:48.960 --> 46:49.860
He was right.

46:49.860 --> 46:53.980
He's like, all of infrastructure is changing to source code.

46:54.080 --> 46:56.240
And that's something I didn't see.

46:56.240 --> 47:01.740
And being able to lock down your cloud configuration, guess how many static analysis tools look at that well?

47:01.740 --> 47:02.440
None right now.

47:02.440 --> 47:03.220
It's a hard problem.

47:03.220 --> 47:04.820
No diss to the vendors.

47:04.820 --> 47:10.820
So, yeah, this is a rapid evolution.

47:10.820 --> 47:13.280
The cloud is going to dominate, obviously.

47:13.360 --> 47:18.840
And it doesn't stop our responsibility for writing secure code at all.

47:19.260 --> 47:22.360
And our infrastructure is moving to code as well.

47:22.360 --> 47:26.220
We have to assess that configuration as well, which is really difficult to do right now.

47:26.220 --> 47:27.840
So, hey, that's why we're here.

47:28.840 --> 47:29.740
What's that?

47:30.400 --> 47:31.900
What about it?

47:35.740 --> 47:40.640
I personally think containers are dead, and I think the real future is serverless technology.

47:40.640 --> 47:43.380
I do not want to maintain a container.

47:43.380 --> 47:46.620
I do not want to maintain a Kubernetes cluster unless I really hate myself.

47:46.620 --> 47:49.740
It's the most complex pile of BS I've ever seen.

47:49.740 --> 47:53.020
Even though it saves me money, I don't want to have to tune infrastructure anymore.

47:53.020 --> 47:58.920
I want to go new Lambda, drop code, have it run 50 million security tests, and I'm live, baby.

47:58.920 --> 48:00.280
That's the future of computing.

48:00.280 --> 48:06.420
Not containerization, not Kubernetes BS, not OpenShift, but drop code and run serverless.

48:06.420 --> 48:08.300
That's the future, in my opinion.

48:08.300 --> 48:09.180
Jack?

48:09.640 --> 48:11.120
We'll drink about it.

48:19.520 --> 48:21.520
Web application firewall?

48:21.520 --> 48:22.560
Ooh.

48:23.360 --> 48:24.240
Ooh.

48:25.140 --> 48:28.140
I'm a founder of a web application firewall company.

48:28.140 --> 48:30.340
I can't answer that question objectively.

48:30.340 --> 48:32.040
But I'm going to quote Jim Bird.

48:32.040 --> 48:39.880
Even though I've invested in one and I care about the space, I'm going to quote, not Jim Bird, I'm going to quote...

48:39.880 --> 48:40.740
I forgot his name.

48:40.740 --> 48:46.520
He's one of the largest executives who ran software security programs for the healthcare world.

48:46.520 --> 48:49.260
WAFs are for wimps.

48:49.940 --> 48:52.880
Fix your freaking code.

48:53.020 --> 48:55.020
That's really my take on it.

48:58.630 --> 49:01.070
And I founded a WAF company.

49:01.070 --> 49:02.650
Let's move on.

49:02.650 --> 49:03.270
Rust

49:08.290 --> 49:08.730
.

49:09.470 --> 49:10.930
Rust is the future, I think.

49:10.930 --> 49:12.350
Rust is such a brilliant language.

49:12.350 --> 49:13.610
One more question.

49:13.810 --> 49:15.190
How much time do we have?

49:15.650 --> 49:16.690
Where's the time guy?

49:17.030 --> 49:17.710
Ten minutes?

49:17.750 --> 49:19.070
You like Q&A?

49:19.070 --> 49:19.950
More Q&A?

49:19.970 --> 49:21.130
What you got?

49:21.250 --> 49:22.250
What's your view on

49:26.780 --> 49:28.860
the cloud when we start moving back to the...

49:28.860 --> 49:29.820
Oh, IoT?

49:29.820 --> 49:33.300
Really low power devices that can't do TLS and stuff like that?

49:33.300 --> 49:35.640
It's the same problem starting over.

49:35.640 --> 49:39.020
A lot of the IoT device comes from manufacturing.

49:39.060 --> 49:40.860
Anybody work in manufacturing?

49:40.860 --> 49:44.680
How good is manufacturing at doing software engineering?

49:50.040 --> 49:50.640
Exactly.

49:50.640 --> 49:53.980
I need to consult an expert in manufacturing software engineering.

49:53.980 --> 49:55.060
Ma'am, what's your name?

49:55.300 --> 49:56.200
Iris.

49:56.200 --> 49:59.360
How do you think the manufacturing industry does at software engineering?

49:59.880 --> 50:02.100
Really bad.

50:02.160 --> 50:03.740
I mean, it's horrific.

50:03.740 --> 50:05.200
So that's the problem with IoT.

50:05.200 --> 50:12.140
So many IoT devices are coming out of an industry with zero software security culture.

50:12.140 --> 50:14.040
In fact, let's go back in time.

50:14.040 --> 50:21.220
Brazil, 2015, ASUS router was given away as part of your internet service to a third of Brazil.

50:21.220 --> 50:25.280
And this router, if you're in Europe, router if you're American, right?

50:25.920 --> 50:27.700
This had two vulnerabilities.

50:27.700 --> 50:32.000
You can hit the change password feature without being logged in.

50:32.000 --> 50:35.780
The change password feature didn't require the original password.

50:36.200 --> 50:38.320
And this was given out to a third of Brazil.

50:38.400 --> 50:51.160
So five million people get C-surfed and have their DNS settings changed to an attacker-controlled DNS, which was trying to get banking phishing across every South American and Mexican bank they can get their hands on.

50:51.160 --> 50:53.040
This is heavy duty.

50:53.040 --> 50:57.540
I actually hunted down the product manager of that router as a research project, right?

50:57.540 --> 50:58.620
I found him on LinkedIn.

50:58.620 --> 50:59.560
And he's retired.

50:59.560 --> 51:00.380
He's like, oh, how you doing?

51:00.380 --> 51:02.000
I'm like, hey, can I talk to you about this ASUS?

51:02.000 --> 51:03.420
He's like, oh, sure, I'll tell you anything you want.

51:03.420 --> 51:03.800
I'm retired.

51:03.800 --> 51:04.500
I don't care.

51:04.500 --> 51:05.740
I'm like, all right, this is going to be great.

51:06.080 --> 51:08.200
Like, how did that router with those vulnerabilities...

51:08.200 --> 51:09.020
Oh, I remember him well.

51:09.020 --> 51:09.920
I saw the paper.

51:10.100 --> 51:12.760
How did that get out of security testing?

51:12.900 --> 51:14.320
And he starts laughing at me.

51:14.320 --> 51:15.800
Guess what the next comment was?

51:16.460 --> 51:18.160
What security testing?

51:20.060 --> 51:21.020
Next question.

51:21.260 --> 51:22.700
There's my IoT answer.

51:22.700 --> 51:23.440
Yes, sir?

51:25.600 --> 51:26.400
What's that?

51:26.400 --> 51:30.980
This is like the successor to FIDO for hardware authentication, right?

51:31.160 --> 51:39.660
I don't know the details of it, but those I know who research it and are astute, I think it's a huge improvement on FIDO.

51:39.660 --> 51:46.240
Remember, I'm suggesting hardware-based authentication is the only possible secure future for identity.

51:46.420 --> 51:51.260
And WebAuthn is going to really make that a reality across web apps.

51:51.360 --> 51:53.300
Let's see what happens, right?

51:53.300 --> 51:55.680
Yubikey rollout is pretty small.

51:55.680 --> 52:00.580
Who is maniacal about using a hardware token for all authentication?

52:01.420 --> 52:04.160
Only like 5% of the room, and we're security professionals.

52:04.180 --> 52:06.000
It's not easy to adopt.

52:06.040 --> 52:07.060
A couple more, a couple more.

52:07.060 --> 52:07.540
What do we got?

52:07.540 --> 52:08.100
Yes, sir?

52:08.100 --> 52:09.080
What's up, Mongo?

52:09.180 --> 52:10.120
Mongo, Mango?

52:10.660 --> 52:11.640
Meg, no.

52:21.590 --> 52:22.730
Code or die.

52:22.890 --> 52:31.110
If you're a security professional and you want your career to continue to advance well, you need to learn the basics of how to code.

52:31.110 --> 52:34.710
And when I say this, a lot of people's feelings get hurt.

52:34.710 --> 52:38.570
I said this on Twitter, and several pros blocked me out.

52:38.610 --> 52:43.790
And one of the guys that blocked me out from DC is a friend of mine, and I'm like, why did I get blocked out?

52:43.790 --> 52:49.650
What happened was he was just interviewed for a job, a very big director position at a big software security company.

52:49.650 --> 52:51.570
This is a guy I know, he's super smart.

52:51.590 --> 52:53.430
He didn't get the job, guess why?

52:53.590 --> 52:54.930
Because he didn't code.

52:55.390 --> 53:00.910
And I felt bad that I unintentionally rubbed that, and he blocked me, and he will not speak to me to this day.

53:00.910 --> 53:01.950
I feel bad about that.

53:01.950 --> 53:03.870
But he should learn how to code.

53:04.270 --> 53:04.930
And I don't...

53:07.130 --> 53:09.490
I don't mean this meanly.

53:09.590 --> 53:11.490
Learn a little bit about HTML.

53:11.590 --> 53:16.090
Take a few basic classes on secure coding, and software engineering.

53:16.110 --> 53:18.670
It's all free on the net now, if you want to learn.

53:18.670 --> 53:27.330
So, honestly, if you're an app sec pro, and you're not willing to take a little bit of time to learn about software, just a little bit to learn about code, I think it's going to do harm to your career.

53:27.330 --> 53:34.950
You'll still be successful, you'll still get stuff done, but learning how to code augments your career in so many ways.

53:35.530 --> 53:36.930
And I'm going to bug Jack for a second.

53:36.930 --> 53:37.910
Here's what...

53:38.470 --> 53:41.850
Jack is basically a bastard, but I respect him for one...

53:42.370 --> 53:43.130
Am I right?

53:43.130 --> 53:43.750
Am I right?

53:44.090 --> 53:45.050
It's mutual.

53:45.050 --> 53:51.670
But there's one thing I've always respected about Menino over here, is that he's now like a CEO of a company with a lot to do.

53:51.710 --> 53:53.470
How often are you coding, Jack?

53:54.190 --> 53:55.290
Every day.

53:55.290 --> 53:58.970
He's a CEO of a company, and he's coding every day to keep sharp.

53:58.970 --> 54:01.130
That's what you want to do if you want to get ahead.

54:01.130 --> 54:01.970
Jack!

54:02.010 --> 54:02.790
Yeah!

54:06.720 --> 54:09.000
So, one more question.

54:09.360 --> 54:10.020
Up front.

54:18.050 --> 54:19.450
Set requirements.

54:19.450 --> 54:29.470
Go grab ASVS 4.0, grab your lead developers, your lead architect, and your lead security folks, and set a definition of what AppSec's going to be for your company.

54:29.470 --> 54:31.370
I'd use ASVS 4.

54:31.370 --> 54:34.510
There's about 284 requirements to base that.

54:34.510 --> 54:35.990
Now , pick which level.

54:35.990 --> 54:36.670
One, two, or three.

54:36.670 --> 54:37.090
I don't care.

54:37.090 --> 54:45.190
But have some baseline requirement list so we all have a common definition of what secure software is going to be for our organization.

54:45.330 --> 54:48.250
And this is a little bit self-serving, but I don't mean it to be.

54:48.250 --> 54:50.090
And this is what a lot of the other SDLCs say.

54:50.090 --> 54:56.450
I would also rigorously train your developers as early in the project lifecycle as possible.

54:56.450 --> 55:00.150
If you're training them at the end, it's the worst place to do it.

55:00.390 --> 55:02.970
Early on, just some basic training.

55:02.970 --> 55:10.850
I don't care who you hire, so that all your devs understand at least a basic OWASP-y type of RISC or whatever the RISCs are specific to that platform.

55:10.850 --> 55:23.530
Three, I would make sure early on in the project that whatever frameworks you pick, that you go out of your way to have someone be a massive SME, subject matter expert, in how to secure that framework from a programming point of view.

55:23.530 --> 55:25.930
And everything will flow from there, in my opinion.

55:26.210 --> 55:27.870
That's my take on the world.

55:27.870 --> 55:33.490
Not a very popular one, but it's my take on how to approach AppSec from a software engineering point of view.

55:33.490 --> 55:39.530
I also want to thank, again, John McCoy and Zoe Brederman for helping with the research of this presentation.

55:39.750 --> 55:44.690
And I want to thank you in the room for helping the world be more secure.

55:44.690 --> 55:50.270
Have a great DEF CON, and go forth and write secure code and help your friends write secure code.

55:50.270 --> 55:51.770
That's how we lock this stuff down.

55:51.770 --> 55:53.190
Thank you very much, everybody.

55:54.790 --> 55:56.170
All right.

